RPCDispatcher
Object Hierarchy:
Description:
public abstract class RPCDispatcher : Object
This class is used on the node that receives a remote procedure call and wants to execute it.
Namespace: Ntk.Core
Package: vd
Content:
Creation methods:
Methods:
- public
uchar
[] marshalled_dispatch (Object
? caller, uchar
[] data)
This method receives a message as a stream of bytes from a caller,
translates it to a RemoteCall, executes the call, returns the result as a stream of bytes that we can send to the caller.
- public ISerializable dispatch (
Object
? caller, RemoteCall data)
This method adds the feature that an exception is made serializable.
- public virtual ISerializable _dispatch (
Object
? caller, RemoteCall data) throws Error
Override this method for each kind of "root" dispatcher. Eg
address_manager, coord_peer, andna_peer...