libvncclient

package
v0.0.0-...-9116a98 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2014 License: LGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RfbErrLogger io.Writer
View Source
var RfbInfoLogger io.Writer

Functions

This section is empty.

Types

type GoRfbClient

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

func RfbGetClient

func RfbGetClient(bitsPerSample int, samplesPerPixel int, bytesPerPixel int) (ret *GoRfbClient)

func (*GoRfbClient) ClientCleanup

func (f *GoRfbClient) ClientCleanup()

func (*GoRfbClient) GetFrameBuffer

func (f *GoRfbClient) GetFrameBuffer() *[]uint8

func (*GoRfbClient) HandleRFBServerMessage

func (f *GoRfbClient) HandleRFBServerMessage() (ret bool)

func (*GoRfbClient) Height

func (f *GoRfbClient) Height() int

func (*GoRfbClient) InitClient

func (f *GoRfbClient) InitClient(argc int, argv *int8) (ret bool)

func (*GoRfbClient) ListenForIncomingConnectionsNoFork

func (f *GoRfbClient) ListenForIncomingConnectionsNoFork(usecTimeout int) (ret int)

func (*GoRfbClient) RegisterRfbCallback

func (f *GoRfbClient) RegisterRfbCallback(callback RfbCallback)

func (*GoRfbClient) SetConfiguration

func (f *GoRfbClient) SetConfiguration(programName string,
	compressLevel int, qualityLevel int, encodingsString string)

func (*GoRfbClient) SetFrameBuffer

func (f *GoRfbClient) SetFrameBuffer(width, height, bytesPerPixel int)

func (*GoRfbClient) SetGotFrameBufferUpdate

func (f *GoRfbClient) SetGotFrameBufferUpdate()

func (*GoRfbClient) SetMallocFramebufferProc

func (f *GoRfbClient) SetMallocFramebufferProc()

func (*GoRfbClient) SetReverseConnectionServer

func (f *GoRfbClient) SetReverseConnectionServer(address string, port int)

func (*GoRfbClient) SetServer

func (f *GoRfbClient) SetServer(address string, port int)

func (*GoRfbClient) UnregisterRfbCallback

func (f *GoRfbClient) UnregisterRfbCallback(ptr uintptr)

func (*GoRfbClient) WaitForMessage

func (f *GoRfbClient) WaitForMessage(usecs int) (ret int)

func (*GoRfbClient) Width

func (f *GoRfbClient) Width() int

type RfbCallback

type RfbCallback interface {
	OnResize()
	OnUpdate(x, y, w, h int)
}

Jump to

Keyboard shortcuts

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