go-rfb/conn.go
Vasiliy Tolstov cc3c34ca50 simplify client
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2017-06-26 14:16:03 +03:00

28 lines
466 B
Go

package vnc
import (
"io"
"net"
)
type Conn interface {
io.ReadWriteCloser
Conn() net.Conn
Config() interface{}
Protocol() string
PixelFormat() *PixelFormat
SetPixelFormat(*PixelFormat) error
ColorMap() *ColorMap
SetColorMap(*ColorMap)
Encodings() []Encoding
SetEncodings([]EncodingType) error
Width() uint16
Height() uint16
SetWidth(uint16)
SetHeight(uint16)
DesktopName() []byte
SetDesktopName([]byte)
Flush() error
SetProtoVersion(string)
}