public class I2CPMessageHandler
extends java.lang.Object
修飾子とタイプ | フィールド | 説明 |
---|---|---|
static int |
MAX_LENGTH |
This is huge.
|
コンストラクタ | 説明 |
---|---|
I2CPMessageHandler() |
修飾子とタイプ | メソッド | 説明 |
---|---|---|
static I2CPMessage |
readMessage(java.io.InputStream in) |
Read an I2CPMessage from the stream and return the fully populated object.
|
public static final int MAX_LENGTH
public static I2CPMessage readMessage(java.io.InputStream in) throws java.io.IOException, I2CPMessageException
in
- I2CP input streamjava.io.IOException
- if there is an IO problem reading from the streamI2CPMessageException
- if there is a problem handling the particular
message - if it is an unknown type or has improper formatting, etc.