~ubuntu-branches/ubuntu/maverick/bluedevil/maverick-proposed

« back to all changes in this revision

Viewing changes to src/kio/obextest/obexftp/doc/agent-api.txt

  • Committer: Bazaar Package Importer
  • Author(s): Mark Purcell
  • Date: 2010-08-07 09:04:19 UTC
  • Revision ID: james.westby@ubuntu.com-20100807090419-68k54ucso2htcf5z
Tags: upstream-1.0~rc2
ImportĀ upstreamĀ versionĀ 1.0~rc2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
obexd Agent API description
 
2
**********************************
 
3
 
 
4
Copyright (C) 2007-2010  Nokia Corporation
 
5
Copyright (C) 2007-2010  Marcel Holtmann <marcel@holtmann.org>
 
6
 
 
7
 
 
8
Agent hierarchy
 
9
===============
 
10
 
 
11
Service         unique name
 
12
Interface       org.openobex.Agent
 
13
Object path     freely definable
 
14
 
 
15
Methods
 
16
                string Authorize(object transfer, string bt_address, string name,
 
17
                                        string type, int32 length, int32 time)
 
18
 
 
19
                        This method gets called when the service daemon
 
20
                        needs to accept/reject a Bluetooth object push request.
 
21
                        Returns the full path (including the filename) where
 
22
                        the object shall be stored.
 
23
 
 
24
                        Possible errors: org.openobex.Error.Rejected
 
25
                                         org.openobex.Error.Canceled
 
26
 
 
27
                void Cancel()
 
28
 
 
29
                        This method gets called to indicate that the agent
 
30
                        request failed before a reply was returned. It cancels
 
31
                        the previous request.