org.opennms.netmgt.provision.detector.generic
Class GpDetector

java.lang.Object
  extended by org.opennms.netmgt.provision.support.AbstractDetector
      extended by org.opennms.netmgt.provision.support.BasicDetector<GpRequest,GpResponse>
          extended by org.opennms.netmgt.provision.detector.generic.GpDetector
All Implemented Interfaces:
ServiceDetector, SyncServiceDetector

@Component
@Scope(value="prototype")
public class GpDetector
extends BasicDetector<GpRequest,GpResponse>


Constructor Summary
protected GpDetector()
          Constructor for GpDetector.
 
Method Summary
 String getArgs()
          getArgs
 String getBanner()
          getBanner
protected  Client<GpRequest,GpResponse> getClient()
          getClient
 String getHoption()
          getHoption
 String getMatch()
          getMatch
 String getScript()
          getScript
 String getToption()
          getToption
protected  void onInit()
          onInit
 void setArgs(String args)
          setArgs
 void setBanner(String banner)
          setBanner
 void setHoption(String hoption)
          setHoption
 void setMatch(String match)
          setMatch
 void setScript(String script)
          setScript
 void setToption(String toption)
          setToption
 
Methods inherited from class org.opennms.netmgt.provision.support.BasicDetector
dispose, expectBanner, getConversation, isServiceDetected, send, send
 
Methods inherited from class org.opennms.netmgt.provision.support.AbstractDetector
getPort, getRetries, getServiceName, getTimeout, init, log, setPort, setRetries, setServiceName, setTimeout
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.opennms.netmgt.provision.ServiceDetector
getServiceName, init, setServiceName
 

Constructor Detail

GpDetector

protected GpDetector()

Constructor for GpDetector.

Method Detail

getClient

protected Client<GpRequest,GpResponse> getClient()

getClient

Specified by:
getClient in class BasicDetector<GpRequest,GpResponse>
Returns:
a Client object.

onInit

protected void onInit()

onInit

Specified by:
onInit in class BasicDetector<GpRequest,GpResponse>

setScript

public void setScript(String script)

setScript

Parameters:
script - a String object.

getScript

public String getScript()

getScript

Returns:
a String object.

setArgs

public void setArgs(String args)

setArgs

Parameters:
args - a String object.

getArgs

public String getArgs()

getArgs

Returns:
a String object.

setBanner

public void setBanner(String banner)

setBanner

Parameters:
banner - a String object.

getBanner

public String getBanner()

getBanner

Returns:
a String object.

setMatch

public void setMatch(String match)

setMatch

Parameters:
match - a String object.

getMatch

public String getMatch()

getMatch

Returns:
a String object.

setHoption

public void setHoption(String hoption)

setHoption

Parameters:
hoption - a String object.

getHoption

public String getHoption()

getHoption

Returns:
a String object.

setToption

public void setToption(String toption)

setToption

Parameters:
toption - a String object.

getToption

public String getToption()

getToption

Returns:
a String object.


Copyright © 2011. All Rights Reserved.