handle inbound detour in vmess inbound

This commit is contained in:
v2ray committed 2016-01-19 23:41:40 +01:00
1 parent 573d0a9c29
commit b0adb24003
13 files changed
+163 -75

No files matched your search

+6 -2
View File
@@ -9,17 +9,21 @@ import (
)
type InboundConnectionHandler struct {
Port v2net.Port
port v2net.Port
Space app.Space
ConnInput io.Reader
ConnOutput io.Writer
}
func (this *InboundConnectionHandler) Listen(port v2net.Port) error {
this.Port = port
this.port = port
return nil
}
func (this *InboundConnectionHandler) Port() v2net.Port {
return this.port
}
func (this *InboundConnectionHandler) Close() {
}