public class ConnectionRecord extends Object implements ConnectionRecordIfc, Comparable<ConnectionRecord>
Constructor and Description |
---|
ConnectionRecord() |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(ConnectionRecord rec) |
boolean |
equals(Object rec) |
JID |
getConnectionId() |
JID |
getNode() |
String |
getSessionId() |
JID |
getUserJid() |
int |
hashCode() |
void |
setConnectionId(JID connectionId) |
void |
setElement(Element elem) |
void |
setRecordFields(JID node,
JID userJid,
String sessionId,
JID connectionId) |
Element |
toElement() |
String |
toString() |
public int compareTo(ConnectionRecord rec)
compareTo
in interface Comparable<ConnectionRecord>
public Element toElement()
toElement
in interface ConnectionRecordIfc
public JID getConnectionId()
getConnectionId
in interface ConnectionRecordIfc
public void setConnectionId(JID connectionId)
public JID getNode()
getNode
in interface ConnectionRecordIfc
public String getSessionId()
getSessionId
in interface ConnectionRecordIfc
public JID getUserJid()
getUserJid
in interface ConnectionRecordIfc
public void setElement(Element elem)
setElement
in interface ConnectionRecordIfc
public void setRecordFields(JID node, JID userJid, String sessionId, JID connectionId)
setRecordFields
in interface ConnectionRecordIfc
Copyright © 2004–2020 "Tigase, Inc.". All rights reserved.