Click or drag to resize

MessageAdapterWrapper Class

Base implementation of IMessageAdapterWrapper.
Inheritance Hierarchy
SystemObject
  CloneableIMessageChannel
    StockSharp.MessagesMessageAdapterWrapper
      More...

Namespace:  StockSharp.Messages
Assembly:  StockSharp.Messages (in StockSharp.Messages.dll) Version: 4.4.16.0 (4.4.16)
Syntax
C#
public abstract class MessageAdapterWrapper : Cloneable<IMessageChannel>, 
	IMessageAdapterWrapper, IMessageAdapter, IMessageChannel, IDisposable, ICloneable<IMessageChannel>, 
	ICloneable, IPersistable, ILogReceiver, ILogSource, IMessageAdapterExtension

The MessageAdapterWrapper type exposes the following members.

Constructors
  NameDescription
Protected methodMessageAdapterWrapper
Initialize MessageAdapterWrapper.
Top
Properties
  NameDescription
Public propertyAssociatedBoardCode
Board code for combined security.
Public propertyCategories
Message adapter categories.
Public propertyCheckTimeFrameByRequest
Check possible time-frame by request.
Public propertyCurrentTime
Current time, which will be passed to the Time.
Public propertyHeartbeatInterval
Server check interval for track the connection alive. The value is Zero turned off tracking.
Public propertyInnerAdapter
Underlying adapter.
Public propertyIsFullCandlesOnly
Translates CandleMessage as only fully filled.
Public propertyIsNativeIdentifiers
Identify security in messages by native identifier Native.
Public propertyIsNativeIdentifiersPersistable
Native identifier can be stored.
Public propertyIsSupportCandlesUpdates
Support candles subscription and live updates.
Public propertyIsSupportSecuritiesLookupAll
Support lookup all securities.
Public propertyIsSupportSubscriptionByPortfolio
Support portfolio subscriptions.
Public propertyIsSupportSubscriptionBySecurity
Support filtering subscriptions (subscribe/unsubscribe for specified security).
Public propertyIsSupportSubscriptions
Support any subscriptions (ticks, order books etc.).
Public propertyOrderCancelVolumeRequired
Volume required to cancel orders.
Public propertyOrderStatusRequired
OrderStatusMessage required to get orders and own trades.
Public propertyOwnInnerAdapter
Control InnerAdapter lifetime.
Public propertyParent
Parental logs source.
Public propertyPortfolioLookupRequired
PortfolioLookupMessage required to get portfolios and positions.
Public propertyReConnectionSettings
Connection tracking settings IMessageAdapter with a server.
Public propertySecurityLookupRequired
SecurityLookupMessage required to get securities.
Public propertyStorageName
The storage name, associated with the adapter.
Public propertySupportedMarketDataTypes
Supported by adapter market data types.
Public propertySupportedMessages
Supported by adapter message types.
Public propertyTimeFrames
Possible time-frames.
Public propertyTransactionIdGenerator
Transaction id generator.
Top
Methods
  NameDescription
Public methodClone (Inherited from CloneableIMessageChannel.)
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
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 methodGetTimeFrames
Get possible time-frames for the specified instrument.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodLoad
Load settings.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnInnerAdapterNewOutMessage
Process InnerAdapter output message.
Protected methodRaiseNewOutMessage
To call the event NewOutMessage.
Public methodSave
Save settings.
Public methodSendInMessage
Send message.
Public methodToString
Returns a string that represents the current object.
(Overrides ObjectToString.)
Top
Events
  NameDescription
Public eventNewOutMessage
New message event.
Top
Extension Methods
  NameDescription
