com.cycling74.max
Interface MessageReceiver
public interface MessageReceiver
MessageReceiver provides a common interface for Objects to be notified of
potentially interesting events asynchronously. For instance, an object implementing
the MessageRecevier interface can be notified when an instance of com.cycing74.msp.AudioFileBuffer
has completed loading audio file data off of disk.
Method Summary |
void |
messageReceived(java.lang.Object src,
int message_id,
java.lang.Object data)
This method will be called when an event occurs. |
messageReceived
void messageReceived(java.lang.Object src,
int message_id,
java.lang.Object data)
- This method will be called when an event occurs.
- Parameters:
src
- the object from which the message originatedmessage_id
- the integer id of the messagedata
- any data accompanying the message. This may be null if there is no data
accompanying the message.