proxy

package
v0.0.0-...-51dca1d Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2024 License: GPL-3.0 Imports: 6 Imported by: 166

Documentation

Index

Constants

View Source
const (
	RemoveAllHandlers              = -1
	RemovePropertiesChangedHandler = -2
)

Variables

This section is empty.

Functions

func DeleteConn

func DeleteConn(conn *dbus.Conn)

DeleteConn 删除连接相关的数据,可以在你关闭这个连接之后调用。

Types

type ImplObject

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

func (*ImplObject) ConnectPropertiesChanged

func (o *ImplObject) ConnectPropertiesChanged(
	cb func(interfaceName string, changedProperties map[string]dbus.Variant,
		invalidatedProperties []string)) (dbusutil.SignalHandlerId, error)

func (*ImplObject) ConnectPropertyChanged_

func (o *ImplObject) ConnectPropertyChanged_(interfaceName, propName string, callback PropChangedCallback) error

func (*ImplObject) ConnectSignal_

func (o *ImplObject) ConnectSignal_(rule string, sigRule *dbusutil.SignalRule, cb dbusutil.SignalHandlerFunc) (dbusutil.SignalHandlerId, error)

func (*ImplObject) GetExtra

func (o *ImplObject) GetExtra(key string) (interface{}, bool)

func (*ImplObject) GetProperty_

func (o *ImplObject) GetProperty_(flags dbus.Flags, interfaceName, propName string,
	value interface{}) error

func (*ImplObject) Go_

func (o *ImplObject) Go_(method string, flags dbus.Flags,
	ch chan *dbus.Call, args ...interface{}) *dbus.Call

func (*ImplObject) InitSignalExt

func (o *ImplObject) InitSignalExt(sigLoop *dbusutil.SignalLoop, ruleAuto bool)

func (*ImplObject) Init_

func (o *ImplObject) Init_(conn *dbus.Conn, serviceName string,
	path dbus.ObjectPath)

func (*ImplObject) Path_

func (o *ImplObject) Path_() dbus.ObjectPath

func (*ImplObject) RemoveAllHandlers

func (o *ImplObject) RemoveAllHandlers()

func (*ImplObject) RemoveHandler

func (o *ImplObject) RemoveHandler(handlerId dbusutil.SignalHandlerId)

func (*ImplObject) ServiceName_

func (o *ImplObject) ServiceName_() string

func (*ImplObject) SetExtra

func (o *ImplObject) SetExtra(key string, v interface{})

func (*ImplObject) SetProperty_

func (o *ImplObject) SetProperty_(flags dbus.Flags, interfaceName, propName string,
	value interface{}) error

type ImplPropBool

type ImplPropBool struct {
	Impl Implementer
	Name string
}

func (ImplPropBool) ConnectChanged

func (p ImplPropBool) ConnectChanged(cb func(hasValue bool, value bool)) error

func (ImplPropBool) Get

func (p ImplPropBool) Get(flags dbus.Flags) (value bool, err error)

func (ImplPropBool) Set

func (p ImplPropBool) Set(flags dbus.Flags, value bool) error

type ImplPropBoolArray

type ImplPropBoolArray struct {
	Impl Implementer
	Name string
}

func (ImplPropBoolArray) ConnectChanged

func (p ImplPropBoolArray) ConnectChanged(cb func(hasValue bool, value []bool)) error

func (ImplPropBoolArray) Get

func (p ImplPropBoolArray) Get(flags dbus.Flags) (value []bool, err error)

func (ImplPropBoolArray) Set

func (p ImplPropBoolArray) Set(flags dbus.Flags, value []bool) error

type ImplPropByte

type ImplPropByte struct {
	Impl Implementer
	Name string
}

func (ImplPropByte) ConnectChanged

func (p ImplPropByte) ConnectChanged(cb func(hasValue bool, value byte)) error

func (ImplPropByte) Get

func (p ImplPropByte) Get(flags dbus.Flags) (value byte, err error)

