8 #ifndef vlTcpForwarder_H_
9 #define vlTcpForwarder_H_
21 #ifdef DtUSE_UTILITIES_NAMESPACE
22 namespace DtUSE_UTILITIES_NAMESPACE
43 virtual void sendToAll(caddr_t packet,
size_t size);
45 virtual void readAndForward(
57 virtual int sizeLength();
58 virtual int sizeOffset();
59 virtual void setSizeLength(
int offset);
60 virtual void setSizeOffset(
int length);
75 return mySocketMgr->sizeLength();
80 return mySocketMgr->sizeOffset();
83 #ifdef DtUSE_UTILITIES_NAMESPACE
An implementation of DtSocket which uses a TCP connection.
Definition: vlTcpSocket.h:47
Definition: vlTcpForwarder.h:29
virtual int sizeLength()
Sets TcpSockManager's offset and length so that it can create sockets whose lengthOffset and lengthSi...
Definition: vlTcpForwarder.h:73
Used to set and maintain time in a simulation.
Definition: vlTime.h:25
DtSocket *(* DtSocketCreationCallback)(void *creator, DtTcpSocketMgr *mgr)
Specialized socket creation callback signature.
Definition: vlTcpSocketMgr.h:33
DtListItem * myBeginItem
Definition: vlTcpForwarder.h:66
#define DtDEFAULT_PORT
Definition: vlSocket.h:49
DtTcpSocketMgr * mySocketMgr
Definition: vlTcpForwarder.h:64
virtual int sizeOffset()
Definition: vlTcpForwarder.h:78
This file contains the declaration of DtTcpSocketMgr.
DtList is deprecated, please use std::list<T>.
Definition: vlList.h:71
This file declares DtSocket as well as several useful constents and helper classes.
DtTcpSocket * myBeginSocket
Definition: vlTcpForwarder.h:65
DtClock myClock
Definition: vlTcpForwarder.h:67
#define DT_DLL_NETCOMPAT
Definition: vlMachineTypes.h:111
lint -e266
Definition: vlList.h:25
provides basic Operating Independent Methods useful to a federate
const DtList * mySockList
Pointer to the socket manager's list.
Definition: vlTcpForwarder.h:70
This file contains typedefs for machine dependant types.
Definition: vlTcpSocketMgr.h:37