![]() |
Gray C++ Libraries
0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
|
#include <cNetServer.Tests.h>
Public Member Functions | |
| cUnitTestTelnetStream (cUnitTestTelnetFactory *pFactory, IUnkObject *pServerConnection, cStreamInput *pStreamInp, cStreamOutput *pStreamOut) | |
| virtual HRESULT | ProcessStreamPacket () override |
| IUNKNOWN_DISAMBIG (cRefBase) | |
Public Member Functions inherited from Gray::cRefBase | |
| cRefBase (int iRefCount=0) noexcept | |
| virtual | ~cRefBase () |
| int | get_RefCount () const noexcept |
| HASHCODE_t | get_HashCode () const noexcept |
| STDMETHOD_ (HASHCODE_t, get_HashCodeX)() const noexcept | |
| virtual void | onFinalRelease () |
| bool | isValidObj () const noexcept |
| STDMETHOD_ (ULONG, AddRef)(void) override | |
| STDMETHOD_ (ULONG, Release)(void) override | |
| STDMETHOD() | QueryInterface (const IID &riid, void __RPC_FAR *__RPC_FAR *ppvObject) override |
| void | IncRefCount () |
| void | DecRefCount () |
| bool | isStaticConstruct () const noexcept |
| void | StaticConstruct () |
| void | StaticDestruct () |
| bool | isDestructing () noexcept |
| void | SetDestructing () |
Public Member Functions inherited from GrayLib::cProtocolStream | |
| cProtocolStream (IProtocolFactory *pProtocolFactory, IUnkObject *pServerConnection, cStreamInput *pStreamInp, cStreamOutput *pStreamOut) | |
| virtual | ~cProtocolStream () |
| HASHCODE_t | get_HashCode () const noexcept |
| STDMETHOD_ (HASHCODE_t, get_HashCodeX)() const noexcept override | |
| STDMETHOD_ (cString, get_Name)() const override | |
| STDMETHOD_ (cStringA, get_SymName)() const override | |
| bool | isConnected () const |
| cStreamInput * | get_StreamInp () const |
| cStreamOutput * | get_StreamOut () const |
| virtual size_t | get_ProtocolMaxMessageSize () const |
| virtual HRESULT | DisposeThis () |
| virtual HRESULT | OnTickStream () |
Static Public Attributes | |
| static const char * | k_pszMsgStop = "TelnetStop" |
Additional Inherited Members | |
Public Attributes inherited from GrayLib::cProtocolStream | |
| IProtocolFactory *const | m_pProtocolFactory |
| What IProtocolFactory produced this? More... | |
| IUnkObject *const | m_pServerConnection |
| the cNetServerConnection or other top level parent for this protocol. More... | |
| HASHCODE_t const | m_nHashCode |
| the m_pClient->get_HashCode() id for this client connection/stream. More... | |
Protected Attributes inherited from GrayLib::cProtocolStream | |
| cStreamInput * | m_pStreamInp |
| for use with ProcessStreamPacket() More... | |
| cStreamOutput * | m_pStreamOut |
| TX responses back to the remote client go here. (e.g. cNetServerConnection->cNetStream) More... | |
| cString | m_sName |
| 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() More... | |
a unit testing framework for a cNetServer protocol. Just a simple telnet terminal server side.
| GrayLib::cUnitTestTelnetStream::cUnitTestTelnetStream | ( | cUnitTestTelnetFactory * | pFactory, |
| IUnkObject * | pServerConnection, | ||
| cStreamInput * | pStreamInp, | ||
| cStreamOutput * | pStreamOut | ||
| ) |
| GrayLib::cUnitTestTelnetStream::IUNKNOWN_DISAMBIG | ( | cRefBase | ) |
|
overridevirtual |
Called periodically to process queued incoming data. if any. Get a single string up to
Reimplemented from GrayLib::cProtocolStream.
|
static |