|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.jms.client.p2p.P2PConsumerDelegate
The p2p consumer
Constructor Summary | |
P2PConsumerDelegate(P2PSessionDelegate (src) session,
Destination (src) destination,
java.lang.String selector,
boolean noLocal)
|
Method Summary | |
void |
close()
Close the delegate |
void |
closing()
Notify about to close |
Message (src) |
receive(long timeout)
Receive a message |
void |
setMessageListener(MessageListener (src) listener)
Set the message listener |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public P2PConsumerDelegate(P2PSessionDelegate (src) session, Destination (src) destination, java.lang.String selector, boolean noLocal) throws JMSException (src)
Method Detail |
public void close() throws JMSException (src)
Lifecycle (src)
close
in interface Lifecycle (src)
JMSException (src)
- for any errorpublic void closing() throws JMSException (src)
Lifecycle (src)
closing
in interface Lifecycle (src)
JMSException (src)
- for any errorpublic Message (src) receive(long timeout) throws JMSException (src)
ConsumerDelegate (src)
receive
in interface ConsumerDelegate (src)
timeout
- the timeout
JMSException (src)
- for any errorpublic void setMessageListener(MessageListener (src) listener) throws JMSException (src)
ConsumerDelegate (src)
setMessageListener
in interface ConsumerDelegate (src)
JMSException (src)
- for any error
|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |