public interface IRouterState
extends android.os.IInterface
| Modifier and Type | Interface and Description |
|---|---|
static class |
IRouterState.Stub
Local-side IPC implementation stub class.
|
| Modifier and Type | Method and Description |
|---|---|
State |
getState()
Get the state of the I2P router
|
boolean |
isStarted()
Determines whether the RouterService has been started.
|
void |
registerCallback(IRouterStateCallback cb)
This allows I2P to inform on state changes.
|
void |
unregisterCallback(IRouterStateCallback cb)
Remove registered callback interface.
|
void registerCallback(IRouterStateCallback cb) throws android.os.RemoteException
android.os.RemoteExceptionvoid unregisterCallback(IRouterStateCallback cb) throws android.os.RemoteException
android.os.RemoteExceptionboolean isStarted()
throws android.os.RemoteException
android.os.RemoteExceptionState getState() throws android.os.RemoteException
android.os.RemoteException