public class RpcFloodWait extends ProtoStruct
| Modifier and Type | Field and Description |
|---|---|
static byte |
HEADER |
| Constructor and Description |
|---|
RpcFloodWait(java.io.InputStream stream) |
RpcFloodWait(int delay) |
| Modifier and Type | Method and Description |
|---|---|
int |
getDelay() |
protected byte |
getHeader() |
int |
getLength() |
protected void |
readBody(java.io.InputStream bs) |
protected void |
writeBody(java.io.OutputStream bs) |
readObject, writeObjecttoByteArraypublic static final byte HEADER
public RpcFloodWait(java.io.InputStream stream)
throws java.io.IOException
java.io.IOExceptionpublic RpcFloodWait(int delay)
public int getDelay()
public int getLength()
getLength in class ProtoObjectprotected byte getHeader()
getHeader in class ProtoStructprotected void writeBody(java.io.OutputStream bs)
throws java.io.IOException
writeBody in class ProtoStructjava.io.IOExceptionprotected void readBody(java.io.InputStream bs)
throws java.io.IOException
readBody in class ProtoStructjava.io.IOException