6 #ifndef netStatsConnMgr_h__
7 #define netStatsConnMgr_h__
10 #include <vlutil/vlThreadSafe.h>
15 class MAKRti::DtClock;
27 std::shared_ptr<DtRtiAssistantLrcClient> assistantClient =
28 std::shared_ptr<DtRtiAssistantLrcClient>() );
43 DtTransportType transport,
44 const DtInetAddr& addr = DtInetAddr::inaddrAny() );
48 DtTransportType transport,
49 const DtInetAddr& addr = DtInetAddr::inaddrAny() );
58 DtTransportType trans);
81 std::shared_ptr<DtRtiAssistantLrcClient> assistantClient =
82 std::shared_ptr<DtRtiAssistantLrcClient>() );
98 #endif // netStatsConnMgr_h__
virtual bool netStatsEnabled() const
DtNetReadStatus
Definition: connection.h:21
virtual int send(const DtRtiMsg &msg, DtTransportType transport, const DtInetAddr &addr=DtInetAddr::inaddrAny())
This class manages the RTI's start-up configuration using both MTL variables and functions.
Definition: RIDparams.h:87
This class represents a network connection with another RTI component.
Definition: connection.h:38
the Asynchronous Connection Mgr adds asynchronous I/O to the connectionMgr class. ...
Definition: asyConMgr.h:60
Definition: netStatsMonitor.h:33
virtual bool processConnection(DtRtiConnection *conn, DtTransportType trans)
MAKRti::DtClock myTimer
Definition: netStatsConnMgr.h:92
virtual DtNetReadStatus processMsg(const DtRtiMsg &msg)
this function applies the callbacks to the message
Definition: netStatsConnMgr.h:22
virtual void setNetStatsEnabled(bool shouldEnable)
static DtConnectionMgr * create(DtRIDParameters *p, bool isFederate=false, std::shared_ptr< DtRtiAssistantLrcClient > assistantClient=std::shared_ptr< DtRtiAssistantLrcClient >())
Instances of DtFederateMgr process federation-level messages (such as create, destroy, join, resign, and sync points) and manages the objects responsible for handling general communication, objects, interactions, the FOM, MOM, and data distribution mmg.
Definition: fedMgr.h:93
virtual void setTrafficMonitor(DtNetStatsMonitor *stats)
Instances of DtConnectionMgr manage the communication objects that the RTI will use to either communi...
Definition: connectMgr.h:67
DtRtiMsg is the base class for messages between RTI components.
Definition: rtiMsg.h:34
virtual void shutdown()
Request shutdown of communication activities.
virtual int sendAndDelete(DtRtiMsg *msg, DtTransportType transport, const DtInetAddr &addr=DtInetAddr::inaddrAny())
virtual ~DtNetStatsAsyncConnMgr()
virtual DtRIDParameters * params()
Get a pointer to the RID parameters.
bool myNetStatsEnabled
Definition: netStatsConnMgr.h:95
DtNetStatsAsyncConnMgr(DtRIDParameters *params, bool isFederate=false, std::shared_ptr< DtRtiAssistantLrcClient > assistantClient=std::shared_ptr< DtRtiAssistantLrcClient >())
virtual DtRtiMsg * getMessage()
Get a message if one exists Message must be destroyed by caller.
DtNetStatsMonitor * myNetStats
Definition: netStatsConnMgr.h:89