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 | getPercentDoneOfCurrentMessage()Get the percentage of the current message that has already been received (read from the transport).
|
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(com.aelitis.azureus.core.networkmanager.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.
|