C# Class Rhino.Queues.Storage.SenderActions

Inheritance: AbstractActions
显示文件 Open project: hibernating-rhinos/rhino-queues Class Usage Examples

Public Methods

Method Description
GetMessagesToSend ( ) : IEnumerable
GetMessagesToSendAndMarkThemAsInFlight ( int maxNumberOfMessage, int maxSizeOfMessagesInTotal, Rhino.Queues.Protocol.Endpoint &endPoint ) : IList
HasMessagesToSend ( ) : bool
MarkOutgoingMessageAsFailedTransmission ( Rhino.Queues.Storage.MessageBookmark bookmark, bool queueDoesNotExistsInDestination ) : void
MarkOutgoingMessageAsSuccessfullySent ( Rhino.Queues.Storage.MessageBookmark bookmark ) : Rhino.Queues.Storage.MessageBookmark
RevertBackToSend ( Rhino.Queues.Storage.MessageBookmark bookmarks ) : void
SenderActions ( JET_INSTANCE instance, Rhino.Queues.Storage.ColumnsInformation columnsInformation, string database, System.Guid instanceId, QueueManagerConfiguration configuration ) : System

Private Methods

Method Description
MoveFailedMessageToOutgoingHistory ( int numOfRetries, System.Guid msgId ) : void

Method Details

GetMessagesToSend() public method

public GetMessagesToSend ( ) : IEnumerable
return IEnumerable

GetMessagesToSendAndMarkThemAsInFlight() public method

public GetMessagesToSendAndMarkThemAsInFlight ( int maxNumberOfMessage, int maxSizeOfMessagesInTotal, Rhino.Queues.Protocol.Endpoint &endPoint ) : IList
maxNumberOfMessage int
maxSizeOfMessagesInTotal int
endPoint Rhino.Queues.Protocol.Endpoint
return IList

HasMessagesToSend() public method

public HasMessagesToSend ( ) : bool
return bool

MarkOutgoingMessageAsFailedTransmission() public method

public MarkOutgoingMessageAsFailedTransmission ( Rhino.Queues.Storage.MessageBookmark bookmark, bool queueDoesNotExistsInDestination ) : void
bookmark Rhino.Queues.Storage.MessageBookmark
queueDoesNotExistsInDestination bool
return void

MarkOutgoingMessageAsSuccessfullySent() public method

public MarkOutgoingMessageAsSuccessfullySent ( Rhino.Queues.Storage.MessageBookmark bookmark ) : Rhino.Queues.Storage.MessageBookmark
bookmark Rhino.Queues.Storage.MessageBookmark
return Rhino.Queues.Storage.MessageBookmark

RevertBackToSend() public method

public RevertBackToSend ( Rhino.Queues.Storage.MessageBookmark bookmarks ) : void
bookmarks Rhino.Queues.Storage.MessageBookmark
return void

SenderActions() public method

public SenderActions ( JET_INSTANCE instance, Rhino.Queues.Storage.ColumnsInformation columnsInformation, string database, System.Guid instanceId, QueueManagerConfiguration configuration ) : System
instance JET_INSTANCE
columnsInformation Rhino.Queues.Storage.ColumnsInformation
database string
instanceId System.Guid
configuration QueueManagerConfiguration
return System