8 #include "../eventManagerTCPSim/eventManagerTCP.h"
38 virtual void tick()
override;
virtual void disconnect()
Call to disconnect from the network and start receiving exercise connection interactions again...
virtual bool sendPacketOnNetwork(char *buffer, size_t length) override
Sends the given buffer packet on the network.
DtClientEventManagerTCP()
CTOR.
virtual ~DtClientEventManagerTCP() override
DTOR.
Definition: eventManagerTCP.h:35
virtual void tick() override
Check to see if there is anything to receive.
virtual bool hasNetworkConnection() const override
Return true if the TCP network is active.
Definition: clientEventManagerTCP.h:33
DT_DLL_VRVCORE double length(const makVrv::DtCoordinateSystem &, const std::vector< DtVector > &vertices)
Returns the total distance of a segmented line defined by the provided vector of vertices. Coordinates are in local database coordinates. The coordinate system is used to convert between the local database coordinates and geocentric. All distance is in 2D – the Z value is ignored.
DtInetTcpSocket * mySocket
Definition: clientEventManagerTCP.h:45
This class will open a TCP connection on a fixed port for local host only as an example of how to sen...
Definition: clientEventManagerTCP.h:15
virtual bool connect()
Call to connect to the TCP network and to stop receiving data interactions from the network...
static DtEventManager * creator()
Static creator method.