瀏覽代碼

doc for InboundConnectionHandler

v2ray 9 年之前
父節點
當前提交
43f76d4704
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      proxy/proxy.go

+ 2 - 2
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()
 }