|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.mq.ConnectionToken
public class ConnectionToken
This class is the broker point of view on a SpyConnection (it contains a ConnectionReceiver). Remember that for most IL's it will be serialized!
Field Summary | |
---|---|
protected String |
clientID
The clientID of the connection. |
ClientIL |
clientIL
Used by the server to callback to client. |
Constructor Summary | |
---|---|
ConnectionToken(String clientID,
ClientIL clientIL)
Create a new ConnectionToken |
|
ConnectionToken(String clientID,
ClientIL clientIL,
String sessionId)
Create a new ConnectionToken |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getClientID()
Get the client id |
String |
getSessionId()
Get the session id |
int |
hashCode()
|
void |
setClientID(String clientID)
Set the client id |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public ClientIL clientIL
protected String clientID
Constructor Detail |
---|
public ConnectionToken(String clientID, ClientIL clientIL)
clientID
- the client idclientIL
- the client ilpublic ConnectionToken(String clientID, ClientIL clientIL, String sessionId)
clientID
- the client idclientIL
- the client ilsessionId
- the session idMethod Detail |
---|
public String getClientID()
public void setClientID(String clientID)
clientID
- the client idpublic String getSessionId()
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |