001 package com.croftsoft.core.util.state; 002 003 import java.rmi.*; 004 005 /********************************************************************* 006 * 007 * An interface for remote objects that mulicast State updates. 008 * 009 * @author 010 * <a href="https://www.croftsoft.com/">David Wallace Croft</a> 011 * @version 012 * 1998-12-06 013 *********************************************************************/ 014 015 public interface StateMulticasterRemote extends Remote 016 ////////////////////////////////////////////////////////////////////// 017 ////////////////////////////////////////////////////////////////////// 018 { 019 020 public void update ( State state ) 021 throws RemoteException; 022 023 public boolean addStateListener ( 024 StateListener stateListener ) 025 throws RemoteException; 026 027 public boolean removeStateListener ( 028 StateListener stateListener ) 029 throws RemoteException; 030 031 ////////////////////////////////////////////////////////////////////// 032 ////////////////////////////////////////////////////////////////////// 033 }