#include <cProtocol.h>
Base class for any server side connection to a client talking a protocol. (Used by cNetServer) e.g. base for cHttpProtocolStream, cSecureServerStream, cSSLServerStream, cXProtocolServerStream, cUnitTestTelnetStream might be the base for CClient type class.
- Note
- This isolates the protocol/client from cNetSocket. Intentionally separate from all CNet* classes. IUnknown so we may use smart pointer but may also be cXObject based.
◆ cProtocolStream()
◆ ~cProtocolStream()
GrayLib::cProtocolStream::~cProtocolStream |
( |
| ) |
|
|
virtual |
◆ DisposeThis()
virtual HRESULT GrayLib::cProtocolStream::DisposeThis |
( |
void |
| ) |
|
|
inlinevirtual |
◆ get_HashCode()
HASHCODE_t GrayLib::cProtocolStream::get_HashCode |
( |
| ) |
const |
|
inlinenoexcept |
from m_nHashCode( pClient->get_HashCodeX() )
◆ get_ProtocolMaxMessageSize()
size_t GrayLib::cProtocolStream::get_ProtocolMaxMessageSize |
( |
| ) |
const |
|
virtual |
I must be able to hold one full message for processing.
◆ get_StreamInp()
cStreamInput* GrayLib::cProtocolStream::get_StreamInp |
( |
| ) |
const |
|
inline |
◆ get_StreamOut()
◆ isConnected()
bool GrayLib::cProtocolStream::isConnected |
( |
| ) |
const |
|
inline |
◆ OnTickStream()
virtual HRESULT GrayLib::cProtocolStream::OnTickStream |
( |
| ) |
|
|
inlinevirtual |
◆ ProcessStreamPacket()
virtual HRESULT GrayLib::cProtocolStream::ProcessStreamPacket |
( |
| ) |
|
|
inlinevirtual |
◆ STDMETHOD_() [1/3]
GrayLib::cProtocolStream::STDMETHOD_ |
( |
cString |
, |
|
|
get_Name |
|
|
) |
| const |
|
inlineoverride |
for IUnkObject user readable name. from m_sName( pClient->get_Name() )
◆ STDMETHOD_() [2/3]
GrayLib::cProtocolStream::STDMETHOD_ |
( |
cStringA |
, |
|
|
get_SymName |
|
|
) |
| const |
|
inlineoverride |
Give the stream a unique id.
◆ STDMETHOD_() [3/3]
GrayLib::cProtocolStream::STDMETHOD_ |
( |
HASHCODE_t |
, |
|
|
get_HashCodeX |
|
|
) |
| const |
|
inlineoverridenoexcept |
for IUnkObject virtualized version of get_HashCode. from m_nHashCode( pClient->get_HashCodeX() )
◆ m_nHashCode
HASHCODE_t const GrayLib::cProtocolStream::m_nHashCode |
◆ m_pProtocolFactory
◆ m_pServerConnection
IUnkObject* const GrayLib::cProtocolStream::m_pServerConnection |
◆ m_pStreamInp
◆ m_pStreamOut
TX responses back to the remote client go here. (e.g. cNetServerConnection->cNetStream)
◆ m_sName
cString GrayLib::cProtocolStream::m_sName |
|
protected |
a user readable name. Usually the IP address or reverse DNS lookup. can be upgraded as lookup or login becomes avail. m_pClient->get_Name()
The documentation for this class was generated from the following files: