public class WorkDataResponse extends ResponsePacket implements WorkResponse
| Modifier and Type | Field and Description |
|---|---|
byte[] |
data |
AtomicReference<String> |
jobHandle |
| Constructor and Description |
|---|
WorkDataResponse(byte[] pktdata) |
WorkDataResponse(String jobhandle,
byte[] data) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getData() |
String |
getJobHandle() |
int |
getPayloadSize() |
byte[] |
toByteArray() |
getMagicconcatByteArrays, getHeader, getSize, getType, parseString, stringsToTerminatedByteArray, stringsToTerminatedByteArray, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetTypepublic AtomicReference<String> jobHandle
public byte[] data
public WorkDataResponse(String jobhandle, byte[] data)
public WorkDataResponse(byte[] pktdata)
public byte[] toByteArray()
toByteArray in class Packetpublic String getJobHandle()
getJobHandle in interface WorkResponsepublic int getPayloadSize()
getPayloadSize in class Packetpublic byte[] getData()
Copyright © 2013. All Rights Reserved.