Package spread

Interface BasicMessageListener

    • Method Detail

      • messageReceived

        void messageReceived​(SpreadMessage message)
        If the object has been added to a connection with SpreadConnection.add(BasicMessageListener), this gets called whenever a message is received. The call happens in a seperate thread.
        Parameters:
        message - the message that has been received