Rename rendezvous handler to endpoint.

This commit is contained in:
akwizgran
2019-05-27 16:11:25 +01:00
parent ab90e1de04
commit 3820d7413c
6 changed files with 13 additions and 13 deletions

View File

@@ -7,7 +7,7 @@ import org.briarproject.bramble.api.plugin.ConnectionHandler;
import org.briarproject.bramble.api.plugin.Plugin;
import org.briarproject.bramble.api.properties.TransportProperties;
import org.briarproject.bramble.api.rendezvous.KeyMaterialSource;
import org.briarproject.bramble.api.rendezvous.RendezvousHandler;
import org.briarproject.bramble.api.rendezvous.RendezvousEndpoint;
import javax.annotation.Nullable;
@@ -50,10 +50,10 @@ public interface DuplexPlugin extends Plugin {
boolean supportsRendezvous();
/**
* Creates and returns a handler that uses the given key material to
* rendezvous with a pending contact and the given connection handler to
* Creates and returns an endpoint that uses the given key material to
* rendezvous with a pending contact, and the given connection handler to
* handle incoming connections.
*/
RendezvousHandler createRendezvousHandler(KeyMaterialSource k,
RendezvousEndpoint createRendezvousEndpoint(KeyMaterialSource k,
ConnectionHandler incoming);
}

View File

@@ -8,7 +8,7 @@ import java.io.IOException;
* An interface for making and accepting rendezvous connections with a pending
* contact over a given transport.
*/
public interface RendezvousHandler {
public interface RendezvousEndpoint {
/**
* Returns a set of transport properties for connecting to the pending