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
Public Methods |
void
|
accept(RpcCommand command)
Accept an RpcCommand for processing.
|
void
|
finish()
Called when no more commands will be sent.
|
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 Methods
public
void
accept
(RpcCommand command)
Accept an RpcCommand for processing.
public
void
finish
()
Called when no more commands will be sent.