|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Field Summary | |
---|---|
static int |
FUNCTION_ALLOWED
Return value indicating function is allowed. |
static int |
FUNCTION_DISABLED
Return value indicating function is disabled by administrator |
static int |
FUNCTION_EXECUTED
Return value indicating function call executed successfully |
static int |
FUNCTION_INVALID
Return value indicating function call failed because it is invalid. |
static int |
FUNCTION_NOT_ALLOWED
Return value indicating function call is not allowed at this time |
static java.lang.String[] |
STRING_RETURN_CODES
|
Method Summary | |
---|---|
int |
close()
Closes the session and cleans up the resources. |
int |
connect()
Triggers the session to connect to a host system. |
int |
disconnect()
Triggers the session to disconnect from a host system. |
javax.swing.JMenuBar |
getHODMenubar()
Gets the menu bar used by the session. |
javax.swing.JPanel |
getStatusBar()
Gets the statusbar component used by the session. |
boolean |
isConnected()
Returns whether the session is connected or not. |
boolean |
isStatusBarVisible()
Returns true if the session is configured to start with status bar visible. |
int |
showProblemDetermination()
Brings up the Problem Determination GUI. |
Field Detail |
public static final int FUNCTION_EXECUTED
public static final int FUNCTION_DISABLED
public static final int FUNCTION_NOT_ALLOWED
public static final int FUNCTION_ALLOWED
public static final int FUNCTION_INVALID
public static final java.lang.String[] STRING_RETURN_CODES
Method Detail |
public javax.swing.JPanel getStatusBar()
public javax.swing.JMenuBar getHODMenubar()
public boolean isConnected()
public int connect()
The return code indicates if the method was successful.
The possible values are
Constant | Description |
---|---|
HODSession.FUNCTION_EXECUTED | Function was successful |
HODSession.FUNCTION_DISABLED | Function not allowed because it is disabled |
HODSession.FUNCTION_NOT_ALLOWED | Function not allowed at this time |
public int disconnect()
The return code indicates if the method was successful.
The possible values are
Constant | Description |
---|---|
HODSession.FUNCTION_EXECUTED | Function was successful |
HODSession.FUNCTION_DISABLED | Function not allowed because it is disabled |
HODSession.FUNCTION_NOT_ALLOWED | Function not allowed at this time |
public int showProblemDetermination()
The return code indicates if the method was successful.
The possible values are
Constant | Description |
---|---|
HODSession.FUNCTION_EXECUTED | Function was successful |
HODSession.FUNCTION_DISABLED | Function not allowed because it is disabled |
HODSession.FUNCTION_NOT_ALLOWED | Function not allowed at this time |
public int close()
public boolean isStatusBarVisible()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |