~ubuntu-branches/ubuntu/natty/bluedevil/natty

« back to all changes in this revision

Viewing changes to src/daemon/obexftpkded/HACKING

  • Committer: Bazaar Package Importer
  • Author(s): Alessandro Ghersi
  • Date: 2010-09-16 14:53:24 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20100916145324-0gj8ss49ja9wgt4j
Tags: 1.0~rc4-0ubuntu1
* New upstream release
  - Build against libbluedevil-dev 1.8

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
When developing the kio_obexftp, we noticed that the only way to make play nice obexftp protocol with kio_obexftp
 
2
was developing a new KDED, this is why.
 
3
 
 
4
KIO is designed to has atomic methods, to do that we need to connect/disconnect in each action becuase most of the
 
5
devices which implement obexftp only support 1 connection.
 
6
 
 
7
So, what does this Daemon solve?
 
8
 
 
9
This is the idea:
 
10
    -On setHost, the kio send the addr to connect to.
 
11
    -The connection (from now on known as session) is saved in a map, relationing ADDR<-->Session
 
12
    -In each action (lsitdir, copy, etc...) the call is forwarded to the KDED, together with the current host (addr)
 
13
    -The KDED, using the session perform the actual obexftp related work.
 
14
        -In case of copy, it will emit signals when needed
 
15
 
 
16
Sumary of needs:
 
17
    -Share session between kio's
 
18
    -Have an atomic kio_salve, as they should be.
 
 
b'\\ No newline at end of file'