-
public interface ServerMessageProcessorThis interface defines the methods that a class must implement to process messages received from a server.
-
-
Method Summary
Modifier and Type Method Description abstract voidprocessReceivedMessage(ByteArray receivedMessage, String extension)Processes a received message.This method is responsible for handling incoming messages with a given extension.It performs the necessary actions based on the message content and the provided extension. abstract booleanplayRBTData()Plays the Ring Back Tone (RBT) data.This method initiates the playback of the RBT data.The specific implementation details of how the RBT data is playedare dependent on the underlying system or library. -
-
Method Detail
-
processReceivedMessage
abstract void processReceivedMessage(ByteArray receivedMessage, String extension)
Processes a received message.This method is responsible for handling incoming messages with a given extension.It performs the necessary actions based on the message content and the provided extension.
- Parameters:
receivedMessage- The received message as a byte array.extension- The extension associated with the message.
-
playRBTData
abstract boolean playRBTData()
Plays the Ring Back Tone (RBT) data.This method initiates the playback of the RBT data.The specific implementation details of how the RBT data is playedare dependent on the underlying system or library.
-
-
-
-