org.sblim.wbem.client.indications

Class CIMEvent


public class CIMEvent
extends java.lang.Object

CIMEvent.java (C) Copyright IBM Corp. 2005, 2009 THIS FILE IS PROVIDED UNDER THE TERMS OF THE ECLIPSE 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 Eclipse Public License from http://www.opensource.org/licenses/eclipse-1.0.php

Field Summary

protected String
iID
protected CIMInstance
iIndication
protected InetAddress
iInetAddress

Constructor Summary

CIMEvent(CIMInstance pIndication)
CIMEvent(CIMInstance pIndication, String id)
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()
CIMInstance
getIndication()
InetAddress
getInetAddress()
This method returns the InetAddress of the machine that hosts the CIM Agent that sent the indication.

Field Details

iID

protected String iID

iIndication

protected CIMInstance iIndication

iInetAddress

protected InetAddress iInetAddress

Constructor Details

CIMEvent

public CIMEvent(CIMInstance pIndication)

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.
Parameters:
pIndication - The indication instance
pId - The id
pInetAddress - The address

Method Details

getID

public String getID()

getIndication

public CIMInstance getIndication()

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.
Returns:
The InetAddress of the remote machine

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