C# Class SenseNet.Communication.Messaging.ClusterChannel

Inheritance: IClusterChannel
Show file Open project: maxpavlov/FlexNet

Public Properties

Property Type Description
ProcessedMessageTypes List

Protected Properties

Property Type Description
_shutdown bool
m_clusterMemberInfo ClusterMemberInfo
m_formatter IClusterMessageFormatter

Public Methods

Method Description
ClusterChannel ( IClusterMessageFormatter formatter, ClusterMemberInfo clusterMemberInfo ) : System
Purge ( ) : void
Send ( ClusterMessage message ) : void
ShutDown ( ) : void
Start ( ) : void

Protected Methods

Method Description
InternalSend ( Stream messageBody ) : void
OnReceiveException ( Exception exception ) : void
OnSendException ( ClusterMessage message, Exception exception ) : void
StartMessagePump ( ) : void
StopMessagePump ( ) : void

Private Methods

Method Description
CheckProcessableMessages ( object parameter ) : void
GetProcessableMessages ( ) : List
OnMessageReceived ( Stream messageBody ) : void
ProcessSingleMessage ( object parameter ) : void

Method Details

ClusterChannel() public method

public ClusterChannel ( IClusterMessageFormatter formatter, ClusterMemberInfo clusterMemberInfo ) : System
formatter IClusterMessageFormatter
clusterMemberInfo ClusterMemberInfo
return System

InternalSend() protected abstract method

protected abstract InternalSend ( Stream messageBody ) : void
messageBody Stream
return void

OnReceiveException() protected method

protected OnReceiveException ( Exception exception ) : void
exception System.Exception
return void

OnSendException() protected method

protected OnSendException ( ClusterMessage message, Exception exception ) : void
message ClusterMessage
exception System.Exception
return void

Purge() public method

public Purge ( ) : void
return void

Send() public method

public Send ( ClusterMessage message ) : void
message ClusterMessage
return void

ShutDown() public method

public ShutDown ( ) : void
return void

Start() public method

public Start ( ) : void
return void

StartMessagePump() protected method

protected StartMessagePump ( ) : void
return void

StopMessagePump() protected method

protected StopMessagePump ( ) : void
return void

Property Details

ProcessedMessageTypes public static property

public static List ProcessedMessageTypes
return List

_shutdown protected static property

protected static bool _shutdown
return bool

m_clusterMemberInfo protected property

protected ClusterMemberInfo,SenseNet.Communication.Messaging m_clusterMemberInfo
return ClusterMemberInfo

m_formatter protected property

protected IClusterMessageFormatter m_formatter
return IClusterMessageFormatter