com.ibm.commerce.messaging.adapters.jcasample
Class SampleConnectionRequestInfo
java.lang.Object
com.ibm.commerce.messaging.adapters.jcasample.SampleConnectionRequestInfo
- public class SampleConnectionRequestInfo
- extends java.lang.Object
This class represents the request specific data passed on to the application server as well as the SampleConnector. This class basically contains userName and password as request data.
Field Summary |
static java.lang.String |
COPYRIGHT
Copyright statement. |
Method Summary |
boolean |
equals(java.lang.Object obj)
equals compare two SampleConnectionRequestInfo and returns true if they indicate the same connection |
int |
hashCode()
hashCode returns a hashCode of the info based userName and password. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
COPYRIGHT
public static final java.lang.String COPYRIGHT
- Copyright statement.
- See Also:
- Constant Field Values
SampleConnectionRequestInfo
public SampleConnectionRequestInfo(java.lang.String userName,
java.lang.String password)
- Default constructor
- Parameters:
- userName - The user name.
- password - The password.
hashCode
public int hashCode()
- hashCode returns a hashCode of the info based userName and password.
-
- Returns:
- int is the calculated hashCode
equals
public boolean equals(java.lang.Object obj)
- equals compare two SampleConnectionRequestInfo and returns true if they indicate the same connection
-
- Returns:
- boolean returns whether the ConnectionRequestInfo equals to the current instance
Feedback
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.