public class ServiceManager
extends java.lang.Object
ServiceServer
s and ServiceClient
s.Constructor and Description |
---|
ServiceManager() |
Modifier and Type | Method and Description |
---|---|
void |
addClient(DefaultServiceClient<?,?> serviceClient) |
void |
addServer(DefaultServiceServer<?,?> serviceServer) |
DefaultServiceClient<?,?> |
getClient(GraphName name) |
java.util.List<DefaultServiceClient<?,?>> |
getClients() |
DefaultServiceServer<?,?> |
getServer(GraphName name) |
java.util.List<DefaultServiceServer<?,?>> |
getServers() |
boolean |
hasClient(GraphName name) |
boolean |
hasServer(GraphName name) |
void |
removeClient(DefaultServiceClient<?,?> serviceClient) |
void |
removeServer(DefaultServiceServer<?,?> serviceServer) |
void |
setListener(ServiceManagerListener listener) |
public void setListener(ServiceManagerListener listener)
public boolean hasServer(GraphName name)
public void addServer(DefaultServiceServer<?,?> serviceServer)
public void removeServer(DefaultServiceServer<?,?> serviceServer)
public DefaultServiceServer<?,?> getServer(GraphName name)
public boolean hasClient(GraphName name)
public void addClient(DefaultServiceClient<?,?> serviceClient)
public void removeClient(DefaultServiceClient<?,?> serviceClient)
public DefaultServiceClient<?,?> getClient(GraphName name)
public java.util.List<DefaultServiceServer<?,?>> getServers()
public java.util.List<DefaultServiceClient<?,?>> getClients()