com.caucho.jms.cluster
Class PollResult

java.lang.Object
  extended by com.caucho.jms.cluster.PollResult
All Implemented Interfaces:
java.io.Serializable

public class PollResult
extends java.lang.Object
implements java.io.Serializable

Implements a cluster receive queue.

See Also:
Serialized Form

Constructor Summary
protected PollResult()
           
  PollResult(java.lang.String messageId, java.io.Serializable payload)
           
 
Method Summary
 java.lang.String getMessageId()
           
 java.io.Serializable getPayload()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PollResult

protected PollResult()

PollResult

public PollResult(java.lang.String messageId,
                  java.io.Serializable payload)
Method Detail

getMessageId

public java.lang.String getMessageId()

getPayload

public java.io.Serializable getPayload()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object