📄 i_callbackraw.java
字号:
/*------------------------------------------------------------------------------Name: I_CallbackRaw.javaProject: xmlBlaster.orgCopyright: xmlBlaster.org, see xmlBlaster-LICENSE file------------------------------------------------------------------------------*/package org.xmlBlaster.client;import org.xmlBlaster.util.XmlBlasterException;import org.xmlBlaster.util.MsgUnitRaw;/** * This is a little helper class is the same as the CORBA generated * <pre> * org.xmlBlaster.protocol.corba.clientIdl.BlasterCallbackOperations * </pre> * but it is independent of the protocol type. * <p> * Its purpose is to deliver Java clients the asynchronous message updates * through the update() method. * @author xmlBlaster@marcelruff.info */public interface I_CallbackRaw{ /** * This is the callback method invoked from xmlBlaster server * informing the client in an asynchronous mode about a new message. * <p /> * @param msgUnitArr Array of MsgUnitRaw, containing xmlKey,content,qos * @return For every message a return QoS */ public String[] update(String cbSessionId, org.xmlBlaster.util.MsgUnitRaw[] msgUnitArr) throws XmlBlasterException; /** * The oneway variant without a return value or exception */ public void updateOneway(String cbSessionId, org.xmlBlaster.util.MsgUnitRaw[] msgUnitArr);}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -