org.gwe.utils
Class RemoteResolver<RT extends java.rmi.Remote>
java.lang.Object
org.gwe.utils.RemoteResolver<RT>
- All Implemented Interfaces:
- java.lang.Runnable
public class RemoteResolver<RT extends java.rmi.Remote>
- extends java.lang.Object
- implements java.lang.Runnable
- Since:
- Aug 15, 2007
- Author:
- Marco Ruiz
Constructor Summary |
RemoteResolver(java.lang.String uriStr,
java.rmi.server.RMIClientSocketFactory socketFactory)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RemoteResolver
public RemoteResolver(java.lang.String uriStr,
java.rmi.server.RMIClientSocketFactory socketFactory)
throws java.net.URISyntaxException,
java.net.UnknownHostException
- Throws:
java.net.URISyntaxException
java.net.UnknownHostException
getRemote
public RT getRemote(long waitMillis)
throws java.rmi.RemoteException,
java.rmi.NotBoundException,
org.gwe.utils.ConnectionTimeoutException
- Throws:
java.rmi.RemoteException
java.rmi.NotBoundException
org.gwe.utils.ConnectionTimeoutException
getList
public java.lang.String[] getList(long waitMillis)
throws java.rmi.RemoteException,
java.rmi.NotBoundException,
org.gwe.utils.ConnectionTimeoutException
- Throws:
java.rmi.RemoteException
java.rmi.NotBoundException
org.gwe.utils.ConnectionTimeoutException
getRegistryInformation
public <INFO_TYPE> INFO_TYPE getRegistryInformation(long waitMillis,
boolean list)
throws java.rmi.RemoteException,
java.rmi.NotBoundException,
org.gwe.utils.ConnectionTimeoutException
- Throws:
java.rmi.RemoteException
java.rmi.NotBoundException
org.gwe.utils.ConnectionTimeoutException
run
public void run()
- Specified by:
run
in interface java.lang.Runnable
Copyright © 2007-2009. All Rights Reserved.