func (ImplPropByte) Set

func (p ImplPropByte) Set(flags dbus.Flags, value byte) error

type ImplPropByteArray

type ImplPropByteArray struct {
	Impl Implementer
	Name string
}

func (ImplPropByteArray) ConnectChanged

func (p ImplPropByteArray) ConnectChanged(cb func(hasValue bool, value []byte)) error

func (ImplPropByteArray) Get

func (p ImplPropByteArray) Get(flags dbus.Flags) (value []byte, err error)

func (ImplPropByteArray) Set

func (p ImplPropByteArray) Set(flags dbus.Flags, value []byte) error

type ImplPropDouble

type ImplPropDouble struct {
	Impl Implementer
	Name string
}

func (ImplPropDouble) ConnectChanged

func (p ImplPropDouble) ConnectChanged(cb func(hasValue bool, value float64)) error

func (ImplPropDouble) Get

func (p ImplPropDouble) Get(flags dbus.Flags) (value float64, err error)

func (ImplPropDouble) Set

func (p ImplPropDouble) Set(flags dbus.Flags, value float64) error

type ImplPropDoubleArray

type ImplPropDoubleArray struct {
	Impl Implementer
	Name string
}

func (ImplPropDoubleArray) ConnectChanged

func (p ImplPropDoubleArray) ConnectChanged(cb func(hasValue bool, value []float64)) error

func (ImplPropDoubleArray) Get

func (p ImplPropDoubleArray) Get(flags dbus.Flags) (value []float64, err error)

func (ImplPropDoubleArray) Set

func (p ImplPropDoubleArray) Set(flags dbus.Flags, value []float64) error

type ImplPropInt16

type ImplPropInt16 struct {
	Impl Implementer
	Name string
}

func (ImplPropInt16) ConnectChanged

func (p ImplPropInt16) ConnectChanged(cb func(hasValue bool, value int16)) error

func (ImplPropInt16) Get

func (p ImplPropInt16) Get(flags dbus.Flags) (value int16, err error)

func (ImplPropInt16) Set

func (p ImplPropInt16) Set(flags dbus.Flags, value int16) error

type ImplPropInt16Array

type ImplPropInt16Array struct {
	Impl Implementer
	Name string
}

func (ImplPropInt16Array) ConnectChanged

func (p ImplPropInt16Array) ConnectChanged(cb func(hasValue bool, value []int16)) error

func (ImplPropInt16Array) Get

func (p ImplPropInt16Array) Get(flags dbus.Flags) (value []int16, err error)

func (ImplPropInt16Array) Set

func (p ImplPropInt16Array) Set(flags dbus.Flags, value []int16) error

type ImplPropInt32

type ImplPropInt32 struct {
	Impl Implementer
	Name string
}

func (ImplPropInt32) ConnectChanged

func (p ImplPropInt32) ConnectChanged(cb func(hasValue bool, value int32)) error

func (ImplPropInt32) Get

func (p ImplPropInt32) Get(flags dbus.Flags) (value int32, err error)

func (ImplPropInt32) Set

func (p ImplPropInt32) Set(flags dbus.Flags, value int32) error

type ImplPropInt32Array

type ImplPropInt32Array struct {
	Impl Implementer
	Name string
}

func (ImplPropInt32Array) ConnectChanged

func (p ImplPropInt32Array) ConnectChanged(cb func(hasValue bool, value []int32)) error

func (ImplPropInt32Array) Get

func (p ImplPropInt32Array) Get(flags dbus.Flags) (value []int32, err error)

func (ImplPropInt32Array) Set

func (p ImplPropInt32Array) Set(flags dbus.Flags, value []int32) error

type ImplPropInt64

type ImplPropInt64 struct {
	Impl Implementer
	Name string
}

func (ImplPropInt64) ConnectChanged

func (p ImplPropInt64) ConnectChanged(cb func(hasValue bool, value int64)) error

func (ImplPropInt64) Get

