12 #include <vlutil/vlInetTcpSocket.h>
21 struct DtNetPduHeader;
47 virtual bool pduHeader(DtNetPduHeader&, DtInetSocket*);
virtual bool selfReflecting() const
Wether or not an event added will be processed locally. Default is true.
Specialized class of the network event manager to process extended influence interactions This class ...
Definition: vrfNetworkEventManager.h:17
voidpf void uLong size
Definition: ioapi.h:39
virtual bool sendPacketOnNetwork(char *buffer, size_t length)=0
Sends the given buffer packet on the network.
virtual void processPdu(void *buffer, int size)
virtual bool hasNetworkConnection() const =0
Return true if the TCP network is active.
Definition: networkEventManager.h:40
virtual bool sendEventTCP(const DtEvent &e)
virtual DtDataInteraction * createDataInteraction(void *buffer, size_t size) const
Definition: eventManagerTCP.h:26
virtual ~DtEventManagerTCP()
DTOR.
virtual bool sendNetworkEvent(const DtEvent &)
This is the method that is used to send the message over the TCP socket.
virtual bool processSocket(DtInetSocket *)
Processes the socket, and, if there is an error, remove it.
virtual bool pduHeader(DtNetPduHeader &, DtInetSocket *)
If there is a net pdu header read it.
virtual char * getPacketForNetwork(const DtDataInteraction *inter, size_t &length) const