1 package iotcode.interfaces;
4 import java.rmi.Remote;
5 import java.rmi.RemoteException;
8 import iotchecker.qual.NonLocalRemote;
10 /** speaker Callback for when a speaker changes state (sound ends).
12 * @author Ali Younis <ayounis @ uci.edu>
17 public interface SpeakerCallback extends Remote {
19 /** Callback method for when speaker music ends.
21 * @param _speaker [speaker] .
23 * @return [void] None.
25 public void speakerDone(@NonLocalRemote Speaker _speaker) throws RemoteException;