i_xmlblastercallback.java

来自「java开源的企业总线.xmlBlaster」· Java 代码 · 共 44 行

JAVA
44
字号
/*------------------------------------------------------------------------------Name:      I_XmlBlasterCallback.javaProject:   xmlBlaster.orgCopyright: xmlBlaster.org, see xmlBlaster-LICENSE fileComment:   The client callback server interface.Version:   $Id: I_XmlBlasterCallback.java 12937 2004-11-24 20:15:11Z ruff $Author:    xmlBlaster@marcelruff.info------------------------------------------------------------------------------*/package org.xmlBlaster.protocol.rmi;import org.xmlBlaster.util.MsgUnitRaw;import org.xmlBlaster.util.XmlBlasterException;import java.rmi.RemoteException;/** * The client RMI callback server interface which your client needs to implement. * <p /> * You need to register this RMI callback server with rmi-registry and * pass this name as the callback address of your subscribe()-QoS. * @author xmlBlaster@marcelruff.info */public interface I_XmlBlasterCallback extends java.rmi.Remote{   public String[] update(String cbSessionId, org.xmlBlaster.util.MsgUnitRaw[] msgUnitArr)                      throws RemoteException, XmlBlasterException;   /**    * The oneway variant for better performance.     * Does RMI implement a real oneway?    */   public void updateOneway(String cbSessionId, org.xmlBlaster.util.MsgUnitRaw[] msgUnitArr)                      throws RemoteException;   /**    * Ping to check if the xmlBlaster server is alive.     * This ping checks the availability on the application level.    * @param qos Currently an empty string ""    * @return    Currently an empty string ""    */   public String ping(String str) throws RemoteException;}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?