table of contents
other versions
- bullseye 1:23.2.6+dfsg-1+deb11u1
- testing 1:25.2.3+dfsg-1
- unstable 1:25.2.3+dfsg-1
- experimental 1:26.0.1+dfsg-1
megaco_edist_compress(3erl) | Erlang Module Definition | megaco_edist_compress(3erl) |
NAME¶
megaco_edist_compress - 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_encoder:megaco_message() |
megaco_encoder:transaction() | megaco_encoder:action_reply() |
megaco_encoder:action_request() | megaco_encoder:command_request()
Version = megaco_encoder:protocol_version()
T = term()
Version = megaco_encoder:protocol_version()
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 = megaco_encoder:protocol_version()
R = megaco_encoder:megaco_message() | megaco_encoder:transaction() | megaco_encoder:action_reply() | megaco_encoder:action_request() | megaco_encoder:command_request()
Version = megaco_encoder:protocol_version()
R = megaco_encoder:megaco_message() | megaco_encoder:transaction() | megaco_encoder:action_reply() | megaco_encoder:action_request() | megaco_encoder:command_request()
Decompress a megaco component.
megaco 3.19.5 | Ericsson AB |