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

Inheritance: BaseClusterAppProtocolHandler
Show file Open project: langhuihui/csharprtmp

Public Properties

Property Type Description
InboundClusters HashSet

Public Methods

Method Description
Broadcast ( uint appId, BaseProtocol pFrom, Variant invokeInfo ) : void
CallAppFunction ( uint appId, string functionName, Variant invoke ) : void
MasterClusterAppProtocolHandler ( Variant configuration ) : System
OnSOCreated ( SO so ) : void
PlayStream ( uint appId, string streamName ) : void
PublishStream ( uint appId, IInStream inStream, string type = "live" ) : void
RegisterProtocol ( BaseProtocol protocol ) : void
UnRegisterProtocol ( BaseProtocol protocol ) : 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

MasterClusterAppProtocolHandler() public method

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

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

UnRegisterProtocol() public method

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

Property Details

InboundClusters public property

public HashSet InboundClusters
return HashSet