tigase.server.xmppserver
Class S2SConnection

java.lang.Object
  extended by 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
S2SConnection(S2SConnectionHandlerIfc<S2SIOService> handler, String ip)
          Constructs ...
 
Method Summary
 void addControlPacket(Packet packet)
          Method description
 int compareTo(S2SConnection o)
          Method description
 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()
          Method description
 
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)
Method description

Specified by:
compareTo in interface Comparable<S2SConnection>
Parameters:
o -
Returns:

getIPAddress

public String getIPAddress()
Method description

Returns:

getS2SIOService

public S2SIOService getS2SIOService()
Method description

Returns:

getWaitingControlCount

public int getWaitingControlCount()
Method description

Returns:

isConnected

public boolean isConnected()
Method description

Returns:

sendAllControlPackets

public void sendAllControlPackets()
Method description


sendPacket

public boolean sendPacket(Packet packet)
                   throws IOException
Method description

Parameters:
packet -
Returns:
Throws:
IOException

setS2SIOService

public void setS2SIOService(S2SIOService serv)
Method description

Parameters:
serv -

toString

public String toString()
Method description

Overrides:
toString in class Object
Returns:


Copyright © 2013 Tigase. All rights reserved.