Interface AtmosphereMessage<T>

  • All Superinterfaces:
    java.io.Serializable
    All Known Implementing Classes:
    RPCEvent

    public interface AtmosphereMessage<T>
    extends java.io.Serializable
    Base class for GWT deserialized messages that will be broadcasted as String through the Atmosphere Framework own component like ManagedService
    Author:
    Jeanfrancois Arcand
    • Method Detail

      • getMessage

        T getMessage()
        Return the message of type T
        Returns:
      • setMessage

        void setMessage​(T message)
        Set the message of type T
        Parameters:
        message -
      • asString

        java.lang.String asString()
        Serialize this object in the form of an String.
        Returns:
      • asByte

        byte[] asByte()
        Serialize this object in the form of an byte[] array.
        Returns: