Documentation ¶
Index ¶
- Variables
- type GoRfbClient
- func (f *GoRfbClient) ClientCleanup()
- func (f *GoRfbClient) GetFrameBuffer() *[]uint8
- func (f *GoRfbClient) HandleRFBServerMessage() (ret bool)
- func (f *GoRfbClient) Height() int
- func (f *GoRfbClient) InitClient(argc int, argv *int8) (ret bool)
- func (f *GoRfbClient) ListenForIncomingConnectionsNoFork(usecTimeout int) (ret int)
- func (f *GoRfbClient) RegisterRfbCallback(callback RfbCallback)
- func (f *GoRfbClient) SetConfiguration(programName string, compressLevel int, qualityLevel int, ...)
- func (f *GoRfbClient) SetFrameBuffer(width, height, bytesPerPixel int)
- func (f *GoRfbClient) SetGotFrameBufferUpdate()
- func (f *GoRfbClient) SetMallocFramebufferProc()
- func (f *GoRfbClient) SetReverseConnectionServer(address string, port int)
- func (f *GoRfbClient) SetServer(address string, port int)
- func (f *GoRfbClient) UnregisterRfbCallback(ptr uintptr)
- func (f *GoRfbClient) WaitForMessage(usecs int) (ret int)
- func (f *GoRfbClient) Width() int
- type RfbCallback
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) }
Click to show internal directories.
Click to hide internal directories.