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.
 

Method Detail

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 originated
message_id - the integer id of the message
data - any data accompanying the message. This may be null if there is no data accompanying the message.