public static interface LocalEndpoint.Invocator
| Modifier and Type | Method and Description |
|---|---|
MaritimeId |
getRemote()
Returns the id of the remote party publishing the endpoint.
|
<T> EndpointInvocationFuture<T> |
invokeRemote(String endpoint,
Message parameters,
MessageSerializer<? extends Message> parameterSerializer,
ValueSerializer<T> resultSerializer) |
MaritimeId getRemote()
<T> EndpointInvocationFuture<T> invokeRemote(String endpoint, Message parameters, MessageSerializer<? extends Message> parameterSerializer, ValueSerializer<T> resultSerializer)
T - the type of result of the remote methodendpoint - the name of the endpointparameters - an optional list of parameters to the methodparameterSerializer - serializer for parametersresultSerializer - the serializer used for the resultCopyright © 2012–2015 Danish Maritime Authority. All rights reserved.