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, waitcommandReceived, getManagedCommandsprotected CommandSenderProvider commandSenderProvider
public void initialize(CommandSenderProvider connectionProvider)
initialize in interface RemoteServicepublic void start()
start in interface RemoteServicepublic void stop()
stop in interface RemoteService