TNL::NetObjectRPCEvent Class Reference
#include <tnlNetObject.h>
Inheritance diagram for TNL::NetObjectRPCEvent:
Detailed Description
Event class for handling RPC method invocations on NetObjects.
When an RPC method is called on the server side NetObject, it is broadcast to all connections that have that NetObject in scope. When an RPC method is called on a ghost (on the client), it is handled by the originating server object.
Constructor & Destructor Documentation
|
Constructor - initializes the base class's data.
|
Member Function Documentation
|
Pack is called on the origin side of the connection to write an event's data into a packet.
Reimplemented from TNL::RPCEvent. |
|
Unpack is called on the destination side of the connection to read an event's data out of a packet.
Reimplemented from TNL::RPCEvent. |
|
Process is called to process the event data when it has been unpacked.
For a guaranteed, ordered event, process is called only once all prior events have been received and processed. For unguaranteed events, process is called immediately after unpack.
Reimplemented from TNL::RPCEvent. |
Field Documentation
|
Destination object of the RPC invocation.
|
|
Direction this RPC should travel.
|