public class PassthroughBroker extends AbstractBroker
Constructor and Description |
---|
PassthroughBroker() |
PassthroughBroker(Mailbox mailbox) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Close the Broker
|
Mailbox |
getMailbox(java.lang.String address)
Returns the actor stream for the given address.
|
void |
setMailbox(Mailbox mailbox) |
java.lang.String |
toString() |
addMailbox, getAddress, getBroker, getBrokerMailbox, getQueueFullHandler, isClosed, removeMailbox, setQueueFullHandler
getQueryErrorStream, message, messageError, query, queryError, queryResult
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
message, messageError, query, queryError, queryResult
public PassthroughBroker()
public PassthroughBroker(Mailbox mailbox)
public Mailbox getMailbox(java.lang.String address)
AbstractBrokerStream
getMailbox
in interface Broker
getMailbox
in class AbstractBroker
address
- the address of the mailboxpublic void setMailbox(Mailbox mailbox)
public void close()
Broker
close
in interface Broker
close
in class AbstractBroker
public java.lang.String toString()
toString
in class AbstractBrokerStream