|
||||||||||
| 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 |
it.jnrpe.JNRPEListenerThread |
listen(String sAddress,
int iPort)
|
it.jnrpe.JNRPEListenerThread |
listen(String sAddress,
int iPort,
boolean bSSL)
Starts a new thread that listen for requests. |
| 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 it.jnrpe.JNRPEListenerThread listen(String sAddress,
int iPort)
public it.jnrpe.JNRPEListenerThread 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 accept
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||