Свойство | Тип | Описание | |
---|---|---|---|
DefaultReceiveBufferSize | int |
Метод | Описание | |
---|---|---|
BeginConnect ( |
Starts connecting to the given address.
|
|
BeginConnect ( string addr, int port ) : void |
Starts connecting to the given host and port.
|
|
Connection ( ) : System | ||
Disconnect ( ) : void |
Marks this Connection Closing. If any data is pending to be sent it will disconnect after this data has been sent, else it will immediately call
|
|
DisconnectNow ( ) : bool |
Disconnects this Client and releases all Resources after current read and send operations finished.
|
|
Send ( ByteBuffer buf ) : void |
Sends the information from the given ByteBuffer to the current
|
|
Send ( byte buf ) : void |
Sends the whole byte array to the current
|
|
Send ( byte buf, int offset, int length ) : void |
Sends the contents of the given byte array to the current
|
|
Send ( object format ) : void |
Sends
|
|
SendLine ( object format ) : void |
Sends a line to the current
|
|
SendNow ( ByteBuffer buf ) : void | ||
SendNow ( object format ) : void |
Sends
|
|
SendNow ( string text ) : void |
Sends
|
|
ToString ( ) : string |
Метод | Описание | |
---|---|---|
BeginReceive ( ) : void | ||
CalculateDownBps ( ) : int | ||
CalculateUpBps ( ) : int | ||
ConnectFailNotify ( |
||
ConnectedNotify ( ) : void | ||
ConnectingNotify ( ) : void | ||
Connection ( Socket s ) : System | ||
ContinueConnect ( ) : void | ||
ContinueRead ( ) : void | ||
ContinueReadUnlocked ( ) : void | ||
ContinueSend ( ) : void | ||
DisconnectNow ( bool connectionLost ) : bool | ||
DisconnectedNotify ( bool connectionLost ) : void | ||
DisconnectingNotify ( bool connectionLost ) : void | ||
OnConnected ( IAsyncResult ar ) : void | ||
OnRecieved ( IAsyncResult ar ) : void | ||
OnResolved ( IAsyncResult ar ) : void | ||
OnSend ( IAsyncResult ar ) : void | ||
ReceivedNotify ( ByteBuffer buf ) : void | ||
SentNotify ( int amount, bool hasRemaining ) : void | ||
SetRcvBufferSize ( int value, bool throttleAccess ) : void | ||
SetSendBufferSize ( int value, bool throttleAcces ) : void | ||
SetThrottle ( |
public BeginConnect ( |
||
addr | ||
Результат | void |
public BeginConnect ( string addr, int port ) : void | ||
addr | string | |
port | int | |
Результат | void |
public Send ( byte buf, int offset, int length ) : void | ||
buf | byte | |
offset | int | |
length | int | |
Результат | void |