- BeginRead
void BeginRead()
Undocumented in source. Be warned that the author may not have intended to support it.
- CancelWrite
void CancelWrite()
Undocumented in source. Be warned that the author may not have intended to support it.
- CheckAllWriteDone
bool CheckAllWriteDone()
Undocumented in source. Be warned that the author may not have intended to support it.
- DoConnect
bool DoConnect(Address addr)
Undocumented in source. Be warned that the author may not have intended to support it.
- DoRead
void DoRead()
Undocumented in source. Be warned that the author may not have intended to support it.
- GetDataReceivedHandler
DataReceivedHandler GetDataReceivedHandler()
Undocumented in source. Be warned that the author may not have intended to support it.
- InitializeWriteQueue
void InitializeWriteQueue()
Undocumented in source. Be warned that the author may not have intended to support it.
- IsClient
bool IsClient()
Undocumented in source.
- IsConnected
bool IsConnected()
Undocumented in source.
- OnClose
void OnClose()
Undocumented in source. Be warned that the author may not have intended to support it.
- OnDisconnected
void OnDisconnected()
Undocumented in source.
- OnRead
void OnRead()
Undocumented in source. Be warned that the author may not have intended to support it.
- OnWrite
void OnWrite()
- OnWriteDone
void OnWriteDone(size_t nBytes)
* Called by selector after data sent
* Note: It's only for IOCP selector:
- ResetWriteStatus
void ResetWriteStatus()
Undocumented in source. Be warned that the author may not have intended to support it.
- TryWrite
size_t TryWrite(ubyte[] data)
Undocumented in source. Be warned that the author may not have intended to support it.
- _isWritting
bool _isWritting;
Undocumented in source.
- _socket
Socket _socket;
Undocumented in source.
- IsBusy
bool IsBusy()
Undocumented in source. Be warned that the author may not have intended to support it.
- socket
Socket socket [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
- socket
Socket socket [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
- Close
void Close()
Undocumented in source. Be warned that the author may not have intended to support it.
- getOption
int getOption(SocketOptionLevel level, SocketOption option, void[] result)
- getOption
int getOption(SocketOptionLevel level, SocketOption option, int32_t result)
Common case of getting integer and boolean options.
- getOption
int getOption(SocketOptionLevel level, SocketOption option, Linger result)
- getOption
void getOption(SocketOptionLevel level, SocketOption option, Duration result)
Get a timeout (duration) option.
- setOption
void setOption(SocketOptionLevel level, SocketOption option, void[] value)
- setOption
void setOption(SocketOptionLevel level, SocketOption option, int32_t value)
Common case for setting integer and boolean options.
- setOption
void setOption(SocketOptionLevel level, SocketOption option, Linger value)
- setOption
void setOption(SocketOptionLevel level, SocketOption option, Duration value)
Undocumented in source. Be warned that the author may not have intended to support it.
- RemoteAddress
Address RemoteAddress()
Undocumented in source. Be warned that the author may not have intended to support it.
- _remoteAddress
Address _remoteAddress;
Undocumented in source.
- LocalAddress
Address LocalAddress()
Undocumented in source. Be warned that the author may not have intended to support it.
- _localAddress
Address _localAddress;
Undocumented in source.
- setRead
void setRead(size_t bytes)
Undocumented in source. Be warned that the author may not have intended to support it.
- readLen
size_t readLen;
Undocumented in source.
- Start
void Start()
Undocumented in source.
- OnWriteDone
void OnWriteDone()
Undocumented in source. Be warned that the author may not have intended to support it.
TCP Peer