public class BrokerSpawnResult
extends java.lang.Object
implements java.io.Externalizable
| Modifier and Type | Field and Description |
|---|---|
private java.lang.Exception |
exception
On remote launch fail
|
private int |
exitCode
Exit code of spawned process
|
| Constructor and Description |
|---|
BrokerSpawnResult()
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Exception |
getException()
Get exception if any.
|
int |
getExitCode()
Get exit code.
|
void |
readExternal(java.io.ObjectInput in)
Replacement for the default object reading method.
|
void |
setException(java.lang.Exception exception)
Set Exception instance.
|
void |
setExitCode(int exitCode)
Set exit code.
|
void |
writeExternal(java.io.ObjectOutput out)
Replacement for the default object writing method.
|
private int exitCode
private java.lang.Exception exception
public int getExitCode()
public void setExitCode(int exitCode)
exitCode - Exit code.public java.lang.Exception getException()
null if none.public void setException(java.lang.Exception exception)
exception - Exception instance.public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
writeExternal in interface java.io.Externalizableout - The output destination to which fields will be saved.java.io.IOException - In case of I/O errors.public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface java.io.Externalizablein - Input source from which fields will be restored.java.io.IOException - In case of I/O errors.java.lang.ClassNotFoundException - If payload can't be instantiated.