func (p ImplPropInt64) Get(flags dbus.Flags) (value int64, err error)

func (ImplPropInt64) Set

func (p ImplPropInt64) Set(flags dbus.Flags, value int64) error

type ImplPropInt64Array

type ImplPropInt64Array struct {
	Impl Implementer
	Name string
}

func (ImplPropInt64Array) ConnectChanged

func (p ImplPropInt64Array) ConnectChanged(cb func(hasValue bool, value []int64)) error

func (ImplPropInt64Array) Get

func (p ImplPropInt64Array) Get(flags dbus.Flags) (value []int64, err error)

func (ImplPropInt64Array) Set

func (p ImplPropInt64Array) Set(flags dbus.Flags, value []int64) error

type ImplPropObjectPath

type ImplPropObjectPath struct {
	Impl Implementer
	Name string
}

func (ImplPropObjectPath) ConnectChanged

func (p ImplPropObjectPath) ConnectChanged(cb func(hasValue bool, value dbus.ObjectPath)) error

func (ImplPropObjectPath) Get

func (p ImplPropObjectPath) Get(flags dbus.Flags) (value dbus.ObjectPath, err error)

func (ImplPropObjectPath) Set

func (p ImplPropObjectPath) Set(flags dbus.Flags, value dbus.ObjectPath) error

type ImplPropObjectPathArray

type ImplPropObjectPathArray struct {
	Impl Implementer
	Name string
}

func (ImplPropObjectPathArray) ConnectChanged

func (p ImplPropObjectPathArray) ConnectChanged(cb func(hasValue bool, value []dbus.ObjectPath)) error

func (ImplPropObjectPathArray) Get

func (p ImplPropObjectPathArray) Get(flags dbus.Flags) (value []dbus.ObjectPath, err error)

func (ImplPropObjectPathArray) Set

func (p ImplPropObjectPathArray) Set(flags dbus.Flags, value []dbus.ObjectPath) error

type ImplPropString

type ImplPropString struct {
	Impl Implementer
	Name string
}

func (ImplPropString) ConnectChanged

func (p ImplPropString) ConnectChanged(cb func(hasValue bool, value string)) error

func (ImplPropString) Get

func (p ImplPropString) Get(flags dbus.Flags) (value string, err error)

func (ImplPropString) Set

func (p ImplPropString) Set(flags dbus.Flags, value string) error

type ImplPropStringArray

type ImplPropStringArray struct {
	Impl Implementer
	Name string
}

func (ImplPropStringArray) ConnectChanged

func (p ImplPropStringArray) ConnectChanged(cb func(hasValue bool, value []string)) error

func (ImplPropStringArray) Get

func (p ImplPropStringArray) Get(flags dbus.Flags) (value []string, err error)

func (ImplPropStringArray) Set

func (p ImplPropStringArray) Set(flags dbus.Flags, value []string) error

type ImplPropUint16

type ImplPropUint16 struct {
	Impl Implementer
	Name string
}

func (ImplPropUint16) ConnectChanged

func (p ImplPropUint16) ConnectChanged(cb func(hasValue bool, value uint16)) error

func (ImplPropUint16) Get

func (p ImplPropUint16) Get(flags dbus.Flags) (value uint16, err error)

func (ImplPropUint16) Set

func (p ImplPropUint16) Set(flags dbus.Flags, value uint16) error

type ImplPropUint16Array

type ImplPropUint16Array struct {
	Impl Implementer
	Name string
}

func (ImplPropUint16Array) ConnectChanged

func (p ImplPropUint16Array) ConnectChanged(cb func(hasValue bool, value []uint16)) error

func (ImplPropUint16Array) Get

func (p ImplPropUint16Array) Get(flags dbus.Flags) (value []uint16, err error)

func (ImplPropUint16Array) Set

func (p ImplPropUint16Array) Set(flags dbus.Flags, value []uint16) error

type ImplPropUint32

