public final class JobMessage extends Object implements Message, Identifiable
Constructor and Description |
---|
JobMessage(String id,
byte[] value) |
Modifier and Type | Method and Description |
---|---|
byte[] |
get()
Get the message sent by the Job.
|
String |
getId()
Get the Identifier of the sending Job.
|
String |
toString() |
public JobMessage(String id, byte[] value)
id
- the identifier of the sending Jobvalue
- the messagepublic byte[] get()
public String getId()
getId
in interface Identifiable
Copyright © 2016 The Apache Software Foundation. All rights reserved.