Class CIMEvent


  • public class CIMEvent
    extends java.lang.Object
    • 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • 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 instance
        pId - The id
        pInetAddress - 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
      • getID

        public java.lang.String getID()