Download User Manual

Transcript
Connecting Remotely Operable Labs to the Cyberlab Network
Introduction
Cyberlab.Org
UM-013-01
Revision 1.0
♦ The offlineStatusDescription should be accompanied with a string indicating
when the Lab is expected online again.
8.2.2.4 Example code
N/A
8.2.3
log
8.2.3.1 The method
public java.lang.String log( java.lang.String type, java.lang.String sessionId,
java.lang.String action)
This method is optional, and is called by the Lab Server. The method logs some specific activity on
the Lab Server. The logged action can be initiated by both the user and the system.
Note! The next release may include a timestamp from the Provider Lab Server as a
parameter for this method.
Parameters
type
sessionId
action
Log type. Legal values: USER, SYSTEM
A session ID describing the user
The action triggered by the SYSTEM or the USER
Return value
The Cyberlab Communication Server returns “OK” in a String or “ERROR: “ followed by an error
description.
8.2.3.2 CCS implementation details
♦ The CCS stores historical data for the actions.
8.2.3.3 Lab Server implementation details
♦ The Provider must define and specify the actions to be stored.
8.2.3.4 Example code
N/A
8.2.4
checkUserAccess
8.2.4.1 The method
public java.lang.String checkUserAccess( java.lang.String sessionId)
This method is optional, and is called by the Lab Server. The method is used by a lab to check if a
user is allowed to access the lab.
Confidential
2003-06-21
Page 51 of 70