Emulating a persistent connection using http

   
   

An apparatus, method and computer program product for emulating a persistent connection using http. According to one embodiment, the method includes receiving an empty get from a first client; receiving a get from a second client, the get containing data to be sent to the first client; and sending a response to the first client, in response to the empty get, the response containing the data. According to another embodiment, the method includes receiving, from a client, a get containing first data to be sent to an application server; sending the first data to the application server; sending an ack response to the client in response to the get; receiving a response from the application server, the response containing second data to be sent to the client; waiting for an empty get from the client; receiving an empty get from the client; and sending the second data to the client in response to the empty get. According to another embodiment, the method includes receiving, from a client, a get containing first data to be sent to an application server; sending the first data to the application server; sending an ack response to the client in response to the get; receiving an empty get from the client; receiving a response from the application server, the response containing second data to be sent to the client; and sending the second data to the client in response to the empty get.

Ein Apparate-, Methode und Computerprogrammprodukt für die Emulierung eines hartnäckigen Anschlußes mit HTTP. Entsprechend einer Verkörperung schließt die Methode das Empfangen ein leeres erhalten von einem ersten Klienten ein; erhalten von einem zweiten Klienten empfangen, erhalten, welches gesendet zu werden die dem ersten Klienten Daten, enthält; und das Senden einer Antwort zum ersten Klienten, in Erwiderung auf das leere erhalten, die Antwort, welche die Daten enthält. Entsprechend einer anderen Verkörperung schließt die Methode das Empfangen, von einem Klienten, erhalten, welches die ersten zu enthält einem Anwendung Bediener gesendet zu werden Daten, ein; Schicken der ersten Daten zum Anwendung Bediener; Senden einer ack Antwort zum Klienten in Erwiderung auf erhalten; eine Antwort vom Anwendung Bediener empfangen, die Antwort, welche die zweiten gesendet zu werden dem Klienten Daten, enthält; ein leeres wartend, erhalten Sie vom Klienten; ein leeres empfangend, erhalten Sie vom Klienten; und die zweiten Daten in Erwiderung auf das leere schickend dem Klienten, erhalten Sie. Entsprechend einer anderen Verkörperung schließt die Methode das Empfangen, von einem Klienten, erhalten, welches die ersten zu enthält einem Anwendung Bediener gesendet zu werden Daten, ein; Schicken der ersten Daten zum Anwendung Bediener; Senden einer ack Antwort zum Klienten in Erwiderung auf erhalten; ein leeres empfangend, erhalten Sie vom Klienten; eine Antwort vom Anwendung Bediener empfangen, die Antwort, welche die zweiten gesendet zu werden dem Klienten Daten, enthält; und die zweiten Daten in Erwiderung auf das leere schickend dem Klienten, erhalten Sie.

 
Web www.patentalert.com

< Memory management in embedded system with design time object instantiation

< Method, system, program, and data structures for testing a network system including input/output devices

> Method for a general near optimal turbo code trellis termination

> Process, data processing device, service provision server, back-up server and program modules for backing-up data

~ 00131