![]() |
Gray C++ Libraries
0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
|
#include <cProtocol.h>
Public Member Functions | |
bool | AddProtocol (IProtocolFactory *pProtocolFactory) |
HRESULT | TestProtocol (const BYTE *pPrefixData, size_t iPrefixLen, OUT IProtocolFactory *&rpProtocolFactory) const |
Protected Attributes | |
cArrayPtr< IProtocolFactory > | m_aProtocols |
array of possible protocols we support. More... | |
Manage a set of possible IProtocolFactory protocols for a port.
bool GrayLib::cProtocolFactories::AddProtocol | ( | IProtocolFactory * | pProtocolFactory | ) |
Add a protocol to the list of protocols I support.
HRESULT GrayLib::cProtocolFactories::TestProtocol | ( | const BYTE * | pPrefixData, |
size_t | iPrefixLen, | ||
OUT IProtocolFactory *& | rpProtocolFactory | ||
) | const |
Try to resolve the protocol.
|
protected |
array of possible protocols we support.