1 | static Android3 androidAtPrecisePort(int port, S name, O responder) { |
2 | Android3 a = new Android3(name); |
3 | a.useMultiPort = false; |
4 | a.startPort = port; |
5 | a.console = false; |
6 | a.responder = makeResponder(responder); |
7 | makeAndroid(a); |
8 | if (a.port != a.startPort) { |
9 | //print("Could not register port " + a.startPort + ", disposing."); |
10 | a.dispose(); |
11 | null; |
12 | } |
13 | ret a; |
14 | } |
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1012056 |
Snippet name: | androidAtPrecisePort - returns null if port not available |
Eternal ID of this version: | #1012056/3 |
Text MD5: | 461d74c399e9224cda057b9fc84514bc |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-11-17 03:12:26 |
Source code size: | 391 bytes / 14 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 386 / 412 |
Version history: | 2 change(s) |
Referenced in: | [show references] |