|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectit.jnrpe.JNRPE
public class JNRPE
This class is the real JNRPE worker. It must be used to start listening for NRPE requests
| Constructor Summary | |
|---|---|
JNRPE(PluginRepository pluginRepository,
CommandRepository commandRepository)
Initializes the JNRPE worker |
|
| Method Summary | |
|---|---|
void |
addAcceptedHost(String sAddress)
Adds an address to the list of accepted hosts |
IJNRPEListener |
listen(String sAddress,
int iPort)
|
IJNRPEListener |
listen(String sAddress,
int iPort,
boolean bSSL)
Starts a new thread that listen for requests. |
void |
shutdown()
Shuts down all the listener handled by this instance |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JNRPE(PluginRepository pluginRepository,
CommandRepository commandRepository)
pluginRepository - The repository containing all the installed pluginscommandRepository - The repository containing all the configured commands.| Method Detail |
|---|
public IJNRPEListener listen(String sAddress,
int iPort)
public IJNRPEListener listen(String sAddress,
int iPort,
boolean bSSL)
sAddress - The address to bind toiPort - The listening port
public void addAcceptedHost(String sAddress)
sAddress - The address to acceptpublic void shutdown()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||