...

Package rgmid

import "solace.dev/go/messaging/pkg/solace/message/rgmid"
Overview
Index

Overview ▾

Package rgmid contains the ReplicationGroupMessageID interface.

type ReplicationGroupMessageID

ReplicationGroupMessageID represents a ReplicationGroupMessageID of a message.

type ReplicationGroupMessageID interface {
    // Compare compares the ReplicationGroupMessageID to another.
    // Not all valid ReplicationGroupMessageID
    // instances can be compared. If the messages identified were not published
    // to the same broker or HA pair, then they are not comparable and a
    // *solace.IllegalArgumentError is returned.
    Compare(ReplicationGroupMessageID) (result int, err error)
    // String returns the ReplicationGroupMessageID as a string value.
    String() string
}