Provides classes and interfaces for writing WBEM Listeners.
See: Description
| Interface Summary | |
|---|---|
| IndicationListener | This interface is implemented by the code which wants to listen for indications. |
| WBEMListener |
The WBEMListener interface is used to add/remove WBEM
Indication Listeners. |
| Class Summary | |
|---|---|
| WBEMListenerFactory |
The WBEMListenerFactory class is a factory for getting a
WBEMListener implementation for a specific protocol.An example of how to use the factory is included below.
class MyListener implements IndicationListener {
public void indicationOccured(CIMInstance e) {
System.out.println(e);
}
}
String protocol = "CIM-XML";
WBEMListener api = WBEMListenerFactory.getListener(protocol);
int port = api.addListener(MyListener, 1234, protocol);
|
Since: 2.0.0