slow returning function causing DeliveryInDoubt?

View: New views
3 Messages — Rating Filter:   Alert me  

slow returning function causing DeliveryInDoubt?

by kevinyeandel :: Rate this Message:

| View Threaded | Show Only this Message

Hi
I have php function that has a couple of lines calling system commands e.g.

$last = system('cd /tmp/bc ; latex '.$a[0].'.tex', $retl);

If I comment this line out there are no problems - its definitely here thats the problem.
I know when the linux runs the latex command against a tex file theres about 3 seconds of processing going on.

In Flex, on an HTTP Service is a request timeout -is there something similar on a RemoteObject or some other means to tell the system to expect a delay rather than experience a channel disconnection? Thanks
Kevin

Re: slow returning function causing DeliveryInDoubt?

by dannykopping :: Rate this Message:

| View Threaded | Show Only this Message

Hey Kevin

In both the Flex HTTPService and RemoteObject classes, there is a property called requestTimeout which accepts an integer (in milliseconds i think) to tell Flex how long to wait before a request timeout occurs... To my knowledge, the default value is 3000. The property works the same way for both classes.

Does that do the trick?

kevinyeandel wrote:
Hi
I have php function that has a couple of lines calling system commands e.g.

$last = system('cd /tmp/bc ; latex '.$a[0].'.tex', $retl);

If I comment this line out there are no problems - its definitely here thats the problem.
I know when the linux runs the latex command against a tex file theres about 3 seconds of processing going on.

In Flex, on an HTTP Service is a request timeout -is there something similar on a RemoteObject or some other means to tell the system to expect a delay rather than experience a channel disconnection? Thanks
Kevin
Danny Kopping - Flash Platform Consultant
http://ria-coder.com/blog

Parent Message unknown Re: [Re: slow returning function causing DeliveryInDoubt?] (SWP-5758501230747ef8f)

by Regis TEDONE :: Rate this Message:

| View Threaded | Show Only this Message

Bonjour, c'est Regis TEDONE.

L'adresse regis.tedone@... est protégée des courriers indésirables par SpamWars.

Pour que vos messages me soient transmis, veuillez cliquer ici.
Vous n'aurez à effectuer cette opération qu'une seule fois, et vous serez averti de l'acheminement de votre message.

Cordialement,
Regis TEDONE


SpamWars Edition Personnelle est un antispam gratuit multi-plateforme (Windows, MacOS, Unix/Linux) que vous pouvez télécharger ICI


Hello, this is Regis TEDONE.

The address regis.tedone@... is protected against spam by SpamWars.

In order to send me messages, please click here.
This needs to be done only once, and you will receive e-mail notification once your message is sent.

Best regards,
Regis TEDONE


SpamWars Personal edition is a free multi-plateform antispam product (Windows, MacOS, Unix/Linux) that you can download HERE


------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
amfphp-general mailing list
amfphp-general@...
https://lists.sourceforge.net/lists/listinfo/amfphp-general