org.atmosphere.cpr
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
 void write(OutputStream os, Object o)
          Serialize the Object using the OutputStream.
 

Method Detail

write

void write(OutputStream os,
           Object o)
           throws IOException
Serialize the Object using the OutputStream.

Parameters:
os - The OutputStream to use when writing
o - The broacasted object
Throws:
IOException


Copyright © 2014. All Rights Reserved.