首页> 外国专利> Methods and systems for java interapplet communication

Methods and systems for java interapplet communication

机译:Java interapplet通信的方法和系统

摘要

Methods and systems for inter-applet communication. The methods and systems of the invention are particularly useful for communication between applets in different frames of an HTML page. Java and HTML specifications generally preclude interaction between applets in different HTML pages or frames. The present invention permits such communication by defining a superclass (102) from which all such communicating applets are specialized. The superclass (102) includes static structures (104) and associated methods (106..110) for enabling communication between the applets specialized therefrom. A static notification list (104) has entries each of which identify a particular applet which requires notification of events from other applets. A first method (106) of the superclass (102), invoked by a second applet desiring notification of an event, adds (or removes) entries in the notification list. A second method (108), invoked by a first applet (114) recognizing occurrence of the event, searches the list and notifies all applets having entries registering their interest in events. A third method (110), an event notification handler overridden by the second applet(s) desiring such notification (126), is recorded in the notification list entry and invoked by the second method (108) to provide the requisite notification to the second applet (122). Through notification of occurrence of an event and receipt of such notification, applets specialized from this superclass may effectuate inter-applet communication. Optional parameters passed through the notification registration method, stored in the notification list, and passed to the event notification handler, allows more detailed communication messages.
机译:小程序间通信的方法和系统。本发明的方法和系统对于HTML页面的不同帧中的小应用程序之间的通信特别有用。 Java和HTML规范通常会阻止不同HTML页面或框架中的applet之间的交互。本发明通过定义超类(102)来允许这种通信,所有此类通信小应用程序都从该超类中进行了专门化。超类(102)包括静态结构(104)和相关的方法(106..110),用于使从其专用的小应用程序之间能够进行通信。静态通知列表(104)具有条目,每个条目标识需要从其他小应用程序通知事件的特定小应用程序。由希望事件通知的第二小应用程序调用的超类(102)的第一方法(106)在通知列表中添加(或删除)条目。由第一小应用程序(114)识别事件发生的第二种方法(108),搜索该列表并通知所有具有记录其对事件感兴趣的条目的小应用程序。第三方法(110),被第二小程序覆盖并希望事件通知(126)的事件通知处理程序,被记录在通知列表条目中,并由第二方法(108)调用,以向第二事件提供必需的通知。小程序(122)。通过事件的发生通知和此类通知的接收,此超类的专用applet可以实现applet之间的通信。通过通知注册方法传递,存储在通知列表中并传递给事件通知处理程序的可选参数,可以提供更详细的通信消息。

著录项

  • 公开/公告号EP0974897A2

    专利类型

  • 公开/公告日2000-01-26

    原文格式PDF

  • 申请/专利权人 HEWLETT-PACKARD COMPANY;

    申请/专利号EP19990102531

  • 发明设计人 HICKEY JAMES P.;MOWZOONI ZAMANAH;

    申请日1999-02-10

  • 分类号G06F9/46;

  • 国家 EP

  • 入库时间 2022-08-22 01:48:04

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号