-
Notifications
You must be signed in to change notification settings - Fork 2
Udp Class
sequenze edited this page Jun 19, 2017
·
3 revisions
This classes represents a wrapper for a UDP socket, allowing it to encode and decode the stringbased messages using a provided encoder. This class has not been fully implemented and as such UDP is not supported.
Object > ProtocolBase
internal sealed class Udp : ProtocolBase, IProtocol
Name | Description |
---|---|
Udp(String,Int32) | Initializes a new instances of the Udp class. |
Name | Description |
---|---|
Receive(IEncoder) | This method has not been fully completed. Reads a single stringbased message from the underlying Tcpclient, and returns the decoded message. |
Send(IMessage,IEncoder) | This method has not been fully completed. Encodes the message and writes it to the underlying tcpclient as a stringbased message. |
Close() | Closes the underlying udp socket. |