Documentation ¶
Index ¶
- type DokodemoDoor
- func (this *DokodemoDoor) AcceptTCPConnections(tcpListener *net.TCPListener)
- func (this *DokodemoDoor) HandleTCPConnection(conn *net.TCPConn)
- func (this *DokodemoDoor) Listen(port uint16) error
- func (this *DokodemoDoor) ListenTCP(port uint16) error
- func (this *DokodemoDoor) ListenUDP(port uint16) error
- type DokodemoDoorFactory
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DokodemoDoor ¶
type DokodemoDoor struct {
// contains filtered or unexported fields
}
func NewDokodemoDoor ¶
func NewDokodemoDoor(dispatcher app.PacketDispatcher, config *json.DokodemoConfig) *DokodemoDoor
func (*DokodemoDoor) AcceptTCPConnections ¶
func (this *DokodemoDoor) AcceptTCPConnections(tcpListener *net.TCPListener)
func (*DokodemoDoor) HandleTCPConnection ¶
func (this *DokodemoDoor) HandleTCPConnection(conn *net.TCPConn)
func (*DokodemoDoor) Listen ¶
func (this *DokodemoDoor) Listen(port uint16) error
func (*DokodemoDoor) ListenTCP ¶
func (this *DokodemoDoor) ListenTCP(port uint16) error
func (*DokodemoDoor) ListenUDP ¶
func (this *DokodemoDoor) ListenUDP(port uint16) error
type DokodemoDoorFactory ¶
type DokodemoDoorFactory struct { }
func (DokodemoDoorFactory) Create ¶
func (this DokodemoDoorFactory) Create(dispatcher app.PacketDispatcher, rawConfig interface{}) (connhandler.InboundConnectionHandler, error)
Click to show internal directories.
Click to hide internal directories.