public class HeartbeatListener extends Object implements LifecycleListener, ContainerListener
Modifier and Type | Field and Description |
---|---|
protected String |
proxyList
Proxy list, format "address:port,address:port".
|
protected String |
proxyURL
URL prefix.
|
Constructor and Description |
---|
HeartbeatListener() |
Modifier and Type | Method and Description |
---|---|
void |
containerEvent(ContainerEvent event)
Acknowledge the occurrence of the specified event.
|
String |
getGroup() |
int |
getMultiport() |
String |
getProxyList() |
String |
getProxyURL() |
int |
getTtl() |
void |
lifecycleEvent(LifecycleEvent event)
Acknowledge the occurrence of the specified event.
|
void |
setGroup(String ip) |
void |
setHost(String host) |
void |
setMultiport(int multiport) |
void |
setPort(int port) |
void |
setProxyList(String proxyList) |
void |
setProxyURL(String proxyURL) |
void |
setTtl(int ttl) |
protected String proxyList
protected String proxyURL
public void setHost(String host)
public void setPort(int port)
public void setGroup(String ip)
public String getGroup()
public void setMultiport(int multiport)
public int getMultiport()
public void setTtl(int ttl)
public int getTtl()
public String getProxyList()
public void setProxyList(String proxyList)
public String getProxyURL()
public void setProxyURL(String proxyURL)
public void containerEvent(ContainerEvent event)
ContainerListener
containerEvent
in interface ContainerListener
event
- ContainerEvent that has occurredpublic void lifecycleEvent(LifecycleEvent event)
LifecycleListener
lifecycleEvent
in interface LifecycleListener
event
- LifecycleEvent that has occurredCopyright © 2000-2021 Apache Software Foundation. All Rights Reserved.