org.jboss.jms.server.endpoint
Class ClientDelivery

java.lang.Object
  extended byorg.jboss.jms.server.endpoint.ClientDelivery
All Implemented Interfaces:
java.io.Externalizable, java.io.Serializable

public class ClientDelivery
extends java.lang.Object
implements java.io.Externalizable

A ClientDelivery Encapsulates a delivery of some messages to a client consumer

Version:
$Revision: 2594 $ $Id: ClientDelivery.java 2594 2007-04-20 15:44:23Z timfox $
Author:
Tim Fox
See Also:
Serialized Form

Constructor Summary
ClientDelivery()
           
ClientDelivery(java.util.List msgs, int consumerID, int serverID)
           
 
Method Summary
 int getConsumerID()
           
 java.util.List getMessages()
           
 int getServerID()
           
 void readExternal(java.io.ObjectInput in)
           
 void writeExternal(java.io.ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClientDelivery

public ClientDelivery()

ClientDelivery

public ClientDelivery(java.util.List msgs,
                      int consumerID,
                      int serverID)
Method Detail

writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException
Specified by:
writeExternal in interface java.io.Externalizable
Throws:
java.io.IOException

readExternal

public void readExternal(java.io.ObjectInput in)
                  throws java.io.IOException,
                         java.lang.ClassNotFoundException
Specified by:
readExternal in interface java.io.Externalizable
Throws:
java.io.IOException
java.lang.ClassNotFoundException

getMessages

public java.util.List getMessages()

getConsumerID

public int getConsumerID()

getServerID

public int getServerID()


Copyright © 2006 JBoss Inc. All Rights Reserved.