Author Topic: I'm thinking about a plugin...  (Read 8992 times)

0 Members and 1 Guest are viewing this topic.

Offline TC

  • Tireless poster
  • ****
  • Posts: 117
    • View Profile
I'm thinking about a plugin...
« on: May 28, 2002, 10:52:03 PM »
&RQ Web Gateway project
=======================

&RQ Web Gateway (for fiends &WG) is a gateway of &rq for web and wap.
It's a plugin that allow to use &rq from remote: log in and work with web
interface with remote-host 's &rq UIN.

Benefit:
   Use &rq from remote
   Users that cannot use &rq from particular hosts (an exampe: host with only
      web-proxy) can use their &rq.
   Use &rq from telephones (using wap-interface)

Contacts:
   Project by Ezio Bonsi
   email: ezio@yesis.com
   uin #: 56979793

Tech note:
   Language : C (compiled with lcc-win32)
   Status   : only-prj
   Prj date : 2002.05.28


What do you think? Is it a feasible idea? Has it a real utility?
by, ]TC[
Quando digitai in command.com la prima volta 'ls' invece di 'dir', capii cosa mi stava succendendo...

Offline alkimiya

  • Moderator
  • Tireless poster
  • *****
  • Posts: 315
    • View Profile
I'm thinking about a plugin...
« Reply #1 on: May 29, 2002, 09:30:53 AM »
It sounds like a good idea, am I being able to "hook unto" my &rq session at home and control it if it's already online too?

I mean, like watching my chat window and contact list remote (password protected off course).

Offline TC

  • Tireless poster
  • ****
  • Posts: 117
    • View Profile
I'm thinking about a plugin...
« Reply #2 on: May 30, 2002, 05:13:37 AM »
Yes, it's right.
If u have your host with &rq and &wg, u can login into your &rq and use it, like send and receive messages and browse your contact list.
And all is pwd protected (with HTTP auth-basic scheme, I think).

Ah, the prj up-to-date is avaible at http://www.ebcorp.org/devel/&rq/&WG.txt

I'm now writing the project... I think that maybe the first release of &wq will be relased on 2050 :D ;)

byby, TC
Quando digitai in command.com la prima volta 'ls' invece di 'dir', capii cosa mi stava succendendo...

Offline rejetto

  • Administrator
  • Tireless poster
  • *
  • Posts: 12890
    • View Profile
I'm thinking about a plugin...
« Reply #3 on: May 30, 2002, 12:21:01 PM »
hmm...the applet runs on the client, right?
the plugin runs on the server, right?
will you open a socket for communication?
afaik IE JVM doesn't allow applets to open sockets (at least they are signed)

Offline alkimiya

  • Moderator
  • Tireless poster
  • *****
  • Posts: 315
    • View Profile
I'm thinking about a plugin...
« Reply #4 on: May 30, 2002, 08:13:01 PM »
The applet could communicate with a process on the server (the plugin) with some protocol. The plugin asks &rq to connect, send messages, read messages, contact list info etc. For this to work, all functions in &rq should be accessible from a plugin. (like retrieve preferences window, push button in preferences window and so on..)

Offline rejetto

  • Administrator
  • Tireless poster
  • *
  • Posts: 12890
    • View Profile
I'm thinking about a plugin...
« Reply #5 on: May 31, 2002, 10:25:08 AM »
many things are already accessible
to add new ones is quite easy for me
of course i won't spend weeks adding the whole &RQ in the plugin interface at least someone needs it
i will support developers, expanding the &plugin interface as possible for me

Offline TC

  • Tireless poster
  • ****
  • Posts: 117
    • View Profile
I'm thinking about a plugin...
« Reply #6 on: May 31, 2002, 11:00:36 AM »
The communications between java <-> plugin can be implemented with http request and http response (using plugin web-server like a CGI).

ES:
applet request this url:
http://host/?pop_plug_msg

the plugin send back to java with binary mime-type the buffer received from &RQ, if anyone. (The plugin track with a FIFO stack all messages received from &rq)


applet request this url:
http://host/?push_plug_msg&[buffer-data]

the plugin insert into stack for messages to &rq the buffer received from the applet (the buffer-data will be translated into binary data)
(the plugin has a thread - or equivalent - that flush and set stacks from and to &rq)
Quando digitai in command.com la prima volta 'ls' invece di 'dir', capii cosa mi stava succendendo...

Offline rejetto

  • Administrator
  • Tireless poster
  • *
  • Posts: 12890
    • View Profile
I'm thinking about a plugin...
« Reply #7 on: May 31, 2002, 12:04:42 PM »
i already had experience in java with a bomberman clone and an irc client
it is possible i will write classes for this project