Class UdpListenTransport
public class UdpListenTransport : UdpTransport, IListenTransport, ITransport
- Inheritance
-
UdpListenTransport
- Implements
- Inherited Members
Constructors
UdpListenTransport(IStats, Logger, IDateTimeProvider)
public UdpListenTransport(IStats stats, Logger logger, IDateTimeProvider dateTimeProvider = null)
Parameters
stats
IStatslogger
LoggerdateTimeProvider
IDateTimeProvider
Methods
CheckForTimeout(bool)
protected override void CheckForTimeout(bool anyValidPacketReceived)
Parameters
anyValidPacketReceived
bool
HandleSessionID(IInOctetStream)
protected override bool HandleSessionID(IInOctetStream stream)
Parameters
stream
IInOctetStream
Returns
Listen(EndpointData, ConnectionSettings)
public void Listen(EndpointData endpoint, ConnectionSettings settings)
Parameters
endpoint
EndpointDatasettings
ConnectionSettings
SendTo(IOutOctetStream, IPEndPoint, SessionID)
public void SendTo(IOutOctetStream stream, IPEndPoint endpoint, SessionID toSession)
Parameters
stream
IOutOctetStreamendpoint
IPEndPointtoSession
SessionID