sdt.mediator
Interface ISessionManagerClient

All Known Implementing Classes:
SessionManagerClient

public interface ISessionManagerClient

A session manager client provides methods which handle network initiated calls.


Method Summary
 ISessionManager getSessionManager()
          returns the identity of the session manager for this application.
 boolean initiate(PartyURI from, PartyURI to)
          this method is called for an intercepted call attempt: 'from' calling 'to'.
 void register(PartyURI caller)
          this method is called when a user attempts to register with this application.
 void setSessionManager(ISessionManager sm)
          set the session manager to be used by the client
 

Method Detail

setSessionManager

void setSessionManager(ISessionManager sm)
set the session manager to be used by the client


getSessionManager

ISessionManager getSessionManager()
returns the identity of the session manager for this application.


initiate

boolean initiate(PartyURI from,
                 PartyURI to)
                 throws SDTException
this method is called for an intercepted call attempt: 'from' calling 'to'.

Parameters:
from -
to -
Returns:
indicates whether this application wants to handle the call. This is useful when the SM has references to a number of applications: the first one to indicate interest gets control of the call; otherwise, the call is completed as usual.
Throws:
SDTException

register

void register(PartyURI caller)
              throws SDTException
this method is called when a user attempts to register with this application.

Throws:
SDTException