typedef BaseInterface::DataLength DataLength |
typedef AutoCloser<BaseInterface> CAutoCloser [protected] |
TWebSocketBase | ( | JetByteTools::Core::IReentrantLockableObject & | lock, | |
JetByteTools::Socket::IStreamSocket & | socket, | |||
JetByteTools::IO::IAllocateBuffers & | allocator, | |||
IWebSocketInputHandler & | inputHandler | |||
) | [inline, protected] |
const std::string& GetIdentifierA | ( | ) | const [inline, override] |
JetByteTools::Core::_tstring GetIdentifier | ( | ) | const [inline, override] |
void OnConnectionClosed | ( | bool | shutdown | ) | [inline] |
bool InternalRead | ( | JetByteTools::IO::CSmartBuffer & | buffer | ) | [inline] |
bool InternalRead | ( | JetByteTools::IO::IBuffer * | pBuffer = nullptr |
) | [inline] |
bool TryWriteRaw | ( | JetByteTools::IO::CSmartBuffer & | buffer | ) | [inline] |
bool TryWriteRaw | ( | const BYTE * | pData, | |
DataLength | dataLength | |||
) | [inline] |
bool TryWriteRaw | ( | const char * | pData, | |
DataLength | dataLength | |||
) | [inline] |
bool TryRead | ( | ) | [inline, override] |
bool TryRead | ( | JetByteTools::IO::CSmartBuffer & | buffer | ) | [inline, override] |
bool TryRead | ( | JetByteTools::IO::IBuffer * | pBuffer | ) | [inline, override] |
void Read | ( | ) | [inline, override] |
void Read | ( | JetByteTools::IO::CSmartBuffer & | buffer | ) | [inline, override] |
void Read | ( | JetByteTools::IO::IBuffer * | pBuffer | ) | [inline, override] |
void WriteText | ( | JetByteTools::IO::CSmartBuffer & | buffer | ) | [inline, override] |
void WriteText | ( | const JetByteTools::Core::_tstring & | text | ) | [inline, override] |
void WriteText | ( | const TCHAR * | pData, | |
DataLength | dataLength | |||
) | [inline, override] |
void WriteText | ( | const BYTE * | pUTF8Data, | |
DataLength | dataLength | |||
) | [inline, override] |
virtual bool TryWriteText | ( | JetByteTools::IO::CSmartBuffer & | buffer | ) | [pure virtual] |
Implemented in CWebSocket.
bool TryWriteText | ( | const JetByteTools::Core::_tstring & | text | ) | [inline, override] |
virtual bool TryWriteText | ( | const TCHAR * | pData, | |
DataLength | dataLength | |||
) | [pure virtual] |
virtual bool TryWriteText | ( | const BYTE * | pUTF8Data, | |
DataLength | dataLength | |||
) | [pure virtual] |
bool AbortConnection | ( | ) | [inline, override] |
JetByteTools::Socket::CAddress GetLocalAddress | ( | ) | const [inline, override] |
JetByteTools::Socket::CAddress GetRemoteAddress | ( | ) | const [inline, override] |
void AddRef | ( | ) | [inline, override] |
void Release | ( | ) | [inline, override] |
void * GetUserPointer | ( | UserDataIndex | index | ) | const [inline, override] |
void SetUserPointer | ( | UserDataIndex | index, | |
void * | pData | |||
) | [inline, override] |
ULONG_PTR GetUserData | ( | UserDataIndex | index | ) | const [inline, override] |
void SetUserData | ( | UserDataIndex | index, | |
ULONG_PTR | data | |||
) | [inline, override] |
JetByteTools::IO::CSmartBuffer Allocate | ( | ) | [inline, override] |
JetByteTools::IO::CSmartBuffer AllocateCustomSizedBuffer | ( | JetByteTools::IO::IBuffer::BufferSize | bufferSize | ) | [inline, override] |
JetByteTools::IO::CSmartBuffer Allocate | ( | JetByteTools::IO::IAllocateBuffer & | allocator | ) | [inline, override] |
JetByteTools::IO::CSmartBuffer AllocateCustomSizedBuffer | ( | JetByteTools::IO::IAllocateBuffer & | allocator, | |
JetByteTools::IO::IBuffer::BufferSize | bufferSize | |||
) | [inline, override] |
void AddBufferToPool | ( | JetByteTools::IO::IBuffer & | buffer | ) | [inline, override] |
bool IsClosed | ( | ) | [inline, protected] |
void ReduceCloseCounter | ( | ) | [inline, protected] |
bool ShouldClose | ( | ) | [inline, protected] |
void SendClose | ( | JetByteTools::IO::CCustomPoolSmartBuffer & | buffer | ) | [inline, protected] |
JetByteTools::Socket::IStreamSocket& m_socket [protected] |
JetByteTools::IO::IAllocateBuffers& m_allocator [protected] |
JetByteTools::Core::IReentrantLockableObject& m_lock [protected] |