C# 클래스 PeerCastStation.HTTP.HTTPPushSourceConnection

상속: PeerCastStation.Core.SourceConnectionBase
파일 보기 프로젝트 열기: kumaryu/peercaststation

공개 메소드들

메소드 설명
GetConnectionInfo ( ) : ConnectionInfo
HTTPPushSourceConnection ( PeerCastStation.Core.PeerCast peercast, Channel channel, Uri source_uri, IContentReader content_reader, bool use_content_bitrate ) : PeerCastStation.Core

보호된 메소드들

메소드 설명
DoConnect ( Uri source, CancellationToken cancellationToken ) : Task
DoPost ( Host from, Atom packet ) : void
DoProcess ( CancellationToken cancellationToken ) : Task

비공개 메소드들

메소드 설명
GetBindAddresses ( Uri uri ) : IEnumerable
GetChunkedStream ( Stream stream ) : Stream
Handshake ( CancellationToken cancel_token ) : Task
ReadContents ( CancellationToken cancel_token ) : Task

메소드 상세

DoConnect() 보호된 메소드

protected DoConnect ( Uri source, CancellationToken cancellationToken ) : Task
source System.Uri
cancellationToken System.Threading.CancellationToken
리턴 Task

DoPost() 보호된 메소드

protected DoPost ( Host from, Atom packet ) : void
from PeerCastStation.Core.Host
packet Atom
리턴 void

DoProcess() 보호된 메소드

protected DoProcess ( CancellationToken cancellationToken ) : Task
cancellationToken System.Threading.CancellationToken
리턴 Task

GetConnectionInfo() 공개 메소드

public GetConnectionInfo ( ) : ConnectionInfo
리턴 PeerCastStation.Core.ConnectionInfo

HTTPPushSourceConnection() 공개 메소드

public HTTPPushSourceConnection ( PeerCastStation.Core.PeerCast peercast, Channel channel, Uri source_uri, IContentReader content_reader, bool use_content_bitrate ) : PeerCastStation.Core
peercast PeerCastStation.Core.PeerCast
channel Channel
source_uri System.Uri
content_reader IContentReader
use_content_bitrate bool
리턴 PeerCastStation.Core