C# Class CSharpRTMP.Core.Protocols.Cluster.SlaveClusterAppProtocolHandler

Inheritance: BaseClusterAppProtocolHandler
显示文件 Open project: langhuihui/csharprtmp Class Usage Examples

Public Properties

Property Type Description
GotAppIdTasks GotAppIdDelegate>.Dictionary
OutboundCluster OutboundClusterProtocol
ReconnectTimer System.Timers.Timer

Public Methods

Method Description
Broadcast ( uint appId, BaseProtocol pFrom, Variant invokeInfo ) : void
CallAppFunction ( uint appId, string functionName, Variant invoke ) : void
ConnectOutboundCluster ( ) : bool
GetAppId ( string appName ) : uint
OnAppListSynchronization ( DirtyInfo dirty ) : void
OnSOCreated ( SO so ) : void
PlayStream ( uint appId, string streamName ) : void
PublishStream ( uint appId, IInStream inStream, string type = "live" ) : void
RegisterProtocol ( BaseProtocol protocol ) : void
SlaveClusterAppProtocolHandler ( Variant configuration ) : System
UnRegisterProtocol ( BaseProtocol protocol ) : void

Private Methods

Method Description
ReconnectTimer_Elapsed ( object sender, System e ) : void

Method Details

Broadcast() public method

public Broadcast ( uint appId, BaseProtocol pFrom, Variant invokeInfo ) : void
appId uint
pFrom BaseProtocol
invokeInfo Variant
return void

CallAppFunction() public method

public CallAppFunction ( uint appId, string functionName, Variant invoke ) : void
appId uint
functionName string
invoke Variant
return void

ConnectOutboundCluster() public method

public ConnectOutboundCluster ( ) : bool
return bool

GetAppId() public method

public GetAppId ( string appName ) : uint
appName string
return uint

OnAppListSynchronization() public method

public OnAppListSynchronization ( DirtyInfo dirty ) : void
dirty CSharpRTMP.Core.Protocols.Rtmp.DirtyInfo
return void

OnSOCreated() public method

public OnSOCreated ( SO so ) : void
so CSharpRTMP.Core.Protocols.Rtmp.SO
return void

PlayStream() public method

public PlayStream ( uint appId, string streamName ) : void
appId uint
streamName string
return void

PublishStream() public method

public PublishStream ( uint appId, IInStream inStream, string type = "live" ) : void
appId uint
inStream IInStream
type string
return void

RegisterProtocol() public method

public RegisterProtocol ( BaseProtocol protocol ) : void
protocol BaseProtocol
return void

SlaveClusterAppProtocolHandler() public method

public SlaveClusterAppProtocolHandler ( Variant configuration ) : System
configuration Variant
return System

UnRegisterProtocol() public method

public UnRegisterProtocol ( BaseProtocol protocol ) : void
protocol BaseProtocol
return void

Property Details

GotAppIdTasks public_oe property

public Dictionary GotAppIdTasks
return GotAppIdDelegate>.Dictionary

OutboundCluster public_oe property

public OutboundClusterProtocol,CSharpRTMP.Core.Protocols.Cluster OutboundCluster
return OutboundClusterProtocol

ReconnectTimer public_oe property

public System.Timers.Timer ReconnectTimer
return System.Timers.Timer