|
Home > Archive > Macromedia Flash Server > November 2005 > Queue to connect
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
| Airton Toyansk 2005-11-20, 5:45 pm |
| Hi, everyone!
How can I develop a system that forms a queue of users when the quantity of
users exceeds the permitted max number? And sends a message like "You are
the number X in the queue" to the user...
I hope that you understand me...
Thanks in advanced,
Airton Toyansk.
=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
| |
| Brian Lesser 2005-11-20, 5:45 pm |
| Hi Airton,
There's not much you can do within FCS/FMS itself that I can think of. A
client can either connect or not. You can create a Web application that
keeps track of how many users are online and how many and who is
waiting. For example each FMS application instance can update a database
whenever a user connects or disconnects so your web app knows if there
is a fee connection. Your clients can check if there is a free place via
your web app before trying to connect.
Yours truly,
-Brian
Airton Toyansk wrote:
> Hi, everyone!
>
> How can I develop a system that forms a queue of users when the
> quantity of users exceeds the permitted max number? And sends a
> message like "You are the number X in the queue" to the user...
> I hope that you understand me...
>
> Thanks in advanced,
>
> Airton Toyansk.
>
>
>
> =-----------------------------------------------------------
> Supported by Fig Leaf Software - http://www.figleaf.com
> =-----------------------------------------------------------
>
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
--
________________________________________
______________________________
Brian Lesser
Assistant Director, Teaching and Technology Support
Computing and Communications Services
Ryerson University
350 Victoria St.
Toronto, Ontario Phone: (416) 979-5000 ext. 6835
M5B 2K3 Fax: (416) 979-5220
Office: AB48D E-mail: blesser-6s6ziW1YCwCw5LPnMra/2Q@public.gmane.org
(Enter through LB66) Web: http://www.ryerson.ca/~blesser
________________________________________
______________________________
=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
| |
| Naicu Octavian 2005-11-20, 5:45 pm |
| Furthermore he wants to make a Queue (first come, first served, but first=
wait)..which is harder to build as a web app.
=20
Using FMS you can make a room (app) for the queue, and another room (se=
t of rooms) for whatever you need. But you will need to connect them all =
to the FMS.
Brian Lesser <blesser-6s6ziW1YCwCw5LPnMra/2Q@public.gmane.org> wrote:
Hi Airton,
There's not much you can do within FCS/FMS itself that I can think of. A=20
client can either connect or not. You can create a Web application that=20
keeps track of how many users are online and how many and who is=20
waiting. For example each FMS application instance can update a database=20
whenever a user connects or disconnects so your web app knows if there=20
is a fee connection. Your clients can check if there is a free place via=20
your web app before trying to connect.
Yours truly,
-Brian
Airton Toyansk wrote:
> Hi, everyone!
>
> How can I develop a system that forms a queue of users when the=20
> quantity of users exceeds the permitted max number? And sends a=20
> message like "You are the number X in the queue" to the user...
> I hope that you understand me...
>
> Thanks in advanced,
>
> Airton Toyansk.
>
>
>
> =3D-----------------------------------------------------------
> Supported by Fig Leaf Software - http://www.figleaf.com
> =3D-----------------------------------------------------------
>
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
--=20
________________________________________
______________________________
Brian Lesser
Assistant Director, Teaching and Technology Support
Computing and Communications Services
Ryerson University
350 Victoria St.
Toronto, Ontario Phone: (416) 979-5000 ext. 6835
M5B 2K3 Fax: (416) 979-5220
Office: AB48D E-mail: blesser-6s6ziW1YCwCw5LPnMra/2Q@public.gmane.org
(Enter through LB66) Web: http://www.ryerson.ca/~blesser
________________________________________
______________________________
=3D-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=3D-----------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
=20
=09
---------------------------------
Yahoo! FareChase - Search multiple travel sites in one click. =20
=3D-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=3D-----------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
| |
| Brian Lesser 2005-11-20, 5:45 pm |
| Each user makes a connection request to the web app first. If there are
no connections available a record goes into the database with a time
stamp for that user. When the app has a connection the user can try
again. If they have the oldest time stamp the web app tells the client
to connect. Alas, the client has to poll the database to prove it is
still interested and to find out if a connection has opened up for it. :-(
-Brian
Naicu Octavian wrote:
>Furthermore he wants to make a Queue (first come, first served, but first wait)..which is harder to build as a web app.
>
> Using FMS you can make a room (app) for the queue, and another room (set of rooms) for whatever you need. But you will need to connect them all to the FMS.
>
>Brian Lesser <blesser-6s6ziW1YCwCw5LPnMra/2Q@public.gmane.org> wrote:
> Hi Airton,
>There's not much you can do within FCS/FMS itself that I can think of. A
>client can either connect or not. You can create a Web application that
>keeps track of how many users are online and how many and who is
>waiting. For example each FMS application instance can update a database
>whenever a user connects or disconnects so your web app knows if there
>is a fee connection. Your clients can check if there is a free place via
>your web app before trying to connect.
>Yours truly,
>-Brian
>
>Airton Toyansk wrote:
>
>
>
>
>
>
>
>
--
________________________________________
______________________________
Brian Lesser
Assistant Director, Teaching and Technology Support
Computing and Communications Services
Ryerson University
350 Victoria St.
Toronto, Ontario Phone: (416) 979-5000 ext. 6835
M5B 2K3 Fax: (416) 979-5220
Office: AB48D E-mail: blesser-6s6ziW1YCwCw5LPnMra/2Q@public.gmane.org
(Enter through LB66) Web: http://www.ryerson.ca/~blesser
________________________________________
______________________________
=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
| |
| Airton Toyansk 2005-11-21, 7:45 am |
| Brian,
When the user that has an oldest time stamp can to connect, his database
register should be deleted, right?
Airton.
>From: Brian Lesser <blesser-6s6ziW1YCwCw5LPnMra/2Q@public.gmane.org>
>Reply-To: FlashComm Mailing List <flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org>
>To: FlashComm Mailing List <flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org>
>Subject: Re: [FlashComm] Queue to connect
>Date: Sun, 20 Nov 2005 16:05:08 -0500
>
>Each user makes a connection request to the web app first. If there are no
>connections available a record goes into the database with a time stamp for
>that user. When the app has a connection the user can try again. If they
>have the oldest time stamp the web app tells the client to connect. Alas,
>the client has to poll the database to prove it is still interested and to
>find out if a connection has opened up for it. :-(
>-Brian
>
>Naicu Octavian wrote:
>
>
>
>--
> ________________________________________
______________________________
>Brian Lesser
>Assistant Director, Teaching and Technology Support
>Computing and Communications Services
>Ryerson University
>350 Victoria St.
>Toronto, Ontario Phone: (416) 979-5000 ext. 6835
>M5B 2K3 Fax: (416) 979-5220
>Office: AB48D E-mail: blesser-6s6ziW1YCwCw5LPnMra/2Q@public.gmane.org
>(Enter through LB66) Web: http://www.ryerson.ca/~blesser
> ________________________________________
______________________________
>
>
>=-----------------------------------------------------------
>Supported by Fig Leaf Software - http://www.figleaf.com
>=-----------------------------------------------------------
>
>To change your subscription options or search the archive:
>http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
| |
| Brian Lesser 2005-11-21, 7:45 am |
| Hi Airton,
Yes, after the client successfully connects you can safely delete the
record.
Cheers,
-Brian
Airton Toyansk wrote:
> Brian,
>
> When the user that has an oldest time stamp can to connect, his
> database register should be deleted, right?
>
> Airton.
>
>
>
>
>
> =-----------------------------------------------------------
> Supported by Fig Leaf Software - http://www.figleaf.com
> =-----------------------------------------------------------
>
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
--
________________________________________
______________________________
Brian Lesser
Assistant Director, Teaching and Technology Support
Computing and Communications Services
Ryerson University
350 Victoria St.
Toronto, Ontario Phone: (416) 979-5000 ext. 6835
M5B 2K3 Fax: (416) 979-5220
Office: AB48D E-mail: blesser-6s6ziW1YCwCw5LPnMra/2Q@public.gmane.org
(Enter through LB66) Web: http://www.ryerson.ca/~blesser
________________________________________
______________________________
=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
|
|
|
|
|