anon.proxy
Interface IProxyListener

All Known Subinterfaces:
IJAPMainView, JAPObserver
All Known Implementing Classes:
AbstractJAPMainView, ConsoleJAPMainView, JAPController, JAPNewView

public interface IProxyListener


Field Summary
static int PROTOCOL_OTHER
           
static int PROTOCOL_WWW
           
 
Method Summary
 void channelsChanged(int channels)
           
 void transferedBytes(long bytes, int protocolType)
          Called if some bytes are transferred.
 

Field Detail

PROTOCOL_OTHER

static final int PROTOCOL_OTHER
See Also:
Constant Field Values

PROTOCOL_WWW

static final int PROTOCOL_WWW
See Also:
Constant Field Values
Method Detail

channelsChanged

void channelsChanged(int channels)

transferedBytes

void transferedBytes(long bytes,
                     int protocolType)
Called if some bytes are transferred.

Parameters:
bytes - either total amount or delta of transferred bytes
protocolType - the protocol to which the bytes are belonging