org.jboss.seam.remoting.messaging
Class PollRequest

java.lang.Object
  extended by org.jboss.seam.remoting.messaging.PollRequest

public class PollRequest
extends Object

Wrapper for a single request for a specified subscription poll.

Author:
Shane Bryzak

Constructor Summary
PollRequest(String token, int timeout)
           
 
Method Summary
 List<PollError> getErrors()
           
 List<javax.jms.Message> getMessages()
           
 String getToken()
           
 void poll()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PollRequest

public PollRequest(String token,
                   int timeout)
Method Detail

getToken

public String getToken()

getMessages

public List<javax.jms.Message> getMessages()

getErrors

public List<PollError> getErrors()

poll

public void poll()