This project has retired. For details please refer to its Attic page.
Apache REEF: Org.Apache.REEF.Common.Tasks.TaskMessage Class Reference
Apache REEF  0.15.0
Retainable Evaluator Execution Framework
Static Public Member Functions | Properties | List of all members
Org.Apache.REEF.Common.Tasks.TaskMessage Class Reference

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, set]
 
- Properties inherited from Org.Apache.REEF.Utilities.IMessage
byte[] Message [get]
 Get Message payload More...
 

Member Function Documentation

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

From byte[] message to a TaskMessage

Parameters
messageSourceIdmessageSourceId The 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

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

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