public class UnknownState extends State
Constructor and Description |
---|
UnknownState(State prevState) |
Modifier and Type | Method and Description |
---|---|
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).
|
getbufferSize, sendOK, sendOKWithResult
public UnknownState(State prevState)
public void handleState(java.io.DataInputStream dis, java.io.DataOutputStream dos, Context context) throws java.io.IOException
State
handleState
in class State
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 error