Method | Description | |
---|---|---|
CheckSocket ( ) : void | ||
Close ( AsyncContinuation continuation ) : void |
Closes the sender and releases any unmanaged resources.
|
|
Dispose ( ) : void |
Closes the sender and releases any unmanaged resources.
|
|
FlushAsync ( AsyncContinuation continuation ) : void |
Flushes any pending messages and invokes a continuation.
|
|
Initialize ( ) : void |
Initializes this network sender.
|
|
Send ( byte bytes, int offset, int length, AsyncContinuation asyncContinuation ) : void |
Send the given text over the specified protocol.
|
Method | Description | |
---|---|---|
DoClose ( AsyncContinuation continuation ) : void |
Performs sender-specific close operation.
|
|
DoFlush ( AsyncContinuation continuation ) : void |
Performs sender-specific flush.
|
|
DoInitialize ( ) : void |
Performs sender-specific initialization.
|
|
DoSend ( byte bytes, int offset, int length, AsyncContinuation asyncContinuation ) : void |
Actually sends the given text over the specified protocol. To be overridden in inheriting classes. |
|
NetworkSender ( string url ) : System |
Initializes a new instance of the NetworkSender class.
|
|
ParseEndpointAddress ( |
Parses the URI into an endpoint address.
|
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
public Close ( AsyncContinuation continuation ) : void | ||
continuation | AsyncContinuation | The continuation. |
return | void |
protected DoClose ( AsyncContinuation continuation ) : void | ||
continuation | AsyncContinuation | The continuation. |
return | void |
protected DoFlush ( AsyncContinuation continuation ) : void | ||
continuation | AsyncContinuation | The continuation. |
return | void |
protected abstract DoSend ( byte bytes, int offset, int length, AsyncContinuation asyncContinuation ) : void | ||
bytes | byte | The bytes to be sent. |
offset | int | Offset in buffer. |
length | int | Number of bytes to send. |
asyncContinuation | AsyncContinuation | The async continuation to be invoked after the buffer has been sent. |
return | void |
public FlushAsync ( AsyncContinuation continuation ) : void | ||
continuation | AsyncContinuation | The continuation. |
return | void |
protected NetworkSender ( string url ) : System | ||
url | string | The network URL. |
return | System |
protected ParseEndpointAddress ( |
||
uri | The URI to parse. | |
addressFamily | AddressFamily | The address family. |
return |
public Send ( byte bytes, int offset, int length, AsyncContinuation asyncContinuation ) : void | ||
bytes | byte | Bytes to be sent. |
offset | int | Offset in buffer. |
length | int | Number of bytes to send. |
asyncContinuation | AsyncContinuation | The asynchronous continuation. |
return | void |