type ImplPropUint32 struct {
	Impl Implementer
	Name string
}

func (ImplPropUint32) ConnectChanged

func (p ImplPropUint32) ConnectChanged(cb func(hasValue bool, value uint32)) error

func (ImplPropUint32) Get

func (p ImplPropUint32) Get(flags dbus.Flags) (value uint32, err error)

func (ImplPropUint32) Set

func (p ImplPropUint32) Set(flags dbus.Flags, value uint32) error

type ImplPropUint32Array

type ImplPropUint32Array struct {
	Impl Implementer
	Name string
}

func (ImplPropUint32Array) ConnectChanged

func (p ImplPropUint32Array) ConnectChanged(cb func(hasValue bool, value []uint32)) error

func (ImplPropUint32Array) Get

func (p ImplPropUint32Array) Get(flags dbus.Flags) (value []uint32, err error)

func (ImplPropUint32Array) Set

func (p ImplPropUint32Array) Set(flags dbus.Flags, value []uint32) error

type ImplPropUint64

type ImplPropUint64 struct {
	Impl Implementer
	Name string
}

func (ImplPropUint64) ConnectChanged

func (p ImplPropUint64) ConnectChanged(cb func(hasValue bool, value uint64)) error

func (ImplPropUint64) Get

func (p ImplPropUint64) Get(flags dbus.Flags) (value uint64, err error)

func (ImplPropUint64) Set

func (p ImplPropUint64) Set(flags dbus.Flags, value uint64) error

type ImplPropUint64Array

type ImplPropUint64Array struct {
	Impl Implementer
	Name string
}

func (ImplPropUint64Array) ConnectChanged

func (p ImplPropUint64Array) ConnectChanged(cb func(hasValue bool, value []uint64)) error

func (ImplPropUint64Array) Get

func (p ImplPropUint64Array) Get(flags dbus.Flags) (value []uint64, err error)

func (ImplPropUint64Array) Set

func (p ImplPropUint64Array) Set(flags dbus.Flags, value []uint64) error

type Implementer

type Implementer interface {
	GetObject_() *ImplObject
	GetInterfaceName_() string
}

type MockObject

type MockObject struct {
	mock.Mock
}

func (*MockObject) ConnectPropertiesChanged

func (o *MockObject) ConnectPropertiesChanged(
	cb func(interfaceName string, changedProperties map[string]dbus.Variant,
		invalidatedProperties []string)) (dbusutil.SignalHandlerId, error)

func (*MockObject) InitSignalExt

func (o *MockObject) InitSignalExt(sigLoop *dbusutil.SignalLoop, ruleAuto bool)

func (*MockObject) Path_

func (o *MockObject) Path_() dbus.ObjectPath

func (*MockObject) RemoveAllHandlers

func (o *MockObject) RemoveAllHandlers()

func (*MockObject) RemoveHandler

func (o *MockObject) RemoveHandler(handlerId dbusutil.SignalHandlerId)

func (*MockObject) ServiceName_

func (o *MockObject) ServiceName_() string

type MockPropBool

type MockPropBool struct {
	mock.Mock
}

func (*MockPropBool) ConnectChanged

func (p *MockPropBool) ConnectChanged(cb func(hasValue bool, value bool)) error

func (*MockPropBool) Get

func (p *MockPropBool) Get(flags dbus.Flags) (value bool, err error)

func (*MockPropBool) Set

func (p *MockPropBool) Set(flags dbus.Flags, value bool) error

type MockPropBoolArray

type MockPropBoolArray struct {
	mock.Mock
}

func (*MockPropBoolArray) ConnectChanged

func (p *MockPropBoolArray) ConnectChanged(cb func(hasValue bool, value []bool)) error

func (*MockPropBoolArray) Get

func (p *MockPropBoolArray) Get(flags dbus.Flags) (value []bool, err error)

func (*MockPropBoolArray) Set

func (p *MockPropBoolArray) Set(flags dbus.Flags, value []bool) error

