Class CIMEvent
java.lang.Object
org.sblim.cimclient.internal.wbem.indications.CIMEvent
public class CIMEvent
extends java.lang.Object
Class CIMEvent is required for indication handling.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected java.lang.String
protected CIMInstance
protected java.net.InetAddress
-
Constructor Summary
ConstructorsConstructorDescriptionCIMEvent
(CIMInstance pIndication) Ctor.CIMEvent
(CIMInstance pIndication, java.lang.String id) Ctor.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
Modifier and TypeMethodDescriptionjava.lang.String
getID()
getIDgetIndicationjava.net.InetAddress
This method returns the InetAddress of the machine that hosts the CIM Agent that sent the indication.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
iIndication
-
iID
protected java.lang.String iID -
iInetAddress
protected java.net.InetAddress iInetAddress
-
-
Constructor Details
-
CIMEvent
Ctor.- Parameters:
pIndication
-
-
CIMEvent
Ctor.- Parameters:
pIndication
-id
-
-
CIMEvent
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 Details
-
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 ambiguous.- Returns:
- The InetAddress of the remote machine
-
getIndication
getIndication- Returns:
- CIMInstance
-
getID
public java.lang.String getID()getID- Returns:
- String
-