jBroker® MQ 2.1

com.sssw.jms.api.admin
Class JMQSubscriberInfo

java.lang.Object
  |
  +--com.sssw.jms.api.admin.JMQSubscriberInfo

public class JMQSubscriberInfo
extends Object

Data structure that contains a durable subscriber name and the client identifier of the connection it is assoaciated with.

Since:
jBroker MQ 2.1
See Also:
JMQDestinationAdmin.getDurableSubscribers(java.lang.String)

Constructor Summary
JMQSubscriberInfo(String name, String clientId)
          Construct a JMQSubscriberInfo data structure.
 
Method Summary
 boolean equals(Object object)
           
 String getClientId()
          Get client identifier for durable subscriber's connection
 String getName()
          Get name of durable subscriber
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JMQSubscriberInfo

public JMQSubscriberInfo(String name,
                         String clientId)
Construct a JMQSubscriberInfo data structure.
Parameters:
name - the name of a durable subscriber
clientId - the durable subscriber's connection client identifier
Method Detail

getName

public String getName()
Get name of durable subscriber
Returns:
durable subscriber name

getClientId

public String getClientId()
Get client identifier for durable subscriber's connection
Returns:
client identifier of connection

toString

public String toString()
Overrides:
toString in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object object)
Overrides:
equals in class Object

jBroker® MQ 2.1

jBroker is a registered trademark of Novell, Inc.
Copyright 1998-2003 Novell, Inc. All Rights Reserved.