1 | static volatile Android3 dbBot_instance; |
2 | |
3 | static Android3 dbBot(bool ensureNotRunning default true) {
|
4 | ret dbBot(dbBotStandardName(), ensureNotRunning); |
5 | } |
6 | |
7 | static Android3 dbBot(S name, bool ensureNotRunning default true) {
|
8 | if (ensureNotRunning) |
9 | ensureDBNotRunning(name); |
10 | ret dbBot_instance = methodsBot2(name, assertNotNull(db_mainConcepts()), db_standardExposedMethods(), db_mainConcepts().lock); |
11 | } |
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1005746 |
| Snippet name: | dbBot - make bot exposing program's concepts, fail if bot exists (enforce single instance policy) |
| Eternal ID of this version: | #1005746/11 |
| Text MD5: | 67850233c966ca692718b93d5e96df27 |
| Author: | stefan |
| Category: | javax / rpc / concepts |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2020-12-17 23:15:57 |
| Source code size: | 419 bytes / 11 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 936 / 901 |
| Version history: | 10 change(s) |
| Referenced in: | [show references] |