org.jmythapi.protocol.response
Interface ITransferable<E extends Enum<E>>
- All Superinterfaces:
- Cloneable, Closeable, IPropertyAware<E>, IVersionable
- All Known Subinterfaces:
- IFileTransfer, IRingBuffer
- All Known Implementing Classes:
- FileTransfer, RingBuffer
public interface ITransferable<E extends Enum<E>>
- extends Closeable, IVersionable, IPropertyAware<E>
Methods inherited from interface org.jmythapi.IPropertyAware |
getProperties, getProperty, getPropertyClass, getPropertyCount, getPropertyIndex, getPropertyMap, getPropertyValue, getPropertyValue, getPropertyValueObject, getPropertyValues, setPropertyValue, setPropertyValue, setPropertyValueObject |
readBlock
int readBlock(byte[] buffer,
int requestedSize)
throws IOException
- Throws:
IOException
seek
long seek(long currentPos,
long newPos,
ITransferable.Seek whence)
throws IOException
- Throws:
IOException
isOpen
boolean isOpen()
throws IOException
- Throws:
IOException
done
boolean done()
throws IOException
- Throws:
IOException
close
void close()
throws IOException
- Specified by:
close
in interface Closeable
- Throws:
IOException
Copyright © 2008-2013. All Rights Reserved.