|
RSE Release 3.2 |
|||||||||
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 java.net.Socket |
createSocket(java.lang.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 checkedpublic static java.net.Socket createSocket(java.lang.String host, int port, int timeout, IProgressMonitor monitor) throws java.net.UnknownHostException, java.io.IOException
host
- inetaddress to connect toport
- port to connect totimeout
- number of seconds for timeout (default=60)monitor
- progress monitor
java.net.UnknownHostException
java.io.IOException
|
RSE Release 3.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |