handleState
public void handleState(java.io.DataInputStream dis,
java.io.DataOutputStream dos,
Context context)
throws java.io.IOException,
CORBAFileServerException
Description copied from class: State
Main method that gets called when the state should perform its action(s).
Will be called only once. The implementation should know wether it has to
use the InputStream and/or the OutputStream.
- Specified by:
handleState in class State
- Parameters:
dis - an InputStream for reading datados - an OutputStream for writing datacontext - the Context of the whole command
- Throws:
java.io.IOException - thrown if the method ran into an error
CORBAFileServerException - thrown if an exception from the CFS is registered