com.google.gwt.rpc.client.impl
Class SimplePayloadSink
java.lang.Object
com.google.gwt.rpc.client.ast.CommandSink
com.google.gwt.rpc.client.impl.SimplePayloadSink
public class SimplePayloadSink
- extends CommandSink
This implementation of CommandSink encodes RpcCommands in a simple transport
format that can be interpreted by both the client and the server.
|
Method Summary |
void |
accept(RpcCommand command)
Accept an RpcCommand for processing. |
void |
finish()
Called when no more commands will be sent. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ARRAY_TYPE
public static final char ARRAY_TYPE
- See Also:
- Constant Field Values
BACKREF_TYPE
public static final char BACKREF_TYPE
- See Also:
- Constant Field Values
BOOLEAN_TYPE
public static final char BOOLEAN_TYPE
- See Also:
- Constant Field Values
BYTE_TYPE
public static final char BYTE_TYPE
- See Also:
- Constant Field Values
CHAR_TYPE
public static final char CHAR_TYPE
- See Also:
- Constant Field Values
DOUBLE_TYPE
public static final char DOUBLE_TYPE
- See Also:
- Constant Field Values
ENUM_TYPE
public static final char ENUM_TYPE
- See Also:
- Constant Field Values
FLOAT_TYPE
public static final char FLOAT_TYPE
- See Also:
- Constant Field Values
INT_TYPE
public static final char INT_TYPE
- See Also:
- Constant Field Values
INVOKE_TYPE
public static final char INVOKE_TYPE
- See Also:
- Constant Field Values
LONG_TYPE
public static final char LONG_TYPE
- See Also:
- Constant Field Values
NL_CHAR
public static final char NL_CHAR
- See Also:
- Constant Field Values
OBJECT_TYPE
public static final char OBJECT_TYPE
- See Also:
- Constant Field Values
RETURN_TYPE
public static final char RETURN_TYPE
- See Also:
- Constant Field Values
RPC_SEPARATOR_CHAR
public static final char RPC_SEPARATOR_CHAR
- See Also:
- Constant Field Values
SHORT_TYPE
public static final char SHORT_TYPE
- See Also:
- Constant Field Values
STRING_TYPE
public static final char STRING_TYPE
- See Also:
- Constant Field Values
THROW_TYPE
public static final char THROW_TYPE
- See Also:
- Constant Field Values
VOID_TYPE
public static final char VOID_TYPE
- See Also:
- Constant Field Values
SimplePayloadSink
public SimplePayloadSink(java.lang.Appendable buffer)
accept
public void accept(RpcCommand command)
throws SerializationException
- Description copied from class:
CommandSink
- Accept an RpcCommand for processing.
- Specified by:
accept in class CommandSink
- Throws:
SerializationException
finish
public void finish()
throws SerializationException
- Description copied from class:
CommandSink
- Called when no more commands will be sent.
- Specified by:
finish in class CommandSink
- Throws:
SerializationException