|
reSIProcate
SIP stack, Dialog Usage Manager and related libraries
|
#include <TurnLoadGenAsyncSocketHandler.hxx>
Public Member Functions | |
| TurnLoadGenAsyncSocketHandler (int clientNum, asio::io_context &ioService, const Data &localAddress, const Data &turnServerAddress, unsigned short turnServerPort, unsigned short relayPort, const ConfigParse &config) | |
| virtual | ~TurnLoadGenAsyncSocketHandler () |
| void | setTurnAsyncSocket (std::shared_ptr< TurnAsyncSocket > &turnAsyncSocket) |
| void | connect () |
| void | sendBindRequest () |
| void | sendAllocationRequest () |
| void | startSendingPayload () |
| void | sendPayload () |
| virtual void | onConnectSuccess (unsigned int socketDesc, const asio::ip::address &address, unsigned short port) override |
| virtual void | onConnectFailure (unsigned int socketDesc, const asio::error_code &e) override |
| virtual void | onSharedSecretSuccess (unsigned int socketDesc, const char *username, unsigned int usernameSize, const char *password, unsigned int passwordSize) override |
| virtual void | onSharedSecretFailure (unsigned int socketDesc, const asio::error_code &e) override |
| virtual void | onBindSuccess (unsigned int socketDesc, const StunTuple &reflexiveTuple, const StunTuple &stunServerTuple) override |
| virtual void | onBindFailure (unsigned int socketDesc, const asio::error_code &e, const StunTuple &stunServerTuple) override |
| virtual void | onAllocationSuccess (unsigned int socketDesc, const StunTuple &reflexiveTuple, const StunTuple &relayTuple, unsigned int lifetime, unsigned int bandwidth, uint64_t reservationToken) override |
| virtual void | onAllocationFailure (unsigned int socketDesc, const asio::error_code &e) override |
| virtual void | onRefreshSuccess (unsigned int socketDesc, unsigned int lifetime) override |
| virtual void | onRefreshFailure (unsigned int socketDesc, const asio::error_code &e) override |
| virtual void | onSetActiveDestinationSuccess (unsigned int socketDesc) override |
| virtual void | onSetActiveDestinationFailure (unsigned int socketDesc, const asio::error_code &e) override |
| virtual void | onClearActiveDestinationSuccess (unsigned int socketDesc) override |
| virtual void | onClearActiveDestinationFailure (unsigned int socketDesc, const asio::error_code &e) override |
| virtual void | onChannelBindRequestSent (unsigned int socketDesc, unsigned short channelNumber) override |
| virtual void | onChannelBindSuccess (unsigned int socketDesc, unsigned short channelNumber) override |
| virtual void | onChannelBindFailure (unsigned int socketDesc, const asio::error_code &e) override |
| virtual void | onSendSuccess (unsigned int socketDesc) override |
| virtual void | onSendFailure (unsigned int socketDesc, const asio::error_code &e) override |
| virtual void | onReceiveSuccess (unsigned int socketDesc, const asio::ip::address &address, unsigned short port, const std::shared_ptr< reTurn::DataBuffer > &data) override |
| virtual void | onReceiveFailure (unsigned int socketDesc, const asio::error_code &e) override |
| virtual void | onIncomingBindRequestProcessed (unsigned int socketDesc, const StunTuple &sourceTuple) override |
Public Member Functions inherited from reTurn::TurnAsyncSocketHandler | |
| TurnAsyncSocketHandler () | |
| virtual | ~TurnAsyncSocketHandler () |
| virtual void | onAllocationSuccess (unsigned int socketDesc, const StunTuple &reflexiveTuple, const StunTuple &relayTuple, unsigned int lifetimeSecs, unsigned int bandwidth, uint64_t reservationToken)=0 |
Definition at line 16 of file TurnLoadGenAsyncSocketHandler.hxx.
| TurnLoadGenAsyncSocketHandler::TurnLoadGenAsyncSocketHandler | ( | int | clientNum, |
| asio::io_context & | ioService, | ||
| const Data & | localAddress, | ||
| const Data & | turnServerAddress, | ||
| unsigned short | turnServerPort, | ||
| unsigned short | relayPort, | ||
| const ConfigParse & | config | ||
| ) |
Definition at line 31 of file TurnLoadGenAsyncSocketHandler.cxx.
|
virtual |
Definition at line 58 of file TurnLoadGenAsyncSocketHandler.cxx.
| void TurnLoadGenAsyncSocketHandler::connect | ( | ) |
Definition at line 83 of file TurnLoadGenAsyncSocketHandler.cxx.
|
overridevirtual |
Implements reTurn::TurnAsyncSocketHandler.
Definition at line 186 of file TurnLoadGenAsyncSocketHandler.cxx.
|
overridevirtual |
Definition at line 173 of file TurnLoadGenAsyncSocketHandler.cxx.
|
overridevirtual |
Implements reTurn::TurnAsyncSocketHandler.
Definition at line 168 of file TurnLoadGenAsyncSocketHandler.cxx.
|
overridevirtual |
Implements reTurn::TurnAsyncSocketHandler.
Definition at line 162 of file TurnLoadGenAsyncSocketHandler.cxx.
|
overridevirtual |
Implements reTurn::TurnAsyncSocketHandler.
Definition at line 251 of file TurnLoadGenAsyncSocketHandler.cxx.
|
overridevirtual |
Implements reTurn::TurnAsyncSocketHandler.
Definition at line 241 of file TurnLoadGenAsyncSocketHandler.cxx.
|
overridevirtual |
Implements reTurn::TurnAsyncSocketHandler.
Definition at line 246 of file TurnLoadGenAsyncSocketHandler.cxx.
|
overridevirtual |
Implements reTurn::TurnAsyncSocketHandler.
Definition at line 236 of file TurnLoadGenAsyncSocketHandler.cxx.
|
overridevirtual |
Implements reTurn::TurnAsyncSocketHandler.
Definition at line 231 of file TurnLoadGenAsyncSocketHandler.cxx.
|
overridevirtual |
Implements reTurn::TurnAsyncSocketHandler.
Definition at line 147 of file TurnLoadGenAsyncSocketHandler.cxx.
|
overridevirtual |
Implements reTurn::TurnAsyncSocketHandler.
Definition at line 133 of file TurnLoadGenAsyncSocketHandler.cxx.
|
overridevirtual |
Implements reTurn::TurnAsyncSocketHandler.
Definition at line 279 of file TurnLoadGenAsyncSocketHandler.cxx.
|
overridevirtual |
Implements reTurn::TurnAsyncSocketHandler.
Definition at line 273 of file TurnLoadGenAsyncSocketHandler.cxx.
|
overridevirtual |
Implements reTurn::TurnAsyncSocketHandler.
Definition at line 267 of file TurnLoadGenAsyncSocketHandler.cxx.
|
overridevirtual |
Implements reTurn::TurnAsyncSocketHandler.
Definition at line 211 of file TurnLoadGenAsyncSocketHandler.cxx.
|
overridevirtual |
Implements reTurn::TurnAsyncSocketHandler.
Definition at line 195 of file TurnLoadGenAsyncSocketHandler.cxx.
|
overridevirtual |
Implements reTurn::TurnAsyncSocketHandler.
Definition at line 261 of file TurnLoadGenAsyncSocketHandler.cxx.
|
overridevirtual |
Implements reTurn::TurnAsyncSocketHandler.
Definition at line 256 of file TurnLoadGenAsyncSocketHandler.cxx.
|
overridevirtual |
Implements reTurn::TurnAsyncSocketHandler.
Definition at line 226 of file TurnLoadGenAsyncSocketHandler.cxx.
|
overridevirtual |
Implements reTurn::TurnAsyncSocketHandler.
Definition at line 220 of file TurnLoadGenAsyncSocketHandler.cxx.
|
overridevirtual |
Implements reTurn::TurnAsyncSocketHandler.
Definition at line 157 of file TurnLoadGenAsyncSocketHandler.cxx.
|
overridevirtual |
Implements reTurn::TurnAsyncSocketHandler.
Definition at line 152 of file TurnLoadGenAsyncSocketHandler.cxx.
| void TurnLoadGenAsyncSocketHandler::sendAllocationRequest | ( | ) |
Definition at line 95 of file TurnLoadGenAsyncSocketHandler.cxx.
| void TurnLoadGenAsyncSocketHandler::sendBindRequest | ( | ) |
Definition at line 90 of file TurnLoadGenAsyncSocketHandler.cxx.
| void TurnLoadGenAsyncSocketHandler::sendPayload | ( | ) |
Definition at line 116 of file TurnLoadGenAsyncSocketHandler.cxx.
| void TurnLoadGenAsyncSocketHandler::setTurnAsyncSocket | ( | std::shared_ptr< TurnAsyncSocket > & | turnAsyncSocket | ) |
Definition at line 67 of file TurnLoadGenAsyncSocketHandler.cxx.
| void TurnLoadGenAsyncSocketHandler::startSendingPayload | ( | ) |
Definition at line 109 of file TurnLoadGenAsyncSocketHandler.cxx.