Documentation ¶
Index ¶
- type FBSPlayListener
- type FbsReader
- func (fbs *FbsReader) CurrentPixelFormat() *common.PixelFormat
- func (fbs *FbsReader) CurrentTimestamp() int
- func (fbs *FbsReader) Encodings() []common.IEncoding
- func (fbs *FbsReader) Read(p []byte) (n int, err error)
- func (fbs *FbsReader) ReadSegment() (*FbsSegment, error)
- func (fbs *FbsReader) ReadStartSession() (*common.ServerInit, error)
- type FbsSegment
- type VncStreamFileReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FBSPlayListener ¶
type FBSPlayListener struct { Conn *server.ServerConn Fbs VncStreamFileReader // contains filtered or unexported fields }
func NewFBSPlayListener ¶
func NewFBSPlayListener(conn *server.ServerConn, r *FbsReader) *FBSPlayListener
func (*FBSPlayListener) Consume ¶
func (handler *FBSPlayListener) Consume(seg *common.RfbSegment) error
type FbsReader ¶
type FbsReader struct {
// contains filtered or unexported fields
}
func ConnectFbsFile ¶
func ConnectFbsFile(filename string, conn *server.ServerConn) (*FbsReader, error)
func NewFbsReader ¶
func (*FbsReader) CurrentPixelFormat ¶
func (fbs *FbsReader) CurrentPixelFormat() *common.PixelFormat
func (*FbsReader) CurrentTimestamp ¶
func (*FbsReader) Encodings ¶
func (fbs *FbsReader) CurrentColorMap() *common.ColorMap { return &common.ColorMap{} }
func (*FbsReader) ReadSegment ¶
func (fbs *FbsReader) ReadSegment() (*FbsSegment, error)
func (*FbsReader) ReadStartSession ¶
func (fbs *FbsReader) ReadStartSession() (*common.ServerInit, error)
type FbsSegment ¶
type FbsSegment struct {
// contains filtered or unexported fields
}
type VncStreamFileReader ¶
type VncStreamFileReader interface { io.Reader CurrentTimestamp() int ReadStartSession() (*common.ServerInit, error) CurrentPixelFormat() *common.PixelFormat Encodings() []common.IEncoding }
Click to show internal directories.
Click to hide internal directories.