Package tigase.cluster.strategy
Class ConnectionRecord
java.lang.Object
tigase.cluster.strategy.ConnectionRecord
- All Implemented Interfaces:
Comparable<ConnectionRecord>
,ConnectionRecordIfc
public class ConnectionRecord
extends Object
implements ConnectionRecordIfc, Comparable<ConnectionRecord>
- Author:
- Artur Hefczyc Created Mar 15, 2011
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
boolean
getNode()
int
hashCode()
void
setConnectionId
(JID connectionId) void
setElement
(Element elem) void
setRecordFields
(JID node, JID userJid, String sessionId, JID connectionId) toString()
-
Constructor Details
-
ConnectionRecord
public ConnectionRecord()
-
-
Method Details
-
compareTo
- Specified by:
compareTo
in interfaceComparable<ConnectionRecord>
-
equals
-
hashCode
public int hashCode() -
toElement
- Specified by:
toElement
in interfaceConnectionRecordIfc
-
toString
-
getConnectionId
- Specified by:
getConnectionId
in interfaceConnectionRecordIfc
-
setConnectionId
-
getNode
- Specified by:
getNode
in interfaceConnectionRecordIfc
-
getSessionId
- Specified by:
getSessionId
in interfaceConnectionRecordIfc
-
getUserJid
- Specified by:
getUserJid
in interfaceConnectionRecordIfc
-
setElement
- Specified by:
setElement
in interfaceConnectionRecordIfc
-
setRecordFields
- Specified by:
setRecordFields
in interfaceConnectionRecordIfc
-