|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.atmosphere.gwt.client.AtmosphereGWTSerializer
public abstract class AtmosphereGWTSerializer
The base class for comet serializers. To instantiate this class follow this example:
- Author:
- Richard Zschech
Field Summary
protected ObjectSerializer
jsonSerializer
Constructor Summary
AtmosphereGWTSerializer()
Method Summary
abstract Object
deserialize(String message)
protected Object
deserializeJSON(String message)
protected Object
deserializePLAIN(String message)
protected Object
deserializeRPC(String message)
abstract SerialMode
getMode()
abstract SerialMode
getPushMode()
protected abstract com.google.gwt.user.client.rpc.impl.Serializer
getRPCSerializer()
abstract String
serialize(Object message)
protected String
serializeJSON(Object message)
protected String
serializePLAIN(Object message)
protected String
serializeRPC(Object message)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Field Detail
jsonSerializer
protected ObjectSerializer jsonSerializer
Constructor Detail
AtmosphereGWTSerializer
public AtmosphereGWTSerializer()
Method Detail
getMode
public abstract SerialMode getMode()
getPushMode
public abstract SerialMode getPushMode()
deserialize
public abstract Object deserialize(String message)
throws com.google.gwt.user.client.rpc.SerializationException
- Throws:
com.google.gwt.user.client.rpc.SerializationException
deserializeRPC
protected Object deserializeRPC(String message)
throws com.google.gwt.user.client.rpc.SerializationException
- Throws:
com.google.gwt.user.client.rpc.SerializationException
deserializeJSON
protected Object deserializeJSON(String message)
throws com.google.gwt.user.client.rpc.SerializationException
- Throws:
com.google.gwt.user.client.rpc.SerializationException
deserializePLAIN
protected Object deserializePLAIN(String message)
throws com.google.gwt.user.client.rpc.SerializationException
- Throws:
com.google.gwt.user.client.rpc.SerializationException
serialize
public abstract String serialize(Object message)
throws com.google.gwt.user.client.rpc.SerializationException
- Throws:
com.google.gwt.user.client.rpc.SerializationException
serializeRPC
protected String serializeRPC(Object message)
throws com.google.gwt.user.client.rpc.SerializationException
- Throws:
com.google.gwt.user.client.rpc.SerializationException
serializeJSON
protected String serializeJSON(Object message)
throws com.google.gwt.user.client.rpc.SerializationException
- Throws:
com.google.gwt.user.client.rpc.SerializationException
serializePLAIN
protected String serializePLAIN(Object message)
throws com.google.gwt.user.client.rpc.SerializationException
- Throws:
com.google.gwt.user.client.rpc.SerializationException
getRPCSerializer
protected abstract com.google.gwt.user.client.rpc.impl.Serializer getRPCSerializer()
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV CLASS
NEXT CLASS
FRAMES
NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD
DETAIL: FIELD | CONSTR | METHOD
Copyright © 2012. All Rights Reserved.