C# Class Pepino.Dispatcher.IronMq.RestSharpIronMqClientAdapter

Inheritance: IIronMqPusher, IPoller
Exibir arquivo Open project: AcklenAvenue/Pepino

Public Methods

Method Description
Push ( object command, bool wrapInQueuedCommandStructure = true ) : void
RestSharpIronMqClientAdapter ( ICommandSerializer serializer, ICommandDeserializer deserializer, ICommandDispatcher commandDispatcher, IIronMqSettings settings ) : System
StartPolling ( int secondsInterval ) : void
StopPolling ( ) : void

Private Methods

Method Description
BuildRestRequest ( string resource, Method method ) : RestRequest
DispatchOneMessage ( ) : void
GetRequest ( object command, bool wrapInQueuedCommandStructure ) : RestRequest

Method Details

Push() public method

public Push ( object command, bool wrapInQueuedCommandStructure = true ) : void
command object
wrapInQueuedCommandStructure bool
return void

RestSharpIronMqClientAdapter() public method

public RestSharpIronMqClientAdapter ( ICommandSerializer serializer, ICommandDeserializer deserializer, ICommandDispatcher commandDispatcher, IIronMqSettings settings ) : System
serializer ICommandSerializer
deserializer ICommandDeserializer
commandDispatcher ICommandDispatcher
settings IIronMqSettings
return System

StartPolling() public method

public StartPolling ( int secondsInterval ) : void
secondsInterval int
return void

StopPolling() public method

public StopPolling ( ) : void
return void