type MockPropByte

type MockPropByte struct {
	mock.Mock
}

func (*MockPropByte) ConnectChanged

func (p *MockPropByte) ConnectChanged(cb func(hasValue bool, value byte)) error

func (*MockPropByte) Get

func (p *MockPropByte) Get(flags dbus.Flags) (value byte, err error)

func (*MockPropByte) Set

func (p *MockPropByte) Set(flags dbus.Flags, value byte) error

type MockPropByteArray

type MockPropByteArray struct {
	mock.Mock
}

func (*MockPropByteArray) ConnectChanged

func (p *MockPropByteArray) ConnectChanged(cb func(hasValue bool, value []byte)) error

func (*MockPropByteArray) Get

func (p *MockPropByteArray) Get(flags dbus.Flags) (value []byte, err error)

func (*MockPropByteArray) Set

func (p *MockPropByteArray) Set(flags dbus.Flags, value []byte) error

type MockPropDouble

type MockPropDouble struct {
	mock.Mock
}

func (*MockPropDouble) ConnectChanged

func (p *MockPropDouble) ConnectChanged(cb func(hasValue bool, value float64)) error

func (*MockPropDouble) Get

func (p *MockPropDouble) Get(flags dbus.Flags) (value float64, err error)

func (*MockPropDouble) Set

func (p *MockPropDouble) Set(flags dbus.Flags, value float64) error

type MockPropDoubleArray

type MockPropDoubleArray struct {
	mock.Mock
}

func (*MockPropDoubleArray) ConnectChanged

func (p *MockPropDoubleArray) ConnectChanged(cb func(hasValue bool, value []float64)) error

func (*MockPropDoubleArray) Get

func (p *MockPropDoubleArray) Get(flags dbus.Flags) (value []float64, err error)

func (*MockPropDoubleArray) Set

func (p *MockPropDoubleArray) Set(flags dbus.Flags, value []float64) error

type MockPropInt16

type MockPropInt16 struct {
	mock.Mock
}

func (*MockPropInt16) ConnectChanged

func (p *MockPropInt16) ConnectChanged(cb func(hasValue bool, value int16)) error

func (*MockPropInt16) Get

func (p *MockPropInt16) Get(flags dbus.Flags) (value int16, err error)

func (*MockPropInt16) Set

func (p *MockPropInt16) Set(flags dbus.Flags, value int16) error

type MockPropInt16Array

type MockPropInt16Array struct {
	mock.Mock
}

func (*MockPropInt16Array) ConnectChanged

func (p *MockPropInt16Array) ConnectChanged(cb func(hasValue bool, value []int16)) error

func (*MockPropInt16Array) Get

func (p *MockPropInt16Array) Get(flags dbus.Flags) (value []int16, err error)

func (*MockPropInt16Array) Set

func (p *MockPropInt16Array) Set(flags dbus.Flags, value []int16) error

type MockPropInt32

type MockPropInt32 struct {
	mock.Mock
}

func (*MockPropInt32) ConnectChanged

func (p *MockPropInt32) ConnectChanged(cb func(hasValue bool, value int32)) error

func (*MockPropInt32) Get

func (p *MockPropInt32) Get(flags dbus.Flags) (value int32, err error)

func (*MockPropInt32) Set

func (p *MockPropInt32) Set(flags dbus.Flags, value int32) error

type MockPropInt32Array

type MockPropInt32Array struct {
	mock.Mock
}

func (*MockPropInt32Array) ConnectChanged

func (p *MockPropInt32Array) ConnectChanged(cb func(hasValue bool, value []int32)) error

func (*MockPropInt32Array) Get

func (p *MockPropInt32Array) Get(flags dbus.Flags) (value []int32, err error)

func (*MockPropInt32Array) Set

func (p *MockPropInt32Array) Set(flags dbus.Flags, value []int32) error

type MockPropInt64

type MockPropInt64 struct {
	mock.Mock
}

