C# 클래스 PeerCastStation.UI.HTTP.APIHost.APIContext

파일 보기 프로젝트 열기: kumaryu/peercaststation

공개 메소드들

메소드 설명
APIContext ( APIHost owner, PeerCastStation.Core.PeerCast peercast, AccessControlInfo access_control ) : System

비공개 메소드들

메소드 설명
AddBroadcastHistory ( Newtonsoft.Json.Linq.JObject info ) : void
AddListener ( string address, int port, int localAccepts, int globalAccepts, bool localAuthorizationRequired = false, bool globalAuthorizationRequired = true ) : Newtonsoft.Json.Linq.JObject
AddYellowPage ( string protocol, string name, string uri = null, string announceUri = null, string channelsUri = null ) : Newtonsoft.Json.Linq.JObject
BroadcastChannel ( int yellowPageId, string sourceUri, string contentReader, Newtonsoft.Json.Linq.JObject info, Newtonsoft.Json.Linq.JObject track, string sourceStream = null ) : string
BumpChannel ( string channelId ) : void
CheckBandWidth ( ) : int?
CheckPorts ( ) : Newtonsoft.Json.Linq.JArray
CheckUpdate ( ) : void
ClearLog ( ) : void
CreateRelayTreeNode ( HostTreeNode node ) : Newtonsoft.Json.Linq.JObject
GetAuthToken ( ) : string
GetBroadcastHistory ( ) : Newtonsoft.Json.Linq.JArray
GetChannel ( string channel_id ) : Channel
GetChannelAnnouncingInfo ( string channelId ) : Newtonsoft.Json.Linq.JArray
GetChannelConnection ( IAnnouncingChannel ac ) : Newtonsoft.Json.Linq.JObject
GetChannelConnection ( IOutputStream os ) : Newtonsoft.Json.Linq.JObject
GetChannelConnection ( ISourceStream ss ) : Newtonsoft.Json.Linq.JObject
GetChannelConnection ( object connection, ConnectionInfo info ) : Newtonsoft.Json.Linq.JObject
GetChannelConnections ( string channelId ) : Newtonsoft.Json.Linq.JArray
GetChannelInfo ( string channelId ) : Newtonsoft.Json.Linq.JObject
GetChannelOutputs ( string channelId ) : Newtonsoft.Json.Linq.JArray
GetChannelRelayTree ( string channelId ) : Newtonsoft.Json.Linq.JArray
GetChannelStatus ( string channelId ) : Newtonsoft.Json.Linq.JObject
GetChannels ( ) : Newtonsoft.Json.Linq.JArray
GetContentReaders ( ) : Newtonsoft.Json.Linq.JArray
GetExternalIPAddresses ( ) : Newtonsoft.Json.Linq.JArray
GetListener ( OutputListener listener ) : Newtonsoft.Json.Linq.JObject
GetListeners ( ) : Newtonsoft.Json.Linq.JArray
GetLog ( int from, int maxLines ) : JToken
GetLogSettings ( ) : JToken
GetNewVersions ( ) : Newtonsoft.Json.Linq.JArray
GetNotificationMessages ( ) : Newtonsoft.Json.Linq.JArray
GetObjectId ( object obj ) : int
GetPlugins ( ) : Newtonsoft.Json.Linq.JArray
GetSettings ( ) : JToken
GetSourceStreams ( ) : Newtonsoft.Json.Linq.JArray
GetStatus ( ) : Newtonsoft.Json.Linq.JObject
GetUserConfig ( string user, string key ) : JToken
GetVersionInfo ( ) : Newtonsoft.Json.Linq.JObject
GetYPChannels ( ) : Newtonsoft.Json.Linq.JArray
GetYellowPageProtocols ( ) : Newtonsoft.Json.Linq.JArray
GetYellowPages ( ) : Newtonsoft.Json.Linq.JArray
RemoveListener ( int listenerId ) : void
RemoveYellowPage ( int yellowPageId ) : void
RestartAnnounce ( int yellowPageId, string channelId = null ) : void
RestartChannelConnection ( string channelId, int connectionId ) : bool
SetChannelInfo ( string channelId, Newtonsoft.Json.Linq.JObject info, Newtonsoft.Json.Linq.JObject track ) : void
SetSettings ( Newtonsoft.Json.Linq.JObject settings ) : void
SetUserConfig ( string user, string key, Newtonsoft.Json.Linq.JObject value ) : void
StopAnnounce ( int yellowPageId, string channelId = null ) : void
StopChannel ( string channelId ) : void
StopChannelConnection ( string channelId, int connectionId ) : bool
StopChannelOutput ( string channelId, int outputId ) : void
UpdateYPChannels ( ) : Newtonsoft.Json.Linq.JArray
YPChannelsToArray ( IEnumerable channels ) : Newtonsoft.Json.Linq.JArray
resetListenerAuthenticationKey ( int listenerId ) : Newtonsoft.Json.Linq.JObject
setListenerAccepts ( int listenerId, int localAccepts, int globalAccepts ) : void
setListenerAuthorizationRequired ( int listenerId, bool localAuthorizationRequired, bool globalAuthorizationRequired ) : void
setLogSettings ( Newtonsoft.Json.Linq.JObject settings ) : void

메소드 상세

APIContext() 공개 메소드

public APIContext ( APIHost owner, PeerCastStation.Core.PeerCast peercast, AccessControlInfo access_control ) : System
owner APIHost
peercast PeerCastStation.Core.PeerCast
access_control PeerCastStation.Core.AccessControlInfo
리턴 System