Click or drag to resize

InMemoryMessageChannel Class

Message channel, based on the queue and operate within a single process.
Inheritance Hierarchy
SystemObject
  BaseInMemoryChannelKeyValuePairInt64, Message
    StockSharp.MessagesInMemoryMessageChannel

Namespace:  StockSharp.Messages
Assembly:  StockSharp.Messages (in StockSharp.Messages.dll) Version: 4.4.14.0 (4.4.14)
Syntax
C#
public class InMemoryMessageChannel : BaseInMemoryChannel<KeyValuePair<long, Message>>, 
	IMessageChannel, IDisposable, ICloneable<IMessageChannel>, ICloneable

The InMemoryMessageChannel type exposes the following members.

Constructors
  NameDescription
Public methodInMemoryMessageChannel
Initializes a new instance of the InMemoryMessageChannel.
Top
Properties
  NameDescription
Public propertyCount (Inherited from BaseInMemoryChannelKeyValuePairInt64, Message.)
Public propertyIsOpened (Inherited from BaseInMemoryChannelKeyValuePairInt64, Message.)
Public propertyMaxCount (Inherited from BaseInMemoryChannelKeyValuePairInt64, Message.)
Public propertyMaxMessageCount
Max message queue count.
Public propertyMessageCount
Message queue count.
Public propertyName (Inherited from BaseInMemoryChannelKeyValuePairInt64, Message.)
Top
Methods
  NameDescription
Public methodClone
Create a copy of InMemoryMessageChannel.
Public methodClose (Inherited from BaseInMemoryChannelKeyValuePairInt64, Message.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnNewOut (Overrides BaseInMemoryChannel.OnNewOut(UTP).)
Public methodOpen (Inherited from BaseInMemoryChannelKeyValuePairInt64, Message.)
Public methodSendIn (Inherited from BaseInMemoryChannelKeyValuePairInt64, Message.)
Public methodSendInMessage
Send message.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events
  NameDescription
Public eventClosed (Inherited from BaseInMemoryChannelKeyValuePairInt64, Message.)
Public eventNewOutMessage
New message event.
Top
See Also