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() |
19 megaco_encoder:action_request() | megaco_encoder:com‐
20 mand_request()
21 Version = megaco_encoder:protocol_version()
22 T = term()
23
24 Compress a megaco component. The erlang dist encoder makes no
25 assumption on the how or even if the component is compressed.
26
27 Module:decode(T, Version) -> R
28
29 Types:
30
31 T = term()
32 Version = megaco_encoder:protocol_version()
33 R = megaco_encoder:megaco_message() | megaco_encoder:transac‐
34 tion() | megaco_encoder:action_reply() |
35 megaco_encoder:action_request() | megaco_encoder:com‐
36 mand_request()
37
38 Decompress a megaco component.
39
40
41
42Ericsson AB megaco 3.19.5 megaco_edist_compress(3)