Class IdentDaemon

java.lang.Object
  |
  +--IdentDaemon
All Implemented Interfaces:
java.lang.Runnable

public class IdentDaemon
extends java.lang.Object
implements java.lang.Runnable

This class is used to answer ident requests from the irc server according to the Identification Protocol. It will give each user a semi-unique ident, consisting of a hexadecimal representation of the IP address the user is connecting from.


Constructor Summary
IdentDaemon(java.util.Hashtable users)
          Creates and starts the ident service on port 113.
 
Method Summary
 void close()
          Used to stop the service.
 void run()
          Accepts incoming requests and creates handlers for them
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IdentDaemon

public IdentDaemon(java.util.Hashtable users)
            throws java.io.IOException
Creates and starts the ident service on port 113.
Parameters:
users - The table of active users and connections.
Method Detail

run

public void run()
Accepts incoming requests and creates handlers for them
Specified by:
run in interface java.lang.Runnable

close

public void close()
Used to stop the service.