org.jboss.jms.client.p2p
Class P2PBrowserDelegate

java.lang.Object
  extended byorg.jboss.jms.client.p2p.P2PBrowserDelegate
All Implemented Interfaces:
BrowserDelegate (src) , Lifecycle (src)

public class P2PBrowserDelegate
extends java.lang.Object
implements BrowserDelegate (src)

The p2p browser


Constructor Summary
P2PBrowserDelegate(P2PSessionDelegate (src)  session, Destination (src)  destination, java.lang.String selector)
           
 
Method Summary
 java.util.List browse()
          Browse the messages
 void close()
          Close the delegate
 void closing()
          Notify about to close
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

P2PBrowserDelegate

public P2PBrowserDelegate(P2PSessionDelegate (src)  session,
                          Destination (src)  destination,
                          java.lang.String selector)
                   throws JMSException (src) 
Method Detail

close

public void close()
           throws JMSException (src) 
Description copied from interface: Lifecycle (src)
Close the delegate

Specified by:
close in interface Lifecycle (src)
Throws:
JMSException (src) - for any error

closing

public void closing()
             throws JMSException (src) 
Description copied from interface: Lifecycle (src)
Notify about to close

Specified by:
closing in interface Lifecycle (src)
Throws:
JMSException (src) - for any error

browse

public java.util.List browse()
                      throws JMSException (src) 
Description copied from interface: BrowserDelegate (src)
Browse the messages

Specified by:
browse in interface BrowserDelegate (src)
Returns:
a list of messages
Throws:
JMSException (src) - for any error