C# Class CSharpRTMP.Core.NetIO.UDPCarrier

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

Méthodes publiques

Свойство Type Description
NearIP string
NearPort int
Parameters Variant
Rx int

Méthodes publiques

Méthode Description
Create ( string bindIp, int bindPort ) : UDPCarrier
Create ( string bindIp, ushort bindPort, BaseProtocol pProtocol ) : UDPCarrier
GetStats ( Variant info ) : bool
GetStats ( Variant info, uint namespaceId ) : void
OnEvent ( SocketAsyncEventArgs e ) : bool
SetReceiveBuffer ( InputStream ms, SocketAsyncEventArgs socketAsyncEventArgs, int size ) : bool
SignalOutputData ( EndPoint address, MemoryStream outputStream ) : bool
StartAccept ( ) : bool
UDPCarrier ( Socket socket ) : System

Private Methods

Méthode Description
GetEndpointsInfo ( ) : bool

Method Details

Create() public static méthode

public static Create ( string bindIp, int bindPort ) : UDPCarrier
bindIp string
bindPort int
Résultat UDPCarrier

Create() public static méthode

public static Create ( string bindIp, ushort bindPort, BaseProtocol pProtocol ) : UDPCarrier
bindIp string
bindPort ushort
pProtocol CSharpRTMP.Core.Protocols.BaseProtocol
Résultat UDPCarrier

GetStats() public méthode

public GetStats ( Variant info ) : bool
info Variant
Résultat bool

GetStats() public méthode

public GetStats ( Variant info, uint namespaceId ) : void
info Variant
namespaceId uint
Résultat void

OnEvent() public méthode

public OnEvent ( SocketAsyncEventArgs e ) : bool
e System.Net.Sockets.SocketAsyncEventArgs
Résultat bool

SetReceiveBuffer() public méthode

public SetReceiveBuffer ( InputStream ms, SocketAsyncEventArgs socketAsyncEventArgs, int size ) : bool
ms CSharpRTMP.Common.InputStream
socketAsyncEventArgs System.Net.Sockets.SocketAsyncEventArgs
size int
Résultat bool

SignalOutputData() public méthode

public SignalOutputData ( EndPoint address, MemoryStream outputStream ) : bool
address System.Net.EndPoint
outputStream System.IO.MemoryStream
Résultat bool

StartAccept() public méthode

public StartAccept ( ) : bool
Résultat bool

UDPCarrier() public méthode

public UDPCarrier ( Socket socket ) : System
socket Socket
Résultat System

Property Details

NearIP public_oe property

public string NearIP
Résultat string

NearPort public_oe property

public int NearPort
Résultat int

Parameters public_oe property

public Variant Parameters
Résultat Variant

Rx public_oe property

public int Rx
Résultat int