org.csapi.jr.se.mm.ulc
Interface PeriodicLocationReporting

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

public interface PeriodicLocationReporting
extends Activity

This interface represents a PeriodicLocationReporting activity object.


Field Summary
 
Fields inherited from interface org.csapi.jr.se.Activity
ACTIVE_STATE, IDLE_STATE, INVALID_STATE
 
Method Summary
 void addPeriodicLocationReportingListener(PeriodicLocationReportingListener periodicLocationReportingListener)
          Adds a PeriodicLocationReportingListener which is interested in events generated by the PeriodicLocationReporting.
 UserLocationCamel getUserLocationCamel()
          Returns a reference to the UserLocationCamel responsible for creation of the PeriodicLocationReporting.
 void periodicLocationReportingStartReq(Address[] users, int reportingInterval)
          Invokes the periodicLocationReportingStartReq() method on the Parlay Gateway.
 void periodicLocationReportingStop(MobilityStopAssignmentData stopRequest)
          Invokes the periodicLocationReportingStop() method on the Parlay Gateway.
 void removePeriodicLocationReportingListener(PeriodicLocationReportingListener periodicLocationReportingListener)
          Removes a PeriodicLocationReportingListener which is no longer interested events generated by the PeriodicLocationReporting.
 
Methods inherited from interface org.csapi.jr.se.Activity
addActivityStateChangeListener, getState, removeActivityStateChangeListener
 

Method Detail

getUserLocationCamel

public UserLocationCamel getUserLocationCamel()
Returns a reference to the UserLocationCamel responsible for creation of the PeriodicLocationReporting.

Returns:
A reference to the UserLocationCamel responsible for creation of the PeriodicLocationReporting.

addPeriodicLocationReportingListener

public void addPeriodicLocationReportingListener(PeriodicLocationReportingListener periodicLocationReportingListener)
Adds a PeriodicLocationReportingListener which is interested in events generated by the PeriodicLocationReporting.

Parameters:
periodicLocationReportingListener - A reference to the PeriodicLocationReportingListener which is to be added as a listener.

removePeriodicLocationReportingListener

public void removePeriodicLocationReportingListener(PeriodicLocationReportingListener periodicLocationReportingListener)
Removes a PeriodicLocationReportingListener which is no longer interested events generated by the PeriodicLocationReporting.

Parameters:
periodicLocationReportingListener - A reference to the PeriodicLocationReportingListener which is to be removed as a listener.

periodicLocationReportingStartReq

public void periodicLocationReportingStartReq(Address[] users,
                                              int reportingInterval)
                                       throws PlatformException,
                                              java.lang.IllegalStateException,
                                              CommonException,
                                              InvalidReportingIntervalException,
                                              UnknownSubscriberException,
                                              ApplicationNotActivatedException,
                                              InformationNotAvailableException,
                                              InvalidInterfaceTypeException
Invokes the periodicLocationReportingStartReq() method on the Parlay Gateway.

Throws:
PlatformException
java.lang.IllegalStateException
CommonException
InvalidReportingIntervalException
UnknownSubscriberException
ApplicationNotActivatedException
InformationNotAvailableException
InvalidInterfaceTypeException

periodicLocationReportingStop

public void periodicLocationReportingStop(MobilityStopAssignmentData stopRequest)
                                   throws PlatformException,
                                          java.lang.IllegalStateException,
                                          CommonException
Invokes the periodicLocationReportingStop() method on the Parlay Gateway.

Throws:
PlatformException
java.lang.IllegalStateException
CommonException