org.eclipse.rse.connectorservice.dstore.util
Interface ICommunicationsDiagnostic
-
All Superinterfaces:
-
Runnable
-
public interface ICommunicationsDiagnostic
- extends
Runnable
An interface for ICommunicationsDiagnostic class
Methods inherited from interface java.lang.
Runnable
|
run
|
CANCEL_WAIT_REQUESTED
static final int CANCEL_WAIT_REQUESTED
-
See Also:
-
Constant Field Values
setUp
void setUp(
String id,
boolean quiet,
String server,
IConnectorService system,
String str1,
String str2,
String str3)
- Setup for the diagnostic
-
-
-
Parameters:
-
id
- assign an ID for this diagnostic instance -
quiet
- true if user to be prompted for a dialog -
server
- the host network name -
system
- the connection to be investigated -
str1
- optional string -
str2
- optional string -
str3
- optional string
logError
void logError(
String text)
- Log an error in the .log file
-
-
-
Parameters:
-
text
- message text to be logged
isNetworkDown
boolean isNetworkDown()
- Check if network is down
-
-
-
Returns:
- true or false
isServerActive
boolean isServerActive()
- Check if host server is still active
-
-
-
Returns:
- true or false
displayMessage
void displayMessage(
String id)
- Dispaly a message dialog
-
-
-
Parameters:
-
id
- message to be displayed.
diagnosticStatus
int diagnosticStatus()
- diagnosticStatus
-
-
-
Returns:
- status
Copyright (c) IBM Corporation and others 2000, 2008. All Rights Reserved.