java.lang.Object
org.sblim.cimclient.internal.wbem.indications.CIMEvent

public class CIMEvent extends Object
Class CIMEvent is required for indication handling.
  • Field Details

  • Constructor Details

    • CIMEvent

      public CIMEvent(CIMInstance pIndication)
      Ctor.
      Parameters:
      pIndication -
    • CIMEvent

      public CIMEvent(CIMInstance pIndication, String id)
      Ctor.
      Parameters:
      pIndication -
      id -
    • CIMEvent

      public CIMEvent(CIMInstance pIndication, String pId, 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 instance
      pId - The id
      pInetAddress - The address
  • Method Details

    • getInetAddress

      public 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

      public CIMInstance getIndication()
      getIndication
      Returns:
      CIMInstance
    • getID

      public String getID()
      getID
      Returns:
      String