Interface MessageEndpointDelegate

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface MessageEndpointDelegate
ENTERPRISE EDITION API

A delegate used by the replicator to create MessageEndpointConnection objects.

  • Method Details

    • createConnection

      @NonNull MessageEndpointConnection createConnection(@NonNull MessageEndpoint endpoint)
      Creates an object of type MessageEndpointConnection interface. An application implements the MessageEndpointConnection interface using a custom transportation method such as using the NearbyConnection API to exchange replication data with the endpoint.
      Parameters:
      endpoint - the endpoint object
      Returns:
      the MessageEndpointConnection object