@Component @Scope(value="prototype") public class TrivialTimeDetector extends BasicDetector<TrivialTimeRequest,TrivialTimeResponse>
TrivialTimeDetector class.
Constructor and Description |
---|
TrivialTimeDetector()
Default constructor
|
TrivialTimeDetector(String serviceName,
int port)
Constructor for creating a non-default service based on this protocol
|
Modifier and Type | Method and Description |
---|---|
int |
getAllowedSkew() |
protected Client<TrivialTimeRequest,TrivialTimeResponse> |
getClient()
getClient
|
String |
getProtocol() |
protected void |
onInit()
onInit
|
void |
setAllowedSkew(int allowedSkew) |
void |
setProtocol(String protocol) |
dispose, expectBanner, getConversation, isServiceDetected, send, send
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<TrivialTimeRequest,TrivialTimeResponse> getClient()
getClient
getClient
in class BasicDetector<TrivialTimeRequest,TrivialTimeResponse>
Client
object.public String getProtocol()
public void setProtocol(String protocol)
public int getAllowedSkew()
public void setAllowedSkew(int allowedSkew)
Copyright © 2016. All rights reserved.