1 #ifndef GCP_UTIL_NETMSGHANDLER_H
2 #define GCP_UTIL_NETMSGHANDLER_H
11 #include "gcp/util/common/NetHandler.h"
12 #include "gcp/util/common/NetMsg.h"
36 gcp::util::NetSendStr::NetSendId
42 gcp::util::NetSendStr::NetSendId
99 static NET_READ_HANDLER(readHandler);
103 NET_READ_HANDLER(*userReadHandler_);
109 static NET_SEND_HANDLER(sendHandler);
113 NET_SEND_HANDLER(*userSendHandler_);
119 static NET_ERROR_HANDLER(errorHandler);
123 NET_ERROR_HANDLER(*userErrorHandler_);
134 #endif // End #ifndef GCP_UTIL_NETMSGHANDLER_H
gcp::util::NetMsg * getLastReadNetMsg()
Definition: NetMsgHandler.cc:222
virtual ~NetMsgHandler()
Definition: NetMsgHandler.cc:60
NetMsgHandler()
Definition: NetMsgHandler.cc:20
void installReadHandler(NET_READ_HANDLER(*handler), void *arg)
Definition: NetMsgHandler.cc:287
Definition: NetHandler.h:16
void packAntennaIdMsg(unsigned int antenna)
Definition: NetMsgHandler.cc:212
void packGreetingMsg(unsigned int antenna)
Definition: NetMsgHandler.cc:189
Definition: NetMsgHandler.h:19
void readNetMsg()
Definition: NetMsgHandler.cc:238
void installSendHandler(NET_SEND_HANDLER(*handler), void *arg)
Definition: NetMsgHandler.cc:296
gcp::util::NetMsg * getLastSentNetMsg()
Definition: NetMsgHandler.cc:230
void packNetMsg(gcp::util::NetMsg *msg)
Definition: NetMsgHandler.cc:106
bool packNewRtcNetMsg(NetMsg *msg)
Definition: NetMsgHandler.cc:126
void installErrorHandler(NET_ERROR_HANDLER(*handler), void *arg)
Definition: NetMsgHandler.cc:305
Definition: arraymap.h:177
gcp::util::NetSendStr::NetSendId sendNetMsg(gcp::util::NetMsg *msg)
Definition: NetMsgHandler.cc:70