Apache REEF  0.16.0
Retainable Evaluator Execution Framework
Static Public Member Functions | Properties | List of all members
Org.Apache.REEF.Common.Tasks.TaskMessage Class Reference

Task-side TaskMessage. More...

Inherits Org.Apache.REEF.Utilities.IMessage.

Static Public Member Functions

static TaskMessage From (string messageSourceId, byte[] message)
 From byte[] message to a TaskMessage More...
 

Properties

string MessageSourceId [get]
 
byte [] Message [get]
 
- Properties inherited from Org.Apache.REEF.Utilities.IMessage
byte [] Message [get]
 Get Message payload More...
 

Detailed Description

Task-side TaskMessage.

Member Function Documentation

◆ From()

static TaskMessage Org.Apache.REEF.Common.Tasks.TaskMessage.From ( string  messageSourceId,
byte []  message 
)
inlinestatic

From byte[] message to a TaskMessage

Parameters
messageSourceIdThe message's sourceID. This will be accessible in the Driver for routing
messageThe actual content of the message, serialized into a byte[]
Returns
a new TaskMessage with the given content

Property Documentation

◆ Message

byte [] Org.Apache.REEF.Common.Tasks.TaskMessage.Message
get

◆ MessageSourceId

string Org.Apache.REEF.Common.Tasks.TaskMessage.MessageSourceId
get

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