org.fossilec.odettej.monitor
Class ConnectionMonitor
java.lang.Object
org.fossilec.odettej.monitor.ConnectionMonitor
- All Implemented Interfaces:
- java.lang.Runnable
public class ConnectionMonitor
- extends java.lang.Object
- implements java.lang.Runnable
- Author:
- Rafael Marins
Constructor Summary |
ConnectionMonitor(java.nio.channels.SocketChannel client,
java.nio.channels.FileChannel logfile,
java.lang.String host,
int port,
int blockSize,
int readOctets)
|
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConnectionMonitor
public ConnectionMonitor(java.nio.channels.SocketChannel client,
java.nio.channels.FileChannel logfile,
java.lang.String host,
int port,
int blockSize,
int readOctets)
run
public void run()
- Specified by:
run
in interface java.lang.Runnable
stop
public void stop()
finalize
protected void finalize()
throws java.lang.Throwable
- Overrides:
finalize
in class java.lang.Object
- Throws:
java.lang.Throwable
doAccept
public void doAccept(java.nio.channels.Selector selector)
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 2005 ObjectWeb Consortium. All Rights Reserved.