IdentServer (PJIRC project)
Algne fail: vana_veeb/pjirc/doc/javadoc/irc/ident/prv/IdentServer.html.
========== START OF NAVBAR ==========
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
======== START OF CLASS DATA ========
irc.ident.prv
Class IdentServer
java.lang.Object | +--irc.IRCObject | +--irc.ident.prv.IdentServer
- All Implemented Interfaces:
- java.lang.Runnable
- public class IdentServer
- extends IRCObject
- implements java.lang.Runnable
- extends IRCObject
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 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
IdentServer
public IdentServer(IRCConfiguration config)
- Create a new IdentServer.
- Parameters:
config- global irc configuration.
| Method Detail |
start
public void start()
throws java.lang.Exception
- Start the ident server.
java.lang.Exception
resetDefaultUser
public void resetDefaultUser()
- Erase the default user configuration.
setDefaultUser
public void setDefaultUser(java.lang.String system,
java.lang.String id)
- Set the default user configuration.
- Parameters:
system- user system.id- user id.
start
public void start(int port)
throws java.lang.Exception
- Start the ident server on the given port.
java.lang.Exception
stop
public void stop()
- Stop the execution of the ident server.
registerLocalConnection
public void registerLocalConnection(int localPort,
java.lang.String system,
java.lang.String id)
- Register a new local connection.
- Parameters:
system- user system on this connection.id- user id on this connection.
unregisterLocalConnection
public void unregisterLocalConnection(int localPort)
- Unregister a local connection.
addIdentListener
public void addIdentListener(IdentListener lis)
- Add a listener.
- Parameters:
lis- listener to add.
removeIdentListener
public void removeIdentListener(IdentListener lis)
- Remove a listener.
- Parameters:
lis- listener to remove.
run
public void run()
- Specified by:
runin interfacejava.lang.Runnable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
