diff options
Diffstat (limited to 'jsonrpc/src/main/java/com/orbekk/same/SameService.java')
-rw-r--r-- | jsonrpc/src/main/java/com/orbekk/same/SameService.java | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/jsonrpc/src/main/java/com/orbekk/same/SameService.java b/jsonrpc/src/main/java/com/orbekk/same/SameService.java index d18cb9d..0a261a8 100644 --- a/jsonrpc/src/main/java/com/orbekk/same/SameService.java +++ b/jsonrpc/src/main/java/com/orbekk/same/SameService.java @@ -13,8 +13,14 @@ public interface SameService { /** * A request from the callee to participate in 'networkName'. + * + * A client may not know its URL. If the url parameter is empty, + * use info from the HttpServletRequest. + * + * TODO: Always pass a valid URL and get rid of the port parameter. */ - void participateNetwork(String networkName, int remotePort); + void participateNetwork(String networkName, String clientId, + String url, int remotePort); /** * Notification of participation in network. |