Package 

Interface ServerMessageProcessor


  • 
    public interface ServerMessageProcessor
    
                        

    This interface defines the methods that a class must implement to process messages received from a server.

    • Method Summary

      Modifier and Type Method Description
      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.
      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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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.