public abstract class LocalEndpoint extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
LocalEndpoint.Invocator
Used internally for invoking remote methods.
|
| Modifier | Constructor and Description |
|---|---|
protected |
LocalEndpoint(LocalEndpoint.Invocator invocator)
Creates a new
LocalEndpoint. |
| Modifier and Type | Method and Description |
|---|---|
MaritimeId |
getRemoteId()
Returns the id of the remote actor implementing the endpoint.
|
protected <T> EndpointInvocationFuture<T> |
invokeRemote(String endpoint,
Message parameters,
MessageSerializer<? extends Message> serializer,
ValueSerializer<T> resultParser)
Invoke a remote method.
|
protected LocalEndpoint(LocalEndpoint.Invocator invocator)
LocalEndpoint.invocator - an invocator supplied by the MMS implementation.public final MaritimeId getRemoteId()
protected final <T> EndpointInvocationFuture<T> invokeRemote(String endpoint, Message parameters, MessageSerializer<? extends Message> serializer, ValueSerializer<T> resultParser)
T - the type of result of the remote methodendpoint - the full name of the endpoint methodparameters - a message containing each parameterserializer - the serializer for serializing each parameterresultParser - a parser that is used to the parse the result from the remote actor.Copyright © 2012–2015 Danish Maritime Authority. All rights reserved.