The Training Attendance program allows training participants to send their presense in the classroom to a Solace router. This allows the instructor to keep track of who has attended a day of training
To start the program:
-
Extract the zip/tar distribution package
-
Run the run\DeclarePresent file to send your name to the Solace VMR
-
From a command line, run the file with the following arguments:
java -jar DeclarePresent.jar <VMR-IP> <your/name> Where <VMR-IP> is the Solace VMR IP or hostname, and <your/name> is in the format of <first-name/last-name> Ex: java -jar DeclarePresent.jar 192.168.56.103 leah/robert
To retrieve the names of those who have declared their presense:
java -jar TakeAttendance.jar <VMR-IP>
Where <VMR-IP> is the Solace VMR IP or hostname
Ex: java -jar TakeAttendance.jar 192.168.56.103
Alternatively, Solace's sdkperf command line tool can be used to delcare your presence.
sdkperf_java.bat -cip=<VMR-IP> -cu=student@attendance -ptl=<your/name> -mn=1 -mt=persistent
Where <VMR-IP> is the Solace VMR IP or hostname, and <your/name> is in the format of <first-name/last-name>
Ex: sdkperf_java.bat -cip=192.168.56.103 -cu=student@attendance -ptl=leah/robert -mn=1 -mt=persistent
If running this on your own Solace VMR, the attached Solace configuration is required. To add this configuration to your own router, please follow the instructions as outlined at the following link: https://docs.solace.com/System-and-Software-Maintenance/Backing-Up-and-Restoring-VPNs.htm
To run the full sample, it is required that java be installed on your computer. If using sdkperf to declare your presense, any version is compatible.
For any support, bugs and enhancements, please contact:
Leah Robert leah.robert@solace.com
Copyright 2018 Leah Robert
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.