|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SipRegistrar
Registrar for SIP clients.
| Method Summary | |
|---|---|
void |
addRegistrationListener(RegistrationListener listener)
Adds the specified listener for registration events. |
org.littleshoot.mina.common.IoSession |
getIoSession(URI uri)
Accesses the reader/writer for sending a message to the specified URI. |
Collection<URI> |
getRegistered()
Get registered URIs |
void |
handleRegister(org.lastbamboo.common.sip.stack.message.Register register,
org.littleshoot.mina.common.IoSession io)
Processes the specified register request. |
boolean |
hasRegistration(URI uri)
Determines whether or not we have a registration for the specified SIP URI. |
void |
sessionClosed(org.littleshoot.mina.common.IoSession session)
Called when an IO session has closed -- we have lost a connection to a client. |
| Method Detail |
|---|
void handleRegister(org.lastbamboo.common.sip.stack.message.Register register,
org.littleshoot.mina.common.IoSession io)
register - The register request to process.io - The class for writing message back to the client.org.littleshoot.mina.common.IoSession getIoSession(URI uri)
uri - The URI to send a message to.
null
if we don't have information about the URI.void sessionClosed(org.littleshoot.mina.common.IoSession session)
session - The closed session.boolean hasRegistration(URI uri)
uri - The SIP URI to check for a registration for.
true if we have a registration for the URI,
otherwise false.void addRegistrationListener(RegistrationListener listener)
listener - The listener to add.Collection<URI> getRegistered()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||