C# Класс PeerCastStation.PCP.PCPYellowPageClient

Наследование: System.MarshalByRefObject, IYellowPageClient
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
AnnounceThreadProc void
CreateChannelBcst Atom
HostToUri System.Uri
OnChannelClosed void
OnChannelPropertyChanged void
OnPCPBcst void
OnPCPOleh void
OnPCPQuit void
ParseGuid System.Guid
ParseInt int?
ParseStr string
ParseUptime int?
PostChannelInfo void
PostHostInfo void
ProcessAtom void
ReadHosts List
ReadResponse string
UpdateChannelInfo void

Открытые методы

Метод Описание
Announce ( Channel channel ) : IAnnouncingChannel
FindTracker ( System.Guid channel_id ) : Uri
GetChannelsAsync ( CancellationToken cancel_token ) : System.Threading.Tasks.Task>
GetConnectionInfo ( ) : ConnectionInfo
IsValidUri ( Uri uri ) : bool
PCPYellowPageClient ( PeerCastStation.Core.PeerCast peercast, string name, Uri announce_uri, Uri channels_uri ) : System
RestartAnnounce ( ) : void
RestartAnnounce ( IAnnouncingChannel announcing ) : void
StopAnnounce ( ) : void
StopAnnounce ( IAnnouncingChannel announcing ) : void

Приватные методы

Метод Описание
AnnounceThreadProc ( ) : void
CreateChannelBcst ( Channel channel, bool playing ) : Atom
HostToUri ( Host host, System.Guid channel_id ) : Uri
OnChannelClosed ( object sender, EventArgs e ) : void
OnChannelPropertyChanged ( object sender, EventArgs e ) : void
OnPCPBcst ( Atom atom ) : void
OnPCPOleh ( Atom atom ) : void
OnPCPQuit ( Atom atom ) : void
ParseGuid ( string token ) : System.Guid
ParseInt ( string token ) : int?
ParseStr ( string token ) : string
ParseUptime ( string token ) : int?
PostChannelInfo ( AtomCollection parent, Channel channel ) : void
PostHostInfo ( AtomCollection parent, Channel channel, bool playing ) : void
ProcessAtom ( Atom atom ) : void
ReadHosts ( Stream s, System.Guid channel_id ) : List
ReadResponse ( Stream s ) : string
UpdateChannelInfo ( Channel channel, bool playing ) : void

Описание методов

Announce() публичный Метод

public Announce ( Channel channel ) : IAnnouncingChannel
channel Channel
Результат IAnnouncingChannel

FindTracker() публичный Метод

public FindTracker ( System.Guid channel_id ) : Uri
channel_id System.Guid
Результат System.Uri

GetChannelsAsync() публичный Метод

public GetChannelsAsync ( CancellationToken cancel_token ) : System.Threading.Tasks.Task>
cancel_token System.Threading.CancellationToken
Результат System.Threading.Tasks.Task>

GetConnectionInfo() публичный Метод

public GetConnectionInfo ( ) : ConnectionInfo
Результат PeerCastStation.Core.ConnectionInfo

IsValidUri() публичный статический Метод

public static IsValidUri ( Uri uri ) : bool
uri System.Uri
Результат bool

PCPYellowPageClient() публичный Метод

public PCPYellowPageClient ( PeerCastStation.Core.PeerCast peercast, string name, Uri announce_uri, Uri channels_uri ) : System
peercast PeerCastStation.Core.PeerCast
name string
announce_uri System.Uri
channels_uri System.Uri
Результат System

RestartAnnounce() публичный Метод

public RestartAnnounce ( ) : void
Результат void

RestartAnnounce() публичный Метод

public RestartAnnounce ( IAnnouncingChannel announcing ) : void
announcing IAnnouncingChannel
Результат void

StopAnnounce() публичный Метод

public StopAnnounce ( ) : void
Результат void

StopAnnounce() публичный Метод

public StopAnnounce ( IAnnouncingChannel announcing ) : void
announcing IAnnouncingChannel
Результат void