Class StorageServiceEventAdaptor

java.lang.Object
org.jets3t.service.multi.StorageServiceEventAdaptor
All Implemented Interfaces:
StorageServiceEventListener
Direct Known Subclasses:
S3ServiceEventAdaptor

public class StorageServiceEventAdaptor extends Object implements StorageServiceEventListener
Simple implementation of StorageServiceEventListener to listen for events produced by ThreadedStorageService.

By default this adaptor does nothing but store the first Error event it comes across, if any, and make it available through getErrorThrown().

The behaviour of this class can be specialised by over-riding the appropriate event methods, though always be sure to call the super version of these methods if you are relying on the default error-trapping functions of this class.

Author:
James Murty