obex

package
v0.0.0-...-454a0ba Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: GPL-3.0 Imports: 7 Imported by: 1

Documentation

Overview

SPDX-FileCopyrightText: 2018 - 2023 UnionTech Software Technology Co., Ltd.

SPDX-License-Identifier: GPL-3.0-or-later

SPDX-FileCopyrightText: 2018 - 2023 UnionTech Software Technology Co., Ltd.

SPDX-License-Identifier: GPL-3.0-or-later

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager interface {
	AgentManager() agentManager // interface org.bluez.obex.AgentManager1
	Client() client             // interface org.bluez.obex.Client1
	proxy.Object
}

func NewManager

func NewManager(conn *dbus.Conn) Manager

type MockInterfaceAgentManager

type MockInterfaceAgentManager struct {
	mock.Mock
}

func (*MockInterfaceAgentManager) GoRegisterAgent

func (v *MockInterfaceAgentManager) GoRegisterAgent(flags dbus.Flags, ch chan *dbus.Call, agent dbus.ObjectPath) *dbus.Call

func (*MockInterfaceAgentManager) GoUnregisterAgent

func (v *MockInterfaceAgentManager) GoUnregisterAgent(flags dbus.Flags, ch chan *dbus.Call, agent dbus.ObjectPath) *dbus.Call

func (*MockInterfaceAgentManager) RegisterAgent

func (v *MockInterfaceAgentManager) RegisterAgent(flags dbus.Flags, agent dbus.ObjectPath) error

func (*MockInterfaceAgentManager) UnregisterAgent

func (v *MockInterfaceAgentManager) UnregisterAgent(flags dbus.Flags, agent dbus.ObjectPath) error

type MockInterfaceClient

type MockInterfaceClient struct {
	mock.Mock
}

func (*MockInterfaceClient) CreateSession

func (v *MockInterfaceClient) CreateSession(flags dbus.Flags, destination string, args map[string]dbus.Variant) (dbus.ObjectPath, error)

func (*MockInterfaceClient) GoCreateSession

func (v *MockInterfaceClient) GoCreateSession(flags dbus.Flags, ch chan *dbus.Call, destination string, args map[string]dbus.Variant) *dbus.Call

func (*MockInterfaceClient) GoRemoveSession

func (v *MockInterfaceClient) GoRemoveSession(flags dbus.Flags, ch chan *dbus.Call, session dbus.ObjectPath) *dbus.Call

func (*MockInterfaceClient) RemoveSession

func (v *MockInterfaceClient) RemoveSession(flags dbus.Flags, session dbus.ObjectPath) error

type MockInterfaceObjectPush

type MockInterfaceObjectPush struct {
	mock.Mock
}

func (*MockInterfaceObjectPush) ExchangeBusinessCards

func (v *MockInterfaceObjectPush) ExchangeBusinessCards(flags dbus.Flags, clientfile string, targetfile string) (dbus.ObjectPath, map[string]dbus.Variant, error)

func (*MockInterfaceObjectPush) GoExchangeBusinessCards

func (v *MockInterfaceObjectPush) GoExchangeBusinessCards(flags dbus.Flags, ch chan *dbus.Call, clientfile string, targetfile string) *dbus.Call

func (*MockInterfaceObjectPush) GoPullBusinessCard

func (v *MockInterfaceObjectPush) GoPullBusinessCard(flags dbus.Flags, ch chan *dbus.Call, targetfile string) *dbus.Call

func (*MockInterfaceObjectPush) GoSendFile

func (v *MockInterfaceObjectPush) GoSendFile(flags dbus.Flags, ch chan *dbus.Call, sourcefile string) *dbus.Call

func (*MockInterfaceObjectPush) PullBusinessCard

func (v *MockInterfaceObjectPush) PullBusinessCard(flags dbus.Flags, targetfile string) (dbus.ObjectPath, map[string]dbus.Variant, error)

func (*MockInterfaceObjectPush) SendFile

func (v *MockInterfaceObjectPush) SendFile(flags dbus.Flags, sourcefile string) (dbus.ObjectPath, map[string]dbus.Variant, error)

type MockInterfaceSession

type MockInterfaceSession struct {
	mock.Mock
}

func (*MockInterfaceSession) Channel

func (v *MockInterfaceSession) Channel() proxy.PropByte

func (*MockInterfaceSession) Destination

func (v *MockInterfaceSession) Destination() proxy.PropString

func (*MockInterfaceSession) GetCapabilities

func (v *MockInterfaceSession) GetCapabilities(flags dbus.Flags) (string, error)

func (*MockInterfaceSession) GoGetCapabilities

func (v *MockInterfaceSession) GoGetCapabilities(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call

func (*MockInterfaceSession) Source

func (*MockInterfaceSession) Target

type MockInterfaceTransfer

type MockInterfaceTransfer struct {
	mock.Mock
}

func (*MockInterfaceTransfer) Cancel

func (v *MockInterfaceTransfer) Cancel(flags dbus.Flags) error

func (*MockInterfaceTransfer) Filename

func (v *MockInterfaceTransfer) Filename() proxy.PropString

func (*MockInterfaceTransfer) GoCancel

func (v *MockInterfaceTransfer) GoCancel(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call

func (*MockInterfaceTransfer) Name

func (*MockInterfaceTransfer) Session

func (*MockInterfaceTransfer) Size

func (*MockInterfaceTransfer) Status

func (*MockInterfaceTransfer) Time

func (*MockInterfaceTransfer) Transferred

func (v *MockInterfaceTransfer) Transferred() proxy.PropUint64

func (*MockInterfaceTransfer) Type

type MockManager

type MockManager struct {
	MockInterfaceAgentManager // interface org.bluez.obex.AgentManager1
	MockInterfaceClient       // interface org.bluez.obex.Client1
	proxy.MockObject
}

type MockObjectManager

type MockObjectManager struct {
	object_manager.MockInterfaceObjectManager // interface org.freedesktop.DBus.ObjectManager
	proxy.MockObject
}

type MockSession

type MockSession struct {
	MockInterfaceSession    // interface org.bluez.obex.Session1
	MockInterfaceObjectPush // interface org.bluez.obex.ObjectPush1
	proxy.MockObject
}

type MockTransfer

type MockTransfer struct {
	MockInterfaceTransfer // interface org.bluez.obex.Transfer1
	proxy.MockObject
}

type ObjectManager

type ObjectManager interface {
	object_manager.ObjectManager // interface org.freedesktop.DBus.ObjectManager
	proxy.Object
}

func NewObjectManager

func NewObjectManager(conn *dbus.Conn) ObjectManager

type Session

type Session interface {
	Session() session       // interface org.bluez.obex.Session1
	ObjectPush() objectPush // interface org.bluez.obex.ObjectPush1
	proxy.Object
}

func NewSession

func NewSession(conn *dbus.Conn, path dbus.ObjectPath) (Session, error)

type Transfer

type Transfer interface {
	proxy.Object
	// contains filtered or unexported methods
}

func NewTransfer

func NewTransfer(conn *dbus.Conn, path dbus.ObjectPath) (Transfer, error)

Jump to

Keyboard shortcuts

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