Apache REEF
0.15.0
Retainable Evaluator Execution Framework
|
Represents a link between two endpoints More...
Inherits IDisposable.
Inherited by Org.Apache.REEF.Wake.Remote.Impl.Link< T >, and Org.Apache.REEF.Wake.Remote.Impl.StreamingLink< T >.
Public Member Functions | |
Task | WriteAsync (T value, CancellationToken token) |
Writes the value to this link asynchronously More... | |
void | Write (T value) |
Writes the value to this link synchronously More... | |
Task< T > | ReadAsync (CancellationToken token) |
Reads the value from this link asynchronously More... | |
T | Read () |
Reads the value from this link synchronously More... | |
Properties | |
IPEndPoint | LocalEndpoint [get] |
Returns the local socket address More... | |
IPEndPoint | RemoteEndpoint [get] |
Returns the remote socket address More... | |
Represents a link between two endpoints
T Org.Apache.REEF.Wake.Remote.ILink< T >.Read | ( | ) |
Reads the value from this link synchronously
Implemented in Org.Apache.REEF.Wake.Remote.Impl.Link< T >.
Task<T> Org.Apache.REEF.Wake.Remote.ILink< T >.ReadAsync | ( | CancellationToken | token | ) |
Reads the value from this link asynchronously
token | The cancellation token |
Implemented in Org.Apache.REEF.Wake.Remote.Impl.Link< T >.
void Org.Apache.REEF.Wake.Remote.ILink< T >.Write | ( | T | value | ) |
Writes the value to this link synchronously
value | The data to write |
Implemented in Org.Apache.REEF.Wake.Remote.Impl.Link< T >.
Task Org.Apache.REEF.Wake.Remote.ILink< T >.WriteAsync | ( | T | value, |
CancellationToken | token | ||
) |
Writes the value to this link asynchronously
value | The data to write |
token | The cancellation token |
Implemented in Org.Apache.REEF.Wake.Remote.Impl.Link< T >.
|
get |
Returns the local socket address
|
get |
Returns the remote socket address