|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--irc.IRCObject
|
+--irc.ident.prv.IdentServer
The built-in pjirc ident server.
| Field Summary |
| Fields inherited from class irc.IRCObject |
_ircConfiguration |
| Constructor Summary | |
IdentServer(IRCConfiguration config)
Create a new IdentServer. |
|
| Method Summary | |
void |
addIdentListener(IdentListener lis)
Add a listener. |
void |
registerLocalConnection(int localPort,
java.lang.String system,
java.lang.String id)
Register a new local connection. |
void |
removeIdentListener(IdentListener lis)
Remove a listener. |
void |
resetDefaultUser()
Erase the default user configuration. |
void |
run()
|
void |
setDefaultUser(java.lang.String system,
java.lang.String id)
Set the default user configuration. |
void |
start()
Start the ident server. |
void |
start(int port)
Start the ident server on the given port. |
void |
stop()
Stop the execution of the ident server. |
void |
unregisterLocalConnection(int localPort)
Unregister a local connection. |
| Methods inherited from class irc.IRCObject |
getColor, getIRCConfiguration, getText, getText, getText, getText, getTimeStamp, release |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public IdentServer(IRCConfiguration config)
config - global irc configuration.| Method Detail |
public void start()
throws java.lang.Exception
java.lang.Exceptionpublic void resetDefaultUser()
public void setDefaultUser(java.lang.String system,
java.lang.String id)
system - user system.id - user id.
public void start(int port)
throws java.lang.Exception
java.lang.Exceptionpublic void stop()
public void registerLocalConnection(int localPort,
java.lang.String system,
java.lang.String id)
system - user system on this connection.id - user id on this connection.public void unregisterLocalConnection(int localPort)
public void addIdentListener(IdentListener lis)
lis - listener to add.public void removeIdentListener(IdentListener lis)
lis - listener to remove.public void run()
run in interface java.lang.Runnable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||