|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.lastbamboo.common.sip.client.SipClientTrackerImpl
public class SipClientTrackerImpl
Class for keeping track of SIP clients.
| Constructor Summary | |
|---|---|
SipClientTrackerImpl()
Creates a new class for keeping track of SIP client connections to proxy servers. |
|
| Method Summary | |
|---|---|
void |
addSipClient(SipClient client,
ProxyRegistrationListener listener)
Adds a SIP client to the tracker. |
SipClient |
getSipClient()
Accesses a random SIP client connection to a SIP server from the available clients. |
void |
onClose(SipClient client)
Called when the specified SIP client connection to a server is lost. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SipClientTrackerImpl()
| Method Detail |
|---|
public SipClient getSipClient()
SipClientTracker
getSipClient in interface SipClientTrackernull.
public void addSipClient(SipClient client,
ProxyRegistrationListener listener)
SipClientTracker
addSipClient in interface SipClientTrackerclient - The client to track.listener - The registration listener that is notified when the
client is closed. The closing of the client signifies that the
registration is lost.public void onClose(SipClient client)
SipClientCloseListener
onClose in interface SipClientCloseListenerclient - The client connection that has closed.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||