1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2026-02-04 15:25:24 -05:00

close method for inbound connection handler

This commit is contained in:
v2ray
2016-01-03 23:30:37 +01:00
parent 8a132643ef
commit 201481a82c
7 changed files with 171 additions and 56 deletions

View File

@@ -12,6 +12,7 @@ type InboundConnectionHandler interface {
// Listen starts a InboundConnectionHandler by listen on a specific port. This method is called
// exactly once during runtime.
Listen(port v2net.Port) error
Close()
}
// An OutboundConnectionHandler handles outbound network connection for V2Ray.