ReplicatorConnection
public protocol ReplicatorConnectionENTERPRISE EDITION ONLY.
The replicator connection used by the application to tell the replicator to consume the data received from the other peer or to close the connection.
- 
                  
                  Tells the replicator to close the current replicator connection. In return, the replicator will call the MessageEndpointConnection’s close(error, completion) function to acknowledge the closed connection. DeclarationSwift func close(error: MessagingError?)ParameterserrorThe error if available. 
- 
                  
                  Tells the replicator to consume the data received from the other peer. DeclarationSwift func receive(message: Message)ParametersmessageThe message. 
 ReplicatorConnection Protocol Reference
        ReplicatorConnection Protocol Reference