org.objectweb.joram.client.connector
Class TopicConnectionRequest

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

public class TopicConnectionRequest
extends ConnectionRequest

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


Field Summary
 
Fields inherited from class org.objectweb.joram.client.connector.ConnectionRequest
identityClass, password, userName
 
Constructor Summary
TopicConnectionRequest(java.lang.String userName, java.lang.String password, java.lang.String identityClass)
          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, getIdentityClass, getPassword, getUserName
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TopicConnectionRequest

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

Parameters:
userName - Name of the user requesting a connection.
password - Password of the user requesting a connection.
identityClass - identity class name
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 © 2011 ScalAgent D.T.. All Rights Reserved.