com.noelios.restlet.util
Class IdentClient

java.lang.Object
  extended by com.noelios.restlet.util.IdentClient

public class IdentClient
extends Object

Simple IDENT client. Follow the RFC 1413.

Author:
Jerome Louvel (contact@noelios.com)

Constructor Summary
IdentClient(Logger logger, String clientAddress, int clientPort, int serverPort)
          Constructor.
 
Method Summary
 String getHostType()
          Returns the remote host type.
 String getUserIdentifier()
          Returns the user identifier.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IdentClient

public IdentClient(Logger logger,
                   String clientAddress,
                   int clientPort,
                   int serverPort)
Constructor.

Parameters:
clientAddress - The client IP address.
clientPort - The client port (remote).
serverPort - The server port (local).
Method Detail

getHostType

public String getHostType()
Returns the remote host type.

Returns:
The remote host type.

getUserIdentifier

public String getUserIdentifier()
Returns the user identifier.

Returns:
The user identifier.


Copyright © 2005-2007 Noelios Technologies.