9 #ifndef DtGsRtiConnection_H_
10 #define DtGsRtiConnection_H_ 1
51 virtual int send(
const DtRtiMsg& msg,
const MAKRti::DtInetAddr& destaddr);
54 virtual void removeAllRemoteSites();
57 virtual void addRemoteSite(
const MAKRti::DtInetAddr& addr);
59 virtual void removeRemoteSite(
const MAKRti::DtInetAddr& addr);
64 virtual int sendToAllRemoteSites(
65 caddr_t pkt,
size_t size,
const MAKRti::DtInetAddr& dwSkipAddr = MAKRti::DtInetAddr::inaddrAny());
MAKRti::DtInetAddr myDestAddr
Default destination address. Should not be added to list of remote sites.
Definition: gsConnection.h:71
virtual int send(const DtRtiMsg &msg, const MAKRti::DtInetAddr &addr=MAKRti::DtInetAddr())
Send a message.
This class represents a network connection with another RTI component.
Definition: connection.h:38
DtUdpMsgSocket * myGroupSocket
Pointer to DtNetSocket (or subclass) object associated with connection.
Definition: gsConnection.h:73
DtRtiMsg is the base class for messages between RTI components.
Definition: rtiMsg.h:34
#define DT_DLL_LRC
Definition: rtiMsConfig.h:155
std::set< MAKRti::DtInetAddr > myRemoteSites
List of DtInetAddrs (which do not need to be deleted).
Definition: gsConnection.h:68
DtRtiConnection & operator=(DtRtiConnection const &orig)
Assignment Operator not implemented.
The DtUdpMsgSocket class provides an address family independent UDP socket that handles RTI messages...
Definition: udpMsgSocket.h:26
The DtGsRtiConnection class extends the DtRtiConnection class to allow messages to be sent to multipl...
Definition: gsConnection.h:25