Erlang logo
User's Guide
Reference Manual
Release Notes
PDF
Top

Megaco/H.248
Reference Manual
Version 3.16.0.1


Expand All
Contract All

Table of Contents

megaco_edist_compress

MODULE

megaco_edist_compress

MODULE SUMMARY

Megaco erlang dist compress behaviour.

DESCRIPTION

The following functions should be exported from a megaco_edist_compress callback module:

EXPORTS

Module:encode(R, Version) -> T

Types:

R = megaco_message() | transaction() | action_reply() | action_request() | command_request()
Version = integer()
T = term()

Compress a megaco component. The erlang dist encoder makes no assumption on the how or even if the component is compressed.

Module:decode(T, Version) -> R

Types:

T = term()
Version = integer()
R = megaco_message() | transaction() | action_reply() | action_request() | command_request()

Decompress a megaco component.