org.mobicents.slee.resource.parlay.session
Interface ParlaySession

All Known Implementing Classes:
ParlaySessionImpl

public interface ParlaySession

Stores all Parlay Session state.


Method Summary
 void destroy()
          Destroys the Parlay Session. endAccess() will be called on the Parlay Gateway.
 org.mobicents.csapi.jr.slee.TpServiceIdentifier getService(java.lang.String serviceTypeName, java.util.Properties serviceProperties)
          Returns an identifier for a service matching the specified name and service properties.
 ServiceSession getServiceSession(org.mobicents.csapi.jr.slee.TpServiceIdentifier serviceIdentifier)
          Gets the session for the specified service identifier.
 void init()
          Initialise Parlay Session.
 void setGccsListener(GccsListener gccsListener)
           
 void setMpccsListener(MpccsListener mpccsListener)
           
 void setUiListener(UiListener uiListener)
           
 

Method Detail

init

void init()
          throws FwSessionException
Initialise Parlay Session. Will authenticate the RA with the Parlay Gateway. A failure to authenticate will result in an exception being thrown and the session will be invalid.

Throws:
FwSessionException

destroy

void destroy()
Destroys the Parlay Session. endAccess() will be called on the Parlay Gateway. Once this is called no further communication will be possible with the Gateway via this session.


getService

org.mobicents.csapi.jr.slee.TpServiceIdentifier getService(java.lang.String serviceTypeName,
                                                           java.util.Properties serviceProperties)
                                                           throws FwSessionException,
                                                                  javax.slee.resource.ResourceException
Returns an identifier for a service matching the specified name and service properties.

Parameters:
serviceTypeName - The Parlay service type name e.g. P_USER_INTERACTION.
serviceProperties - The Parlay service properties in (Name;Value) pairs. For parameters with a set of values use a comma separated list.
Returns:
an identifier for the service.
Throws:
javax.slee.resource.ResourceException
FwSessionException

getServiceSession

ServiceSession getServiceSession(org.mobicents.csapi.jr.slee.TpServiceIdentifier serviceIdentifier)
Gets the session for the specified service identifier.

Parameters:
serviceIdentifier -
Returns:

setMpccsListener

void setMpccsListener(MpccsListener mpccsListener)
Parameters:
mpccsListener - The mpccsListener to set.

setGccsListener

void setGccsListener(GccsListener gccsListener)
Parameters:
gccsListener - The gccsListener to set.

setUiListener

void setUiListener(UiListener uiListener)
Parameters:
uiListener - The uiListener to set.


Copyright © 2008. All Rights Reserved.