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: 1019 $ $Id: ClientDelivery.java 1019 2006-07-17 17:15:04Z timfox $
Author:
Tim Fox
See Also:
Serialized Form

Constructor Summary
ClientDelivery()
           
ClientDelivery(java.util.List msgs, int consumerID)
           
 
Method Summary
 int getConsumerID()
           
 java.util.List getMessages()
           
 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)
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()


Copyright © 2006 JBoss Inc. All Rights Reserved.