9 #include <vlutil/vlInetTcpSocket.h>
virtual void addEvent(const makVrfEvents::DtEvent &, bool &selfReflecting) override
This is the method that is used to send the message over the TCP socket.
double length(const dvec3 &theVec)
Definition: DtVecUtils.h:20
The DtEventManager handles the sending and receipt of system events (fire, detonate, command, etc). It provides a thread-safe way for the sim engine to send and receive such events, between both components within this sim engine and other remote applications.
Definition: eventManager.h:33
voidpf void uLong size
Definition: ioapi.h:39
virtual ~DtEventManagerTCP() override
DTOR.
virtual bool sendPacketOnNetwork(char *buffer, size_t length)=0
Sends the given buffer packet on the network.
virtual bool pduHeader(DtTCPHeader &, DtInetSocket *)
If there is a net pdu header read it.
virtual void processPdu(void *buffer, int size)
virtual bool hasNetworkConnection() const =0
Return true if the TCP network is active.
Definition: eventManagerTCP.h:19
Definition: eventManagerTCP.h:35
short host
Definition: eventManagerTCP.h:22
virtual bool processSocket(DtInetSocket *)
Processes the socket, and, if there is an error, remove it.
short site
Definition: eventManagerTCP.h:21
class DtDataEvent
Definition: dataEvent.h:18
virtual makVrfEvents::DtDataEvent * createDataInteraction(void *buffer, size_t size) const
virtual char * getPacketForNetwork(const makVrfEvents::DtDataEvent &inter, size_t &length) const
virtual bool sendEventTCP(const makVrfEvents::DtDataEvent &e)
virtual void sendEvent(const makVrfEvents::DtEvent &) override
Pass-thru to send event directly to network manager. Override if want to not send to network manager ...