Interface IncomingMessageQueue
- All Known Implementing Classes:
IncomingMessageQueueImpl
public interface IncomingMessageQueue
Inbound message queue.
-
Method Summary
Modifier and TypeMethodDescriptionvoidRemove registration of queue listener.int[]default intvoidnotifyOfExternalReceive(Message message) Notifty the queue (and its listeners) of a message received externally on the queue's behalf.voidregisterListener(IncomingMessageQueueListener listener) Register queue listener.voidRegister queue listener that will get to process messages *ahead* of the core.
-
Method Details
-
registerListener
Register queue listener.- Parameters:
listener- to register
-
registerPriorityListener
Register queue listener that will get to process messages *ahead* of the core.- Parameters:
listener-
-
deregisterListener
Remove registration of queue listener.- Parameters:
listener- to remove
-
notifyOfExternalReceive
Notifty the queue (and its listeners) of a message received externally on the queue's behalf.- Parameters:
message- received externally- Throws:
IOException
-
getPercentDoneOfCurrentMessage
default int getPercentDoneOfCurrentMessage() -
getCurrentMessageProgress
int[] getCurrentMessageProgress()
-