Methods Summary |
---|
public java.nio.ByteBuffer | destroy()Destroy this decoder, i.e. perform cleanup.
|
public int | getDataBytesDecoded()Get the number of (piece) data bytes decoded from the transport, from the last decode op.
|
public int | getProtocolBytesDecoded()Get the number of protocol (overhead) bytes decoded from the transport, from the last decode op.
|
public void | pauseDecoding()Pause message decoding.
|
public int | performStreamDecode(org.gudy.azureus2.plugins.network.Transport transport, int max_bytes)Decode message stream from the given transport.
|
public Message[] | removeDecodedMessages()Get the messages decoded from the transport, if any, from the last decode op.
|
public void | resumeDecoding()Resume message decoding.
|