Method | Description | |
---|---|---|
SendDescriptor ( IDescriptorContainer container ) : System |
Initializes a new instance of the SendDescriptor class.
|
|
Write ( byte data ) : void |
Writes a byte array to the stream.
|
Method | Description | |
---|---|---|
OnClosed ( ) : void |
Method | Description | |
---|---|---|
BeginSend ( ) : void | ||
EndSendAsynchronous ( object sender, |
Asynchronous EndSend, also the callback for the Completed event. If there is more data to send, this method will call BeginSend(). |
|
EndSendSynchronous ( |
Synchronous EndSend. This method will return true if there is more data to send. If there is no more data or if there was a connection error, it will return false. |
|
HandleTransferredData ( |
Handles the data which was transferred using the given SocketAsyncEventArgs object. This method advances the sentBytes field forward and moves to the next segment in the queue if the current has finished sending. If there was a connection error, this method will return |
|
ResetBuffer ( ) : void |
Looks at the current segment and adjusts the SocketArgs buffer to it.
|
public SendDescriptor ( IDescriptorContainer container ) : System | ||
container | IDescriptorContainer | The |
return | System |