Interface | Description |
---|---|
AppLibLifecycleListener |
Listener to get notifications about lifecycle state changes for an
AppLib instance. |
AppLibListener | Deprecated
AppLibLifecycleListener should be used instead of
AppLibListener.connected(fi.tkk.netlab.dtn.scampi.applib.AppLib) and AppLibListener.error(fi.tkk.netlab.dtn.scampi.applib.AppLib, java.lang.Exception) . |
HostDiscoveryCallback |
Callback for host discovery messages.
|
LocationUpdateCallback |
Callback for receiving updates when the Scampi middleware's location
changes.
|
MapTileUpdateCallback | Deprecated
currently non-functional.
|
MessageReceivedCallback |
Invoked when the
AppLib receives a message to a service that this
callback is registered to. |
PublishDoneCallback |
Callback to receive notification when
AppLib.publish() has succeeded. |
Class | Description |
---|---|
AppLib |
Client side for the API protocol.
|
AppLib.Builder |
Builder for constructing
AppLib instances. |
SCAMPIMessage |
Message format used in Scampi networking.
|
SCAMPIMessage.Builder |
Builder for constructing
SCAMPIMessage instances. |
Enum | Description |
---|---|
AppLib.State |
Lifecycle state of the
AppLib . |
Exception | Description |
---|---|
ApiException |
Exception thrown by the public APIs of the AppLib and SCAMPIMessage.
|
AppLib.LifecycleStateViolationException |
If a call to a method violates the lifecycle contract.
|
Scampi API implementation for Java. This package exposes the public API for developers to interact with the Scampi middleware instances. API is built on top of a local TCP connection between the API instance and the Scampi middleware instance.
AppLib
serves as the application
side endpoint for the API connection. It handles the lifecycle and exposes
methods for interacting with the middleware instance.
SCAMPIMessage
is the application
data unit that can be sent and received using the Scampi platform.