statemulticasterremote.java

来自「CroftSoft Code Library是一个开源的可移植的纯Java游戏库」· Java 代码 · 共 34 行

JAVA
34
字号
     package com.croftsoft.core.util.state;

     import java.rmi.*;

     /*********************************************************************
     *
     * An interface for remote objects that mulicast State updates.
     * 
     * @author
     *   <A HREF="http://www.alumni.caltech.edu/~croft/">David W. Croft</A>
     * @version
     *   1998-12-06
     *********************************************************************/

     public interface  StateMulticasterRemote extends Remote
     //////////////////////////////////////////////////////////////////////
     //////////////////////////////////////////////////////////////////////
     {

     public void  update ( State  state )
       throws RemoteException;

     public boolean  addStateListener (
       StateListener  stateListener )
       throws RemoteException;

     public boolean  removeStateListener (
       StateListener  stateListener )
       throws RemoteException;

     //////////////////////////////////////////////////////////////////////
     //////////////////////////////////////////////////////////////////////
     }

⌨️ 快捷键说明

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