public abstract class AbstractRemoteService extends Object implements RemoteService
Modifier and Type | Field and Description |
---|---|
protected CommandSenderProvider |
commandSenderProvider
Null until this service is initialized.
|
Constructor and Description |
---|
AbstractRemoteService() |
Modifier and Type | Method and Description |
---|---|
void |
initialize(CommandSenderProvider connectionProvider)
This method must be called before registering or using this service.
|
void |
start() |
void |
stop() |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
commandReceived, getManagedCommands
protected CommandSenderProvider commandSenderProvider
public void initialize(CommandSenderProvider connectionProvider)
initialize
in interface RemoteService
public void start()
start
in interface RemoteService
public void stop()
stop
in interface RemoteService