On Incoming Replication Connections

AMPS includes a set of modules that allow you to configure an action to run based on events for incoming replication connections.

The amps-action-on-connect-incoming-replication module runs when an incoming replication connection is accepted. The amps-action-on-disconnect-incoming-replication module runs when an incoming replication connection is disconnected.

These modules require no parameters.

These modules add the following variables to the AMPS context:

VariableDescription

AMPS_REPLICATION_PEER_NAME

The instance name of the AMPS instance on the opposite end of the connection, if available.

AMPS_REPLICATION_CLIENT_NAME

The name of the AMPS client used for this connection.

AMPS_REPLICATION_REMOTE_ADDRESS

The remote address of the opposite end of the connection.

AMPS_REPLICATION_GROUP_NAME

The group name of the AMPS instance on the opposite end of the connection, if available.

Last updated

Copyright 2013-2024 60East Technologies, Inc.