Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Connection ¶
func (*Connection) Reusable ¶
func (this *Connection) Reusable() bool
func (*Connection) SetReusable ¶
func (this *Connection) SetReusable(b bool)
type TimedInboundRay ¶
func NewTimedInboundRay ¶
func NewTimedInboundRay(name string, inboundRay ray.InboundRay, server *UDPServer) *TimedInboundRay
func (*TimedInboundRay) InboundInput ¶
func (this *TimedInboundRay) InboundInput() ray.OutputStream
func (*TimedInboundRay) InboundOutput ¶
func (this *TimedInboundRay) InboundOutput() ray.InputStream
func (*TimedInboundRay) Monitor ¶
func (this *TimedInboundRay) Monitor()
func (*TimedInboundRay) Release ¶
func (this *TimedInboundRay) Release()
type UDPPayloadHandler ¶
type UDPPayloadHandler func(*alloc.Buffer, v2net.Destination)
type UDPResponseCallback ¶
type UDPResponseCallback func(destination v2net.Destination, payload *alloc.Buffer)
type UDPServer ¶
func NewUDPServer ¶
func NewUDPServer(packetDispatcher dispatcher.PacketDispatcher) *UDPServer
func (*UDPServer) Dispatch ¶
func (this *UDPServer) Dispatch(source v2net.Destination, destination v2net.Destination, payload *alloc.Buffer, callback UDPResponseCallback)
Click to show internal directories.
Click to hide internal directories.