org.objectweb.joram.client.connector
Class TopicConnectionRequest

java.lang.Object
  extended byorg.objectweb.joram.client.connector.ConnectionRequest
      extended byorg.objectweb.joram.client.connector.TopicConnectionRequest
All Implemented Interfaces:
javax.resource.spi.ConnectionRequestInfo

public class TopicConnectionRequest
extends ConnectionRequest
implements javax.resource.spi.ConnectionRequestInfo

A TopicConnectionRequest instance wraps a user connection request for performing PubSub messaging.


Field Summary
 
Fields inherited from class org.objectweb.joram.client.connector.ConnectionRequest
password, userName
 
Constructor Summary
TopicConnectionRequest(java.lang.String userName, java.lang.String password)
          Constructs a TopicConnectionRequest instance.
 
Method Summary
 int hashCode()
          Returns a code based on the wrapped user identity.
 
Methods inherited from class org.objectweb.joram.client.connector.ConnectionRequest
equals, getPassword, getUserName
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.resource.spi.ConnectionRequestInfo
equals
 

Constructor Detail

TopicConnectionRequest

public TopicConnectionRequest(java.lang.String userName,
                              java.lang.String password)
Constructs a TopicConnectionRequest instance.

Parameters:
userName - Name of the user requesting a connection.
password - Password of the user requesting a connection.
Method Detail

hashCode

public int hashCode()
Returns a code based on the wrapped user identity.

Specified by:
hashCode in interface javax.resource.spi.ConnectionRequestInfo
Overrides:
hashCode in class ConnectionRequest


Copyright ? 2004 Scalagent - All rights reserved