tigase.server.xmppserver

## Class S2SConnection

- java.lang.Object
- - tigase.server.xmppserver.S2SConnection

- All Implemented Interfaces:
    Comparable<S2SConnection>

      public class S2SConnection
      extends Object
      implements Comparable<S2SConnection>

  Created: Jun 14, 2010 1:19:55 PM
  Version:
    $Rev$
  Author:
    Artur Hefczyc

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `S2SConnection(S2SConnectionHandlerIfc<S2SIOService> handler, String ip)` Constructs ...

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `addControlPacket(Packet packet)` Method description
    `int` | `compareTo(S2SConnection o)`
    `String` | `getIPAddress()` Method description
    `S2SIOService` | `getS2SIOService()` Method description
    `int` | `getWaitingControlCount()` Method description
    `boolean` | `isConnected()` Method description
    `void` | `sendAllControlPackets()` Method description
    `boolean` | `sendPacket(Packet packet)` Method description
    `void` | `setS2SIOService(S2SIOService serv)` Method description
    `String` | `toString()`

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

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

- - ### Constructor Detail

    - #### S2SConnection

          public S2SConnection(S2SConnectionHandlerIfc<S2SIOService> handler,
                               String ip)

      Constructs ...
      Parameters:
        `handler` -
        `ip` -

  - ### Method Detail

    - #### addControlPacket

          public void addControlPacket(Packet packet)

      Method description
      Parameters:
        `packet` -

    - #### compareTo

          public int compareTo(S2SConnection o)

      Specified by:
        `compareTo` in interface `Comparable<S2SConnection>`

    - #### getIPAddress

          public String getIPAddress()

      Method description

    - #### getS2SIOService

          public S2SIOService getS2SIOService()

      Method description

    - #### getWaitingControlCount

          public int getWaitingControlCount()

      Method description

    - #### isConnected

          public boolean isConnected()

      Method description

    - #### sendAllControlPackets

          public void sendAllControlPackets()

      Method description

    - #### sendPacket

          public boolean sendPacket(Packet packet)
                             throws IOException

      Method description
      Parameters:
        `packet` -
      Throws:
        `IOException`

    - #### setS2SIOService

          public void setS2SIOService(S2SIOService serv)

      Method description
      Parameters:
        `serv` -

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

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