Package 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
Modifier and TypeMethodDescriptionvoidwrite(OutputStream os, Object o) Serialize theObjectusing theOutputStream.
-
Method Details
-
write
Serialize theObjectusing theOutputStream.- Parameters:
os- TheOutputStreamto use when writingo- The broacasted object- Throws:
IOException
-