C# 클래스 CSharpRTMP.Core.NetIO.UDPCarrier

상속: IOHandler
파일 보기 프로젝트 열기: langhuihui/csharprtmp 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
NearIP string
NearPort int
Parameters Variant
Rx int

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
GetEndpointsInfo ( ) : bool

메소드 상세

Create() 공개 정적인 메소드

public static Create ( string bindIp, int bindPort ) : UDPCarrier
bindIp string
bindPort int
리턴 UDPCarrier

Create() 공개 정적인 메소드

public static Create ( string bindIp, ushort bindPort, BaseProtocol pProtocol ) : UDPCarrier
bindIp string
bindPort ushort
pProtocol CSharpRTMP.Core.Protocols.BaseProtocol
리턴 UDPCarrier

GetStats() 공개 메소드

public GetStats ( Variant info ) : bool
info Variant
리턴 bool

GetStats() 공개 메소드

public GetStats ( Variant info, uint namespaceId ) : void
info Variant
namespaceId uint
리턴 void

OnEvent() 공개 메소드

public OnEvent ( SocketAsyncEventArgs e ) : bool
e System.Net.Sockets.SocketAsyncEventArgs
리턴 bool

SetReceiveBuffer() 공개 메소드

public SetReceiveBuffer ( InputStream ms, SocketAsyncEventArgs socketAsyncEventArgs, int size ) : bool
ms CSharpRTMP.Common.InputStream
socketAsyncEventArgs System.Net.Sockets.SocketAsyncEventArgs
size int
리턴 bool

SignalOutputData() 공개 메소드

public SignalOutputData ( EndPoint address, MemoryStream outputStream ) : bool
address System.Net.EndPoint
outputStream System.IO.MemoryStream
리턴 bool

StartAccept() 공개 메소드

public StartAccept ( ) : bool
리턴 bool

UDPCarrier() 공개 메소드

public UDPCarrier ( Socket socket ) : System
socket Socket
리턴 System

프로퍼티 상세

NearIP 공개적으로 프로퍼티

public string NearIP
리턴 string

NearPort 공개적으로 프로퍼티

public int NearPort
리턴 int

Parameters 공개적으로 프로퍼티

public Variant Parameters
리턴 Variant

Rx 공개적으로 프로퍼티

public int Rx
리턴 int