1 /*------------------------------------------------------------------------------
2 Name: I_XmlBlaster.java
3 Project: xmlBlaster.org
4 Copyright: xmlBlaster.org, see xmlBlaster-LICENSE file
5 ------------------------------------------------------------------------------*/
6 package org.xmlBlaster.client.protocol;
7
8 import org.xmlBlaster.client.qos.EraseReturnQos;
9 import org.xmlBlaster.client.qos.PublishReturnQos;
10 import org.xmlBlaster.client.qos.SubscribeReturnQos;
11 import org.xmlBlaster.client.qos.UnSubscribeReturnQos;
12 import org.xmlBlaster.util.XmlBlasterException;
13
14 /**
15 * Interface for XmlBlaster, the supported methods on java client side.
16 * <p />
17 * This allows string access, another interface allows object based access.
18 * @see <a href="http://www.xmlBlaster.org/xmlBlaster/src/java/org/xmlBlaster/protocol/corba/xmlBlaster.idl" target="others">CORBA xmlBlaster.idl</a>
19 * @author xmlBlaster@marcelruff.info
20 */
21 public interface I_XmlBlaster
22 {
23 public SubscribeReturnQos subscribe(java.lang.String xmlKey, java.lang.String qos) throws XmlBlasterException;
24
25 public org.xmlBlaster.util.MsgUnit[] get(java.lang.String xmlKey, java.lang.String qos) throws XmlBlasterException;
26
27 public UnSubscribeReturnQos[] unSubscribe(java.lang.String xmlKey, java.lang.String qos) throws XmlBlasterException;
28
29 public PublishReturnQos publish(org.xmlBlaster.util.MsgUnit msgUnit) throws XmlBlasterException;
30
31 public void publishOneway(org.xmlBlaster.util.MsgUnit [] msgUnitArr) throws XmlBlasterException;
32
33 public PublishReturnQos[] publishArr(org.xmlBlaster.util.MsgUnit[] msgUnitArr) throws XmlBlasterException;
34
35 public EraseReturnQos[] erase(java.lang.String xmlKey, java.lang.String qos) throws XmlBlasterException;
36 }
syntax highlighted by Code2HTML, v. 0.9.1