public class SocketMonitor extends java.lang.Object implements HostMonitor
Constructor and Description |
---|
SocketMonitor() |
Modifier and Type | Method and Description |
---|---|
int |
getCloseDelayMiliSec() |
javax.net.ssl.SSLSocketFactory |
getSslSocketFactory() |
boolean |
isUseDummyTrustManager() |
char |
monitor(Host host) |
void |
setCloseDelayMiliSec(int closeDelayMiliSec)
May be used to set delay when TextToExpect is null and we want some delay before
closing of sockets (to allow SSL handshake to complete).
|
void |
setSslSocketFactory(javax.net.ssl.SSLSocketFactory sslSocketFactory) |
void |
setUseDummyTrustManager(boolean useDummyTrustManager) |
public char monitor(Host host)
monitor
in interface HostMonitor
public boolean isUseDummyTrustManager()
public void setUseDummyTrustManager(boolean useDummyTrustManager)
public javax.net.ssl.SSLSocketFactory getSslSocketFactory()
public void setSslSocketFactory(javax.net.ssl.SSLSocketFactory sslSocketFactory)
public int getCloseDelayMiliSec()
public void setCloseDelayMiliSec(int closeDelayMiliSec)
closeDelayMiliSec
- Copyright © 2003-2014 QuickServer.org