프로퍼티 | 타입 | 설명 | |
---|---|---|---|
NetSocket | Socket | ||
NetStream | Stream |
메소드 | 설명 | |
---|---|---|
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 ( |
메소드 | 설명 | |
---|---|---|
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 ( |
메소드 | 설명 | |
---|---|---|
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 | |
리턴 | void |
public Read ( byte buffer, int offset, int count ) : int | ||
buffer | byte | |
offset | int | |
count | int | |
리턴 | int |
protected ReadAndMatchFourBytes ( byte buffer ) : bool | ||
buffer | byte | |
리턴 | bool |
protected ReadToByte ( byte b, ValidateByteDelegate validator ) : byte[] | ||
b | byte | |
validator | ValidateByteDelegate | |
리턴 | byte[] |
protected ReadToChar ( char ch, ValidateByteDelegate validator ) : String | ||
ch | char | |
validator | ValidateByteDelegate | |
리턴 | String |
protected SendErrorMessageIfPossible ( |
||
e | ||
리턴 | void |
public SocketHandler ( Socket socket, Stream netStream ) : System | ||
socket | Socket | |
netStream | Stream | |
리턴 | System |
public WriteByte ( byte value, Stream outputStream ) : void | ||
value | byte | |
outputStream | Stream | |
리턴 | void |
public WriteInt32 ( int value, Stream outputStream ) : void | ||
value | int | |
outputStream | Stream | |
리턴 | void |
public WriteUInt16 ( |
||
value | ||
outputStream | Stream | |
리턴 | void |