Skip to content

Udp Class

sequenze edited this page Jun 15, 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.

Inheritance Hierarchy

Object > ProtocolBase

Syntax

internal sealed class Udp : ProtocolBase, IProtocol

Methods

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.

See Also

ProtocolBase, IProtocol, IEncoder, IMessage

Clone this wiki locally