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()
ConnectionRecordIfc
toElement
in interface ConnectionRecordIfc
Element
public JID getConnectionId()
ConnectionRecordIfc
getConnectionId
in interface ConnectionRecordIfc
JID
public JID getNode()
ConnectionRecordIfc
getNode
in interface ConnectionRecordIfc
JID
public String getSessionId()
ConnectionRecordIfc
getSessionId
in interface ConnectionRecordIfc
String
public JID getUserJid()
ConnectionRecordIfc
getUserJid
in interface ConnectionRecordIfc
JID
public void setConnectionId(JID connectionId)
public void setElement(Element elem)
ConnectionRecordIfc
setElement
in interface ConnectionRecordIfc
public void setRecordFields(JID node, JID userJid, String sessionId, JID connectionId)
ConnectionRecordIfc
setRecordFields
in interface ConnectionRecordIfc
Copyright © 2017 "Tigase, Inc.". All rights reserved.