org.fossilec.odettej.monitor
Class ConnectionMonitor

java.lang.Object
  extended by 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)
           
 
Method Summary
 void doAccept(java.nio.channels.Selector selector)
           
protected  void finalize()
           
 void run()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectionMonitor

public ConnectionMonitor(java.nio.channels.SocketChannel client,
                         java.nio.channels.FileChannel logfile,
                         java.lang.String host,
                         int port,
                         int blockSize,
                         int readOctets)
Method Detail

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.