org.sblim.cimclient.internal.wbem.indications
Class CIMEvent

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

public class CIMEvent
extends Object

Class CIMEvent is required for indication handling.


Field Summary
protected  String iID
           
protected  CIMInstance iIndication
           
protected  InetAddress iInetAddress
           
 
Constructor Summary
CIMEvent(CIMInstance pIndication)
          Ctor.
CIMEvent(CIMInstance pIndication, String id)
          Ctor.
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.
 
Method Summary
 String getID()
          getID
 CIMInstance getIndication()
          getIndication
 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

iIndication

protected CIMInstance iIndication

iID

protected String iID

iInetAddress

protected InetAddress iInetAddress
Constructor Detail

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 Detail

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


Copyright © 2005, 2013 IBM Corporation. All Rights Reserved.