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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintbooleangetNode()inthashCode()voidsetConnectionId(JID connectionId) voidsetElement(Element elem) voidsetRecordFields(JID node, JID userJid, String sessionId, JID connectionId) toString()
-
Constructor Details
-
ConnectionRecord
public ConnectionRecord()
-
-
Method Details
-
compareTo
- Specified by:
compareToin interfaceComparable<ConnectionRecord>
-
equals
-
hashCode
public int hashCode() -
toElement
- Specified by:
toElementin interfaceConnectionRecordIfc
-
toString
-
getConnectionId
- Specified by:
getConnectionIdin interfaceConnectionRecordIfc
-
setConnectionId
-
getNode
- Specified by:
getNodein interfaceConnectionRecordIfc
-
getSessionId
- Specified by:
getSessionIdin interfaceConnectionRecordIfc
-
getUserJid
- Specified by:
getUserJidin interfaceConnectionRecordIfc
-
setElement
- Specified by:
setElementin interfaceConnectionRecordIfc
-
setRecordFields
- Specified by:
setRecordFieldsin interfaceConnectionRecordIfc
-