org.sblim.wbem.client.indications
Class CIMEvent
java.lang.Object
org.sblim.wbem.client.indications.CIMEvent
public class CIMEvent
extends java.lang.Object
CIMEvent.java
(C) Copyright IBM Corp. 2005, 2006
THIS FILE IS PROVIDED UNDER THE TERMS OF THE COMMON PUBLIC LICENSE
("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THIS FILE
CONSTITUTES RECIPIENTS ACCEPTANCE OF THE AGREEMENT.
You can obtain a current copy of the Common Public License from
http://www.opensource.org/licenses/cpl1.0.php
iInetAddress
protected InetAddress iInetAddress
CIMEvent
public CIMEvent(CIMInstance pIndication,
String 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.
pIndication
- The indication instancepId
- The idpInetAddress
- The address
getID
public String getID()
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 ambigous.
- The InetAddress of the remote machine
Copyright © 2005, 2007 IBM Corporation. All Rights Reserved.