This project has retired. For details please refer to its Attic page.
Apache REEF: Org.Apache.REEF.Network.NetworkService.NsMessage< T > Class Template Reference
Apache REEF  0.15.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

Create a new NsMessage with no data.

Parameters
sourceIdThe identifier of the sender
destIdThe identifier of the receiver
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

A list of data being sent in the message.

The identifier of the receiver of the message.

The identifier of the sender of the message.


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