public abstract class State
extends java.lang.Object
| Constructor and Description |
|---|
State() |
| Modifier and Type | Method and Description |
|---|---|
protected int |
getbufferSize() |
abstract void |
handleState(java.io.DataInputStream dis,
java.io.DataOutputStream dos,
Context context)
Main method that gets called when the state should perform its action(s).
|
protected void |
sendOK(java.io.DataOutputStream dos) |
protected void |
sendOKWithResult(java.io.DataOutputStream dos,
java.lang.String result) |
protected int getbufferSize()
public abstract void handleState(java.io.DataInputStream dis,
java.io.DataOutputStream dos,
Context context)
throws java.io.IOException,
CORBAFileServerException
dis - an InputStream for reading datados - an OutputStream for writing datacontext - the Context of the whole commandjava.io.IOException - thrown if the method ran into an errorCORBAFileServerException - thrown if an exception from the CFS is registeredprotected void sendOK(java.io.DataOutputStream dos)
throws java.io.IOException
java.io.IOExceptionprotected void sendOKWithResult(java.io.DataOutputStream dos,
java.lang.String result)
throws java.io.IOException
java.io.IOException