public abstract class AbstractFileHandler extends AbstractStreamHandler
| Modifier and Type | Field and Description |
|---|---|
protected static int |
BUFFER_SIZE |
protected DefaultSessionConfig |
config |
protected RandomAccessFile |
file |
protected FileChannel |
fileChannel |
protected long |
fileLength |
protected static AllocatorMetric |
METRIC |
protected SocketAddress |
remoteAddress |
protected long |
startTime |
| Modifier and Type | Method and Description |
|---|---|
void |
event(SessionEvent event) |
ISessionConfig |
getConfig() |
ISessionStructureFactory |
getFactory() |
available, available, getSession, setSessionevent, exception, getName, incident, read, read, timer, timerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitevent, exception, getName, incident, read, read, read, timer, timerread, readprotected static final int BUFFER_SIZE
protected static final AllocatorMetric METRIC
protected final DefaultSessionConfig config
protected RandomAccessFile file
protected FileChannel fileChannel
protected long fileLength
protected SocketAddress remoteAddress
protected long startTime
public void event(SessionEvent event)
event in interface IHandlerevent in class AbstractHandlerpublic ISessionConfig getConfig()
getConfig in interface IHandlergetConfig in class AbstractHandlerpublic ISessionStructureFactory getFactory()
getFactory in interface IHandlergetFactory in class AbstractHandlerCopyright © 2017–2024 SNF4J.ORG. All rights reserved.