This project has retired. For details please refer to its Attic page.
Apache REEF: Org.Apache.REEF.Wake.Remote.ILink< T > Interface Template Reference
Apache REEF  0.15.0
Retainable Evaluator Execution Framework
Public Member Functions | Properties | List of all members
Org.Apache.REEF.Wake.Remote.ILink< T > Interface Template Reference

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...
 
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...
 

Detailed Description

Represents a link between two endpoints

Member Function Documentation

Reads the value from this link synchronously

Returns
The read data

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

Returns
The read data
Parameters
tokenThe cancellation token

Implemented in Org.Apache.REEF.Wake.Remote.Impl.Link< T >.

void Org.Apache.REEF.Wake.Remote.ILink< T >.Write ( value)

Writes the value to this link synchronously

Parameters
valueThe data to write

Implemented in Org.Apache.REEF.Wake.Remote.Impl.Link< T >.

Task Org.Apache.REEF.Wake.Remote.ILink< T >.WriteAsync ( value,
CancellationToken  token 
)

Writes the value to this link asynchronously

Parameters
valueThe data to write
tokenThe cancellation token

Implemented in Org.Apache.REEF.Wake.Remote.Impl.Link< T >.

Property Documentation

IPEndPoint Org.Apache.REEF.Wake.Remote.ILink< T >.LocalEndpoint
get

Returns the local socket address

IPEndPoint Org.Apache.REEF.Wake.Remote.ILink< T >.RemoteEndpoint
get

Returns the remote socket address


The documentation for this interface was generated from the following file: