register_live


Description:

public static void register_live (string name, Object target)

Register a live-handle handler.

Same as register, and FFI keeps this singleton as this when lease_id is set. The id is the target (rpc_ref / rpc_unref / rpc_signal), not the calling object.

Example

OLLMrpc.Live.Remote.rpc_register();
OLLMrpc.Request.register_live("RPC-Live-Remote", new OLLMrpc.Live.Remote());

Parameters:

name

wire object prefix (e.g. RPC-Live-Remote)

target

handler singleton