consciouscode.util
Class RmiUtils
java.lang.Object
consciouscode.util.RmiUtils
public class RmiUtils
- extends Object
Various helper utilities for Java RMI.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RmiUtils
public RmiUtils()
waitForBinding
public static Remote waitForBinding(String url,
int timeout)
throws MalformedURLException,
RemoteException
- Wait for an RMI server to come online.
- Parameters:
url
- the RMI URL for the desired server.timeout
- the timeout period, in milliseconds.
- Returns:
- the requested server, or null if it does not become available
in the indicated timeout period.
- Throws:
MalformedURLException
RemoteException
Copyright © 2001–2012
Todd V. Jonker. All Rights Reserved.