com.aelitis.azureus.plugins.net.buddy
Class BuddyPluginBuddy.fragmentHandler

java.lang.Object
  extended by com.aelitis.azureus.plugins.net.buddy.BuddyPluginBuddy.fragmentHandler
All Implemented Interfaces:
GenericMessageConnectionListener
Enclosing class:
BuddyPluginBuddy

protected class BuddyPluginBuddy.fragmentHandler
extends Object
implements GenericMessageConnectionListener


Nested Class Summary
protected  class BuddyPluginBuddy.fragmentHandler.fragmentAssembly
           
 
Constructor Summary
protected BuddyPluginBuddy.fragmentHandler(GenericMessageConnection _connection, com.aelitis.azureus.plugins.net.buddy.BuddyPluginBuddy.fragmentHandlerReceiver _receiver)
           
 
Method Summary
protected  void close()
           
 void connected(GenericMessageConnection connection)
           
 void failed(GenericMessageConnection connection, Throwable error)
           
protected  String getString()
           
 void receive(GenericMessageConnection connection, PooledByteBuffer message)
           
protected  void send(Map data_map, boolean is_request, boolean record_active)
           
 void start()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BuddyPluginBuddy.fragmentHandler

protected BuddyPluginBuddy.fragmentHandler(GenericMessageConnection _connection,
                                           com.aelitis.azureus.plugins.net.buddy.BuddyPluginBuddy.fragmentHandlerReceiver _receiver)
Method Detail

start

public void start()

connected

public void connected(GenericMessageConnection connection)
Specified by:
connected in interface GenericMessageConnectionListener

failed

public void failed(GenericMessageConnection connection,
                   Throwable error)
            throws MessageException
Specified by:
failed in interface GenericMessageConnectionListener
Throws:
MessageException

send

protected void send(Map data_map,
                    boolean is_request,
                    boolean record_active)
             throws BuddyPluginException
Throws:
BuddyPluginException

receive

public void receive(GenericMessageConnection connection,
                    PooledByteBuffer message)
             throws MessageException
Specified by:
receive in interface GenericMessageConnectionListener
Throws:
MessageException

close

protected void close()

getString

protected String getString()