public class NameServerProxy extends PyroProxy implements Serializable
hostname, objectid, port, pyroAttrs, pyroHmacKey, pyroMethods, pyroOneway| Constructor and Description |
|---|
NameServerProxy(PyroURI uri) |
NameServerProxy(String hostname,
int port) |
NameServerProxy(String hostname,
int port,
String objectid) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
list(String prefix,
String regex) |
static NameServerProxy |
locateNS(String host) |
static NameServerProxy |
locateNS(String host,
byte[] hmacKey) |
static NameServerProxy |
locateNS(String host,
int port,
byte[] hmacKey) |
PyroURI |
lookup(String name) |
void |
ping() |
void |
register(String name,
PyroURI uri,
boolean safe) |
int |
remove(String name,
String prefix,
String regex) |
__setstate__, call_oneway, call, close, connect, finalize, getattr, getMetadata, handshake, setattrpublic NameServerProxy(PyroURI uri) throws UnknownHostException, IOException
UnknownHostExceptionIOExceptionpublic NameServerProxy(String hostname, int port, String objectid) throws UnknownHostException, IOException
UnknownHostExceptionIOExceptionpublic NameServerProxy(String hostname, int port) throws IOException
IOExceptionpublic void ping()
throws PickleException,
IOException
PickleExceptionIOExceptionpublic PyroURI lookup(String name) throws PickleException, IOException
PickleExceptionIOExceptionpublic int remove(String name, String prefix, String regex) throws PickleException, IOException
PickleExceptionIOExceptionpublic void register(String name, PyroURI uri, boolean safe) throws PickleException, IOException
PickleExceptionIOExceptionpublic Map<String,String> list(String prefix, String regex) throws PickleException, IOException
PickleExceptionIOExceptionpublic static NameServerProxy locateNS(String host) throws IOException
IOExceptionpublic static NameServerProxy locateNS(String host, byte[] hmacKey) throws IOException
IOExceptionpublic static NameServerProxy locateNS(String host, int port, byte[] hmacKey) throws IOException
IOExceptionCopyright © 2015. All rights reserved.