1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-09-12 23:18:36 -04:00
v2fly/app/packet_dispatcher.go

13 lines
308 B
Go
Raw Normal View History

2015-10-14 08:51:19 -04:00
package app
import (
v2net "github.com/v2ray/v2ray-core/common/net"
"github.com/v2ray/v2ray-core/transport/ray"
)
2015-10-15 07:15:59 -04:00
// PacketDispatcher dispatch a packet and possibly further network payload to
// its destination.
2015-10-14 08:51:19 -04:00
type PacketDispatcher interface {
DispatchToOutbound(packet v2net.Packet) ray.InboundRay
}