![]() |
Gray C++ Libraries
0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
|
#include <cMailslot.h>
Public Member Functions | |
virtual void | Disconnect () |
cStringF | get_MailslotPath () const |
bool | isOpen () const |
UNITTEST2_PREDEF (cMailslot) | |
Static Public Attributes | |
static const FILECHAR_t * | k_pszServerDefault = _FN(".") |
Protected Member Functions | |
cMailslot () | |
virtual | ~cMailslot () |
virtual HRESULT | Connect (const FILECHAR_t *pszSlotName, const FILECHAR_t *pszServerName=nullptr, _SECURITY_ATTRIBUTES *pSa=nullptr)=0 |
Static Protected Member Functions | |
static StrLen_t GRAYCALL | MakeMailslotPath (OUT FILECHAR_t *pszPath, const FILECHAR_t *pszSlotName, const FILECHAR_t *pszServerName=nullptr) |
static cStringF GRAYCALL | MakeMailslotPath (const FILECHAR_t *pszSlotName, const FILECHAR_t *pszServerName=nullptr) |
Protected Attributes | |
cStringF | m_sMailslotPath |
"\\\\%s\\mailslot\\%s" More... | |
mqd_t | m_q |
init to -1 More... | |
Generic mail slot sender or receiver. works as Interprocess OR (Microsoft) inter-network messaging. (set pszServerName)
|
protected |
|
protectedvirtual |
|
protectedpure virtual |
Implemented in GrayLib::cMailslotReader, and GrayLib::cMailslotWriter.
|
virtual |
Closes a connection to a mail slot.
|
inline |
|
inline |
|
staticprotected |
|
staticprotected |
GrayLib::cMailslot::UNITTEST2_PREDEF | ( | cMailslot | ) |
|
static |
|
protected |
init to -1
|
protected |
"\\\\%s\\mailslot\\%s"