1megaco_edist_compress(3) Erlang Module Definition megaco_edist_compress(3)
2
3
4
6 megaco_edist_compress - Megaco erlang dist compress behaviour.
7
9 The following functions should be exported from a megaco_edist_compress
10 callback module:
11
13 Module:encode(R, Version) -> T
14
15 Types:
16
17 R = megaco_encoder:megaco_message() | megaco_encoder:transac‐
18 tion() | megaco_encoder:action_reply() | megaco_encoder:ac‐
19 tion_request() | megaco_encoder:command_request()
20 Version = megaco_encoder:protocol_version()
21 T = term()
22
23 Compress a megaco component. The erlang dist encoder makes no
24 assumption on the how or even if the component is compressed.
25
26 Module:decode(T, Version) -> R
27
28 Types:
29
30 T = term()
31 Version = megaco_encoder:protocol_version()
32 R = megaco_encoder:megaco_message() | megaco_encoder:transac‐
33 tion() | megaco_encoder:action_reply() | megaco_encoder:ac‐
34 tion_request() | megaco_encoder:command_request()
35
36 Decompress a megaco component.
37
38
39
40Ericsson AB megaco 4.5 megaco_edist_compress(3)