Apache REEF  0.16.0
Retainable Evaluator Execution Framework
Public Member Functions | Properties | List of all members
Org.Apache.REEF.Network.NetworkService.NsMessage< T > Class Template Reference

Message sent between NetworkServices More...

Public Member Functions

 NsMessage (IIdentifier sourceId, IIdentifier destId)
 Create a new NsMessage with no data. More...
 
 NsMessage (IIdentifier sourceId, IIdentifier destId, T message)
 Create a new NsMessage with data. More...
 

Properties

IIdentifier SourceId [get]
 The identifier of the sender of the message. More...
 
IIdentifier DestId [get]
 The identifier of the receiver of the message. More...
 
List< T > Data [get]
 A list of data being sent in the message. More...
 

Detailed Description

Message sent between NetworkServices

Template Parameters
TThe type of data being sent

Constructor & Destructor Documentation

◆ NsMessage() [1/2]

Create a new NsMessage with no data.

Parameters
sourceIdThe identifier of the sender
destIdThe identifier of the receiver

◆ NsMessage() [2/2]

Org.Apache.REEF.Network.NetworkService.NsMessage< T >.NsMessage ( IIdentifier  sourceId,
IIdentifier  destId,
message 
)
inline

Create a new NsMessage with data.

Parameters
sourceIdThe identifier of the sender
destIdThe identifier of the receiver
messageThe message to send

Property Documentation

◆ Data

A list of data being sent in the message.

◆ DestId

The identifier of the receiver of the message.

◆ SourceId

The identifier of the sender of the message.


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