[Kde-java] KIO Slave in Java
Daniel Hanlon
daniel.hanlon at man.ac.uk
Mon Mar 1 13:03:34 CET 2004
On Friday 27 February 2004 20:02, Richard Dale wrote:
> I was wondering if you could use a relatively generic kioslave which you
> connected via slots/signals to byte[] arrays as above to intercept the
> messages, and it would then talk in turn to the GridFTP api. You could only
> do that for your current application though. However, I know nothing of the
> GridFTP api..
That's an interesting idea, thanks! - I assume you mean with the Java code
implementing the transport etc running as a sort of server, communicating
with the real kio_slave via signals/slots... I'll have to read up more on QT
and signal/slots I think!
> In order to have something launched via kdeinit I think it would need to be
> compiled to native code with gcj. I haven't been looking at KDevelop 3.0
That's what I've done so far. See
http://ralph.mvc.mcc.ac.uk/~djn/spip/article.php3?id_article=11
I thought I'd solved the problem but it's turning out to be much more
compilicated to compile the stuff that implements the interface to
GridFTP-it's got a very long dependency chain of security jars... I haven't
given up yet but I thought I'd try a different tack:-)
> I haven't been looking at KDevelop 3.0
> recently, but perhaps a java kioslave project template to do that would be
> really good. Most dynamic loaded code has a C function as an entry point -
> I don't think you would need any JNI for that, just a small C/C++ 'stub'
> part to get it going. The Koala java api has pretty much all the jni calls
> covered already.
A Java template in KDevelop would definitely be the nicest solution in the
long-run!
Daniel.
--
----------------
Daniel Hanlon
e-Science, Manchester Computing,
Manchester University, UK.
More information about the Kde-java
mailing list