org.sblim.cimclient

Class WBEMListenerSBLIM.WBEMListenerImpl

public static class WBEMListenerSBLIM.WBEMListenerImpl extends Object

The real implementation of a listener that starts a HTTP server and processes incoming indications
Constructor Summary
WBEMListenerImpl(String pLocalAddress, int pPort, boolean pSSL, IndicationListener pIndicationListener, Properties pProperties)
Ctor.
Method Summary
protected voidfinalize()
IndicationListenergetIndicationListener()
Returns the listener we forward the indications to
intgetListenerPort()
Returns the listener port
voidstart()
start
voidstop()
stop

Constructor Detail

WBEMListenerImpl

public WBEMListenerImpl(String pLocalAddress, int pPort, boolean pSSL, IndicationListener pIndicationListener, Properties pProperties)
Ctor.

Parameters: 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 pProperties The configuration

Throws: IOException

Method Detail

finalize

protected void finalize()

getIndicationListener

public IndicationListener getIndicationListener()
Returns the listener we forward the indications to

Returns: The listener

getListenerPort

public int getListenerPort()
Returns the listener port

Returns: The listener port

start

public void start()
start

stop

public void stop()
stop
Copyright © 2005, 2009 IBM Corporation. All Rights Reserved.