C# Class Synoptic.Service.UdpPollingPreempter

Inheritance: IPollingPreempter
Mostrar archivo Open project: bitdiff/synoptic

Public Methods

Method Description
Listen ( CancellationToken cancellationToken ) : void
OnError ( Exception exception, CancellationToken cancellationToken ) : void
Preempt ( Synoptic.Service.UdpMessageReceivedEventArgs messageReceivedEventArgs ) : void
Stop ( ) : void
UdpPollingPreempter ( IDaemonLogger logger ) : System

Protected Methods

Method Description
OnPreempted ( ) : void

Private Methods

Method Description
GetPreemptPort ( ) : int?

Method Details

Listen() public method

public Listen ( CancellationToken cancellationToken ) : void
cancellationToken System.Threading.CancellationToken
return void

OnError() public method

public OnError ( Exception exception, CancellationToken cancellationToken ) : void
exception System.Exception
cancellationToken System.Threading.CancellationToken
return void

OnPreempted() protected method

protected OnPreempted ( ) : void
return void

Preempt() public method

public Preempt ( Synoptic.Service.UdpMessageReceivedEventArgs messageReceivedEventArgs ) : void
messageReceivedEventArgs Synoptic.Service.UdpMessageReceivedEventArgs
return void

Stop() public method

public Stop ( ) : void
return void

UdpPollingPreempter() public method

public UdpPollingPreempter ( IDaemonLogger logger ) : System
logger IDaemonLogger
return System