Methods Summary |
---|
public void | endSession(java.lang.String reason)Terminate torrent session.
|
public void | sendSessionBitfield(DirectByteBuffer bitfield)Send the given session bitfield to the peer.
|
public void | sendSessionCancel(int piece_number, int piece_offset, int length)Send the given session piece request cancel info to the peer.
|
public void | sendSessionHave(int[] piece_numbers)Send the given session piece number haves to the peer.
|
public java.lang.Object | sendSessionPiece(int piece_number, int piece_offset, DirectByteBuffer data)Send the given requested session piece data chunk to the peer
|
public void | sendSessionRequest(byte unchoke_id, int piece_number, int piece_offset, int length)Send the given session piece request info to the peer.
|