This class represents a transport connection between the agent and the gateway from the agent's perspective
This class represents a transport connection between the agent and the gateway from the agent's perspective
MgcGateway( const char* address, int portRemote=DEFAULT_MGCP_PORT_FOR_GATEWAY, int portLocal=DEFAULT_MGCP_PORT_FOR_CALLAGENT )
portRemote - The port of the gateway
portLocal - the local port to listen for the gateway on. MgcGatewayHandle addGateway(const char* address, int portRemote=DEFAULT_MGCP_PORT_FOR_GATEWAY)
bool send(MgcCommand& command, MgcGatewayHandle handle=0)
bool reply(const Sptr<MgcCommand>& command, MgcGatewayHandle handle=0)
Sptr <MgcCommand> receive()
void setAsync()
void setSync()
bool asyncSend(MgcCommand& command, MgcGatewayHandle handle=0)
bool asyncReply(const Sptr<MgcCommand>& command, MgcGatewayHandle handle=0)
Sptr <MgcCommand> asyncReceive()
void asyncProcess()
void addToFdSet( fd_set* set )
bool checkIfSet( fd_set* set )
bool checkMsgReady( fd_set* set )
bool debugFlag
bool commandPending()
int getFd()
Sptr <MgcCommand> getNextMessage()
void flushMessages()
void threadProcess()
void processPendingBlock()
bool processPending()
bool handleTimeouts(struct timeval* tv)
void processRangeInRespAck( const string& s, const NetworkAddress& srcAddr )
vector < Sptr
Sptr
deque
map < UniqueId, int > TransWaiting
deque
bool msgWaiting
bool respWaiting
VMutex* queueMutex
VMutex* networkMutex
VCondition* msgPending
VCondition* respPending
VCondition* networkPending
typedef map
MgcMsgStuffMap sentMessages
Timer
map < UniqueId, Sptr
Timer
generated by doc++