func (*MockPropInt64) ConnectChanged

func (p *MockPropInt64) ConnectChanged(cb func(hasValue bool, value int64)) error

func (*MockPropInt64) Get

func (p *MockPropInt64) Get(flags dbus.Flags) (value int64, err error)

func (*MockPropInt64) Set

func (p *MockPropInt64) Set(flags dbus.Flags, value int64) error

type MockPropInt64Array

type MockPropInt64Array struct {
	mock.Mock
}

func (*MockPropInt64Array) ConnectChanged

func (p *MockPropInt64Array) ConnectChanged(cb func(hasValue bool, value []int64)) error

func (*MockPropInt64Array) Get

func (p *MockPropInt64Array) Get(flags dbus.Flags) (value []int64, err error)

func (*MockPropInt64Array) Set

func (p *MockPropInt64Array) Set(flags dbus.Flags, value []int64) error

type MockPropObjectPath

type MockPropObjectPath struct {
	mock.Mock
}

func (*MockPropObjectPath) ConnectChanged

func (p *MockPropObjectPath) ConnectChanged(cb func(hasValue bool, value dbus.ObjectPath)) error

func (*MockPropObjectPath) Get

func (p *MockPropObjectPath) Get(flags dbus.Flags) (value dbus.ObjectPath, err error)

func (*MockPropObjectPath) Set

func (p *MockPropObjectPath) Set(flags dbus.Flags, value dbus.ObjectPath) error

type MockPropObjectPathArray

type MockPropObjectPathArray struct {
	mock.Mock
}

func (*MockPropObjectPathArray) ConnectChanged

func (p *MockPropObjectPathArray) ConnectChanged(cb func(hasValue bool, value []dbus.ObjectPath)) error

func (*MockPropObjectPathArray) Get

func (p *MockPropObjectPathArray) Get(flags dbus.Flags) (value []dbus.ObjectPath, err error)

func (*MockPropObjectPathArray) Set

func (p *MockPropObjectPathArray) Set(flags dbus.Flags, value []dbus.ObjectPath) error

type MockPropString

type MockPropString struct {
	mock.Mock
}

func (*MockPropString) ConnectChanged

func (p *MockPropString) ConnectChanged(cb func(hasValue bool, value string)) error

func (*MockPropString) Get

func (p *MockPropString) Get(flags dbus.Flags) (value string, err error)

func (*MockPropString) Set

func (p *MockPropString) Set(flags dbus.Flags, value string) error

type MockPropStringArray

type MockPropStringArray struct {
	mock.Mock
}

func (*MockPropStringArray) ConnectChanged

func (p *MockPropStringArray) ConnectChanged(cb func(hasValue bool, value []string)) error

func (*MockPropStringArray) Get

func (p *MockPropStringArray) Get(flags dbus.Flags) (value []string, err error)

func (*MockPropStringArray) Set

func (p *MockPropStringArray) Set(flags dbus.Flags, value []string) error

type MockPropUint16

type MockPropUint16 struct {
	mock.Mock
}

func (*MockPropUint16) ConnectChanged

func (p *MockPropUint16) ConnectChanged(cb func(hasValue bool, value uint16)) error

func (*MockPropUint16) Get

func (p *MockPropUint16) Get(flags dbus.Flags) (value uint16, err error)

func (*MockPropUint16) Set

func (p *MockPropUint16) Set(flags dbus.Flags, value uint16) error

type MockPropUint16Array

type MockPropUint16Array struct {
	mock.Mock
}

func (*MockPropUint16Array) ConnectChanged

func (p *MockPropUint16Array) ConnectChanged(cb func(hasValue bool, value []uint16)) error

func (*MockPropUint16Array) Get

func (p *MockPropUint16Array) Get(flags dbus.Flags) (value []uint16, err error)

func (*MockPropUint16Array) Set

func (p *MockPropUint16Array) Set(flags dbus.Flags, value []uint16) error

type MockPropUint32

