C# Class RxSpy.Communication.RxSpyHttpServer

Inheritance: IRxSpyServer, IRxSpyEventHandler
Mostrar archivo Open project: niik/RxSpy Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void
EnqueueEvent ( IEvent ev ) : void
OnCompleted ( IOnCompletedEvent onCompletedEvent ) : void
OnConnected ( IConnectedEvent connectedEvent ) : void
OnCreated ( IOperatorCreatedEvent onCreatedEvent ) : void
OnDisconnected ( IDisconnectedEvent disconnectedEvent ) : void
OnError ( IOnErrorEvent onErrorEvent ) : void
OnNext ( IOnNextEvent onNextEvent ) : void
OnSubscribe ( ISubscribeEvent subscribeEvent ) : void
OnTag ( ITagOperatorEvent tagEvent ) : void
OnUnsubscribe ( IUnsubscribeEvent unsubscribeEvent ) : void
RxSpyHttpServer ( ) : System
WaitForConnection ( System.TimeSpan timeout ) : void

Private Methods

Method Description
GetRandomTcpPort ( ) : int
Run ( CancellationToken ct ) : Task
RunRequest ( HttpListenerContext ctx, CancellationToken ct ) : Task
RunStream ( HttpListenerContext ctx, CancellationToken ct ) : Task

Method Details

Dispose() public method

public Dispose ( ) : void
return void

EnqueueEvent() public method

public EnqueueEvent ( IEvent ev ) : void
ev IEvent
return void

OnCompleted() public method

public OnCompleted ( IOnCompletedEvent onCompletedEvent ) : void
onCompletedEvent IOnCompletedEvent
return void

OnConnected() public method

public OnConnected ( IConnectedEvent connectedEvent ) : void
connectedEvent IConnectedEvent
return void

OnCreated() public method

public OnCreated ( IOperatorCreatedEvent onCreatedEvent ) : void
onCreatedEvent IOperatorCreatedEvent
return void

OnDisconnected() public method

public OnDisconnected ( IDisconnectedEvent disconnectedEvent ) : void
disconnectedEvent IDisconnectedEvent
return void

OnError() public method

public OnError ( IOnErrorEvent onErrorEvent ) : void
onErrorEvent IOnErrorEvent
return void

OnNext() public method

public OnNext ( IOnNextEvent onNextEvent ) : void
onNextEvent IOnNextEvent
return void

OnSubscribe() public method

public OnSubscribe ( ISubscribeEvent subscribeEvent ) : void
subscribeEvent ISubscribeEvent
return void

OnTag() public method

public OnTag ( ITagOperatorEvent tagEvent ) : void
tagEvent ITagOperatorEvent
return void

OnUnsubscribe() public method

public OnUnsubscribe ( IUnsubscribeEvent unsubscribeEvent ) : void
unsubscribeEvent IUnsubscribeEvent
return void

RxSpyHttpServer() public method

public RxSpyHttpServer ( ) : System
return System

WaitForConnection() public method

public WaitForConnection ( System.TimeSpan timeout ) : void
timeout System.TimeSpan
return void