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: 2868 $ $Id: BrowserEndpoint.java 2868 2007-07-10 20:22:16Z timfox $
Author:
Tim Fox, Ovidiu Feodorov

Method Summary
 boolean hasNextMessage()
           
 JBossMessage nextMessage()
           
 JBossMessage[] nextMessageBlock(int maxMessages)
           
 void reset()
          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.
 
Methods inherited from interface org.jboss.jms.client.Closeable
close, closing
 

Method Detail

reset

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

JBossMessage nextMessage()
                         throws JMSException
Throws:
JMSException

hasNextMessage

boolean hasNextMessage()
                       throws JMSException
Throws:
JMSException

nextMessageBlock

JBossMessage[] nextMessageBlock(int maxMessages)
                                throws JMSException
Throws:
JMSException


Copyright © 2006 JBoss Inc. All Rights Reserved.