type MockPropUint32 struct {
	mock.Mock
}

func (*MockPropUint32) ConnectChanged

func (p *MockPropUint32) ConnectChanged(cb func(hasValue bool, value uint32)) error

func (*MockPropUint32) Get

func (p *MockPropUint32) Get(flags dbus.Flags) (value uint32, err error)

func (*MockPropUint32) Set

func (p *MockPropUint32) Set(flags dbus.Flags, value uint32) error

type MockPropUint32Array

type MockPropUint32Array struct {
	mock.Mock
}

func (*MockPropUint32Array) ConnectChanged

func (p *MockPropUint32Array) ConnectChanged(cb func(hasValue bool, value []uint32)) error

func (*MockPropUint32Array) Get

func (p *MockPropUint32Array) Get(flags dbus.Flags) (value []uint32, err error)

func (*MockPropUint32Array) Set

func (p *MockPropUint32Array) Set(flags dbus.Flags, value []uint32) error

type MockPropUint64

type MockPropUint64 struct {
	mock.Mock
}

func (*MockPropUint64) ConnectChanged

func (p *MockPropUint64) ConnectChanged(cb func(hasValue bool, value uint64)) error

func (*MockPropUint64) Get

func (p *MockPropUint64) Get(flags dbus.Flags) (value uint64, err error)

func (*MockPropUint64) Set

func (p *MockPropUint64) Set(flags dbus.Flags, value uint64) error

type MockPropUint64Array

type MockPropUint64Array struct {
	mock.Mock
}

func (*MockPropUint64Array) ConnectChanged

func (p *MockPropUint64Array) ConnectChanged(cb func(hasValue bool, value []uint64)) error

func (*MockPropUint64Array) Get

func (p *MockPropUint64Array) Get(flags dbus.Flags) (value []uint64, err error)

func (*MockPropUint64Array) Set

func (p *MockPropUint64Array) Set(flags dbus.Flags, value []uint64) error

type Object

type Object interface {
	Path_() dbus.ObjectPath
	ServiceName_() string
	InitSignalExt(sigLoop *dbusutil.SignalLoop, ruleAuto bool)
	RemoveAllHandlers()
	RemoveHandler(handlerId dbusutil.SignalHandlerId)
	ConnectPropertiesChanged(
		cb func(interfaceName string, changedProperties map[string]dbus.Variant,
			invalidatedProperties []string)) (dbusutil.SignalHandlerId, error)
}

type PropBool

type PropBool interface {
	Get(flags dbus.Flags) (value bool, err error)
	Set(flags dbus.Flags, value bool) error
	ConnectChanged(cb func(hasValue bool, value bool)) error
}

type PropBoolArray

type PropBoolArray interface {
	Get(flags dbus.Flags) (value []bool, err error)
	Set(flags dbus.Flags, value []bool) error
	ConnectChanged(cb func(hasValue bool, value []bool)) error
}

type PropByte

type PropByte interface {
	Get(flags dbus.Flags) (value byte, err error)
	Set(flags dbus.Flags, value byte) error
	ConnectChanged(cb func(hasValue bool, value byte)) error
}

type PropByteArray

type PropByteArray interface {
	Get(flags dbus.Flags) (value []byte, err error)
	Set(flags dbus.Flags, value []byte) error
	ConnectChanged(cb func(hasValue bool, value []byte)) error
}

type PropChangedCallback

type PropChangedCallback func(hasValue bool, value interface{})

type PropDouble

type PropDouble interface {
	Get(flags dbus.Flags) (value float64, err error)
	Set(flags dbus.Flags, value float64) error
	ConnectChanged(cb func(hasValue bool, value float64)) error
}

type PropDoubleArray

type PropDoubleArray interface {
	Get(flags dbus.Flags) (value []float64, err error)
	Set(flags dbus.Flags, value []float64) error
	ConnectChanged(cb func(hasValue bool, value []float64)) error
}

type PropInt16

