|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hama.bsp.BSPMessage
org.apache.hama.bsp.ByteMessage
public class ByteMessage
A message that consists of a byte tag and a byte data.
Constructor Summary | |
---|---|
ByteMessage()
|
|
ByteMessage(byte[] tag,
byte[] data)
|
Method Summary | |
---|---|
byte[] |
getData()
|
byte[] |
getTag()
BSP messages are typically identified with tags. |
void |
readFields(java.io.DataInput in)
|
void |
write(java.io.DataOutput out)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ByteMessage()
public ByteMessage(byte[] tag, byte[] data)
Method Detail |
---|
public byte[] getTag()
BSPMessage
getTag
in class BSPMessage
public byte[] getData()
getData
in class BSPMessage
public void readFields(java.io.DataInput in) throws java.io.IOException
java.io.IOException
public void write(java.io.DataOutput out) throws java.io.IOException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |