org.sblim.cimclient.internal.wbem.indications

Class CIMEvent

public class CIMEvent extends Object

Class CIMEvent is required for indication handling.
Field Summary
protected StringiID
protected CIMInstanceiIndication
protected InetAddressiInetAddress
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
StringgetID()
getID
CIMInstancegetIndication()
getIndication
InetAddressgetInetAddress()
This method returns the InetAddress of the machine that hosts the CIM Agent that sent the indication.

Field Detail

iID

protected String iID

iIndication

protected CIMInstance iIndication

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

getID

public String getID()
getID

Returns: String

getIndication

public CIMInstance getIndication()
getIndication

Returns: CIMInstance

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

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