Action.Unknown
Constructor and Description |
---|
Unknown()
Create a special Action for Unknown Actions, with actioncode 0.
|
Unknown(int actionCode)
Create a special Action for Unknown Actions, with given action code.
|
Modifier and Type | Method and Description |
---|---|
Action |
read(int actionCode,
TaggedInputStream input,
int length)
Read an action from the input, with given actioncode and length
|
String |
toString() |
void |
write(int actionCode,
TaggedOutputStream output)
Write an action to output
|
public Unknown()
public Unknown(int actionCode)
actionCode
- code to be used for Unknown Action.public Action read(int actionCode, TaggedInputStream input, int length) throws IOException
Action
read
in class Action
actionCode
- decoded actionCodeinput
- input to read fromlength
- length to readIOException
- if read failspublic void write(int actionCode, TaggedOutputStream output) throws IOException
Action
write
in class Action
actionCode
- actionCode to use for this actionoutput
- output to write toIOException
- if write failsCopyright © 2016. All rights reserved.