public class NrpeDetector extends BasicDetector<NrpeRequest,NrpePacket>
NrpeDetector class.
Constructor and Description |
---|
NrpeDetector()
Default constructor
|
NrpeDetector(String serviceName,
int port)
Constructor for creating a non-default service based on this protocol
|
Modifier and Type | Method and Description |
---|---|
protected Client<NrpeRequest,NrpePacket> |
getClient()
getClient
|
String |
getCommand()
getCommand
|
int |
getPadding()
getPadding
|
boolean |
isUseSsl()
isUseSsl
|
protected void |
onInit()
onInit
|
void |
setCommand(String command)
setCommand
|
void |
setPadding(int padding)
setPadding
|
void |
setUseSsl(boolean useSsl)
setUseSsl
|
dispose, expectBanner, getConversation, isServiceDetected, send, send
detect
getIpMatch, getPort, getRetries, getServiceName, getTimeout, init, setIpMatch, setPort, setRetries, setServiceName, setTimeout
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getIpMatch, getPort, getServiceName, getTimeout, init, setIpMatch, setPort, setServiceName, setTimeout
protected void onInit()
onInit
onInit
in class AbstractDetector
protected Client<NrpeRequest,NrpePacket> getClient()
getClient
getClient
in class BasicDetector<NrpeRequest,NrpePacket>
Client
object.public void setUseSsl(boolean useSsl)
setUseSsl
useSsl
- a boolean.public boolean isUseSsl()
isUseSsl
public void setPadding(int padding)
setPadding
padding
- a int.public int getPadding()
getPadding
public void setCommand(String command)
setCommand
command
- a String.public String getCommand()
getCommand
Copyright © 2020. All rights reserved.