C# Class DotAmf.Encoder.AbstractAmfEncoder

Abstract AMF encoder.
Inheritance: IAmfEncoder
Afficher le fichier Open project: artema/DotAmf

Méthodes publiques

Méthode Description
Encode ( Stream stream, XmlReader input ) : void
WritePacketBody ( Stream stream, AmfMessageDescriptor descriptor ) : void
WritePacketHeader ( Stream stream, AmfHeaderDescriptor descriptor ) : void

Méthodes protégées

Méthode Description
AbstractAmfEncoder ( AmfEncodingOptions encodingOptions ) : System

Constructor.

CreateDefaultContext ( ) : AmfContext

Create default AMF decoding context.

WriteAmfValue ( AmfContext context, XmlReader input, AmfStreamWriter writer ) : void

Write AMF value from the current position.

Method Details

AbstractAmfEncoder() protected méthode

Constructor.
protected AbstractAmfEncoder ( AmfEncodingOptions encodingOptions ) : System
encodingOptions DotAmf.Data.AmfEncodingOptions AMF encoding options.
Résultat System

CreateDefaultContext() protected méthode

Create default AMF decoding context.
protected CreateDefaultContext ( ) : AmfContext
Résultat DotAmf.Data.AmfContext

Encode() public abstract méthode

public abstract Encode ( Stream stream, XmlReader input ) : void
stream Stream
input XmlReader
Résultat void

WriteAmfValue() protected abstract méthode

Write AMF value from the current position.
AMF type is not supported. Invalid data format. Error during serialization.
protected abstract WriteAmfValue ( AmfContext context, XmlReader input, AmfStreamWriter writer ) : void
context DotAmf.Data.AmfContext AMF decoding context.
input XmlReader AMFX input reader.
writer AmfStreamWriter AMF stream writer.
Résultat void

WritePacketBody() public abstract méthode

public abstract WritePacketBody ( Stream stream, AmfMessageDescriptor descriptor ) : void
stream Stream
descriptor DotAmf.Data.AmfMessageDescriptor
Résultat void

WritePacketHeader() public abstract méthode

public abstract WritePacketHeader ( Stream stream, AmfHeaderDescriptor descriptor ) : void
stream Stream
descriptor DotAmf.Data.AmfHeaderDescriptor
Résultat void