Package org.restlet.engine.log
Class IdentClient
- java.lang.Object
-
- org.restlet.engine.log.IdentClient
-
public class IdentClient extends java.lang.ObjectSimple IDENT client. Follow the RFC 1413.
-
-
Field Summary
Fields Modifier and Type Field Description private static intCONNECT_TIMEOUTThe timeout while attempting to connect to the Ident server.private java.lang.StringhostTypeThe remote host type.private static intSO_TIMEOUTThe timeout while communicating with the Ident server.private java.lang.StringuserIdentifierThe user identifier.
-
Constructor Summary
Constructors Constructor Description IdentClient(java.lang.String clientAddress, int clientPort, int serverPort)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetHostType()Returns the remote host type.java.lang.StringgetUserIdentifier()Returns the user identifier.
-
-
-
Field Detail
-
CONNECT_TIMEOUT
private static final int CONNECT_TIMEOUT
The timeout while attempting to connect to the Ident server.- See Also:
- Constant Field Values
-
SO_TIMEOUT
private static final int SO_TIMEOUT
The timeout while communicating with the Ident server.- See Also:
- Constant Field Values
-
hostType
private volatile java.lang.String hostType
The remote host type.
-
userIdentifier
private volatile java.lang.String userIdentifier
The user identifier.
-
-