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::V1 - Translate datastructures to and from Hessian 1.0.

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 1.0 specific datastructures from the stream.

read_list_type

Read the type attribute of a Hessian 1.0 typed list

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_message_chunk_data

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

read_remote_object

read_rpc

Read a remote procedure call from the input stream.

read_simple_datastructure

string
integer
long
double
boolean
null

read_typed_list

read_untyped_list

read_v1_type

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

write_hessian_array

Writes an array datastructure into the outgoing Hessian message.

Note: This object only writes untyped variable length arrays.

write_hessian_date

Writes a DateTime object into the outgoing Hessian message.

write_hessian_hash

Writes a HASH reference into the outgoing Hessian message.

write_hessian_string

Writes a string scalar into the outgoing Hessian message.

write_hessian_call

serialize_message

Performs Hessian 1 specific processing of datastructures into hessian.

write_object

Serialize an object into a Hessian 1.0 string.

write_referenced_data

Write a referenced datastructure into a Hessian 1.0 string.