C# Class PeerCastStation.Core.AccessController

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

Public Methods

Method 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 method

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

IsChannelPlayable() public method

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

IsChannelPlayable() public method

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

IsChannelRelayable() public method

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

IsChannelRelayable() public method

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