public class GetBandwidthLimitsMessage extends I2CPMessageImpl
| Modifier and Type | Field and Description |
|---|---|
static int | MESSAGE_TYPEMESSAGE_TYPE. |
| Constructor and Description |
|---|
GetBandwidthLimitsMessage()Constructs a new GetBandwidthLimitsMessage. |
| Modifier and Type | Method and Description |
|---|---|
protected void | doReadMessage(InputStream in,
int size)Read the message from the stream. |
protected byte[] | doWriteMessage()doWriteMessage. |
int | getType()Type. |
String | toString()Returns a string representation of this message. |
readBytes, readMessage, readMessage, sessionId, writeBytes, writeMessagepublic static final int MESSAGE_TYPE
public GetBandwidthLimitsMessage()
protected void doReadMessage(InputStream in, int size) throws I2CPMessageException, IOException
doReadMessage in class I2CPMessageImplin - InputStreamsize - payload sizeI2CPMessageException - if the message format is invalidIOException - if there's an error reading from the streamprotected byte[] doWriteMessage()
throws I2CPMessageException,
IOExceptiondoWriteMessage in class I2CPMessageImplI2CPMessageException - if the message cannot be writtenIOException - if there's an error writing to the streampublic int getType()