org.tranche.remote
Class StatusTableCallback
java.lang.Object
org.tranche.commons.Debuggable
org.tranche.remote.RemoteCallback
org.tranche.remote.StatusTableCallback
public class StatusTableCallback
- extends RemoteCallback
- Author:
- James "Augie" Hill - augman85@gmail.com
|
Field Summary |
static java.lang.String |
NAME
|
| Methods inherited from class org.tranche.remote.RemoteCallback |
getCachedException, getDescription, getID, getName, getPurgeMsg, getRemoteTrancheServer, getTimeCompleted, getTimeStarted, isComplete, isPurged, keepAlive, notifyTimedOut, notifyWaiting, purge, setCachedException, waitForCallback |
| Methods inherited from class org.tranche.commons.Debuggable |
debugErr, debugErr, debugOut, isDebug, setDebug |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NAME
public static final java.lang.String NAME
- See Also:
- Constant Field Values
StatusTableCallback
public StatusTableCallback(long id,
RemoteTrancheServer rts,
java.lang.String description)
- Parameters:
id - rts - description -
getResponse
public StatusTable getResponse()
throws java.lang.Exception
- Returns:
-
- Throws:
java.lang.Exception
callback
public void callback(byte[] bytes)
- Description copied from class:
RemoteCallback
Method to be implemented.
- Specified by:
callback in class RemoteCallback
- Parameters:
bytes -
writeResponse
public static void writeResponse(byte[] statusTable,
java.io.OutputStream out)
throws java.lang.Exception
- Parameters:
statusTable - out -
- Throws:
java.lang.Exception
This code is free for use both commercially and non-commercially as stated in the project's license