Interface Serializer


  • public interface Serializer
    Serialize the Object that was used as parameter to Broadcaster.broadcast(java.lang.Object).

    IMPORTANT: This class isn't supported by the Atmosphere-Jersey extension.

    Author:
    Paul Sandoz, Jeanfrancois Arcand
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void write​(java.io.OutputStream os, java.lang.Object o)
      Serialize the Object using the OutputStream.
    • Method Detail

      • write

        void write​(java.io.OutputStream os,
                   java.lang.Object o)
            throws java.io.IOException
        Serialize the Object using the OutputStream.
        Parameters:
        os - The OutputStream to use when writing
        o - The broacasted object
        Throws:
        java.io.IOException