com.sun.comm
Class SunrayInfo

java.lang.Object
  extended bycom.sun.comm.SunrayInfo

public class SunrayInfo
extends java.lang.Object

This class interfaces with the Sun Ray platform via native code.

Since:
3.0.0
Author:
Paul Klissner

Constructor Summary
SunrayInfo()
           
 
Method Summary
static java.lang.String getDTUdevRoot(java.lang.String terminalId)
          Native function to get Sun Ray DTU devroot given it's terminal ID
static java.lang.String getSessionDevRoot()
          Native function to get Sun Ray session device root.
static java.lang.String getSessionTerminalId()
          Native function to get Sun Ray session device root.
static boolean isDTUonline(java.lang.String terminalId)
          Native function to determine if a particular DTU is online
static boolean isSessionActive()
          Return true if running in a Sun Ray session.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SunrayInfo

public SunrayInfo()
Method Detail

getSessionTerminalId

public static java.lang.String getSessionTerminalId()
Native function to get Sun Ray session device root.

Returns:
terminal ID of local Sun Ray session.

getSessionDevRoot

public static java.lang.String getSessionDevRoot()
Native function to get Sun Ray session device root.

Returns:
device root of current session.

getDTUdevRoot

public static java.lang.String getDTUdevRoot(java.lang.String terminalId)
Native function to get Sun Ray DTU devroot given it's terminal ID

Returns:
device root of specified DTU

isDTUonline

public static boolean isDTUonline(java.lang.String terminalId)
Native function to determine if a particular DTU is online

Returns:
device root of specified DTU

isSessionActive

public static boolean isSessionActive()
Return true if running in a Sun Ray session.