|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.sblim.cimclient.WBEMListenerSBLIM
public class WBEMListenerSBLIM
Class WBEMListenerSBLIM is the SBLIM implementation of the WBEMListener interface.
Nested Class Summary | |
---|---|
class |
WBEMListenerSBLIM.WBEMListenerImpl
The real implementation of a listener that starts a HTTP server and processes incoming indications |
Field Summary | |
---|---|
protected WBEMConfiguration |
iConfiguration
|
Constructor Summary | |
---|---|
WBEMListenerSBLIM()
Ctor. |
Method Summary | |
---|---|
int |
addListener(IndicationListener pListener,
int pPort,
String pTransport)
Add a new listener using the specified port. |
int |
addListener(IndicationListener pListener,
int pPort,
String pTransport,
String pLocalAddr)
Add a new listener using the specified port. |
int |
addListener(IndicationListener pListener,
int pPort,
String pTransport,
String pLocalAddr,
Properties pConfigurationProperties)
Add a new listener using the specified port. |
int |
addListener(IndicationListenerSBLIM pListener,
int pPort,
String pTransport)
Add a new listener using the specified port. |
int |
addListener(IndicationListenerSBLIM pListener,
int pPort,
String pTransport,
String pLocalAddr)
Add a new listener using the specified port and local address. |
int |
addListener(IndicationListenerSBLIM pListener,
int pPort,
String pTransport,
String pLocalAddr,
Properties pConfigurationProperties)
Add a new listener using the specified port, local address and properties. |
String |
getBlockedIPs(int pPort)
Get the IPs blocked by the listener associated with the specified port. |
String |
getProperty(String pName)
Get a property value. |
void |
removeListener(int pPort)
Remove the listener associated with the specified port. |
void |
setBlockedIPs(int pPort,
String pIPs)
Set the IPs to be blocked by the listener associated with the specified port. |
void |
setProperty(String pName,
String pValue)
Set a property for the WBEM Listener. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final WBEMConfiguration iConfiguration
Constructor Detail |
---|
public WBEMListenerSBLIM()
Method Detail |
---|
public int addListener(IndicationListener pListener, int pPort, String pTransport) throws IOException
WBEMListener
addListener
in interface WBEMListener
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).
IOException
- If the port is already in use.public int addListener(IndicationListener pListener, int pPort, String pTransport, String pLocalAddr) throws IOException
WBEMListener
addListener
in interface WBEMListener
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.
IOException
- If the port is already in use.public int addListener(IndicationListener pListener, int pPort, String pTransport, String pLocalAddr, Properties pConfigurationProperties) throws IOException
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.
IOException
- This exception is thrown when binding to pPort fails.public int addListener(IndicationListenerSBLIM pListener, int pPort, String pTransport) throws IOException
pListener
- The SBLIM 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).
IOException
- This exception is thrown when binding to pPort fails.public int addListener(IndicationListenerSBLIM pListener, int pPort, String pTransport, String pLocalAddr) throws IOException
pListener
- The SBLIM 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.
IOException
- This exception is thrown when binding to pPort fails.public int addListener(IndicationListenerSBLIM pListener, int pPort, String pTransport, String pLocalAddr, Properties pConfigurationProperties) throws IOException
pListener
- The SBLIM 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.
IOException
- This exception is thrown when binding to pPort fails.public String getBlockedIPs(int pPort)
pPort
- The port.
public String getProperty(String pName)
WBEMListener
getProperty
in interface WBEMListener
pName
- The name of the property.
public void removeListener(int pPort)
WBEMListener
removeListener
in interface WBEMListener
pPort
- The port.public void setBlockedIPs(int pPort, String pIPs)
pPort
- The port.pIPs
- The comma-separated list of blocked IPs.public void setProperty(String pName, String pValue)
WBEMListener
setProperty
in interface WBEMListener
pName
- The name of the property.pValue
- The value of the property.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |