Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

6
LINES

< > BotCompany Repo | #1023935 // dm_copyModuleToOtherOSInstance - returns module ID in destination VM

JavaX fragment (include)

sS dm_copyModuleToOtherOSInstance(O mod, S localOSAddress) {
  if (!isStefansOSAtLocalAddress(localOSAddress))
    fail("No OS instance found at " + localOSAddress);
  S struct = dm_moduleStructForDuplication(mod);
  ret matchOK2(sendTo(localOSAddress, "restore module: " + struct));
}

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, whxojlpjdney

No comments. add comment

Snippet ID: #1023935
Snippet name: dm_copyModuleToOtherOSInstance - returns module ID in destination VM
Eternal ID of this version: #1023935/4
Text MD5: fd6c404a18f63175fe513a80209855ac
Author: stefan
Category: javax / stefan's os
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-07-13 17:36:08
Source code size: 290 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 179 / 222
Version history: 3 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1024080 - dm_copyModuleToOtherMachine - returns module ID in destination VM [seems to work]