org.sblim.cimclient
public class WBEMListenerSBLIM extends Object implements WBEMListener
Nested Class Summary | |
---|---|
static class | WBEMListenerSBLIM.WBEMListenerImpl
The real implementation of a listener that starts a HTTP server and
processes incoming indications
|
Method Summary | |
---|---|
int | addListener(IndicationListener pListener, int pPort, String pTransport) |
int | addListener(IndicationListener pListener, int pPort, String pTransport, String pLocalAddr) |
int | addListener(IndicationListener pListener, int pPort, String pTransport, String pLocalAddr, Properties pConfigurationProperties)
Add a new listener using the specified port.
|
static WBEMListenerSBLIM | getInstance()
Returns the singleton instance
|
void | removeListener(int pPort) |
Parameters: pListener
- The Indication Listener that will be called when an
indication is received. pPort
- The port to listen on. Use 0 to specify any available port. pTransport
- The transport to use (e.g. HTTP or HTTPS). pLocalAddr
- The local IP address to bind to. This is only needed in
multi-homed systems. A value of null
will bind to
all IP addresses. pConfigurationProperties
- The individual configuration properties for this listener
Returns: The port that was used.
Throws: IOException - This exception is thrown when binding to pPort fails.
Returns: The instance