public class ConfigurationBusClient extends Object implements Closeable
| Modifier and Type | Field and Description |
|---|---|
static long |
TIME_OUT |
| Constructor and Description |
|---|
ConfigurationBusClient() |
ConfigurationBusClient(String serverName,
String clientName) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
Object |
invoke(long timeout,
String methodName,
Object... args)
Invokes a method remotely on the Configuration service server.
|
Object |
invoke(String methodName,
Object... args)
Invokes a method remotely on the Configuration service server.
|
public Object invoke(long timeout, String methodName, Object... args) throws Exception
timeout - if negative the command is ssent asynchronouslymethodName - args - Exception - can be the result of remote execution or timeoutpublic Object invoke(String methodName, Object... args) throws Exception
methodName - args - Exception - can be the result of remote execution or timeoutpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2015 LSST. All rights reserved.