org.atmosphere.cpr
Interface Serializer


public interface Serializer

Serialize the Object the result of invoking Broadcaster.broadcast(java.lang.Object)

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 © 2010. All Rights Reserved.