Uses of Interface
org.apache.mina.core.file.FileRegion

Packages that use FileRegion
org.apache.mina.core.file   
org.apache.mina.core.polling Base class for implementing transport based on active polling strategies like NIO select call, or any API based on I/O polling system calls (epoll, poll, select, kqueue, etc). 
org.apache.mina.filter.stream Stream based IoFilter implementation. 
org.apache.mina.transport.socket.apr   
org.apache.mina.transport.socket.nio Socket (TCP/IP) and Datagram (UDP/IP) support based on Java NIO (New I/O) API
 

Uses of FileRegion in org.apache.mina.core.file
 

Classes in org.apache.mina.core.file that implement FileRegion
 class DefaultFileRegion
          TODO Add documentation
 class FilenameFileRegion
          TODO Add documentation
 

Uses of FileRegion in org.apache.mina.core.polling
 

Methods in org.apache.mina.core.polling with parameters of type FileRegion
protected abstract  int AbstractPollingIoProcessor.transferFile(S session, FileRegion region, int length)
          Write a part of a file to a IoSession, if the underlying API isn't supporting system calls like sendfile(), you can throw a UnsupportedOperationException so the file will be send using usual AbstractPollingIoProcessor.write(AbstractIoSession, IoBuffer, int) call.
 

Uses of FileRegion in org.apache.mina.filter.stream
 

Methods in org.apache.mina.filter.stream that return types with arguments of type FileRegion
protected  java.lang.Class<FileRegion> FileRegionWriteFilter.getMessageClass()
           
 

Methods in org.apache.mina.filter.stream with parameters of type FileRegion
protected  IoBuffer FileRegionWriteFilter.getNextBuffer(FileRegion fileRegion)
           
 

Uses of FileRegion in org.apache.mina.transport.socket.apr
 

Methods in org.apache.mina.transport.socket.apr with parameters of type FileRegion
protected  int AprIoProcessor.transferFile(AprSession session, FileRegion region, int length)
          Write a part of a file to a IoSession, if the underlying API isn't supporting system calls like sendfile(), you can throw a UnsupportedOperationException so the file will be send using usual AbstractPollingIoProcessor.write(AbstractIoSession, IoBuffer, int) call.
 

Uses of FileRegion in org.apache.mina.transport.socket.nio
 

Methods in org.apache.mina.transport.socket.nio with parameters of type FileRegion
protected  int NioProcessor.transferFile(NioSession session, FileRegion region, int length)
           
 



Copyright © 2004-2011 Apache MINA Project. All Rights Reserved.