diameter_codec

diameter_codec

Module

diameter_codec

Module summary

Decode and encode of Diameter messages.

Description

Incoming Diameter messages are decoded from binary() before being communicated to diameter_app(3) callbacks. Similarly, outgoing Diameter messages are encoded into binary() before being passed to the appropriate diameter_transport(3) module for transmission. The functions in this module implement this encode/decode.

Note

Calls to this module are made by diameter itself as a consequence of configuration passed to diameter:start_service/2. The encode/decode functions may also be useful fo