dokodemo

package
v1.12.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 4, 2016 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config added in v1.1.1

type Config struct {
	Address v2net.Address
	Port    v2net.Port
	Network *v2net.NetworkList
	Timeout int
}

type DokodemoDoor

type DokodemoDoor struct {
	// contains filtered or unexported fields
}

func NewDokodemoDoor

func NewDokodemoDoor(config *Config, packetDispatcher dispatcher.PacketDispatcher) *DokodemoDoor

func (*DokodemoDoor) Close added in v1.9.1

func (this *DokodemoDoor) Close()

func (*DokodemoDoor) HandleTCPConnection

func (this *DokodemoDoor) HandleTCPConnection(conn *hub.Connection)

func (*DokodemoDoor) Listen

func (this *DokodemoDoor) Listen(port v2net.Port) error

func (*DokodemoDoor) ListenTCP

func (this *DokodemoDoor) ListenTCP(port v2net.Port) error

func (*DokodemoDoor) ListenUDP

func (this *DokodemoDoor) ListenUDP(port v2net.Port) error

func (*DokodemoDoor) Port added in v1.9.1

func (this *DokodemoDoor) Port() v2net.Port

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL