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
    Constructor and Description
    `ConnectionRecord()` Constructs ...

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `compareTo(ConnectionRecord rec)` Method description
    `boolean` | `equals(Object rec)` Method description
    `tigase.xmpp.JID` | `getConnectionId()` Method description
    `tigase.xmpp.JID` | `getNode()` Method description
    `String` | `getSessionId()` Method description
    `tigase.xmpp.JID` | `getUserJid()` Method description
    `int` | `hashCode()` Method description
    `void` | `setElement(tigase.xml.Element elem)` Constructs ...
    `void` | `setRecordFields(tigase.xmpp.JID node, tigase.xmpp.JID userJid, String sessionId, tigase.xmpp.JID connectionId)` Method description
    `tigase.xml.Element` | `toElement()` Method description
    `String` | `toString()` Method description

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### ConnectionRecord

          public ConnectionRecord()

      Constructs ...

  - ### Method Detail

    - #### compareTo

          public int compareTo(ConnectionRecord rec)

      Method description
      Specified by:
        `compareTo` in interface `Comparable<ConnectionRecord>`
      Parameters:
        `rec` -

    - #### equals

          public boolean equals(Object rec)

      Method description
      Overrides:
        `equals` in class `Object`
      Parameters:
        `rec` -

    - #### hashCode

          public int hashCode()

      Method description
      Overrides:
        `hashCode` in class `Object`

    - #### toElement

          public tigase.xml.Element toElement()

      Method description
      Specified by:
        `toElement` in interface `ConnectionRecordIfc`
      Returns:
        a value of `Element`

    - #### toString

          public String toString()

      Method description
      Overrides:
        `toString` in class `Object`

    - #### getConnectionId

          public tigase.xmpp.JID getConnectionId()

      Description copied from interface: `ConnectionRecordIfc`
      Method description
      Specified by:
        `getConnectionId` in interface `ConnectionRecordIfc`
      Returns:
        the connectionId

    - #### getNode

          public tigase.xmpp.JID getNode()

      Description copied from interface: `ConnectionRecordIfc`
      Method description
      Specified by:
        `getNode` in interface `ConnectionRecordIfc`
      Returns:
        the node

    - #### getSessionId

          public String getSessionId()

      Description copied from interface: `ConnectionRecordIfc`
      Method description
      Specified by:
        `getSessionId` in interface `ConnectionRecordIfc`
      Returns:
        the sessionId

    - #### getUserJid

          public tigase.xmpp.JID getUserJid()

      Description copied from interface: `ConnectionRecordIfc`
      Method description
      Specified by:
        `getUserJid` in interface `ConnectionRecordIfc`
      Returns:
        the user_jid

    - #### setElement

          public void setElement(tigase.xml.Element elem)

      Constructs ...
      Specified by:
        `setElement` in interface `ConnectionRecordIfc`
      Parameters:
        `elem` -

    - #### setRecordFields

          public void setRecordFields(tigase.xmpp.JID node,
                             tigase.xmpp.JID userJid,
                             String sessionId,
                             tigase.xmpp.JID connectionId)

      Description copied from interface: `ConnectionRecordIfc`
      Method description
      Specified by:
        `setRecordFields` in interface `ConnectionRecordIfc`
      Parameters:
        `node` -
        `userJid` -
        `sessionId` -
        `connectionId` -

Copyright © 2014 "Tigase, Inc.". All rights reserved.