Class MirroringMonitoringClient
This class is proxy to Mirroring Monitoring Service A Mirrroing Monitoing application can create an instance of this and subscribe to monitoring event. The Mirroring Monitoring Service should configuerd with a binding which support duplex communication such as WsDual/netTcp.
Inheritance
System.Object
MirroringMonitoringClient
Implements
System.IDisposable
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.MirroringService.MirroringMonitoring
Assembly: EPiServer.Enterprise.dll
Version: 8.11.0Syntax
public class MirroringMonitoringClient : IMirroringMonitoringEventSystem, IMirroringMonitoringEventSystemCallback, IDisposable
Constructors
MirroringMonitoringClient(String)
Initializes a new instance of the MirroringMonitoringClient class.
Declaration
public MirroringMonitoringClient(string endpoint)
Parameters
Type | Name | Description |
---|---|---|
System.String | endpoint | The endpoint. is name of the client name in config file |
MirroringMonitoringClient(String, Boolean)
Declaration
public MirroringMonitoringClient(string endpoint, bool autoReconnect)
Parameters
Type | Name | Description |
---|---|---|
System.String | endpoint | |
System.Boolean | autoReconnect |
Properties
DuTime
Declaration
public int DuTime { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Period
Declaration
public int Period { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
Dispose()
Declaration
public void Dispose()
GetCommunicationState()
Gets the state of the communication.
Declaration
public CommunicationState GetCommunicationState()
Returns
Type | Description |
---|---|
System.ServiceModel.CommunicationState |
IsAlive()
Declaration
public bool IsAlive()
Returns
Type | Description |
---|---|
System.Boolean |
OnMirroringStatusDataReceived(MirroringStatusEventArgs)
Declaration
public void OnMirroringStatusDataReceived(MirroringStatusEventArgs mirroringStatusEvent)
Parameters
Type | Name | Description |
---|---|---|
MirroringStatusEventArgs | mirroringStatusEvent |
Subscribe()
Declaration
public void Subscribe()
Unsubscribe()
Declaration
public void Unsubscribe()
Events
CommunicationEventHandler
Declaration
public event EventHandler CommunicationEventHandler
Event Type
Type | Description |
---|---|
System.EventHandler |
MirroringTransferStatusEventHandler
Declaration
public event MirroringStatusEventHandler MirroringTransferStatusEventHandler
Event Type
Type | Description |
---|---|
MirroringStatusEventHandler |
ServiceConnectionEventHandler
Declaration
public static event ServiceConnectionEventHandler ServiceConnectionEventHandler
Event Type
Type | Description |
---|---|
ServiceConnectionEventHandler |
Implements
System.IDisposable