Provides the messaging system which monitors the connection in the underlying messaging system.

Namespace: Eneter.Messaging.MessagingSystems.Composites.MonitoredMessagingComposit
Assembly: Eneter.Messaging.Framework (in Eneter.Messaging.Framework.dll) Version: 5.0.0.0 (5.0.0.0)

Syntax

C#
public class MonitoredMessagingFactory : IMessagingSystemFactory
Visual Basic
Public Class MonitoredMessagingFactory _
	Implements IMessagingSystemFactory
Visual C++
public ref class MonitoredMessagingFactory : IMessagingSystemFactory

Remarks

When the connection is monitored, the duplex output channel periodically sends 'ping' messages to the duplex input channel and waits for responses. If the response comes within the specified timeout, the connection is open.
On the receiver side, the duplex input channel waits for the 'ping' messages and monitors if the connected duplex output channel is still alive. If the 'ping' message does not come within the specified timeout, the particular duplex output channel is disconnected.

Notice, the output channel and the input channel do not maintain an open connection. Therefore, the monitored messaging is not applicable for them. The implementation of this factory just uses the underlying messaging to create them.

Note Channels created by monitored messaging factory cannot communicate with channels, that were not created by monitored factory. E.g. the channel created with the monitored messaging factory with underlying TCP will not communicate with channels created directly with TCP messaging factory. The reason is, the communicating channels must understand the 'ping' communication.

Inheritance Hierarchy

System..::..Object
  Eneter.Messaging.MessagingSystems.Composites.MonitoredMessagingComposit..::..MonitoredMessagingFactory

Version Information

.NET

Supported in: .NET 4.5, .NET 4.0, .NET 3.5

Compact Framework

Supported in: Compact Framework 3.5, Compact Framework 2.0

Mono

Supported in: Mono 2.6.4

Silverlight

Supported in: Silverlight 5, Silverlight 4, Silverlight 3

Windows Phone

Supported in: Windows Phone 7.1, Windows Phone 7

See Also