The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Hessian::Translator::Composite - Translate composite datastructures to and from hessian.

SYNOPSIS

These methods are meant for internal use only.

DESCRIPTION

This module implements the basic methods needed for processing complex datatypes like arrays, hash maps and classes.

INTERFACE

assemble_class

Constructs a class from raw Hessian data using either a class definition from the class definition list and encoded object data for the attributes.

fetch_class_for_data

instantiate_class

Instantiates the freshly assembled class data.

read_composite_datastructure

Reads a complex datastructure (ARRAY, HASH or object) from the Hessian stream.

read_hessian_chunk

read_list_length

read_list_type

read_typed_list_element

store_class_definition

store_fetch_type

write_composite_element

write_hessian_chunk

write_list

write_map

write_scalar_element

write_hessian_date

Writes a DateTime object into the outgoing Hessian message.

read_map_handle

Read a map (perl HASH) from the stream. If a type attribute is present, the hash will be blessed into an object.

read_typed_list

read_untyped_list

read_v1_type

Read the type attribute (if present) from a Hessian 1.0 list or map.

read_remote_object

write_hessian_array

Writes an array datastructure into the outgoing Hessian message.

Note: This object only writes untyped variable length arrays.