forked from dalehenrich/gsApplicationTools
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue #45: http://www.time.org no longer exists ..
- Loading branch information
1 parent
19ec231
commit 3dcb9a9
Showing
9 changed files
with
256 additions
and
254 deletions.
There are no files selected for viewing
24 changes: 13 additions & 11 deletions
24
...xampleV31.package/GemServerRemoteClientExample.class/instance/scheduleTimeInLondonTask.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,15 @@ | ||
tasks | ||
scheduleTimeInLondonTask | ||
^ (self taskClass | ||
value: [ | ||
| timeInLondon | | ||
"should extract the time from the html; not the most robust parsing algorithmn" | ||
timeInLondon := (HTTPSocket | ||
httpGet: 'http://www.time.org/zones/Europe/London.php') | ||
throughAll: 'Europe/London - '; | ||
upTo: Character space. | ||
'(from http://www.time.org), time in London is: ' , timeInLondon ]) | ||
expectedDelay: 600; | ||
addToQueue: self | ||
"http://www.time.org no longer exists use https://time.is if you must ... for now not used" | ||
|
||
^ (self taskClass | ||
value: [ | ||
| timeInLondon | | ||
"should extract the time from the html; not the most robust parsing algorithmn" | ||
timeInLondon := (HTTPSocket | ||
httpGet: 'http://www.time.org/zones/Europe/London.php') | ||
throughAll: 'Europe/London - '; | ||
upTo: Character space. | ||
'(from http://www.time.org), time in London is: ' , timeInLondon ]) | ||
expectedDelay: 600; | ||
addToQueue: self |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
38 changes: 19 additions & 19 deletions
38
...e/GemServerRemoteServerParallelProcessingExampleTests.class/instance/scheduledTaskList.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
private | ||
scheduledTaskList | ||
^ {#'scheduleBreakpointTask'. | ||
#'scheduleErrorTask'. | ||
#'scheduleExampleHttpTask'. | ||
#'scheduleFastTask'. | ||
#'scheduleHaltTask'. | ||
#'scheduleInternalServerError'. | ||
#'scheduleOutOfMemoryPersistent'. | ||
#'scheduleOutOfMemoryTemp'. | ||
#'scheduleSimpleTask'. | ||
#'scheduleStackOverflow'. | ||
#'scheduleStatusTask'. | ||
#'scheduleTimeInLondonTask'. | ||
#'scheduleWarning'. | ||
#'scheduleFastTask'. | ||
#'scheduleFastTask'. | ||
#'scheduleFastTask'. | ||
#'scheduleFastTask'. | ||
#'scheduleFastTask'. | ||
#'scheduleFastTask'} | ||
^ {#'scheduleBreakpointTask'. | ||
#'scheduleErrorTask'. | ||
#'scheduleExampleHttpTask'. | ||
#'scheduleFastTask'. | ||
#'scheduleHaltTask'. | ||
#'scheduleInternalServerError'. | ||
#'scheduleOutOfMemoryPersistent'. | ||
#'scheduleOutOfMemoryTemp'. | ||
#'scheduleSimpleTask'. | ||
#'scheduleStackOverflow'. | ||
#'scheduleStatusTask'. | ||
#'scheduleSimpleTask'. | ||
#'scheduleWarning'. | ||
#'scheduleFastTask'. | ||
#'scheduleFastTask'. | ||
#'scheduleFastTask'. | ||
#'scheduleFastTask'. | ||
#'scheduleFastTask'. | ||
#'scheduleFastTask'} |
200 changes: 100 additions & 100 deletions
200
...package/GemServerRemoteServerParallelProcessingExampleTests.class/instance/taskList100.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,102 +1,102 @@ | ||
private | ||
taskList100 | ||
^ {#'scheduleOutOfMemoryTemp'. | ||
#'scheduleOutOfMemoryTemp'. | ||
#'scheduleStatusTask'. | ||
#'scheduleTimeInLondonTask'. | ||
#'scheduleTimeInLondonTask'. | ||
#'scheduleFastTask'. | ||
#'scheduleTimeInLondonTask'. | ||
#'scheduleFastTask'. | ||
#'scheduleFastTask'. | ||
#'scheduleSimpleTask'. | ||
#'scheduleFastTask'. | ||
#'scheduleFastTask'. | ||
#'scheduleFastTask'. | ||
#'scheduleFastTask'. | ||
#'scheduleFastTask'. | ||
#'scheduleFastTask'. | ||
#'scheduleFastTask'. | ||
#'scheduleFastTask'. | ||
#'scheduleStatusTask'. | ||
#'scheduleOutOfMemoryPersistent'. | ||
#'scheduleFastTask'. | ||
#'scheduleFastTask'. | ||
#'scheduleBreakpointTask'. | ||
#'scheduleFastTask'. | ||
#'scheduleStackOverflow'. | ||
#'scheduleTimeInLondonTask'. | ||
#'scheduleSimpleTask'. | ||
#'scheduleInternalServerError'. | ||
#'scheduleWarning'. | ||
#'scheduleInternalServerError'. | ||
#'scheduleOutOfMemoryTemp'. | ||
#'scheduleFastTask'. | ||
#'scheduleFastTask'. | ||
#'scheduleWarning'. | ||
#'scheduleBreakpointTask'. | ||
#'scheduleOutOfMemoryTemp'. | ||
#'scheduleWarning'. | ||
#'scheduleFastTask'. | ||
#'scheduleFastTask'. | ||
#'scheduleFastTask'. | ||
#'scheduleOutOfMemoryTemp'. | ||
#'scheduleErrorTask'. | ||
#'scheduleFastTask'. | ||
#'scheduleOutOfMemoryTemp'. | ||
#'scheduleFastTask'. | ||
#'scheduleFastTask'. | ||
#'scheduleFastTask'. | ||
#'scheduleWarning'. | ||
#'scheduleFastTask'. | ||
#'scheduleInternalServerError'. | ||
#'scheduleFastTask'. | ||
#'scheduleStackOverflow'. | ||
#'scheduleFastTask'. | ||
#'scheduleFastTask'. | ||
#'scheduleFastTask'. | ||
#'scheduleTimeInLondonTask'. | ||
#'scheduleFastTask'. | ||
#'scheduleFastTask'. | ||
#'scheduleStackOverflow'. | ||
#'scheduleTimeInLondonTask'. | ||
#'scheduleFastTask'. | ||
#'scheduleErrorTask'. | ||
#'scheduleFastTask'. | ||
#'scheduleInternalServerError'. | ||
#'scheduleStackOverflow'. | ||
#'scheduleHaltTask'. | ||
#'scheduleFastTask'. | ||
#'scheduleFastTask'. | ||
#'scheduleOutOfMemoryTemp'. | ||
#'scheduleOutOfMemoryTemp'. | ||
#'scheduleFastTask'. | ||
#'scheduleOutOfMemoryTemp'. | ||
#'scheduleFastTask'. | ||
#'scheduleExampleHttpTask'. | ||
#'scheduleFastTask'. | ||
#'scheduleStackOverflow'. | ||
#'scheduleFastTask'. | ||
#'scheduleStackOverflow'. | ||
#'scheduleHaltTask'. | ||
#'scheduleOutOfMemoryPersistent'. | ||
#'scheduleOutOfMemoryTemp'. | ||
#'scheduleFastTask'. | ||
#'scheduleFastTask'. | ||
#'scheduleOutOfMemoryTemp'. | ||
#'scheduleTimeInLondonTask'. | ||
#'scheduleFastTask'. | ||
#'scheduleBreakpointTask'. | ||
#'scheduleWarning'. | ||
#'scheduleFastTask'. | ||
#'scheduleFastTask'. | ||
#'scheduleOutOfMemoryTemp'. | ||
#'scheduleFastTask'. | ||
#'scheduleFastTask'. | ||
#'scheduleOutOfMemoryTemp'. | ||
#'scheduleErrorTask'. | ||
#'scheduleTimeInLondonTask'. | ||
#'scheduleWarning'. | ||
#'scheduleExampleHttpTask'. | ||
#'scheduleBreakpointTask'. | ||
#'scheduleWarning'} | ||
^ {#'scheduleOutOfMemoryTemp'. | ||
#'scheduleOutOfMemoryTemp'. | ||
#'scheduleStatusTask'. | ||
#'scheduleSimpleTask'. | ||
#'scheduleSimpleTask'. | ||
#'scheduleFastTask'. | ||
#'scheduleSimpleTask'. | ||
#'scheduleFastTask'. | ||
#'scheduleFastTask'. | ||
#'scheduleSimpleTask'. | ||
#'scheduleFastTask'. | ||
#'scheduleFastTask'. | ||
#'scheduleFastTask'. | ||
#'scheduleFastTask'. | ||
#'scheduleFastTask'. | ||
#'scheduleFastTask'. | ||
#'scheduleFastTask'. | ||
#'scheduleFastTask'. | ||
#'scheduleStatusTask'. | ||
#'scheduleOutOfMemoryPersistent'. | ||
#'scheduleFastTask'. | ||
#'scheduleFastTask'. | ||
#'scheduleBreakpointTask'. | ||
#'scheduleFastTask'. | ||
#'scheduleStackOverflow'. | ||
#'scheduleSimpleTask'. | ||
#'scheduleSimpleTask'. | ||
#'scheduleInternalServerError'. | ||
#'scheduleWarning'. | ||
#'scheduleInternalServerError'. | ||
#'scheduleOutOfMemoryTemp'. | ||
#'scheduleFastTask'. | ||
#'scheduleFastTask'. | ||
#'scheduleWarning'. | ||
#'scheduleBreakpointTask'. | ||
#'scheduleOutOfMemoryTemp'. | ||
#'scheduleWarning'. | ||
#'scheduleFastTask'. | ||
#'scheduleFastTask'. | ||
#'scheduleFastTask'. | ||
#'scheduleOutOfMemoryTemp'. | ||
#'scheduleErrorTask'. | ||
#'scheduleFastTask'. | ||
#'scheduleOutOfMemoryTemp'. | ||
#'scheduleFastTask'. | ||
#'scheduleFastTask'. | ||
#'scheduleFastTask'. | ||
#'scheduleWarning'. | ||
#'scheduleFastTask'. | ||
#'scheduleInternalServerError'. | ||
#'scheduleFastTask'. | ||
#'scheduleStackOverflow'. | ||
#'scheduleFastTask'. | ||
#'scheduleFastTask'. | ||
#'scheduleFastTask'. | ||
#'scheduleSimpleTask'. | ||
#'scheduleFastTask'. | ||
#'scheduleFastTask'. | ||
#'scheduleStackOverflow'. | ||
#'scheduleSimpleTask'. | ||
#'scheduleFastTask'. | ||
#'scheduleErrorTask'. | ||
#'scheduleFastTask'. | ||
#'scheduleInternalServerError'. | ||
#'scheduleStackOverflow'. | ||
#'scheduleHaltTask'. | ||
#'scheduleFastTask'. | ||
#'scheduleFastTask'. | ||
#'scheduleOutOfMemoryTemp'. | ||
#'scheduleOutOfMemoryTemp'. | ||
#'scheduleFastTask'. | ||
#'scheduleOutOfMemoryTemp'. | ||
#'scheduleFastTask'. | ||
#'scheduleExampleHttpTask'. | ||
#'scheduleFastTask'. | ||
#'scheduleStackOverflow'. | ||
#'scheduleFastTask'. | ||
#'scheduleStackOverflow'. | ||
#'scheduleHaltTask'. | ||
#'scheduleOutOfMemoryPersistent'. | ||
#'scheduleOutOfMemoryTemp'. | ||
#'scheduleFastTask'. | ||
#'scheduleFastTask'. | ||
#'scheduleOutOfMemoryTemp'. | ||
#'scheduleSimpleTask'. | ||
#'scheduleFastTask'. | ||
#'scheduleBreakpointTask'. | ||
#'scheduleWarning'. | ||
#'scheduleFastTask'. | ||
#'scheduleFastTask'. | ||
#'scheduleOutOfMemoryTemp'. | ||
#'scheduleFastTask'. | ||
#'scheduleFastTask'. | ||
#'scheduleOutOfMemoryTemp'. | ||
#'scheduleErrorTask'. | ||
#'scheduleSimpleTask'. | ||
#'scheduleWarning'. | ||
#'scheduleExampleHttpTask'. | ||
#'scheduleBreakpointTask'. | ||
#'scheduleWarning'} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
36 changes: 18 additions & 18 deletions
36
...age/GemServerRemoteServerSerialProcessingExampleTests.class/instance/scheduledTaskList.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
private | ||
scheduledTaskList | ||
^ {#'scheduleBreakpointTask'. | ||
#'scheduleErrorTask'. | ||
#'scheduleExampleHttpTask'. | ||
#'scheduleFastTask'. | ||
#'scheduleHaltTask'. | ||
#'scheduleOutOfMemoryPersistent'. | ||
#'scheduleOutOfMemoryTemp'. | ||
#'scheduleSimpleTask'. | ||
#'scheduleStackOverflow'. | ||
#'scheduleStatusTask'. | ||
#'scheduleTimeInLondonTask'. | ||
#'scheduleWarning'. | ||
#'scheduleFastTask'. | ||
#'scheduleFastTask'. | ||
#'scheduleFastTask'. | ||
#'scheduleFastTask'. | ||
#'scheduleFastTask'. | ||
#'scheduleFastTask'} | ||
^ {#'scheduleBreakpointTask'. | ||
#'scheduleErrorTask'. | ||
#'scheduleExampleHttpTask'. | ||
#'scheduleFastTask'. | ||
#'scheduleHaltTask'. | ||
#'scheduleOutOfMemoryPersistent'. | ||
#'scheduleOutOfMemoryTemp'. | ||
#'scheduleSimpleTask'. | ||
#'scheduleStackOverflow'. | ||
#'scheduleStatusTask'. | ||
#'scheduleSimpleTask'. | ||
#'scheduleWarning'. | ||
#'scheduleFastTask'. | ||
#'scheduleFastTask'. | ||
#'scheduleFastTask'. | ||
#'scheduleFastTask'. | ||
#'scheduleFastTask'. | ||
#'scheduleFastTask'} |
Oops, something went wrong.