# Class ReplicationMessage

Namespace
  Npgsql.Replication

Assembly
  Npgsql.dll

The common base class for all streaming replication messages

    public abstract class ReplicationMessage

Inheritance
  object
  ReplicationMessage

Derived
  PgOutputReplicationMessage
  TestDecodingData
  XLogDataMessage

Inherited Members
  object.Equals(object)
  object.Equals(object, object)
  object.GetHashCode()
  object.GetType()
  object.MemberwiseClone()
  object.ReferenceEquals(object, object)
  object.ToString()

## Properties

### ServerClock

The server's system clock at the time this message was transmitted, as microseconds since midnight on 2000-01-01.

    public DateTime ServerClock { get; }

#### Property Value

DateTime

#### Remarks

Since the client using Npgsql and the server may be located in different time zones, as of Npgsql 7.0 this value is no longer converted to local time but keeps its original value in UTC. You can check Kind if you don't want to introduce behavior depending on Npgsql versions.

### WalEnd

The current end of WAL on the server.

    public NpgsqlLogSequenceNumber WalEnd { get; }

#### Property Value

NpgsqlLogSequenceNumber

### WalStart

The starting point of the WAL data in this message.

    public NpgsqlLogSequenceNumber WalStart { get; }

#### Property Value

NpgsqlLogSequenceNumber