| Package | Description |
|---|---|
| net.maritimecloud.message |
Provides classes for serializing and deserializing messages.
|
| net.maritimecloud.net |
Provides commonly used classes for communicating with remote actors on the maritime cloud.
|
| net.maritimecloud.util.geometry |
Contains geometry based utility classes.
|
| Modifier and Type | Class and Description |
|---|---|
class |
MessageSerializer<T extends Message>
A message serializer takes care of persisting and retrieving
messages. |
| Modifier and Type | Method and Description |
|---|---|
static <T extends Message> |
MessageSerializer.readFromJSON(MessageSerializer<T> parser,
CharSequence cs) |
<T extends Message> |
MessageReader.readMessage(int tag,
String name,
MessageSerializer<T> parser) |
<T extends Message> |
ValueReader.readMessage(MessageSerializer<T> parser) |
<T extends Message> |
MessageWriter.writeMessage(int tag,
String name,
T message,
MessageSerializer<T> serializer)
Writes the specified message if it is non-null.
|
<T extends Message> |
ValueWriter.writeMessage(T message,
MessageSerializer<T> serializer)
Writes the specified message if it is non-null.
|
static <T extends Message> |
MessageSerializer.writeToJSON(T message,
MessageSerializer<T> serializer) |
static <T extends Message> |
MessageSerializer.writeToJSON(T message,
MessageSerializer<T> serializer,
Writer w) |
| Modifier and Type | Method and Description |
|---|---|
Message |
Message.immutable()
Returns an immutable copy of this message.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
BroadcastMessage
A special type of
Message that can be broadcast. |
| Modifier and Type | Method and Description |
|---|---|
protected <T> EndpointInvocationFuture<T> |
LocalEndpoint.invokeRemote(String endpoint,
Message parameters,
MessageSerializer<? extends Message> serializer,
ValueSerializer<T> resultParser)
Invoke a remote method.
|
<T> EndpointInvocationFuture<T> |
LocalEndpoint.Invocator.invokeRemote(String endpoint,
Message parameters,
MessageSerializer<? extends Message> parameterSerializer,
ValueSerializer<T> resultSerializer) |
| Modifier and Type | Method and Description |
|---|---|
protected <T> EndpointInvocationFuture<T> |
LocalEndpoint.invokeRemote(String endpoint,
Message parameters,
MessageSerializer<? extends Message> serializer,
ValueSerializer<T> resultParser)
Invoke a remote method.
|
<T> EndpointInvocationFuture<T> |
LocalEndpoint.Invocator.invokeRemote(String endpoint,
Message parameters,
MessageSerializer<? extends Message> parameterSerializer,
ValueSerializer<T> resultSerializer) |
| Modifier and Type | Class and Description |
|---|---|
class |
Area
A shape has an area
|
class |
Circle
A circle
|
class |
Ellipse
This class holds the defining parameters for en ellipse.
|
class |
Polygon
A polygon consisting of multiple points.
|
class |
Position
Representation of a WGS84 position and methods for calculating range and bearing between positions.
|
class |
PositionTime
A position couple with a timestamp.
|
class |
Rectangle |
Copyright © 2012–2015 Danish Maritime Authority. All rights reserved.