Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Netzwerke (https://www.delphipraxis.net/14-netzwerke/)
-   -   Delphi Execute in idHTTPServer nutzen (https://www.delphipraxis.net/9707-execute-idhttpserver-nutzen.html)

armageddon7007 2. Okt 2003 11:10


Execute in idHTTPServer nutzen
 
Ich habe da mal so ein kleines Problem:

Ich habe ein Prog, dass über eine TCP-IP-Verbindung Blöcke von Daten bekommt (MPEG2) und möchte diese jetzt als Stream in einem WebServer bereitstellen.

Habe eben mit der idHTTPServer-Komp. rumgespielt und mußte feststellen, dass zwar das OnGetCommand-Ereigniss aufgerufen wird, ich jedoch keine möglichkeit habe, das OnExecute-Ereigniss zu benutzen.

Würde ja sonst gerne mit nem idTCPServer den WebServer bauen, aber dann fehlen mir die funktionen zum auswerten des HTTP-GET-Befehls.

Hat da jemand ne ahnung, wie ich es schaffe, dass mein HTTP-Server das OnExecute-Ereigniss aufruft?!

Thx,

Armageddon

Kamil 3. Okt 2003 16:06

Re: Execute in idHTTPServer nutzen
 
Aus der Indy Hilfe:
Zitat:

Indicates if CommandHandlers are used during peer thread execution.

property CommandHandlersEnabled: boolean;

Description

CommandHandlersEnabled is a Boolean property that indicates if CommandHandlers are used during execution of peer thread connections. When CommandHandlersEnabled is True, CommandHandlers should contain valid TIdCommandHandler instances to allow responding to commands received from the peer connection.

Use OnExecute, when CommandHandlersEnabled is False, to provide alternate event handling for the execution of peer threads.


Alle Zeitangaben in WEZ +1. Es ist jetzt 14:47 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz