Class CIMEvent
- java.lang.Object
-
- org.sblim.wbem.client.indications.CIMEvent
-
public class CIMEvent extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
iID
protected CIMInstance
iIndication
protected java.net.InetAddress
iInetAddress
-
Constructor Summary
Constructors Constructor Description CIMEvent(CIMInstance pIndication)
CIMEvent(CIMInstance pIndication, java.lang.String id)
CIMEvent(CIMInstance pIndication, java.lang.String pId, java.net.InetAddress pInetAddress)
Constructor that takes the CIMInstance of the indication, the id as well as the InetAddress of the remote machine.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getID()
CIMInstance
getIndication()
java.net.InetAddress
getInetAddress()
This method returns the InetAddress of the machine that hosts the CIM Agent that sent the indication.
-
-
-
Field Detail
-
iIndication
protected CIMInstance iIndication
-
iID
protected java.lang.String iID
-
iInetAddress
protected java.net.InetAddress iInetAddress
-
-
Constructor Detail
-
CIMEvent
public CIMEvent(CIMInstance pIndication)
-
CIMEvent
public CIMEvent(CIMInstance pIndication, java.lang.String id)
-
CIMEvent
public CIMEvent(CIMInstance pIndication, java.lang.String pId, java.net.InetAddress pInetAddress)
Constructor that takes the CIMInstance of the indication, the id as well as the InetAddress of the remote machine.- Parameters:
pIndication
- The indication instancepId
- The idpInetAddress
- The address
-
-
Method Detail
-
getInetAddress
public java.net.InetAddress getInetAddress()
This method returns the InetAddress of the machine that hosts the CIM Agent that sent the indication. Be aware the remote machine could have multiple network adapters - thus the result can be ambigous.- Returns:
- The InetAddress of the remote machine
-
getIndication
public CIMInstance getIndication()
-
getID
public java.lang.String getID()
-
-