|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ibm.etools.iseries.subsystems.qsys.comm.QSYSCommunicationsDiagnostic
public class QSYSCommunicationsDiagnostic
This class collects the active server job information for problem investigation
Field Summary | |
---|---|
static int |
CANCEL_WAIT_REQUESTED
|
static String |
copyright
|
static int |
WAIT_REQUESTED
|
Constructor Summary | |
---|---|
QSYSCommunicationsDiagnostic(String id,
boolean quiet,
QSYSObjectSubSystem system,
Thread targetThread)
Setup for the diagnostic |
Method Summary | |
---|---|
void |
checkServerActive()
|
void |
diagnostic()
|
int |
diagnosticStatus()
Returns the message dialog action taken by user |
void |
displayMessage(String messageText,
String messageDetails,
String id,
int stats)
Prompt user the message |
Thread |
getTargetThread()
|
boolean |
isNetworkDown()
Check if the host system is connected by - pinging the server |
boolean |
isServerActive()
Check for active server job associated with this connection user. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String copyright
public static final int WAIT_REQUESTED
public static final int CANCEL_WAIT_REQUESTED
Constructor Detail |
---|
public QSYSCommunicationsDiagnostic(String id, boolean quiet, QSYSObjectSubSystem system, Thread targetThread)
String
- id: assign an ID for this diagnostic instance
boolean quiet: true if user to be prompted for a dialog
ISystem system: the connection to be investigatedMethod Detail |
---|
public void diagnostic()
Runnable.run()
public void checkServerActive()
Runnable.run()
public boolean isNetworkDown()
public boolean isServerActive()
public void displayMessage(String messageText, String messageDetails, String id, int stats)
message
- associated with string id be displayed
null indicates default to be used.public int diagnosticStatus()
public Thread getTargetThread()
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |