Photon C++ Client API  5.0.7.3
Public Member Functions | List of all members
Decoder< T > Class Template Reference
Inheritance diagram for Decoder< T >:
Inheritance graph
[legend]
Collaboration diagram for Decoder< T >:
Collaboration graph
[legend]

Public Member Functions

 Decoder (void *outputOpaque, void(*output)(void *, const Buffer< T > &), const ILogger &logger)
 
virtual void open (const VoiceInfo &i)
 Open (initialize) the decoder. More...
 
virtual Common::JString getError (void) const
 If not null, the object is in invalid state. More...
 
virtual void input (const Buffer< nByte > &buf)
 Consumes the given encoded data. More...
 

Member Function Documentation

◆ open()

void open ( const VoiceInfo info)
virtual

Open (initialize) the decoder.

Parameters
infoProperties of the data stream to decode.

Implements IDecoder.

◆ getError()

JString getError ( void  ) const
virtual

If not null, the object is in invalid state.

Implements IDecoder.

◆ input()

void input ( const Buffer< nByte > &  buf)
virtual

Consumes the given encoded data.

Implements IDecoder.