|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.sblim.cimclient.WBEMListenerSBLIM.WBEMListenerImpl
public class WBEMListenerSBLIM.WBEMListenerImpl
The real implementation of a listener that starts a HTTP server and processes incoming indications
Constructor Summary | |
---|---|
WBEMListenerSBLIM.WBEMListenerImpl(String pLocalAddress,
int pPort,
boolean pSSL,
EventListener pIndicationListener,
Properties pProperties)
Ctor. |
Method Summary | |
---|---|
protected void |
finalize()
|
String |
getBlockedIPs()
Get the IPs blocked by the listener. |
IndicationListener |
getIndicationListener()
Returns the listener we forward the indications to. |
IndicationListenerSBLIM |
getIndicationListenerSBLIM()
Returns the listener we forward the indications to. |
int |
getListenerPort()
Returns the listener port. |
void |
setBlockedIPs(String pIPs)
Set the IPs to be blocked by the listener. |
void |
start()
Starts the HTTP server connection receiving the indications. |
void |
stop()
Stops the HTTP server connection receiving the indications and the indication handler. |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WBEMListenerSBLIM.WBEMListenerImpl(String pLocalAddress, int pPort, boolean pSSL, EventListener pIndicationListener, Properties pProperties) throws IOException
pLocalAddress
- The local address to bind the port to. If null the port is
bound to all local addresses. For use on multi-homed
systems.pPort
- The port to listen on. If zero any free port will be
chosen.pSSL
- SSL secured connection?pIndicationListener
- The indication listener to forward the incoming
indications to (an instance of IndicationListener or
IndicationListenerSBLIM).pProperties
- The configuration.
IOException
Method Detail |
---|
protected void finalize() throws Throwable
finalize
in class Object
Throwable
public void start()
public void stop()
public IndicationListener getIndicationListener()
public IndicationListenerSBLIM getIndicationListenerSBLIM()
public int getListenerPort()
public String getBlockedIPs()
public void setBlockedIPs(String pIPs)
pIPs
- The comma-separated list of blocked IPs.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |