public abstract class Server extends Participant
Modifier and Type | Class and Description |
---|---|
protected class |
Server.ServerStateActive |
protected class |
Server.ServerStateInactive |
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<java.lang.String,Method> |
methods |
Modifier | Constructor and Description |
---|---|
protected |
Server(Scope scope,
TransportFactory transportFactory,
PortConfiguration portConfig) |
protected |
Server(java.lang.String scope,
TransportFactory transportFactory,
PortConfiguration portConfig) |
Modifier and Type | Method and Description |
---|---|
void |
activate()
Activates all network resources that belong to a specific object.
|
void |
deactivate()
Deactivate all network resources that are owned by a specific object in
order to reactivate it.
|
java.util.Collection<Method> |
getMethods()
Return all methods of the server.
|
boolean |
isActive()
Tells wether this class is currently active or not.
|
getId, getRouter, getScope, getTransportFactory
protected final java.util.Map<java.lang.String,Method> methods
protected Server(Scope scope, TransportFactory transportFactory, PortConfiguration portConfig)
protected Server(java.lang.String scope, TransportFactory transportFactory, PortConfiguration portConfig)
public java.util.Collection<Method> getMethods()
public boolean isActive()
RSBObject
true
if activepublic void activate() throws InitializeException
RSBObject
InitializeException
public void deactivate()
RSBObject