| Package | Description |
|---|---|
| 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.nio |
Socket (TCP/IP) and Datagram (UDP/IP) support based on Java
NIO (New I/O) API.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultFileRegion
TODO Add documentation
|
class |
FilenameFileRegion
TODO Add documentation
|
| Modifier and Type | Method and Description |
|---|---|
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. |
| Modifier and Type | Method and Description |
|---|---|
protected Class<FileRegion> |
FileRegionWriteFilter.getMessageClass() |
| Modifier and Type | Method and Description |
|---|---|
protected IoBuffer |
FileRegionWriteFilter.getNextBuffer(FileRegion fileRegion) |
| Modifier and Type | Method and Description |
|---|---|
protected int |
NioProcessor.transferFile(NioSession session,
FileRegion region,
int length) |
Copyright © 2004–2017 Apache MINA Project. All rights reserved.