FileDocCategorySizeDatePackage
TorrentSessionListener.javaAPI DocAzureus 3.0.3.42833Thu Feb 09 19:42:52 GMT 2006com.aelitis.azureus.core.peermanager.download.session

TorrentSessionListener

public interface TorrentSessionListener

Fields Summary
Constructors Summary
Methods Summary
public voidreceivedSessionBitfield(org.gudy.azureus2.core3.util.DirectByteBuffer bitfield)
Received the given session bitfield from the peer.

param
bitfield received

public voidreceivedSessionCancel(int piece_number, int piece_offset, int length)
Received the given session piece request cancel info from the peer.

param
piece_number of request
param
piece_offset of request
param
length of request

public voidreceivedSessionHave(int piece_number)
Received the given session piece number have from the peer.

param
piece_number of have notify

public voidreceivedSessionPiece(int piece_number, int piece_offset, org.gudy.azureus2.core3.util.DirectByteBuffer data)
Received the given requested session piece data chunk from the peer

param
piece_number of chunk
param
piece_offset of chunk
param
data of piece chunk

public voidreceivedSessionRequest(byte unchoke_id, int piece_number, int piece_offset, int length)
Received the given session piece request info from the peer.

param
unchoke_id given when we unchoked the peer
param
piece_number of request
param
piece_offset of request
param
length of requested chunk

public voidsentSessionPiece(java.lang.Object piece_key)
The given session piece message has been sent to other peer.

param
piece_key representing session piece

public voidsessionIsEnded(java.lang.String reason)
Notification that the session has been remotely/internally ended.

param
reason for session end

public voidsessionIsEstablished()
Notification that the session is fully established.