메소드 | 설명 | |
---|---|---|
DequeWrapperMessageQueue ( IMessageQueue messageQueue ) : System.Collections.Generic |
Takes another IMessageQueue as an argument - wraps messageQueue in order to provide it with prepend (EnqueueFirst) semantics.
|
|
Enqueue ( |
Enqueue a message to the back of the IMessageQueue
|
|
EnqueueFirst ( |
Add a message to the front of the queue via the prepend buffer.
|
|
TryDequeue ( |
Attempt to dequeue a message from the front of the prepend buffer. If the prepend buffer is empty, dequeue a message from the normal IMessageQueue wrapped but this wrapper.
|
public DequeWrapperMessageQueue ( IMessageQueue messageQueue ) : System.Collections.Generic | ||
messageQueue | IMessageQueue | |
리턴 | System.Collections.Generic |
public EnqueueFirst ( |
||
envelope | The message we wish to append to the front of the queue. | |
리턴 | void |
public TryDequeue ( |
||
envelope | The message to return, if any | |
리턴 | bool |