org.relayirc.core
Class IdentServer

java.lang.Object
  |
  +--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.

Author:
David M. Johnson.

The contents of this file are subject to the Mozilla Public License Version 1.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.mozilla.org/MPL/

Original Code: Relay IRC Chat Server
Initial Developer: David M. Johnson
Contributor(s): No contributors to this file
Copyright (C) 1997-2000 by David M. Johnson
All Rights Reserved.

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()