RSE
Release 3.4

org.eclipse.rse.connectorservice.dstore.util
Interface ICommunicationsDiagnostic

All Superinterfaces:
Runnable

public interface ICommunicationsDiagnostic
extends Runnable

An interface for ICommunicationsDiagnostic class


Field Summary
static int CANCEL_WAIT_REQUESTED
           
 
Method Summary
 int diagnosticStatus()
          diagnosticStatus
 void displayMessage(String id)
          Dispaly a message dialog
 boolean isNetworkDown()
          Check if network is down
 boolean isServerActive()
          Check if host server is still active
 void logError(String text)
          Log an error in the .log file
 void setUp(String id, boolean quiet, String server, IConnectorService system, String str1, String str2, String str3)
          Setup for the diagnostic
 
Methods inherited from interface java.lang.Runnable
run
 

Field Detail

CANCEL_WAIT_REQUESTED

static final int CANCEL_WAIT_REQUESTED
See Also:
Constant Field Values
Method Detail

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

RSE
Release 3.4

Copyright (c) IBM Corporation and others 2000, 2012. All Rights Reserved.