|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mobicents.slee.resource.parlay.fw.FwSessionImpl
public class FwSessionImpl
Implementation class for FwSession
| Field Summary | |
|---|---|
protected TokenAndServiceMap |
tokenAndServiceMap
|
protected TSMBean |
tsmBean
|
| Constructor Summary | |
|---|---|
FwSessionImpl(FwSessionProperties fwSessionProperties)
|
|
| Method Summary | |
|---|---|
void |
addFwSessionListener(FwSessionListener listener)
Adds an application listener. |
void |
authenticate()
This method authenticates a client with the Parlay framework. |
void |
endAccess(org.csapi.fw.TpProperty[] endAccessProperties)
This method ends a client's access session with the Parlay Framework |
FwSessionProperties |
getFwSessionProperties()
|
org.omg.CORBA.ORB |
getORB()
Returns a reference to the ORB used by this FwSession. |
org.omg.PortableServer.POA |
getRootPOA()
Returns the root poa |
ServiceAndToken |
getService(java.lang.String serviceTypeName,
org.csapi.fw.TpServiceProperty[] serviceProperties)
Returns a reference to a Service interface. |
void |
init()
Initialises FwSession, only use when created with default constructor. |
void |
releaseService(ServiceAndToken service)
Releses the specified Service. |
void |
removeFwSessionListener(FwSessionListener listener)
Removes an application listener. |
void |
shutdown()
This method will shutdown all resources used by this object. |
void |
terminateAccess(org.mobicents.csapi.jr.slee.fw.TerminateAccessEvent event)
Called due to a gateway initiated access termination. |
void |
terminateServiceAgreement(org.mobicents.csapi.jr.slee.fw.TerminateServiceAgreementEvent event)
Called due to a gateway initiated service agreement termination. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.mobicents.slee.resource.parlay.fw.FwSession |
|---|
equals, hashCode, toString |
| Field Detail |
|---|
protected final transient TokenAndServiceMap tokenAndServiceMap
protected TSMBean tsmBean
| Constructor Detail |
|---|
public FwSessionImpl(FwSessionProperties fwSessionProperties)
fwSessionProperties - | Method Detail |
|---|
public void init()
throws FwSessionException
FwSession
init in interface FwSessionFwSessionExceptionpublic void addFwSessionListener(FwSessionListener listener)
FwSession
addFwSessionListener in interface FwSessionpublic void removeFwSessionListener(FwSessionListener listener)
FwSession
removeFwSessionListener in interface FwSession
public void authenticate()
throws FwSessionException
FwSession
authenticate in interface FwSessionFwSessionException
public void endAccess(org.csapi.fw.TpProperty[] endAccessProperties)
throws FwSessionException
FwSession
endAccess in interface FwSessionendAccessProperties - properties to be passed to gateway framework on endAccess.
FwSessionException
public ServiceAndToken getService(java.lang.String serviceTypeName,
org.csapi.fw.TpServiceProperty[] serviceProperties)
throws FwSessionException
FwSession
getService in interface FwSessionFwSessionExceptionpublic void shutdown()
FwSession
shutdown in interface FwSessionpublic FwSessionProperties getFwSessionProperties()
getFwSessionProperties in interface FwSessionpublic org.omg.CORBA.ORB getORB()
FwSession
getORB in interface FwSessionpublic org.omg.PortableServer.POA getRootPOA()
FwSession
getRootPOA in interface FwSession
public void releaseService(ServiceAndToken service)
throws FwSessionException
FwSession
releaseService in interface FwSessionFwSessionExceptionpublic void terminateAccess(org.mobicents.csapi.jr.slee.fw.TerminateAccessEvent event)
TSMBeanListener
terminateAccess in interface TSMBeanListenerevent - The event emitted from the
TSMBean.public void terminateServiceAgreement(org.mobicents.csapi.jr.slee.fw.TerminateServiceAgreementEvent event)
SABeanListener
terminateServiceAgreement in interface SABeanListenerevent - The event emitted from the
SABean.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||