org.relayirc.core
Class IdentServer

java.lang.Object
  extended by org.relayirc.core.IdentServer
All Implemented Interfaces:
java.lang.Runnable

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

Implements a "one-shot" ident authentication server.

On UNIX, objects of this class will not be able to create a ServerSocket on port 133 so it will fail. This is not a problem, because on UNIX users are expected to set up their own ident servers.


Constructor Summary
IdentServer(java.lang.String userName)
          Construct identity server for a specified user name.
 
Method Summary
 void printWarning()
           
 void run()
          Start running, service one ident request and then terminate.
 void stop()
          Try to stop ident server.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IdentServer

public IdentServer(java.lang.String userName)
Construct identity server for a specified user name.

Method Detail

stop

public void stop()
Try to stop ident server.


run

public void run()
Start running, service one ident request and then terminate.

Specified by:
run in interface java.lang.Runnable

printWarning

public void printWarning()