|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectFlapCommand
FlapErrorCmd
A FLAP command sent when a FLAP-level error occurs.
Field Summary | |
static int |
CHANNEL_ERROR
The FLAP channel where FLAP error commands live. |
Constructor Summary | |
protected |
FlapErrorCmd(FlapPacket packet)
Generates a new FLAP error command from the given incoming FLAP packet. |
|
FlapErrorCmd(int code)
Creates a new outgoing FLAP error command with the given error code. |
Method Summary | |
int |
getErrorCode()
Returns the error code sent in this FLAP error command. |
java.lang.String |
toString()
|
void |
writeData(java.io.OutputStream out)
Writes this command's FLAP data to the given stream. |
Methods inherited from class FlapCommand |
getChannel |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int CHANNEL_ERROR
Constructor Detail |
protected FlapErrorCmd(FlapPacket packet)
packet
- an incoming FLAP error packetpublic FlapErrorCmd(int code)
code
- the error code to send in this FLAP error commandMethod Detail |
public final int getErrorCode()
public void writeData(java.io.OutputStream out) throws java.io.IOException
FlapCommand
writeData
in class FlapCommand
out
- the stream to which the FLAP data should be written
java.io.IOException
- if an I/O error occurspublic java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |