Remove v2net.Packet

This commit is contained in:
v2ray committed 2016-04-26 00:13:26 +02:00
1 parent 7db14dad9b
commit 42907ff2e8
19 files changed
+119 -216

No files matched your search

+2 -2
View File
@@ -29,8 +29,8 @@ func (this *InboundConnectionHandler) Close() {
}
func (this *InboundConnectionHandler) Communicate(packet v2net.Packet) error {
ray := this.PacketDispatcher.DispatchToOutbound(packet)
func (this *InboundConnectionHandler) Communicate(destination v2net.Destination) error {
ray := this.PacketDispatcher.DispatchToOutbound(destination)
input := ray.InboundInput()
output := ray.InboundOutput()