Package | Description |
---|---|
org.apache.reef.wake.remote |
Wake's remote communication.
|
org.apache.reef.wake.remote.impl |
Implementations for Wake's remote communication.
|
Modifier and Type | Method and Description |
---|---|
RemoteIdentifier |
RemoteMessage.getIdentifier()
Returns a remote identifier of the sender.
|
RemoteIdentifier |
RemoteManager.getMyIdentifier()
Access the Identifier of this.
|
RemoteIdentifier |
RemoteIdentifierFactory.getNewInstance(String str)
Creates a RemoteIdentifier object.
|
Modifier and Type | Method and Description |
---|---|
<T> EventHandler<T> |
RemoteManager.getHandler(RemoteIdentifier destinationIdentifier,
Class<? extends T> messageType)
Returns an event handler that can be used to send messages of type T to the
given destination.
|
<T,U extends T> |
RemoteManager.registerHandler(RemoteIdentifier sourceIdentifier,
Class<U> messageType,
EventHandler<T> theHandler)
Registers the given EventHandler to be invoked when messages of Type T
arrive from sourceIdentifier.
|
Modifier and Type | Class and Description |
---|---|
class |
SocketRemoteIdentifier
Remote identifier based on a socket address.
|
Modifier and Type | Method and Description |
---|---|
RemoteIdentifier |
DefaultRemoteManagerImplementation.getMyIdentifier()
Returns my identifier.
|
RemoteIdentifier |
DefaultRemoteIdentifierFactoryImplementation.getNewInstance(String str) |
Modifier and Type | Method and Description |
---|---|
<T> EventHandler<T> |
DefaultRemoteManagerImplementation.getHandler(RemoteIdentifier destinationIdentifier,
Class<? extends T> messageType)
Returns a proxy event handler for a remote identifier and a message type.
|
<T,U extends T> |
DefaultRemoteManagerImplementation.registerHandler(RemoteIdentifier sourceIdentifier,
Class<U> messageType,
EventHandler<T> theHandler)
Registers an event handler for a remote identifier and a message type and.
|
Constructor and Description |
---|
ProxyEventHandler(RemoteIdentifier myId,
RemoteIdentifier remoteId,
String remoteSinkName,
EventHandler<RemoteEvent<T>> handler,
RemoteSeqNumGenerator seqGen)
Constructs a proxy event handler.
|
Constructor and Description |
---|
DefaultRemoteIdentifierFactoryImplementation(Map<String,Class<? extends RemoteIdentifier>> typeToClazzMap) |
Copyright © 2016 The Apache Software Foundation. All rights reserved.