org.opennms.netmgt.provision.detector.ssh
Class SshDetector
java.lang.Object
org.opennms.netmgt.provision.support.AbstractDetector
org.opennms.netmgt.provision.support.BasicDetector<NullRequest,SshResponse>
org.opennms.netmgt.provision.detector.ssh.SshDetector
- All Implemented Interfaces:
- ServiceDetector, SyncServiceDetector
@Component
@Scope(value="prototype")
public class SshDetector
- extends BasicDetector<NullRequest,SshResponse>
|
Constructor Summary |
SshDetector()
Default constructor |
SshDetector(String serviceName,
int port)
Constructor for creating a non-default service based on this protocol |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SshDetector
public SshDetector()
- Default constructor
SshDetector
public SshDetector(String serviceName,
int port)
- Constructor for creating a non-default service based on this protocol
- Parameters:
serviceName - port -
getClient
protected Client<NullRequest,SshResponse> getClient()
- Specified by:
getClient in class BasicDetector<NullRequest,SshResponse>
onInit
protected void onInit()
- Specified by:
onInit in class BasicDetector<NullRequest,SshResponse>
setBanner
public void setBanner(String banner)
getBanner
public String getBanner()
setMatch
public void setMatch(String match)
getMatch
public String getMatch()
setClientBanner
public void setClientBanner(String clientBanner)
getClientBanner
public String getClientBanner()
Copyright © 2009. All Rights Reserved.