Static Public Member Functions | |
| static mixed | Threaded_LoadFullFileToFIFO (mixed sFilePath, mixed callback) |
| static mixed | Threaded_LoadFileToFIFO (mixed sFilePath, mixed iStart, mixed iLength, mixed callback) |
| static mixed | Threaded_HTTPRequest (mixed sHost, mixed iPort, mixed sPath, mixed bIgnoreReturnForSpeed, mixed callback) |
| static mixed | Threaded_NetRequest (mixed sHost, mixed iPort, mixed fifo_SendData, mixed fifo_AnswerBuffer, mixed callback) |
| static mixed | Threaded_LoadFile (mixed sFilePath, mixed fifo_AnswerBuffer, mixed iStart, mixed iLength, mixed callback) |
Definition at line 5973 of file lua_pseudo_code.cpp.
| static mixed thread::Threaded_LoadFullFileToFIFO | ( | mixed | sFilePath, | |
| mixed | callback | |||
| ) | [inline, static] |
a nice interface for threaded ops see also lugre_thread.cpp see also lib.http.lua callback(fifo,bError) is called once when the thread is finished, the fifo is already filled then creates a fifo for loading to and passes it to the callback (which is then responsible for the destruction)
Definition at line 5980 of file lua_pseudo_code.cpp.
| static mixed thread::Threaded_LoadFileToFIFO | ( | mixed | sFilePath, | |
| mixed | iStart, | |||
| mixed | iLength, | |||
| mixed | callback | |||
| ) | [inline, static] |
| static mixed thread::Threaded_HTTPRequest | ( | mixed | sHost, | |
| mixed | iPort, | |||
| mixed | sPath, | |||
| mixed | bIgnoreReturnForSpeed, | |||
| mixed | callback | |||
| ) | [inline, static] |
see also HTTPGetEx callback(answertext,bError) : answer header is dropped, 404 is not detectable, just results in an empty answertext
Definition at line 5988 of file lua_pseudo_code.cpp.
| static mixed thread::Threaded_NetRequest | ( | mixed | sHost, | |
| mixed | iPort, | |||
| mixed | fifo_SendData, | |||
| mixed | fifo_AnswerBuffer, | |||
| mixed | callback | |||
| ) | [inline, static] |
##### ##### ##### ##### ##### LOW LEVEL functions, use with caution thread_netr CreateThread_NetRequest (sHost,iPort,fifo_SendData=nil,fifo_pAnswerBuffer=nil) thread_loadf CreateThread_LoadFile (sFilePath,fifo_answerbuffer,iStart=0,iLength=-1) callback(bError) is called once when the thread is finished fifo_SendData is used by the thread, DO NOT USE OR RELEASE IT UNTIL THE THREAD IS FINISHED fifo_AnswerBuffer is used by the thread, DO NOT USE OR RELEASE IT UNTIL THE THREAD IS FINISHED
Definition at line 5996 of file lua_pseudo_code.cpp.
| static mixed thread::Threaded_LoadFile | ( | mixed | sFilePath, | |
| mixed | fifo_AnswerBuffer, | |||
| mixed | iStart, | |||
| mixed | iLength, | |||
| mixed | callback | |||
| ) | [inline, static] |
callback(bError) is called once when the thread is finished fifo_AnswerBuffer is used by the thread, DO NOT USE OR RELEASE IT UNTIL THE THREAD IS FINISHED
Definition at line 6000 of file lua_pseudo_code.cpp.
1.5.6