Libraryless. Click here for Pure Java version (14561L/100K).
1 | !7 |
2 | |
3 | sclass MonitorNetwork > DynPrintLog {
|
4 | transient O myFunction = func(S method, O[] args) {
|
5 | print("Access requested: " + method + " " + asList(args));
|
6 | true; |
7 | }; |
8 | |
9 | start {
|
10 | O f = vm_generalMap_get('isAllowed_function);
|
11 | if (f == null) {
|
12 | vm_generalMap_set('isAllowed_function, myFunction);
|
13 | print("Have function");
|
14 | } |
15 | } |
16 | |
17 | void cleanMeUp_mn {
|
18 | if (vm_generalMap_get('isAllowed_function) == myFunction)
|
19 | vm_generalMap_set('isAllowed_function, null);
|
20 | } |
21 | } |
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1017374 |
| Snippet name: | Monitor Network Access [Dyn Module] |
| Eternal ID of this version: | #1017374/2 |
| Text MD5: | a4714385fac4cf1c29207f469a568c1b |
| Transpilation MD5: | 0d8c6bfe2b6104aa0c18ad8a826f246b |
| Author: | stefan |
| Category: | javax / stefan's os |
| Type: | JavaX source code (Dynamic Module) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-07-19 14:44:34 |
| Source code size: | 520 bytes / 21 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 675 / 866 |
| Version history: | 1 change(s) |
| Referenced in: | [show references] |