Skip to content

UdpGate Class

sequenze edited this page Jun 19, 2017 · 3 revisions

Provides mechanisms for listening of incoming UDP messages, and delegates the clientinformation back through a callback function. This class has not been fully implemented and as such UDP is not supported.

Inheritance Hierarchy

Object > GateBase

Syntax

internal sealed class UdpGate : GateBase, IGate

Constructors

Name                                                             Description
UdpGate(IEncoder,ConnectionString) Initializes a new instances of the UdpGate class.

Methods

Name                                                           Description
Start(Action<IConnectionMode>) Initializes a udpclient with the specified host and port. The callback function is then invoked with the initialized client.
Stop() Allows the udp gate to reinitialize.
GetMode(ConnectionMode,IProtocol) Factorymethod returning a connectionmode object based on the specified parameters.

See Also

GateBase, IGate, IEncoder, ConnectionString, IConnectionMode, ConnectionMode, IProtocol

Clone this wiki locally