From: Dave B. <bla...@us...> - 2013-02-23 19:56:56
|
Update of /cvsroot/sblim/jsr48-client/src/org/sblim/cimclient In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv12659/src/org/sblim/cimclient Modified Files: Tag: Experimental WBEMClientSBLIM.java Log Message: 2616 Add new API WBEMClientSBLIM.sendIndication() Index: WBEMClientSBLIM.java =================================================================== RCS file: /cvsroot/sblim/jsr48-client/src/org/sblim/cimclient/WBEMClientSBLIM.java,v retrieving revision 1.3.2.8 retrieving revision 1.3.2.9 diff -u -d -r1.3.2.8 -r1.3.2.9 --- WBEMClientSBLIM.java 3 May 2012 11:14:13 -0000 1.3.2.8 +++ WBEMClientSBLIM.java 23 Feb 2013 19:56:54 -0000 1.3.2.9 @@ -1,7 +1,7 @@ /** * WBEMClientSBLIM.java * - * (C) Copyright IBM Corp. 2006, 2012 + * (C) Copyright IBM Corp. 2006, 2013 * * THIS FILE IS PROVIDED UNDER THE TERMS OF THE ECLIPSE PUBLIC LICENSE * ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THIS FILE @@ -22,6 +22,7 @@ * 2942520 2010-03-08 blaschke-oss IPv6 link local address with scope_id including a dot not supported * 3516848 2012-04-11 blaschke-oss enumerateNamespaces() method to WBEMClient * 3522904 2012-05-02 blaschke-oss Add new API WBEMClientSBLIM.isActive() + * 2616 2013-02-23 blaschke-oss Add new API WBEMClientSBLIM.sendIndication() */ package org.sblim.cimclient; @@ -30,6 +31,7 @@ import java.util.Locale; import java.util.Properties; +import javax.cim.CIMInstance; import javax.cim.CIMObjectPath; import javax.net.SocketFactory; import javax.security.auth.Subject; @@ -230,4 +232,25 @@ * otherwise. */ public boolean isActive(); + + /** + * Sends the indication to the specified recipient. + * + * @param pRecipient + * URI of indication recipient. + * @param pIndication + * Indication. + * @return <code>true</code> if indication received successfully, + * <code>false</code> otherwise. + * @throws WBEMException + * If unsuccessful, one of the following status codes must be + * returned. The ORDERED list is: + * + * <pre> + * CIM_ERR_INVALID_PARAMETER (including missing, duplicate, unrecognized + * or otherwise incorrect parameters) + * CIM_ERR_FAILED (some other unspecified error occurred) + * </pre> + */ + public boolean sendIndication(URI pRecipient, CIMInstance pIndication) throws WBEMException; } |