|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Thread
com.vwp.net.irc.Ident
public class Ident
A simple IdentServer which provides a means to determine the identity of a user of a particular TCP connection. Most IRC servers attempt to contact the ident server on connecting hosts in order to determine the user's identity. Some IRC servers will not allow you to connect unless this information is provided. An instance of this class can be used to start up an ident server only if it is possible to do so. Reasons for not being able to do so are if there is already an ident server running on port 113, or if you are running as an unprivileged user who is unable to create a server socket with that port number.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.lang.Thread |
|---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
| Field Summary |
|---|
| Fields inherited from class java.lang.Thread |
|---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
|---|---|
Ident(MessagePipe MsgPipe,
java.lang.String LoginName)
Constructs and starts an instance of an IdentServer that responds to a client with the provided LoginName. |
|
| Method Summary | |
|---|---|
void |
run()
Waits for a client to connect to the ident server before making a response. |
| Methods inherited from class java.lang.Thread |
|---|
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Ident(MessagePipe MsgPipe,
java.lang.String LoginName)
MsgPipe - the MessagePipe used for communicationLoginName - the required LoginName for the identification| Method Detail |
|---|
public void run()
run in interface java.lang.Runnablerun in class java.lang.Thread
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||