Table of Contents

Class ReplicationServer

Namespace
Coherence.Toolkit.ReplicationServer
Assembly
Coherence.Toolkit.dll
public class ReplicationServer : IReplicationServer
Inheritance
ReplicationServer
Implements

Methods

Start()

Start the Replication Server.

public bool Start()

Returns

bool

true if the server has started; false if something went wrong.

Stop(int)

Stop the Replication Server. Optionally wait for the server to shut down entirely.

public bool Stop(int timeoutMs = 0)

Parameters

timeoutMs int

Returns

bool

true if the server has shut down; false if the server is still in progress of shutting down after waiting.

Events

OnExit

Occurs when the server has shut down for any reason.

public event ExitHandler OnExit

Event Type

ExitHandler

OnLog

Occurs when the server creates a log entry.

public event LogHandler OnLog

Event Type

LogHandler