#include <tnlRPC.h>
Inheritance diagram for TNL::RPCEvent:

All declared RPC methods create subclasses of RPCEvent to send data across the wire
Public Member Functions | |
| RPCEvent (RPCGuaranteeType gType, RPCDirection dir) | |
| Constructor call from within the rpcSomething method generated by the TNL_IMPLEMENT_RPC macro. | |
| void | pack (EventConnection *ps, BitStream *bstream) |
| Pack is called on the origin side of the connection to write an event's data into a packet. | |
| void | unpack (EventConnection *ps, BitStream *bstream) |
| Unpack is called on the destination side of the connection to read an event's data out of a packet. | |
| virtual bool | checkClassType (Object *theObject)=0 |
| void | process (EventConnection *ps) |
| Process is called to process the event data when it has been unpacked. | |
Data Fields | |
| Functor * | mFunctor |
|
||||||||||||
|
Constructor call from within the rpcSomething method generated by the TNL_IMPLEMENT_RPC macro.
|
|
||||||||||||
|
Pack is called on the origin side of the connection to write an event's data into a packet.
Implements TNL::NetEvent. Reimplemented in TNL::NetObjectRPCEvent. |
|
||||||||||||
|
Unpack is called on the destination side of the connection to read an event's data out of a packet.
Implements TNL::NetEvent. Reimplemented in TNL::NetObjectRPCEvent. |
|
|
|
|
|
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. Implements TNL::NetEvent. Reimplemented in TNL::NetObjectRPCEvent. |
|
|
|