Documentation ¶
Index ¶
- type BusManager
- func NewAnonymousBusManager(busfn func(dbus.Handler, dbus.SignalHandler) (*dbus.Conn, error)) (*BusManager, error)
- func NewAnonymousSessionBusManager() (*BusManager, error)
- func NewAnonymousSystemBusManager() (*BusManager, error)
- func NewBusManager(busfn func(dbus.Handler, dbus.SignalHandler) (*dbus.Conn, error), name string) (*BusManager, error)
- func NewSessionBusManager(name string) (*BusManager, error)
- func NewSystemBusManager(name string) (*BusManager, error)
- func (mgr *BusManager) Call(path dbus.ObjectPath, ifaceName string, method string, args ...interface{}) ([]interface{}, error)
- func (mgr *BusManager) Conn() *dbus.Conn
- func (mgr *BusManager) DeliverSignal(iface, member string, signal *dbus.Signal)
- func (mgr *BusManager) LookupObject(path dbus.ObjectPath) (dbus.ServerObject, bool)
- func (mgr *BusManager) RequestName(name string) error
- type Interface
- type Method
- func (method *Method) ArgumentValue(position int) interface{}
- func (method *Method) Call(args ...interface{}) ([]interface{}, error)
- func (method *Method) DecodeArguments(conn *dbus.Conn, sender string, msg *dbus.Message, args []interface{}) ([]interface{}, error)
- func (method *Method) Introspect() introspect.Method
- func (method *Method) NumArguments() int
- func (method *Method) NumReturns() int
- func (method *Method) ReturnValue(position int) interface{}
- type Object
- func (o *Object) Call(ifaceName, method string, args ...interface{}) ([]interface{}, error)
- func (o *Object) DeleteObject(path dbus.ObjectPath)
- func (o *Object) DeliverSignal(iface, member string, signal *dbus.Signal)
- func (o *Object) Implements(name string, obj interface{}) error
- func (o *Object) ImplementsMap(name string, obj interface{}, mapfn func(string) string) error
- func (o *Object) ImplementsTable(name string, table map[string]interface{}) error
- func (o *Object) Introspect() introspect.Node
- func (o *Object) LookupInterface(name string) (dbus.Interface, bool)
- func (o *Object) LookupObject(name string) (*Object, bool)
- func (o *Object) NewObject(path dbus.ObjectPath, val interface{}) *Object
- func (o *Object) NewObjectFromTable(path dbus.ObjectPath, table map[string]interface{}) *Object
- func (o *Object) NewObjectMap(path dbus.ObjectPath, val interface{}, mapfn func(string) string) *Object
- func (o *Object) Receives(dbusIfaceName string, obj interface{}, mapfn func(string) string) error
- func (o *Object) ReceivesTable(dbusIfaceName string, table map[string]interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BusManager ¶
type BusManager struct { *Object // contains filtered or unexported fields }
Acts as a root to the object tree
func NewAnonymousBusManager ¶
func NewAnonymousBusManager( busfn func(dbus.Handler, dbus.SignalHandler) (*dbus.Conn, error), ) (*BusManager, error)
func NewAnonymousSessionBusManager ¶
func NewAnonymousSessionBusManager() (*BusManager, error)
func NewAnonymousSystemBusManager ¶
func NewAnonymousSystemBusManager() (*BusManager, error)
func NewBusManager ¶
func NewBusManager( busfn func(dbus.Handler, dbus.SignalHandler) (*dbus.Conn, error), name string, ) (*BusManager, error)
func NewSessionBusManager ¶
func NewSessionBusManager(name string) (*BusManager, error)
func NewSystemBusManager ¶
func NewSystemBusManager(name string) (*BusManager, error)
func (*BusManager) Call ¶
func (mgr *BusManager) Call( path dbus.ObjectPath, ifaceName string, method string, args ...interface{}, ) ([]interface{}, error)
func (*BusManager) Conn ¶
func (mgr *BusManager) Conn() *dbus.Conn
func (*BusManager) DeliverSignal ¶
func (mgr *BusManager) DeliverSignal(iface, member string, signal *dbus.Signal)
func (*BusManager) LookupObject ¶
func (mgr *BusManager) LookupObject(path dbus.ObjectPath) (dbus.ServerObject, bool)
func (*BusManager) RequestName ¶
func (mgr *BusManager) RequestName(name string) error
type Interface ¶
type Interface struct {
// contains filtered or unexported fields
}
func (*Interface) Introspect ¶
func (intf *Interface) Introspect() introspect.Interface
type Method ¶
type Method struct {
// contains filtered or unexported fields
}
func (*Method) ArgumentValue ¶
func (*Method) DecodeArguments ¶
func (*Method) Introspect ¶
func (method *Method) Introspect() introspect.Method
func (*Method) NumArguments ¶
func (*Method) NumReturns ¶
func (*Method) ReturnValue ¶
type Object ¶
type Object struct {
// contains filtered or unexported fields
}
func (*Object) DeleteObject ¶
func (o *Object) DeleteObject(path dbus.ObjectPath)
func (*Object) DeliverSignal ¶
Deliver the signal to this object's listeners and all child objects
func (*Object) Implements ¶
func (*Object) ImplementsMap ¶
func (*Object) ImplementsTable ¶
func (*Object) Introspect ¶
func (o *Object) Introspect() introspect.Node
func (*Object) LookupInterface ¶
func (*Object) NewObject ¶
func (o *Object) NewObject(path dbus.ObjectPath, val interface{}) *Object
func (*Object) NewObjectFromTable ¶
func (o *Object) NewObjectFromTable( path dbus.ObjectPath, table map[string]interface{}, ) *Object
func (*Object) NewObjectMap ¶
Click to show internal directories.
Click to hide internal directories.