Index: lams_monitoring/src/java/org/lamsfoundation/lams/monitoring/service/IMonitoringService.java =================================================================== RCS file: /usr/local/cvsroot/lams_monitoring/src/java/org/lamsfoundation/lams/monitoring/service/IMonitoringService.java,v diff -u -r1.16 -r1.17 --- lams_monitoring/src/java/org/lamsfoundation/lams/monitoring/service/IMonitoringService.java 10 Jun 2005 05:05:34 -0000 1.16 +++ lams_monitoring/src/java/org/lamsfoundation/lams/monitoring/service/IMonitoringService.java 27 Jun 2005 04:04:58 -0000 1.17 @@ -230,4 +230,24 @@ * @return the requested activity object. */ public Activity getActivityById(long activityId); + + /** + * Returns the status of the gate in WDDX format. + * + * @param activityID The activity_id of the Activity whose gate must be checked + * @param lessonID The lesson_id of the Lesson + * @return + */ + public String checkGateStatus(Long activityID, Long lessonID) throws IOException; + + /** + * Returns an acknowledgement that the gate has been released. + * Returns true if the gate has been released and false otherwise. + * This information is packaged in WDDX format + * + * @param activityID The activity_id of the Activity whose gate must be checked + * @param lessonID The lesson_id of the Lesson + * @return + */ + public String releaseGate(Long activityID) throws IOException; }