Value | Meaning |
---|---|
rpcModeDisabled0 | Used with Node.rpcConfig or Node.rsetConfig to disable a method or property for all RPC calls, making it unavailable. Default for all methods. |
rpcModeRemote1 | Used with Node.rpcConfig or Node.rsetConfig to set a method to be called or a property to be changed only on the remote end, not locally. Analogous to the remote keyword. Calls and property changes are accepted from all remote peers, no matter if they are node's master or puppets. |
rpcModeMaster2 | Used with Node.rpcConfig or Node.rsetConfig to set a method to be called or a property to be changed only on the network master for this node. Analogous to the master keyword. Only accepts calls or property changes from the node's network puppets, see Node.setNetworkMaster. |
rpcModePuppet3 | Used with Node.rpcConfig or Node.rsetConfig to set a method to be called or a property to be changed only on puppets for this node. Analogous to the puppet keyword. Only accepts calls or property changes from the node's network master, see Node.setNetworkMaster. |
rpcModeSlave3 | Deprecated. Use constant RPC_MODE_PUPPET instead. Analogous to the slave keyword. |
rpcModeSync4 | Deprecated. Use constant RPC_MODE_REMOTESYNC instead. Analogous to the sync keyword. |
rpcModeRemotesync4 | Behave like constant RPC_MODE_REMOTE but also make the call or property change locally. Analogous to the remotesync keyword. |
rpcModeMastersync5 | Behave like constant RPC_MODE_MASTER but also make the call or property change locally. Analogous to the mastersync keyword. |
rpcModePuppetsync6 | Behave like constant RPC_MODE_PUPPET but also make the call or property change locally. Analogous to the puppetsync keyword. |