C# Class CSharpRTMP.Core.Protocols.Rtmfp.FlowWriter

Inheritance: IDisposable
Afficher le fichier Open project: langhuihui/csharprtmp Class Usage Examples

Méthodes publiques

Свойство Type Description
Band Session
CallbackHandle double
Closed bool
Critical bool
FlowId ulong
Id ulong
Obj string
Reliable bool
Signature string

Méthodes publiques

Méthode Description
Acknowledgment ( N2HBinaryReader reader ) : void
BeginTransaction ( ) : void
Clear ( ) : void
Close ( ) : void
Connect ( Variant connectArgs, Variant>.Action callback ) : void
CreateStream ( Variant>.Action callback ) : void
Dispose ( ) : void
EndTransaction ( uint numberOfCancel ) : void
Fail ( string error ) : void
FlowWriter ( FlowWriter flowWriter ) : System
FlowWriter ( string signature, Session band, ulong flowId ) : System
Flush ( H2NBinaryWriter writer, ulong stage, byte flags, bool header, N2HBinaryReader reader, ushort size ) : void
Flush ( bool full = false ) : void
Manage ( ) : void
NewStreamWriter ( byte type ) : StreamWriter
Play ( string name ) : void
Reset ( ulong id ) : void
SetPeerInfo ( IPEndPoint ipEndPoint ) : void
WriteAMFMessage ( string name, double callBackHandle ) : AMF0Writer
WriteAMFPacket ( string name ) : AMF0Writer
WriteAMFRequestMessage ( string name, double callBackHandle ) : AMF0Writer
WriteAMFResponse ( string name, string code, string description ) : AMFObjectWriter
WriteAMFResult ( ) : AMF0Writer
WriteErrorResponse ( string code, string description ) : void
WriteFlexMessage ( string name, double callBackHandle ) : AMF0Writer
WriteStatusResponse ( string code, string description ) : void
WriteSuccessResponse ( string code, string description ) : AMFObjectWriter
WriteUnbufferedMessage ( MemoryStream bufferWithOffset, MemoryStream memAck = null ) : void
WriterRawMessage ( bool withoutHeader = false ) : H2NBinaryWriter

Méthodes protégées

Méthode Description
AckMessageHandler ( uint ackCount, uint lostCount, object reader1, uint available, uint size ) : void
Reset ( uint count ) : void

Private Methods

Méthode Description
CreateBufferedMessage ( ) : MessageBuffered
HeaderSize ( ulong stage ) : uint
RaiseMessage ( ) : void
WriteRequetHeader ( AMF0Writer writer, string name, double callbackHandle ) : void
WriteResponseHeader ( AMF0Writer writer, string name, double callbackHandle ) : void

Method Details

AckMessageHandler() protected méthode

protected AckMessageHandler ( uint ackCount, uint lostCount, object reader1, uint available, uint size ) : void
ackCount uint
lostCount uint
reader1 object
available uint
size uint
Résultat void

Acknowledgment() public méthode

public Acknowledgment ( N2HBinaryReader reader ) : void
reader CSharpRTMP.Common.N2HBinaryReader
Résultat void

BeginTransaction() public méthode

public BeginTransaction ( ) : void
Résultat void

Clear() public méthode

public Clear ( ) : void
Résultat void

Close() public méthode

public Close ( ) : void
Résultat void

Connect() public méthode

public Connect ( Variant connectArgs, Variant>.Action callback ) : void
connectArgs Variant
callback Variant>.Action
Résultat void

CreateStream() public méthode

public CreateStream ( Variant>.Action callback ) : void
callback Variant>.Action
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

EndTransaction() public méthode

public EndTransaction ( uint numberOfCancel ) : void
numberOfCancel uint
Résultat void

Fail() public méthode

public Fail ( string error ) : void
error string
Résultat void

FlowWriter() public méthode

public FlowWriter ( FlowWriter flowWriter ) : System
flowWriter FlowWriter
Résultat System

FlowWriter() public méthode

public FlowWriter ( string signature, Session band, ulong flowId ) : System
signature string
band Session
flowId ulong
Résultat System

Flush() public méthode

public Flush ( H2NBinaryWriter writer, ulong stage, byte flags, bool header, N2HBinaryReader reader, ushort size ) : void
writer H2NBinaryWriter
stage ulong
flags byte
header bool
reader N2HBinaryReader
size ushort
Résultat void

Flush() public méthode

public Flush ( bool full = false ) : void
full bool
Résultat void

Manage() public méthode

public Manage ( ) : void
Résultat void

NewStreamWriter() public méthode

public NewStreamWriter ( byte type ) : StreamWriter
type byte
Résultat StreamWriter

Play() public méthode

public Play ( string name ) : void
name string
Résultat void

Reset() protected méthode

protected Reset ( uint count ) : void
count uint
Résultat void

Reset() public méthode

public Reset ( ulong id ) : void
id ulong
Résultat void

SetPeerInfo() public méthode

public SetPeerInfo ( IPEndPoint ipEndPoint ) : void
ipEndPoint IPEndPoint
Résultat void

WriteAMFMessage() public méthode

public WriteAMFMessage ( string name, double callBackHandle ) : AMF0Writer
name string
callBackHandle double
Résultat AMF0Writer

WriteAMFPacket() public méthode

public WriteAMFPacket ( string name ) : AMF0Writer
name string
Résultat AMF0Writer

WriteAMFRequestMessage() public méthode

public WriteAMFRequestMessage ( string name, double callBackHandle ) : AMF0Writer
name string
callBackHandle double
Résultat AMF0Writer

WriteAMFResponse() public méthode

public WriteAMFResponse ( string name, string code, string description ) : AMFObjectWriter
name string
code string
description string
Résultat AMFObjectWriter

WriteAMFResult() public méthode

public WriteAMFResult ( ) : AMF0Writer
Résultat AMF0Writer

WriteErrorResponse() public méthode

public WriteErrorResponse ( string code, string description ) : void
code string
description string
Résultat void

WriteFlexMessage() public méthode

public WriteFlexMessage ( string name, double callBackHandle ) : AMF0Writer
name string
callBackHandle double
Résultat AMF0Writer

WriteStatusResponse() public méthode

public WriteStatusResponse ( string code, string description ) : void
code string
description string
Résultat void

WriteSuccessResponse() public méthode

public WriteSuccessResponse ( string code, string description ) : AMFObjectWriter
code string
description string
Résultat AMFObjectWriter

WriteUnbufferedMessage() public méthode

public WriteUnbufferedMessage ( MemoryStream bufferWithOffset, MemoryStream memAck = null ) : void
bufferWithOffset MemoryStream
memAck MemoryStream
Résultat void

WriterRawMessage() public méthode

public WriterRawMessage ( bool withoutHeader = false ) : H2NBinaryWriter
withoutHeader bool
Résultat H2NBinaryWriter

Property Details

Band public_oe property

public Session Band
Résultat Session

CallbackHandle public_oe property

public double CallbackHandle
Résultat double

Closed public_oe property

public bool Closed
Résultat bool

Critical public_oe property

public bool Critical
Résultat bool

FlowId public_oe property

public ulong FlowId
Résultat ulong

Id public_oe property

public ulong Id
Résultat ulong

Obj public_oe property

public string Obj
Résultat string

Reliable public_oe property

public bool Reliable
Résultat bool

Signature public_oe property

public string Signature
Résultat string