public class NameClient extends Object
Constructor and Description |
---|
NameClient() |
NameClient(String host,
int port) |
Modifier and Type | Method and Description |
---|---|
boolean |
addAlias(String name,
String target) |
boolean |
addService(Service S) |
void |
configure(String host,
int port) |
boolean |
delAlias(String name) |
boolean |
delService(Service S) |
org.apache.vinci.transport.vns.service.NameClient.HitsList |
getAllHits() |
int |
getHits() |
int |
getHits(String type) |
ServiceInterface[] |
getList() |
ServiceInterface[] |
getList(int level) |
ServiceInterface[] |
getList(String prefix) |
ServiceInterface[] |
getList(String prefix,
int level) |
ServiceInterface[] |
getList(String prefix,
String level) |
String[] |
getNames() |
String[] |
getNames(int level) |
String[] |
getNames(String prefix) |
String[] |
getNames(String prefix,
int level) |
String[] |
getNames(String prefix,
String level) |
ServiceInfo[] |
lookup(String name) |
ServiceInfo[] |
lookup(String name,
int level) |
ServiceInfo[] |
lookup(String name,
int level,
String host) |
ServiceInfo[] |
lookup(String name,
int level,
String host,
String instance) |
ServiceInfo[] |
lookup(String name,
int level,
String host,
String instance,
String ws) |
ServiceInfo[] |
lookup(String name,
String host) |
ServiceInfo[] |
lookup(String name,
String host,
String instance) |
ServiceInfo[] |
lookup(String name,
String host,
String instance,
String ws) |
static void |
main(String[] args) |
boolean |
modifyAlias(String type,
String name,
String target) |
boolean |
modifyService(Service S,
String type) |
static ServiceInfo |
parseQName(String qname) |
static String |
pr(String s) |
static String |
pr(String s,
boolean newline) |
ServiceInfo |
resolve(String name) |
ServiceInfo |
resolve(String name,
int level) |
ServiceInfo |
resolve(String name,
String host,
String ip,
String ws,
int level,
int inst) |
int[] |
serveon(String name) |
int[] |
serveon(String name,
String host,
int level,
int instance) |
static void |
smFrameAdd(VinciFrame v,
String tag,
String val) |
boolean |
updateService(Service S) |
public NameClient()
public NameClient(String host, int port)
public void configure(String host, int port)
public static ServiceInfo parseQName(String qname)
public ServiceInfo[] lookup(String name, int level, String host, String instance, String ws)
public ServiceInfo[] lookup(String name)
public ServiceInfo[] lookup(String name, int level)
public ServiceInfo[] lookup(String name, int level, String host)
public ServiceInfo[] lookup(String name, int level, String host, String instance)
public ServiceInfo[] lookup(String name, String host)
public ServiceInfo[] lookup(String name, String host, String instance)
public ServiceInfo[] lookup(String name, String host, String instance, String ws)
public ServiceInfo resolve(String name, String host, String ip, String ws, int level, int inst)
public static void smFrameAdd(VinciFrame v, String tag, String val)
public ServiceInfo resolve(String name, int level)
public ServiceInfo resolve(String name)
public ServiceInterface[] getList(String prefix, String level)
public ServiceInterface[] getList(String prefix, int level)
public ServiceInterface[] getList()
public ServiceInterface[] getList(String prefix)
public ServiceInterface[] getList(int level)
public String[] getNames()
public String[] getNames(int level)
public int getHits(String type)
public int getHits()
public org.apache.vinci.transport.vns.service.NameClient.HitsList getAllHits()
public boolean delService(Service S)
public boolean addService(Service S)
public boolean updateService(Service S)
public boolean delAlias(String name)
public int[] serveon(String name)
public static void main(String[] args)
Copyright © 2006–2014 The Apache Software Foundation. All rights reserved.