public class

SimplePayloadSink

extends CommandSink
java.lang.Object
   ↳ com.google.gwt.rpc.client.ast.CommandSink
     ↳ com.google.gwt.rpc.client.impl.SimplePayloadSink

Class Overview

This implementation of CommandSink encodes RpcCommands in a simple transport format that can be interpreted by both the client and the server.

Summary

Constants
char ARRAY_TYPE
char BACKREF_TYPE
char BOOLEAN_TYPE
char BYTE_TYPE
char CHAR_TYPE
char DOUBLE_TYPE
char ENUM_TYPE
char FLOAT_TYPE
char INT_TYPE
char INVOKE_TYPE
char LONG_TYPE
char NL_CHAR
char OBJECT_TYPE
char RETURN_TYPE
char RPC_SEPARATOR_CHAR
char SHORT_TYPE
char STRING_TYPE
char THROW_TYPE
char VOID_TYPE
Public Constructors
SimplePayloadSink(Appendable buffer)
Public Methods
void accept(RpcCommand command)
Accept an RpcCommand for processing.
void finish()
Called when no more commands will be sent.
[Expand]
Inherited Methods
From class com.google.gwt.rpc.client.ast.CommandSink
From class java.lang.Object

Constants

public static final char ARRAY_TYPE

Constant Value: 91 (0x0000005b)

public static final char BACKREF_TYPE

Constant Value: 64 (0x00000040)

public static final char BOOLEAN_TYPE

Constant Value: 90 (0x0000005a)

public static final char BYTE_TYPE

Constant Value: 66 (0x00000042)

public static final char CHAR_TYPE

Constant Value: 67 (0x00000043)

public static final char DOUBLE_TYPE

Constant Value: 68 (0x00000044)

public static final char ENUM_TYPE

Constant Value: 69 (0x00000045)

public static final char FLOAT_TYPE

Constant Value: 70 (0x00000046)

public static final char INT_TYPE

Constant Value: 73 (0x00000049)

public static final char INVOKE_TYPE

Constant Value: 33 (0x00000021)

public static final char LONG_TYPE

Constant Value: 74 (0x0000004a)

public static final char NL_CHAR

Constant Value: 10 (0x0000000a)

public static final char OBJECT_TYPE

Constant Value: 76 (0x0000004c)

public static final char RETURN_TYPE

Constant Value: 82 (0x00000052)

public static final char RPC_SEPARATOR_CHAR

Constant Value: 126 (0x0000007e)

public static final char SHORT_TYPE

Constant Value: 83 (0x00000053)

public static final char STRING_TYPE

Constant Value: 34 (0x00000022)

public static final char THROW_TYPE

Constant Value: 84 (0x00000054)

public static final char VOID_TYPE

Constant Value: 86 (0x00000056)

Public Constructors

public SimplePayloadSink (Appendable buffer)

Public Methods

public void accept (RpcCommand command)

Accept an RpcCommand for processing.

public void finish ()

Called when no more commands will be sent.