|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The WBEMListener interface is used to add/remove WBEM Indication Listeners. The implementation of a WBEMListener can be retrieved from the WBEMListenerFactor by specifying the protocol to used to listen for indications.
WBEMListenerFactory
Method Summary | |
int |
addListener(IndicationListener pListener,
int pPort,
java.lang.String pTransport)
Add a new listener using the specified port. |
int |
addListener(IndicationListener pListener,
int pPort,
java.lang.String pTransport,
java.lang.String localAddr)
Add a new listener using the specified port. |
void |
removeListener(int port)
remove the listener asociated with the specified port. |
Method Detail |
public int addListener(IndicationListener pListener, int pPort, java.lang.String pTransport)
pListener
- The Indication Listener that will be called when an indication
is receivedpPort
- The port to listen on. Use 0 to specify any available port.pTransport
- The transport to use (e.g. http or https).
public int addListener(IndicationListener pListener, int pPort, java.lang.String pTransport, java.lang.String localAddr)
pListener
- The Indication Listener that will be called when an indication
is receivedpPort
- The port to listen on. Use 0 to specify any available port.pTransport
- The transport to use (e.g. http or https).localAddr
- The local IP address to bind to. This is only needed in
multi homed systems.
public void removeListener(int port)
port
- The port
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |