|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--local.server.StatefulProxyState
Class StatefulProxyState allows the record and management of all TransactionServer-to-TransactionClient mappings in a stateful proxy
| Constructor Summary | |
StatefulProxyState()
Creates the StatefulProxyState |
|
| Method Summary | |
void |
addClient(org.zoolu.sip.transaction.TransactionServer ts,
org.zoolu.sip.transaction.Transaction tc)
Appends a new client to server ts. |
void |
addServer(org.zoolu.sip.transaction.TransactionServer ts)
Adds a new server ts |
void |
clearClients(org.zoolu.sip.transaction.TransactionServer ts)
Removes all clients bound to server ts. |
java.util.HashSet |
getClients(org.zoolu.sip.transaction.TransactionServer ts)
Gets all clients bound to server ts. |
org.zoolu.sip.message.Message |
getFinalResponse(org.zoolu.sip.transaction.TransactionServer ts)
Gets the final response for server ts. |
org.zoolu.sip.transaction.TransactionServer |
getServer(org.zoolu.sip.transaction.Transaction tc)
Gets the server bound to client tc |
boolean |
hasServer(org.zoolu.sip.transaction.TransactionServer ts)
Whether there is a server ts. |
int |
numOfClients()
Gets the number of active clients. |
int |
numOfServers()
Gets the number of active servers. |
void |
removeClient(org.zoolu.sip.transaction.Transaction tc)
Removes a client. |
void |
removeServer(org.zoolu.sip.transaction.TransactionServer ts)
Removes server ts. |
void |
setFinalResponse(org.zoolu.sip.transaction.TransactionServer ts,
org.zoolu.sip.message.Message resp)
Sets the final response for server ts. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public StatefulProxyState()
| Method Detail |
public void addServer(org.zoolu.sip.transaction.TransactionServer ts)
public void addClient(org.zoolu.sip.transaction.TransactionServer ts,
org.zoolu.sip.transaction.Transaction tc)
public void removeClient(org.zoolu.sip.transaction.Transaction tc)
public void clearClients(org.zoolu.sip.transaction.TransactionServer ts)
public boolean hasServer(org.zoolu.sip.transaction.TransactionServer ts)
public void removeServer(org.zoolu.sip.transaction.TransactionServer ts)
public org.zoolu.sip.transaction.TransactionServer getServer(org.zoolu.sip.transaction.Transaction tc)
public java.util.HashSet getClients(org.zoolu.sip.transaction.TransactionServer ts)
public void setFinalResponse(org.zoolu.sip.transaction.TransactionServer ts,
org.zoolu.sip.message.Message resp)
public org.zoolu.sip.message.Message getFinalResponse(org.zoolu.sip.transaction.TransactionServer ts)
public int numOfServers()
public int numOfClients()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||