Documentation ¶
Index ¶
- Constants
- func DeleteConn(conn *dbus.Conn)
- type ImplObject
- func (o *ImplObject) ConnectPropertiesChanged(cb func(interfaceName string, changedProperties map[string]dbus.Variant, ...)) (dbusutil.SignalHandlerId, error)
- func (o *ImplObject) ConnectPropertyChanged_(interfaceName, propName string, callback PropChangedCallback) error
- func (o *ImplObject) ConnectSignal_(rule string, sigRule *dbusutil.SignalRule, cb dbusutil.SignalHandlerFunc) (dbusutil.SignalHandlerId, error)
- func (o *ImplObject) GetExtra(key string) (interface{}, bool)
- func (o *ImplObject) GetProperty_(flags dbus.Flags, interfaceName, propName string, value interface{}) error
- func (o *ImplObject) Go_(method string, flags dbus.Flags, ch chan *dbus.Call, args ...interface{}) *dbus.Call
- func (o *ImplObject) InitSignalExt(sigLoop *dbusutil.SignalLoop, ruleAuto bool)
- func (o *ImplObject) Init_(conn *dbus.Conn, serviceName string, path dbus.ObjectPath)
- func (o *ImplObject) Path_() dbus.ObjectPath
- func (o *ImplObject) RemoveAllHandlers()
- func (o *ImplObject) RemoveHandler(handlerId dbusutil.SignalHandlerId)
- func (o *ImplObject) ServiceName_() string
- func (o *ImplObject) SetExtra(key string, v interface{})
- func (o *ImplObject) SetProperty_(flags dbus.Flags, interfaceName, propName string, value interface{}) error
- type ImplPropBool
- type ImplPropBoolArray
- type ImplPropByte
- type ImplPropByteArray
- type ImplPropDouble
- type ImplPropDoubleArray
- type ImplPropInt16
- type ImplPropInt16Array
- type ImplPropInt32
- type ImplPropInt32Array
- type ImplPropInt64
- type ImplPropInt64Array
- type ImplPropObjectPath
- type ImplPropObjectPathArray
- type ImplPropString
- type ImplPropStringArray
- type ImplPropUint16
- type ImplPropUint16Array
- type ImplPropUint32
- type ImplPropUint32Array
- type ImplPropUint64
- type ImplPropUint64Array
- type Implementer
- type MockObject
- func (o *MockObject) ConnectPropertiesChanged(cb func(interfaceName string, changedProperties map[string]dbus.Variant, ...)) (dbusutil.SignalHandlerId, error)
- func (o *MockObject) InitSignalExt(sigLoop *dbusutil.SignalLoop, ruleAuto bool)
- func (o *MockObject) Path_() dbus.ObjectPath
- func (o *MockObject) RemoveAllHandlers()
- func (o *MockObject) RemoveHandler(handlerId dbusutil.SignalHandlerId)
- func (o *MockObject) ServiceName_() string
- type MockPropBool
- type MockPropBoolArray
- type MockPropByte
- type MockPropByteArray
- type MockPropDouble
- type MockPropDoubleArray
- type MockPropInt16
- type MockPropInt16Array
- type MockPropInt32
- type MockPropInt32Array
- type MockPropInt64
- type MockPropInt64Array
- type MockPropObjectPath
- type MockPropObjectPathArray
- type MockPropString
- type MockPropStringArray
- type MockPropUint16
- type MockPropUint16Array
- type MockPropUint32
- type MockPropUint32Array
- type MockPropUint64
- type MockPropUint64Array
- type Object
- type PropBool
- type PropBoolArray
- type PropByte
- type PropByteArray
- type PropChangedCallback
- type PropDouble
- type PropDoubleArray
- type PropInt16
- type PropInt16Array
- type PropInt32
- type PropInt32Array
- type PropInt64
- type PropInt64Array
- type PropObjectPath
- type PropObjectPathArray
- type PropString
- type PropStringArray
- type PropUint16
- type PropUint16Array
- type PropUint32
- type PropUint32Array
- type PropUint64
- type PropUint64Array
Constants ¶
View Source
const ( RemoveAllHandlers = -1 RemovePropertiesChangedHandler = -2 )
Variables ¶
This section is empty.
Functions ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 PropBoolArray ¶
type PropByteArray ¶
type PropChangedCallback ¶
type PropChangedCallback func(hasValue bool, value interface{})
type PropDouble ¶
type PropDoubleArray ¶
type PropInt16Array ¶
type PropInt32Array ¶
type PropInt64Array ¶
type PropObjectPath ¶
type PropObjectPathArray ¶
type PropString ¶
type PropStringArray ¶
type PropUint16 ¶
type PropUint16Array ¶
type PropUint32 ¶
type PropUint32Array ¶
type PropUint64 ¶
Click to show internal directories.
Click to hide internal directories.