C# Class Bus.Transport.SendingPipe.MessageSender

Inheritance: IMessageSender
Show file Open project: jbouzaglou/PetPigeonsESB

Public Methods

Method Description
Acknowledge ( System.Guid messageId, string messageType, bool processSuccessful, PeerId originatingPeer, IEndpoint endpoint ) : void
Dispose ( ) : void
Initialize ( RingBuffer buffer ) : void
InjectNetworkSenderCommand ( IBusEventProcessorCommand command ) : void
MessageSender ( IPeerConfiguration peerConfiguration ) : System
Publish ( IEvent message ) : void
Route ( IMessage message, PeerId peerName ) : ICompletionCallback
Send ( ICommand message, ICompletionCallback callback = null ) : ICompletionCallback
SendHeartbeat ( IEndpoint endpoint ) : void

Private Methods

Method Description
SendInternal ( IMessage message, ICompletionCallback callback ) : void

Method Details

Acknowledge() public method

public Acknowledge ( System.Guid messageId, string messageType, bool processSuccessful, PeerId originatingPeer, IEndpoint endpoint ) : void
messageId System.Guid
messageType string
processSuccessful bool
originatingPeer PeerId
endpoint IEndpoint
return void

Dispose() public method

public Dispose ( ) : void
return void

Initialize() public method

public Initialize ( RingBuffer buffer ) : void
buffer RingBuffer
return void

InjectNetworkSenderCommand() public method

public InjectNetworkSenderCommand ( IBusEventProcessorCommand command ) : void
command IBusEventProcessorCommand
return void

MessageSender() public method

public MessageSender ( IPeerConfiguration peerConfiguration ) : System
peerConfiguration IPeerConfiguration
return System

Publish() public method

public Publish ( IEvent message ) : void
message IEvent
return void

Route() public method

public Route ( IMessage message, PeerId peerName ) : ICompletionCallback
message IMessage
peerName PeerId
return ICompletionCallback

Send() public method

public Send ( ICommand message, ICompletionCallback callback = null ) : ICompletionCallback
message ICommand
callback ICompletionCallback
return ICompletionCallback

SendHeartbeat() public method

public SendHeartbeat ( IEndpoint endpoint ) : void
endpoint IEndpoint
return void