From 43f76d47048ad8631143bc8d50834ee89ce24f21 Mon Sep 17 00:00:00 2001 From: v2ray Date: Wed, 6 Jan 2016 22:39:56 +0100 Subject: [PATCH] doc for InboundConnectionHandler --- proxy/proxy.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/proxy/proxy.go b/proxy/proxy.go index aae7132d..a4d764bc 100644 --- a/proxy/proxy.go +++ b/proxy/proxy.go @@ -9,9 +9,9 @@ import ( // A InboundConnectionHandler handles inbound network connections to V2Ray. type InboundConnectionHandler interface { - // Listen starts a InboundConnectionHandler by listen on a specific port. This method is called - // exactly once during runtime. + // Listen starts a InboundConnectionHandler by listen on a specific port. Listen(port v2net.Port) error + // Close stops the handler to accepting anymore inbound connections. Close() }