C# Class PeerCastStation.PCP.PCPYellowPageClient

Inheritance: System.MarshalByRefObject, IYellowPageClient
Afficher le fichier Open project: kumaryu/peercaststation Class Usage Examples

Private Properties

Свойство Type Description
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

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
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

Method Details

Announce() public méthode

public Announce ( Channel channel ) : IAnnouncingChannel
channel Channel
Résultat IAnnouncingChannel

FindTracker() public méthode

public FindTracker ( System.Guid channel_id ) : Uri
channel_id System.Guid
Résultat System.Uri

GetChannelsAsync() public méthode

public GetChannelsAsync ( CancellationToken cancel_token ) : System.Threading.Tasks.Task>
cancel_token System.Threading.CancellationToken
Résultat System.Threading.Tasks.Task>

GetConnectionInfo() public méthode

public GetConnectionInfo ( ) : ConnectionInfo
Résultat PeerCastStation.Core.ConnectionInfo

IsValidUri() public static méthode

public static IsValidUri ( Uri uri ) : bool
uri System.Uri
Résultat bool

PCPYellowPageClient() public méthode

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
Résultat System

RestartAnnounce() public méthode

public RestartAnnounce ( ) : void
Résultat void

RestartAnnounce() public méthode

public RestartAnnounce ( IAnnouncingChannel announcing ) : void
announcing IAnnouncingChannel
Résultat void

StopAnnounce() public méthode

public StopAnnounce ( ) : void
Résultat void

StopAnnounce() public méthode

public StopAnnounce ( IAnnouncingChannel announcing ) : void
announcing IAnnouncingChannel
Résultat void