org.mobicents.slee.resource.parlay.fw
Class BypassedFwSession

java.lang.Object
  extended by org.mobicents.slee.resource.parlay.fw.BypassedFwSession
All Implemented Interfaces:
FwSession

public class BypassedFwSession
extends java.lang.Object
implements FwSession

This version of the FwSession will be used in "bypassFw" mode for testing against harnesses that don't implement framework functionality.


Constructor Summary
BypassedFwSession(FwSessionProperties properties, TestProperties testProperties)
           
 
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.
 
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
 

Constructor Detail

BypassedFwSession

public BypassedFwSession(FwSessionProperties properties,
                         TestProperties testProperties)
Method Detail

init

public void init()
          throws FwSessionException
Description copied from interface: FwSession
Initialises FwSession, only use when created with default constructor.

Specified by:
init in interface FwSession
Throws:
FwSessionException

addFwSessionListener

public void addFwSessionListener(FwSessionListener listener)
Description copied from interface: FwSession
Adds an application listener.

Specified by:
addFwSessionListener in interface FwSession

removeFwSessionListener

public void removeFwSessionListener(FwSessionListener listener)
Description copied from interface: FwSession
Removes an application listener.

Specified by:
removeFwSessionListener in interface FwSession

authenticate

public void authenticate()
                  throws FwSessionException
Description copied from interface: FwSession
This method authenticates a client with the Parlay framework.

Specified by:
authenticate in interface FwSession
Throws:
FwSessionException

endAccess

public void endAccess(org.csapi.fw.TpProperty[] endAccessProperties)
               throws FwSessionException
Description copied from interface: FwSession
This method ends a client's access session with the Parlay Framework

Specified by:
endAccess in interface FwSession
Parameters:
endAccessProperties - properties to be passed to gateway framework on endAccess.
Throws:
FwSessionException

releaseService

public void releaseService(ServiceAndToken service)
                    throws FwSessionException
Description copied from interface: FwSession
Releses the specified Service.

Specified by:
releaseService in interface FwSession
Throws:
FwSessionException

getService

public ServiceAndToken getService(java.lang.String serviceTypeName,
                                  org.csapi.fw.TpServiceProperty[] serviceProperties)
                           throws FwSessionException
Description copied from interface: FwSession
Returns a reference to a Service interface.

Specified by:
getService in interface FwSession
Returns:
a service and token for the selected service
Throws:
FwSessionException

shutdown

public void shutdown()
Description copied from interface: FwSession
This method will shutdown all resources used by this object.

Specified by:
shutdown in interface FwSession

getORB

public org.omg.CORBA.ORB getORB()
Description copied from interface: FwSession
Returns a reference to the ORB used by this FwSession.

Specified by:
getORB in interface FwSession
Returns:

getFwSessionProperties

public FwSessionProperties getFwSessionProperties()
Specified by:
getFwSessionProperties in interface FwSession
Returns:

getRootPOA

public org.omg.PortableServer.POA getRootPOA()
Description copied from interface: FwSession
Returns the root poa

Specified by:
getRootPOA in interface FwSession
Returns:


Copyright © 2008. All Rights Reserved.