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