Public Extension MethodAddDebugLog
To record a debug message to the log.
(Defined by LoggingHelper.)
Public Extension MethodAddErrorLog(FuncString)Overloaded.
To record an error to the log.
(Defined by LoggingHelper.)
Public Extension MethodAddErrorLog(Exception)Overloaded.
To record an error to the log.
(Defined by LoggingHelper.)
Public Extension MethodAddErrorLog(Exception, String)Overloaded.
To record an error to the log.
(Defined by LoggingHelper.)
Public Extension MethodAddErrorLog(String, Object)Overloaded.
To record an error to the log.
(Defined by LoggingHelper.)
Public Extension MethodAddInfoLog(FuncString)Overloaded.
To record a message to the log.
(Defined by LoggingHelper.)
Public Extension MethodAddInfoLog(String, Object)Overloaded.
To record a message to the log.
(Defined by LoggingHelper.)
Public Extension MethodAddLog
To record a message to the log.
(Defined by LoggingHelper.)
Public Extension MethodAddMarketDataSupport
Fill the SupportedMessages message types related to market-data.
(Defined by Extensions.)
Public Extension MethodAddOrderErrorLog
Write order error to the log.
(Defined by TraderHelper.)
Public Extension MethodAddOrderInfoLog
Write order info to the log.
(Defined by TraderHelper.)
Public Extension MethodAddSupportedAllMarketDataTypes
Add all market data types into SupportedMarketDataTypes.
(Defined by Extensions.)
Public Extension MethodAddSupportedMarketDataType
Add market data type into SupportedMarketDataTypes.
(Defined by Extensions.)
Public Extension MethodAddSupportedMessage
Add the message type info SupportedMessages.
(Defined by Extensions.)
Public Extension MethodAddTransactionalSupport
Fill the SupportedMessages message types related to transactional.
(Defined by Extensions.)
Public Extension MethodAddVerboseLog
To record a verbose message to the log.
(Defined by LoggingHelper.)
Public Extension MethodAddWarningLog(FuncString)Overloaded.
To record a warning to the log.
(Defined by LoggingHelper.)
Public Extension MethodAddWarningLog(String, Object)Overloaded.
To record a warning to the log.
(Defined by LoggingHelper.)
Public Extension MethodCreatePortfolioChangeMessage
Initializes a new instance of the PortfolioChangeMessage.
(Defined by Extensions.)
Public Extension MethodCreatePositionChangeMessage
Initializes a new instance of the PositionChangeMessage.
(Defined by Extensions.)
Public Extension MethodGetBoardCode
To get the board code for the instrument class.
(Defined by TraderHelper.)
Public Extension MethodGetLogLevel
Get LogLevel for the source. If the value is equal to Inherit, then parental source level is taken.
(Defined by LoggingHelper.)
Public Extension MethodIsMarketData
Is the specified adapter support market-data.
(Defined by Extensions.)
Public Extension MethodIsMarketDataTypeSupported
Determines whether the specified market-data type is supported by the adapter.
(Defined by Extensions.)
Public Extension MethodIsMessageSupported
Determines whether the specified message type is supported by the adapter.
(Defined by Extensions.)
Public Extension MethodIsTransactional
Is the specified adapter support transactions.
(Defined by Extensions.)
Public Extension MethodRemoveMarketDataSupport
Remove from SupportedMessages message types related to market-data.
(Defined by Extensions.)
Public Extension MethodRemoveSupportedAllMarketDataTypes
Remove all market data types from SupportedMessages.
(Defined by Extensions.)
Public Extension MethodRemoveSupportedMarketDataType
Remove market data type from SupportedMessages.
(Defined by Extensions.)
Public Extension MethodRemoveSupportedMessage
Remove the message type from SupportedMessages.
(Defined by Extensions.)
Public Extension MethodRemoveTransactionalSupport
Remove from SupportedMessages message types related to transactional.
(Defined by Extensions.)
Top
See Also
Inheritance Hierarchy
SystemObject
  CloneableIMessageChannel
    StockSharp.MessagesMessageAdapterWrapper
      StockSharp.AlgoAssociatedSecurityAdapter
      StockSharp.AlgoBasketSecurityMessageAdapter
      StockSharp.Algo.Candles.CompressionCandleBuilderMessageAdapter
      StockSharp.Algo.Candles.CompressionCandleHolderMessageAdapter
      StockSharp.Algo.CommissionsCommissionMessageAdapter
      StockSharp.AlgoExtendedInfoStorageMessageAdapter
      StockSharp.AlgoFilteredMarketDepthAdapter
      StockSharp.AlgoHeartbeatMessageAdapter
      StockSharp.Algo.LatencyLatencyMessageAdapter
      StockSharp.AlgoLevel1DepthBuilderAdapter
      StockSharp.AlgoOfflineMessageAdapter
      StockSharp.AlgoOrderLogMessageAdapter
      StockSharp.Algo.PnLPnLMessageAdapter
      StockSharp.Algo.PositionsPositionMessageAdapter
      StockSharp.Algo.RiskRiskMessageAdapter
      StockSharp.AlgoSecurityMappingMessageAdapter
      StockSharp.AlgoSecurityNativeIdMessageAdapter
      StockSharp.Algo.SlippageSlippageMessageAdapter
      StockSharp.Algo.StoragesBufferMessageAdapter
      StockSharp.AlgoSubscriptionMessageAdapter
      StockSharp.MessagesChannelMessageAdapter