#include <TurnSocket.hxx>
|
| | TurnSocket (const asio::ip::address &address=UnspecifiedIpAddress, unsigned short port=0) |
| |
| virtual | ~TurnSocket () |
| |
| virtual unsigned int | getSocketDescriptor ()=0 |
| |
| virtual asio::error_code | connect (const std::string &address, unsigned short port)=0 |
| |
| asio::error_code | requestSharedSecret (char *username, unsigned int usernameSize, char *password, unsigned int passwordSize) |
| |
| void | setUsernameAndPassword (const char *username, const char *password, bool shortTermAuth=false) |
| |
| void | setSoftware (const char *software) |
| |
| asio::error_code | bindRequest () |
| |
| asio::error_code | createAllocation (unsigned int lifetime=UnspecifiedLifetime, unsigned int bandwidth=UnspecifiedBandwidth, unsigned char requestedProps=StunMessage::PropsNone, uint64_t reservationToken=UnspecifiedToken, StunTuple::TransportType requestedTransportType=StunTuple::None) |
| |
| asio::error_code | refreshAllocation () |
| |
| asio::error_code | destroyAllocation () |
| |
| StunTuple & | getRelayTuple () |
| |
| StunTuple & | getReflexiveTuple () |
| |
| unsigned int | getLifetime () |
| |
| unsigned int | getBandwidth () |
| |
| asio::error_code | setActiveDestination (const asio::ip::address &address, unsigned short port) |
| |
| asio::error_code | clearActiveDestination () |
| |
| asio::error_code | send (const char *buffer, unsigned int size) |
| |
| asio::error_code | sendTo (const asio::ip::address &address, unsigned short port, const char *buffer, unsigned int size) |
| |
| asio::error_code | receive (char *buffer, unsigned int &size, unsigned int timeout, asio::ip::address *sourceAddress=0, unsigned short *sourcePort=0) |
| |
| asio::error_code | receiveFrom (const asio::ip::address &address, unsigned short port, char *buffer, unsigned int &size, unsigned int timeout) |
| |
Definition at line 28 of file TurnSocket.hxx.
◆ ChannelBindingRefreshTimeMap
◆ TurnSocket()
◆ ~TurnSocket()
| reTurn::TurnSocket::~TurnSocket |
( |
| ) |
|
|
virtual |
◆ bindRequest()
| asio::error_code reTurn::TurnSocket::bindRequest |
( |
| ) |
|
◆ cancelSocket()
◆ clearActiveDestination()
| asio::error_code reTurn::TurnSocket::clearActiveDestination |
( |
| ) |
|
◆ connect()
◆ createAllocation()
◆ destroyAllocation()
| asio::error_code reTurn::TurnSocket::destroyAllocation |
( |
| ) |
|
◆ getBandwidth()
◆ getLifetime()
◆ getReflexiveTuple()
| StunTuple & reTurn::TurnSocket::getReflexiveTuple |
( |
| ) |
|
◆ getRelayTuple()
| StunTuple & reTurn::TurnSocket::getRelayTuple |
( |
| ) |
|
◆ getSocketDescriptor()
◆ handleRawRead()
| void reTurn::TurnSocket::handleRawRead |
( |
const asio::error_code & |
errorCode, |
|
|
size_t |
bytesRead |
|
) |
| |
|
protected |
◆ handleRawReadTimeout()
| void reTurn::TurnSocket::handleRawReadTimeout |
( |
const asio::error_code & |
errorCode | ) |
|
|
protected |
◆ queueReceived()
◆ rawRead()
◆ rawWrite() [1/2]
◆ rawWrite() [2/2]
| virtual asio::error_code reTurn::TurnSocket::rawWrite |
( |
const std::vector< asio::const_buffer > & |
buffers | ) |
|
|
protectedpure virtual |
◆ receive()
◆ receiveFrom()
◆ refreshAllocation()
| asio::error_code reTurn::TurnSocket::refreshAllocation |
( |
| ) |
|
◆ requestSharedSecret()
◆ send()
◆ sendTo()
◆ setActiveDestination()
| asio::error_code reTurn::TurnSocket::setActiveDestination |
( |
const asio::ip::address & |
address, |
|
|
unsigned short |
port |
|
) |
| |
◆ setSoftware()
◆ setUsernameAndPassword()
◆ startReadTimer()
◆ mActiveDestination
| RemotePeer* reTurn::TurnSocket::mActiveDestination |
|
protected |
◆ mAllocationRefreshTime
| time_t reTurn::TurnSocket::mAllocationRefreshTime |
|
protected |
◆ MaxReceivedWhileWaiting
| const size_t reTurn::TurnSocket::MaxReceivedWhileWaiting = 100 |
|
staticprotected |
◆ mBandwidth
◆ mBytesRead
| size_t reTurn::TurnSocket::mBytesRead |
|
protected |
◆ mChannelBindingRefreshTimes
◆ mChannelManager
◆ mConnected
| bool reTurn::TurnSocket::mConnected |
|
protected |
◆ mConnectedTuple
| StunTuple reTurn::TurnSocket::mConnectedTuple |
|
protected |
◆ mHaveAllocation
| bool reTurn::TurnSocket::mHaveAllocation |
|
protected |
◆ mHmacKey
◆ mIOService
| asio::io_context reTurn::TurnSocket::mIOService |
|
protected |
◆ mLifetime
◆ mLocalBinding
◆ mNonce
◆ mPassword
◆ mReadBuffer
| char reTurn::TurnSocket::mReadBuffer[8192] |
|
protected |
◆ mReadErrorCode
| asio::error_code reTurn::TurnSocket::mReadErrorCode |
|
protected |
◆ mReadTimer
| asio::steady_timer reTurn::TurnSocket::mReadTimer |
|
protected |
◆ mRealm
◆ mReceivedWhileWaiting
| std::deque<std::vector<char> > reTurn::TurnSocket::mReceivedWhileWaiting |
|
protected |
◆ mReflexiveTuple
| StunTuple reTurn::TurnSocket::mReflexiveTuple |
|
protected |
◆ mRelayTuple
◆ mRequestedBandwidth
◆ mRequestedLifetime
◆ mRequestedProps
◆ mRequestedTransportType
◆ mReservationToken
| uint64_t reTurn::TurnSocket::mReservationToken |
|
protected |
◆ mSoftware
◆ mUsername
◆ mWriteBuffer
| char reTurn::TurnSocket::mWriteBuffer[8192] |
|
protected |
◆ UnspecifiedBandwidth
| unsigned int reTurn::TurnSocket::UnspecifiedBandwidth = 0xFFFFFFFF |
|
static |
◆ UnspecifiedIpAddress
| asio::ip::address reTurn::TurnSocket::UnspecifiedIpAddress = asio::ip::make_address("0.0.0.0") |
|
static |
◆ UnspecifiedLifetime
| unsigned int reTurn::TurnSocket::UnspecifiedLifetime = 0xFFFFFFFF |
|
static |
◆ UnspecifiedToken
The documentation for this class was generated from the following files: