org.jboss.jms.server.endpoint
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: 2139 $ $Id: BrowserEndpoint.java 2139 2007-02-02 09:37:33Z ovidiu.feodorov@jboss.com $
Author:
Tim Fox, Ovidiu Feodorov

Method Summary
 boolean hasNextMessage()
           
 Message nextMessage()
           
 Message[] 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, isClosed
 

Method Detail

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 Message nextMessage()
                    throws JMSException
Throws:
JMSException

hasNextMessage

public boolean hasNextMessage()
                       throws JMSException
Throws:
JMSException

nextMessageBlock

public Message[] nextMessageBlock(int maxMessages)
                           throws JMSException
Throws:
JMSException


Copyright © 2006 JBoss Inc. All Rights Reserved.