ExAIS.Decoder (ExAis v0.2.4)
View SourceDocumentation for ExAIS.Decoder.
Decoder is a Genserver that receives messages and decodes them into a state.
By default Decoders decode all Ais message types but can be initialized with a list of message types to decode if you want to restrict the scope.
Example:
%{
id: :satdecoder,
module: ExAIS.Decoder,
name: :satdecoder,
batch_size: 10_000,
processor: :satprocessor,
supervisor: Portal.TaskSupervisor,
msg_types: [1, 2, 3]}
Summary
Functions
Returns a specification to start this module under a supervisor.
Callback implementation for GenServer.init/1.
Functions
Returns a specification to start this module under a supervisor.
See Supervisor.
Callback implementation for GenServer.init/1.