Property | Type | Description | |
---|---|---|---|
NetSocket | Socket | ||
NetStream | Stream |
Method | Description | |
---|---|---|
BeginReadMessage ( ) : void | ||
BeginReadMessageCallback ( IAsyncResult ar ) : void | ||
Close ( ) : void | ||
OnInputStreamClosed ( ) : void | ||
RaceForControl ( ) : bool | ||
Read ( byte buffer, int offset, int count ) : int | ||
ReadByte ( ) : int | ||
ReadInt32 ( ) : int | ||
ReadToEndOfLine ( ) : String | ||
ReadUInt16 ( ) : |
||
ReleaseControl ( ) : void | ||
SocketHandler ( Socket socket, Stream netStream ) : System | ||
WriteByte ( byte value, Stream outputStream ) : void | ||
WriteInt32 ( int value, Stream outputStream ) : void | ||
WriteUInt16 ( |
Method | Description | |
---|---|---|
PrepareForNewMessage ( ) : void | ||
ReadAndMatchFourBytes ( byte buffer ) : bool | ||
ReadToByte ( byte b ) : byte[] | ||
ReadToByte ( byte b, ValidateByteDelegate validator ) : byte[] | ||
ReadToChar ( char ch ) : String | ||
ReadToChar ( char ch, ValidateByteDelegate validator ) : String | ||
SendErrorMessageIfPossible ( |
Method | Description | |
---|---|---|
BufferMoreData ( ) : int | ||
CloseOnFatalError ( |
||
CustomErrorsEnabled ( ) : bool | ||
IsLocal ( ) : bool | ||
IsLocalhost ( ) : bool | ||
ProcessRequestNow ( ) : void | ||
ReadFromSocket ( byte buffer, int offset, int count ) : int | ||
RejectRequestNowSinceServerIsBusy ( ) : void | ||
SocketHandler ( ) : System | ||
SocketHandler ( Socket socket, |
public BeginReadMessageCallback ( IAsyncResult ar ) : void | ||
ar | IAsyncResult | |
return | void |
protected abstract PrepareForNewMessage ( ) : void | ||
return | void |
public Read ( byte buffer, int offset, int count ) : int | ||
buffer | byte | |
offset | int | |
count | int | |
return | int |
protected ReadAndMatchFourBytes ( byte buffer ) : bool | ||
buffer | byte | |
return | bool |
protected ReadToByte ( byte b, ValidateByteDelegate validator ) : byte[] | ||
b | byte | |
validator | ValidateByteDelegate | |
return | byte[] |
protected ReadToChar ( char ch, ValidateByteDelegate validator ) : String | ||
ch | char | |
validator | ValidateByteDelegate | |
return | String |
protected SendErrorMessageIfPossible ( |
||
e | ||
return | void |
public SocketHandler ( Socket socket, Stream netStream ) : System | ||
socket | Socket | |
netStream | Stream | |
return | System |
public WriteByte ( byte value, Stream outputStream ) : void | ||
value | byte | |
outputStream | Stream | |
return | void |
public WriteInt32 ( int value, Stream outputStream ) : void | ||
value | int | |
outputStream | Stream | |
return | void |
public WriteUInt16 ( |
||
value | ||
outputStream | Stream | |
return | void |