org.activemq.service
Class SubscriberEntry

java.lang.Object
  extended byorg.activemq.service.SubscriberEntry
All Implemented Interfaces:
java.io.Externalizable, java.io.Serializable

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

Represents a durable subscribers subscription entry which contains details of the subscription and the subscriber's unique ID

Version:
$Revision: 1.1.1.1 $
See Also:
Serialized Form

Constructor Summary
SubscriberEntry()
           
 
Method Summary
 java.lang.String getClientID()
           
 java.lang.String getConsumerName()
           
 java.lang.String getDestination()
           
 java.lang.String getSelector()
           
 int getSubscriberID()
           
 void readExternal(java.io.ObjectInput in)
           
static java.lang.String readNullableUTF(java.io.ObjectInput in)
           
 void setClientID(java.lang.String clientID)
           
 void setConsumerName(java.lang.String consumerName)
           
 void setDestination(java.lang.String destination)
           
 void setSelector(java.lang.String selector)
           
 void setSubscriberID(int subscriberID)
           
 java.lang.String toString()
           
 void writeExternal(java.io.ObjectOutput out)
           
static void writeNullableUTF(java.io.ObjectOutput out, java.lang.String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SubscriberEntry

public SubscriberEntry()
Method Detail

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

writeExternal

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

readNullableUTF

public static java.lang.String readNullableUTF(java.io.ObjectInput in)
                                        throws java.io.IOException,
                                               java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeNullableUTF

public static void writeNullableUTF(java.io.ObjectOutput out,
                                    java.lang.String value)
                             throws java.io.IOException
Throws:
java.io.IOException

toString

public java.lang.String toString()

getClientID

public java.lang.String getClientID()

setClientID

public void setClientID(java.lang.String clientID)

getConsumerName

public java.lang.String getConsumerName()

setConsumerName

public void setConsumerName(java.lang.String consumerName)

getDestination

public java.lang.String getDestination()

setDestination

public void setDestination(java.lang.String destination)

getSelector

public java.lang.String getSelector()

setSelector

public void setSelector(java.lang.String selector)

getSubscriberID

public int getSubscriberID()

setSubscriberID

public void setSubscriberID(int subscriberID)


Copyright © 2004-2005 Protique, Ltd.. All Rights Reserved.