public class ConnectionRecord extends Object implements ConnectionRecordIfc, Comparable<ConnectionRecord>
| Constructor and Description |
|---|
ConnectionRecord()
Constructs ...
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(ConnectionRecord rec) |
boolean |
equals(Object rec) |
JID |
getConnectionId()
Method description
|
JID |
getNode()
Method description
|
String |
getSessionId()
Method description
|
JID |
getUserJid()
Method description
|
int |
hashCode() |
void |
setConnectionId(JID connectionId) |
void |
setElement(Element elem)
Method description
|
void |
setRecordFields(JID node,
JID userJid,
String sessionId,
JID connectionId)
Method description
|
Element |
toElement()
Method description
|
String |
toString() |
public int compareTo(ConnectionRecord rec)
compareTo in interface Comparable<ConnectionRecord>public Element toElement()
ConnectionRecordIfctoElement in interface ConnectionRecordIfcElementpublic JID getConnectionId()
ConnectionRecordIfcgetConnectionId in interface ConnectionRecordIfcJIDpublic JID getNode()
ConnectionRecordIfcgetNode in interface ConnectionRecordIfcJIDpublic String getSessionId()
ConnectionRecordIfcgetSessionId in interface ConnectionRecordIfcStringpublic JID getUserJid()
ConnectionRecordIfcgetUserJid in interface ConnectionRecordIfcJIDpublic void setConnectionId(JID connectionId)
public void setElement(Element elem)
ConnectionRecordIfcsetElement in interface ConnectionRecordIfcpublic void setRecordFields(JID node, JID userJid, String sessionId, JID connectionId)
ConnectionRecordIfcsetRecordFields in interface ConnectionRecordIfcCopyright © 2017 "Tigase, Inc.". All rights reserved.