|
RSE Release 3.3 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.rse.services.RemoteUtil
public class RemoteUtil
Static helper-methods for network access.
| Constructor Summary | |
|---|---|
RemoteUtil()
|
|
| Method Summary | |
|---|---|
static void |
checkCanceled(IProgressMonitor monitor)
Progress Monitor Helper: Checks the passed progress monitor and throws an OperationCanceledException when it is
cancelled. |
static Socket |
createSocket(String host,
int port,
int timeout,
IProgressMonitor monitor)
Helper method that will time out when making a socket connection. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RemoteUtil()
| Method Detail |
|---|
public static void checkCanceled(IProgressMonitor monitor)
OperationCanceledException when it is
cancelled.
monitor - The ProgressMonitor to be checked
public static Socket createSocket(String host,
int port,
int timeout,
IProgressMonitor monitor)
throws UnknownHostException,
IOException
host - inetaddress to connect toport - port to connect totimeout - number of seconds for timeout (default=60)monitor - progress monitor
UnknownHostException
IOException
|
RSE Release 3.3 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||