Let plugins know if we're Alice or Bob.

This commit is contained in:
akwizgran
2019-06-05 11:23:56 +01:00
parent 4452dacc94
commit 7439e5579f
7 changed files with 60 additions and 32 deletions

View File

@@ -57,5 +57,5 @@ public interface DuplexPlugin extends Plugin {
*/
@Nullable
RendezvousEndpoint createRendezvousEndpoint(KeyMaterialSource k,
ConnectionHandler incoming);
boolean alice, ConnectionHandler incoming);
}