S2SConnectionManager
, will be removed in 7.2.0@Deprecated public class ServerConnections extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ServerConnections.OutgoingState
Deprecated.
Enum description
|
Constructor and Description |
---|
ServerConnections(ConnectionHandlerIfc<XMPPIOService<Object>> handler,
CID cid)
Deprecated.
Creates a new
ServerConnections instance. |
Modifier and Type | Method and Description |
---|---|
void |
addControlPacket(Packet packet)
Deprecated.
Method description
|
void |
addDataPacket(Packet packet)
Deprecated.
Method description
|
void |
addOutgoing(XMPPIOService<Object> serv)
Deprecated.
Method description
|
CID |
getCID()
Deprecated.
Method description
|
String |
getDBKey(String sessionId)
Deprecated.
Method description
|
int |
getDBKeysSize()
Deprecated.
Method description
|
ServerConnections.OutgoingState |
getOutgoingState()
Deprecated.
Method description
|
Queue<Packet> |
getWaitingPackets()
Deprecated.
Method description
|
void |
handleDialbackFailure()
Deprecated.
Method description
|
boolean |
handleDialbackSuccess()
Deprecated.
Method description
|
boolean |
isOutgoing(XMPPIOService<Object> serv)
Deprecated.
Method description
|
boolean |
isOutgoingConnected()
Deprecated.
Method description
|
boolean |
needsConnection()
Deprecated.
Method description
|
boolean |
outgoingIsNull()
Deprecated.
Method description
|
void |
putDBKey(String sessionId,
String dbKey)
Deprecated.
Method description
|
boolean |
sendAllControlPackets()
Deprecated.
Method description
|
boolean |
sendControlPacket(Packet packet)
Deprecated.
Method description
|
boolean |
sendPacket(Packet packet)
Deprecated.
Describe
sendPacket method here. |
void |
serviceStopped(XMPPIOService<Object> serv)
Deprecated.
Method description
|
void |
setConnecting()
Deprecated.
Method description
|
void |
setValid()
Deprecated.
Method description
|
void |
stopAll()
Deprecated.
Method description
|
String |
toString()
Deprecated.
|
long |
waitingTime()
Deprecated.
Method description
|
public ServerConnections(ConnectionHandlerIfc<XMPPIOService<Object>> handler, CID cid)
ServerConnections
instance.handler
- cid
- public void addControlPacket(Packet packet)
packet
- public void addDataPacket(Packet packet)
packet
- public void addOutgoing(XMPPIOService<Object> serv)
serv
- public CID getCID()
public String getDBKey(String sessionId)
sessionId
- public int getDBKeysSize()
public ServerConnections.OutgoingState getOutgoingState()
public void handleDialbackFailure()
public boolean handleDialbackSuccess()
public boolean isOutgoing(XMPPIOService<Object> serv)
serv
- public boolean isOutgoingConnected()
public boolean needsConnection()
public boolean outgoingIsNull()
public void putDBKey(String sessionId, String dbKey)
sessionId
- dbKey
- public boolean sendAllControlPackets()
public boolean sendControlPacket(Packet packet)
packet
- public boolean sendPacket(Packet packet)
sendPacket
method here.packet
- a Packet
valueboolean
valuepublic void serviceStopped(XMPPIOService<Object> serv)
serv
- public void setConnecting()
public void setValid()
public void stopAll()
public long waitingTime()
Copyright © 2018 "Tigase, Inc.". All rights reserved.