📄 i_xmlblastercallback.java
字号:
/*------------------------------------------------------------------------------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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -