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

    Fields
    Modifier and Type
    Field
    Description
    protected java.lang.String
     
    protected CIMInstance
     
    protected java.net.InetAddress
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    CIMEvent(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 Type
    Method
    Description
    java.lang.String
    getID
    getIndication
    java.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

      protected CIMInstance iIndication
    • iID

      protected java.lang.String iID
    • iInetAddress

      protected java.net.InetAddress iInetAddress
  • Constructor Details

    • CIMEvent

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

      public CIMEvent(CIMInstance pIndication, java.lang.String id)
      Ctor.
      Parameters:
      pIndication -
      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 instance
      pId - The id
      pInetAddress - 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

      public CIMInstance getIndication()
      getIndication
      Returns:
      CIMInstance
    • getID

      public java.lang.String getID()
      getID
      Returns:
      String