public final class JLPCMailbox extends JAPCMailbox implements Mailbox
Constructor and Description |
---|
JLPCMailbox(BufferedEventsQueue<JAMessage> eventQueue,
MailboxFactory mailboxFactory)
Create a JLPCMailbox.
|
JLPCMailbox(MailboxFactory mailboxFactory)
Create a JLPCMailbox.
|
JLPCMailbox(MailboxFactory mailboxFactory,
boolean async)
Create a JLPCMailbox.
|
Modifier and Type | Method and Description |
---|---|
MailboxFactory |
getMailboxFactory()
Returns the mailbox factory.
|
dispatchEvents, getCurrentRequest, getEventQueue, getExceptionHandler, isEmpty, putBufferedEvents, response, send, sendPendingMessages, setCurrentRequest, setExceptionHandler, setInitialBufferCapacity
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
dispatchEvents, getCurrentRequest, getEventQueue, getExceptionHandler, isEmpty, response, send, sendPendingMessages, setCurrentRequest, setExceptionHandler, setInitialBufferCapacity
putBufferedEvents
public JLPCMailbox(BufferedEventsQueue<JAMessage> eventQueue, MailboxFactory mailboxFactory)
eventQueue
- The lower-level mailbox which transports messages as 1-way events.mailboxFactory
- Provides a thread for processing dispatched events.public JLPCMailbox(MailboxFactory mailboxFactory, boolean async)
mailboxFactory
- Provides a thread for processing dispatched events.async
- Set to true when requests from other mailboxes
are to be processed asynchronously.public JLPCMailbox(MailboxFactory mailboxFactory)
mailboxFactory
- Provides a thread for processing dispatched events.public MailboxFactory getMailboxFactory()
getMailboxFactory
in interface Mailbox
Copyright © 2012. All Rights Reserved.