org.jboss.jms.delegate
Interface BrowserEndpoint
- All Superinterfaces:
- Closeable
- All Known Subinterfaces:
- BrowserDelegate
- All Known Implementing Classes:
- BrowserAdvised, ClientBrowserDelegate, ServerBrowserEndpoint
- public interface BrowserEndpoint
- extends Closeable
Represents the set of methods from the BrowserDelegate that are handled on the server. The rest
of the methods are handled in the advice stack.
- Version:
- $Revision: 2684 $
$Id: BrowserEndpoint.java 2684 2007-05-15 07:31:30Z timfox $
- Author:
- Tim Fox, Ovidiu Feodorov
reset
public void reset()
throws JMSException
- Reset the internal state of the browser endpoint so the following
nextMessage()/hasNextMessage()/nextMessageBlock() invocations would reflect the state of the
queue at the moment of the reset.
- Throws:
JMSException
nextMessage
public JBossMessage nextMessage()
throws JMSException
- Throws:
JMSException
hasNextMessage
public boolean hasNextMessage()
throws JMSException
- Throws:
JMSException
nextMessageBlock
public JBossMessage[] nextMessageBlock(int maxMessages)
throws JMSException
- Throws:
JMSException
Copyright © 2006 JBoss Inc. All Rights Reserved.