org.gudy.azureus2.pluginsimpl.local.disk
Class DiskManagerChannelImpl.request.event

java.lang.Object
  extended by org.gudy.azureus2.pluginsimpl.local.disk.DiskManagerChannelImpl.request.event
All Implemented Interfaces:
DiskManagerEvent
Enclosing class:
DiskManagerChannelImpl.request

protected class DiskManagerChannelImpl.request.event
extends Object
implements DiskManagerEvent


Field Summary
 
Fields inherited from interface org.gudy.azureus2.plugins.disk.DiskManagerEvent
EVENT_TYPE_BLOCKED, EVENT_TYPE_FAILED, EVENT_TYPE_SUCCESS
 
Constructor Summary
protected DiskManagerChannelImpl.request.event(long _offset)
           
protected DiskManagerChannelImpl.request.event(PooledByteBuffer _buffer, long _offset, int _length)
           
protected DiskManagerChannelImpl.request.event(Throwable _error)
           
 
Method Summary
 PooledByteBuffer getBuffer()
           
 Throwable getFailure()
           
 int getLength()
           
 long getOffset()
           
 DiskManagerRequest getRequest()
           
 int getType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DiskManagerChannelImpl.request.event

protected DiskManagerChannelImpl.request.event(Throwable _error)

DiskManagerChannelImpl.request.event

protected DiskManagerChannelImpl.request.event(long _offset)

DiskManagerChannelImpl.request.event

protected DiskManagerChannelImpl.request.event(PooledByteBuffer _buffer,
                                               long _offset,
                                               int _length)
Method Detail

getType

public int getType()
Specified by:
getType in interface DiskManagerEvent

getRequest

public DiskManagerRequest getRequest()

getOffset

public long getOffset()
Specified by:
getOffset in interface DiskManagerEvent

getLength

public int getLength()
Specified by:
getLength in interface DiskManagerEvent

getBuffer

public PooledByteBuffer getBuffer()
Specified by:
getBuffer in interface DiskManagerEvent

getFailure

public Throwable getFailure()
Specified by:
getFailure in interface DiskManagerEvent