|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttigase.server.xmppserver.ServerConnections
public class ServerConnections
Describe class ServerConnections here. Created: Wed Jun 11 14:26:53 2008
Nested Class Summary | |
---|---|
static class |
ServerConnections.OutgoingState
Enum description |
Constructor Summary | |
---|---|
ServerConnections(ConnectionHandlerIfc<XMPPIOService<Object>> handler,
CID cid)
Creates a new ServerConnections instance. |
Method Summary | |
---|---|
void |
addControlPacket(Packet packet)
Method description |
void |
addDataPacket(Packet packet)
Method description |
void |
addOutgoing(XMPPIOService<Object> serv)
Method description |
CID |
getCID()
Method description |
String |
getDBKey(String sessionId)
Method description |
int |
getDBKeysSize()
Method description |
ServerConnections.OutgoingState |
getOutgoingState()
Method description |
Queue<Packet> |
getWaitingPackets()
Method description |
void |
handleDialbackFailure()
Method description |
boolean |
handleDialbackSuccess()
Method description |
boolean |
isOutgoing(XMPPIOService<Object> serv)
Method description |
boolean |
isOutgoingConnected()
Method description |
boolean |
needsConnection()
Method description |
boolean |
outgoingIsNull()
Method description |
void |
putDBKey(String sessionId,
String dbKey)
Method description |
boolean |
sendAllControlPackets()
Method description |
boolean |
sendControlPacket(Packet packet)
Method description |
boolean |
sendPacket(Packet packet)
Describe sendPacket method here. |
void |
serviceStopped(XMPPIOService<Object> serv)
Method description |
void |
setConnecting()
Method description |
void |
setValid()
Method description |
void |
stopAll()
Method description |
String |
toString()
Method description |
long |
waitingTime()
Method description |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ServerConnections(ConnectionHandlerIfc<XMPPIOService<Object>> handler, CID cid)
ServerConnections
instance.
handler
- cid
- Method Detail |
---|
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 Queue<Packet> getWaitingPackets()
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
value
boolean
valuepublic void serviceStopped(XMPPIOService<Object> serv)
serv
- public void setConnecting()
public void setValid()
public void stopAll()
public String toString()
toString
in class Object
public long waitingTime()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |