org.csapi.jr.se.dsc
Interface Connect

All Superinterfaces:
Activity, CsapiInterface, java.io.Serializable

public interface Connect
extends Activity

This interface represents a Connect activity object.


Field Summary
 
Fields inherited from interface org.csapi.jr.se.Activity
ACTIVE_STATE, IDLE_STATE, INVALID_STATE
 
Method Summary
 void addConnectListener(org.csapi.jr.se.dsc.ConnectListener connectListener)
          Adds a ConnectListener which is interested in events generated by the Connect.
 void connectReq(org.csapi.jr.se.dsc.DataSessionReportRequest[] responseRequested, org.csapi.jr.se.Address targetAddress)
          Invokes the connectReq() method on the Parlay Gateway.
 org.csapi.jr.se.dsc.DataSession getDataSession()
          Returns a reference to the DataSession responsible for creation of the Connect.
 void removeConnectListener(org.csapi.jr.se.dsc.ConnectListener connectListener)
          Removes a ConnectListener which is no longer interested events generated by the Connect.
 
Methods inherited from interface org.csapi.jr.se.Activity
addActivityStateChangeListener, getState, removeActivityStateChangeListener
 

Method Detail

getDataSession

public org.csapi.jr.se.dsc.DataSession getDataSession()
Returns a reference to the DataSession responsible for creation of the Connect.

Returns:
A reference to the DataSession responsible for creation of the Connect.

addConnectListener

public void addConnectListener(org.csapi.jr.se.dsc.ConnectListener connectListener)
Adds a ConnectListener which is interested in events generated by the Connect.

Parameters:
connectListener - A reference to the ConnectListener which is to be added as a listener.

removeConnectListener

public void removeConnectListener(org.csapi.jr.se.dsc.ConnectListener connectListener)
Removes a ConnectListener which is no longer interested events generated by the Connect.

Parameters:
connectListener - A reference to the ConnectListener which is to be removed as a listener.

connectReq

public void connectReq(org.csapi.jr.se.dsc.DataSessionReportRequest[] responseRequested,
                       org.csapi.jr.se.Address targetAddress)
                throws PlatformException,
                       java.lang.IllegalStateException,
                       CommonException,
                       InvalidNetworkStateException,
                       InvalidAddressException
Invokes the connectReq() method on the Parlay Gateway.

PlatformException
java.lang.IllegalStateException
CommonException
InvalidNetworkStateException
InvalidAddressException