public static interface SapaProcessor.MessageListener
Modifier and Type | Method and Description |
---|---|
void |
onDataReceived(int id,
java.nio.ByteBuffer data)
Called when data is received from the processing module.
|
void |
onMessageReceived(int id,
java.lang.String message)
Called when a message is received from the processing module.
|
void onMessageReceived(int id, java.lang.String message)
id
- The message ID.message
- The message from the processing module.void onDataReceived(int id, java.nio.ByteBuffer data)
id
- The data ID.data
- The data from the processing module.