NAME

Hessian::Translator::V2 - Translate datastructures to and from Hessian 2.0.

VERSION

SYNOPSIS

DESCRIPTION

INTERFACE

read_class_handle

Read a class definition from the Hessian stream and possibly create an object from the definition and given parameters.

read_composite_data

Read Hessian 2.0 specific datastructures from the stream.

read_map_handle

Read a map (perl HASH) from the stream.

read_message_chunk_data

Read Hessian 2.0 envelope. For version 2.0 of the protocol this applies to envelope, packet, reply, call and fault objects.

read_rpc

Read a remote procedure call from the input stream.

read_simple_datastructure

Read a scalar of one of the basic Hessian datatypes from the stream. This can be one of:

string
integer
long
double
boolean
null

read_typed_list

Read a Hessian 2.0 typed list. Note that this is mainly for compatability with other servers that are implemented in languages like Java where type is actually relevant.

read_untyped_list

Read a list of arbitrarily typed entities.

write_hessian_array

Writes an array datastructure into the outgoing Hessian message.

Note: This object only writes untyped variable length arrays.

write_hessian_hash

Writes a HASH reference into the outgoing Hessian message.

write_hessian_string

Writes a string scalar into the outgoing Hessian message.

serialize_message

Serialize a datastructure into a Hessian 2.0 message.

write_hessian_call

Writes out a Hessian 2 specific remote procedure call

write_typed_map

Work around for write_object for serializing typed hash references and objects until I find a better way to distinguish between the two.

write_object

Serialize an object into a Hessian 1.0 string.

write_referenced_data

Write a referenced datastructure into a Hessian 1.0 string.