type PropInt16 interface {
	Get(flags dbus.Flags) (value int16, err error)
	Set(flags dbus.Flags, value int16) error
	ConnectChanged(cb func(hasValue bool, value int16)) error
}

type PropInt16Array

type PropInt16Array interface {
	Get(flags dbus.Flags) (value []int16, err error)
	Set(flags dbus.Flags, value []int16) error
	ConnectChanged(cb func(hasValue bool, value []int16)) error
}

type PropInt32

type PropInt32 interface {
	Get(flags dbus.Flags) (value int32, err error)
	Set(flags dbus.Flags, value int32) error
	ConnectChanged(cb func(hasValue bool, value int32)) error
}

type PropInt32Array

type PropInt32Array interface {
	Get(flags dbus.Flags) (value []int32, err error)
	Set(flags dbus.Flags, value []int32) error
	ConnectChanged(cb func(hasValue bool, value []int32)) error
}

type PropInt64

type PropInt64 interface {
	Get(flags dbus.Flags) (value int64, err error)
	Set(flags dbus.Flags, value int64) error
	ConnectChanged(cb func(hasValue bool, value int64)) error
}

type PropInt64Array

type PropInt64Array interface {
	Get(flags dbus.Flags) (value []int64, err error)
	Set(flags dbus.Flags, value []int64) error
	ConnectChanged(cb func(hasValue bool, value []int64)) error
}

type PropObjectPath

type PropObjectPath interface {
	Get(flags dbus.Flags) (value dbus.ObjectPath, err error)
	Set(flags dbus.Flags, value dbus.ObjectPath) error
	ConnectChanged(cb func(hasValue bool, value dbus.ObjectPath)) error
}

type PropObjectPathArray

type PropObjectPathArray interface {
	Get(flags dbus.Flags) (value []dbus.ObjectPath, err error)
	Set(flags dbus.Flags, value []dbus.ObjectPath) error
	ConnectChanged(cb func(hasValue bool, value []dbus.ObjectPath)) error
}

type PropString

type PropString interface {
	Get(flags dbus.Flags) (value string, err error)
	Set(flags dbus.Flags, value string) error
	ConnectChanged(cb func(hasValue bool, value string)) error
}

type PropStringArray

type PropStringArray interface {
	Get(flags dbus.Flags) (value []string, err error)
	Set(flags dbus.Flags, value []string) error
	ConnectChanged(cb func(hasValue bool, value []string)) error
}

type PropUint16

type PropUint16 interface {
	Get(flags dbus.Flags) (value uint16, err error)
	Set(flags dbus.Flags, value uint16) error
	ConnectChanged(cb func(hasValue bool, value uint16)) error
}

type PropUint16Array

type PropUint16Array interface {
	Get(flags dbus.Flags) (value []uint16, err error)
	Set(flags dbus.Flags, value []uint16) error
	ConnectChanged(cb func(hasValue bool, value []uint16)) error
}

type PropUint32

type PropUint32 interface {
	Get(flags dbus.Flags) (value uint32, err error)
	Set(flags dbus.Flags, value uint32) error
	ConnectChanged(cb func(hasValue bool, value uint32)) error
}

type PropUint32Array

type PropUint32Array interface {
	Get(flags dbus.Flags) (value []uint32, err error)
	Set(flags dbus.Flags, value []uint32) error
	ConnectChanged(cb func(hasValue bool, value []uint32)) error
}

type PropUint64

type PropUint64 interface {
	Get(flags dbus.Flags) (value uint64, err error)
	Set(flags dbus.Flags, value uint64) error
	ConnectChanged(cb func(hasValue bool, value uint64)) error
}

type PropUint64Array

type PropUint64Array interface {
	Get(flags dbus.Flags) (value []uint64, err error)
	Set(flags dbus.Flags, value []uint64) error
	ConnectChanged(cb func(hasValue bool, value []uint64)) error
}

Jump to

Keyboard shortcuts

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