Searched refs:packetAdaptor (Results 1 – 2 of 2) sorted by relevance
29 type packetAdaptor struct { struct37 func newPacketAdaptor(conn net.Conn) *packetAdaptor {38 return &packetAdaptor{conn, nil}41 func (p *packetAdaptor) log(message string, data []byte) { argument49 func (p *packetAdaptor) readOpcode() (byte, error) { argument57 func (p *packetAdaptor) readPacketBody() ([]byte, error) { argument69 func (p *packetAdaptor) Read(b []byte) (int, error) { argument84 func (p *packetAdaptor) Write(b []byte) (int, error) { argument98 func (p *packetAdaptor) SendReadTimeout(d time.Duration) ([][]byte, error) { argument
676 PacketAdaptor *packetAdaptor