C# Class PeerCastStation.Core.AccessController

チャンネルへの接続制御を行なうクラスです
Afficher le fichier Open project: kumaryu/peercaststation Class Usage Examples

Méthodes publiques

Méthode Description
AccessController ( PeerCastStation.Core.PeerCast peercast ) : System

AccessControllerオブジェクトを初期化します

IsChannelPlayable ( Channel channel ) : bool

指定したチャンネルに新しい視聴接続ができるかどうかを取得します

IsChannelPlayable ( Channel channel, IOutputStream output_stream ) : bool

指定したチャンネルに新しい視聴接続ができるかどうかを取得します

IsChannelRelayable ( Channel channel ) : bool

指定したチャンネルに新しいリレー接続ができるかどうかを取得します

IsChannelRelayable ( Channel channel, IOutputStream output_stream ) : bool

指定したチャンネルに新しいリレー接続ができるかどうかを取得します

Method Details

AccessController() public méthode

AccessControllerオブジェクトを初期化します
public AccessController ( PeerCastStation.Core.PeerCast peercast ) : System
peercast PeerCastStation.Core.PeerCast 所属するPeerCastオブジェクト
Résultat System

IsChannelPlayable() public méthode

指定したチャンネルに新しい視聴接続ができるかどうかを取得します
public IsChannelPlayable ( Channel channel ) : bool
channel Channel 視聴接続先のチャンネル
Résultat bool

IsChannelPlayable() public méthode

指定したチャンネルに新しい視聴接続ができるかどうかを取得します
public IsChannelPlayable ( Channel channel, IOutputStream output_stream ) : bool
channel Channel 視聴接続先のチャンネル
output_stream IOutputStream 接続しようとするOutputStream
Résultat bool

IsChannelRelayable() public méthode

指定したチャンネルに新しいリレー接続ができるかどうかを取得します
public IsChannelRelayable ( Channel channel ) : bool
channel Channel リレー接続先のチャンネル
Résultat bool

IsChannelRelayable() public méthode

指定したチャンネルに新しいリレー接続ができるかどうかを取得します
public IsChannelRelayable ( Channel channel, IOutputStream output_stream ) : bool
channel Channel リレー接続先のチャンネル
output_stream IOutputStream 接続しようとするOutputStream
Résultat bool