19 #ifndef STUNSOCKETTHREAD_H 20 #define STUNSOCKETTHREAD_H
std::vector< CStunSocket * > _socks
CStunMessageReader _reader
void UninitThreadBuffers()
CStunSocket * _arrSendSockets
HRESULT InitThreadBuffers()
CRefCountedBuffer _spBufferOut
HRESULT WaitForStopAndClose()
CRefCountedBuffer _spBufferReader
CRefCountedBuffer _spBufferIn
HRESULT Init(CStunSocket *arrayOfFourSockets, TransportAddressSet *pTSA, IStunAuth *pAuth, SocketRole rolePrimaryRecv, boost::shared_ptr< RateLimiter > &_spRateLimiter)
HRESULT ProcessRequestAndSendResponse()
boost::shared_ptr< RateLimiter > _spLimiter
static void * ThreadFunction(void *pThis)
CRefCountedPtr< IStunAuth > _spAuth
CStunSocket * WaitForSocketData()
boost::shared_ptr< CBuffer > CRefCountedBuffer
HRESULT SignalForStop(bool fPostMessages)