C# 클래스 PeerCastStation.PCP.PCPSourceStream

상속: PeerCastStation.Core.SourceStreamBase
파일 보기 프로젝트 열기: kumaryu/peercaststation 1 사용 예제들

공개 메소드들

메소드 설명
GetConnectionInfo ( ) : ConnectionInfo
PCPSourceStream ( PeerCastStation.Core.PeerCast peercast, Channel channel, Uri source_uri ) : System

보호된 메소드들

메소드 설명
CreateConnection ( Uri source_uri ) : ISourceConnection
DoReconnect ( ) : void
OnConnectionStopped ( ISourceConnection connection, StopReason reason ) : void

비공개 메소드들

메소드 설명
ClearIgnored ( ) : void

全てのノードを接続先として選択可能にします

CreateHostUri ( Host host ) : Uri
GetConnectableNodes ( ) : IEnumerable
IgnoreNode ( Uri uri ) : void

指定したノードが接続先として選択されないように保持します。 一度無視されたノードは一定時間経過した後、再度選択されるようになります

IsIgnored ( Uri uri ) : bool
IsSiteLocal ( Host node ) : bool
Reconnect ( Uri new_source ) : void
SelectSourceHost ( ) : Uri

메소드 상세

CreateConnection() 보호된 메소드

protected CreateConnection ( Uri source_uri ) : ISourceConnection
source_uri System.Uri
리턴 ISourceConnection

DoReconnect() 보호된 메소드

protected DoReconnect ( ) : void
리턴 void

GetConnectionInfo() 공개 메소드

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

OnConnectionStopped() 보호된 메소드

protected OnConnectionStopped ( ISourceConnection connection, StopReason reason ) : void
connection ISourceConnection
reason StopReason
리턴 void

PCPSourceStream() 공개 메소드

public PCPSourceStream ( PeerCastStation.Core.PeerCast peercast, Channel channel, Uri source_uri ) : System
peercast PeerCastStation.Core.PeerCast
channel Channel
source_uri System.Uri
리턴 System