- All Superinterfaces:
WritableMessage
- All Known Implementing Classes:
FileTransfer
-
Method Summary
Modifier and TypeMethodDescriptionlongTransfers the File region backing thisFileRegionto the specifiedWritableByteChannel.Methods inherited from interface org.glassfish.grizzly.asyncqueue.WritableMessage
hasRemaining, isExternal, release, remaining
-
Method Details
-
writeTo
Transfers the File region backing thisFileRegionto the specifiedWritableByteChannel.- Parameters:
c- theWritableByteChannel- Returns:
- the number of bytes that have been transferred
- Throws:
IOException- if an error occurs while processing- See Also:
-