![]() |
Clapkit
|
Defines the base of all TCP client/server sockets. More...
#include <ckNetBaseSocket.h>
Public Member Functions | |
CKNetBaseSocket () | |
~CKNetBaseSocket () | |
virtual void | Close () |
void | SetBufferSize (UInt16 size) |
UInt16 | GetBufferSize () |
void | Loop () |
![]() | |
CKObject () | |
virtual | ~CKObject () |
virtual void | AddHandler (CKEventType type, CKEventHandlerFunc cb) |
virtual void | RemoveHandler (CKEventType type) |
virtual bool | HasHandler (CKEventType type) const |
virtual bool | HandleEvent (const CKEvent &evt) |
virtual void | SetPropertyObserver (CKPropertyObserverFunc cb) |
virtual void | UnsetPropertyObserver () |
virtual void | RaisePropertyChange (const char *propertyName) |
Protected Member Functions | |
CKError | __openStream () |
CKError | __closeStream () |
void | __postNotifyEvent (unsigned short eventCode, unsigned short terminReason, struct ICMPReport *icmpMsg) |
void | __postIOCompletionEvent (unsigned short csCode, bool result) |
Protected Attributes | |
UInt16 | __mactcpBufferSize = 8192 |
Ptr | __mactcpBuffer = 0 |
StreamPtr | __stream = 0 |
bool | __hasStream = false |
bool | __isConnected = false |
![]() | |
std::map< CKEventType, CKEventHandlerFunc > | __handlers |
CKPropertyObserverFunc | propertyObserverCB = nullptr |
Friends | |
pascal void | CKNBSNotify (StreamPtr, unsigned short, Ptr, unsigned short, struct ICMPReport *) |
pascal void | CKNBSIOCompletion (TCPiopb *iopb) |
Defines the base of all TCP client/server sockets.
CKNetBaseSocket::CKNetBaseSocket | ( | ) |
CKNetBaseSocket::~CKNetBaseSocket | ( | ) |
|
protected |
|
protected |
|
protected |
|
protected |
|
virtual |
|
inline |
void CKNetBaseSocket::Loop | ( | ) |
|
inline |
|
friend |
|
friend |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |