1
0
Fork 0

webapp: Remove the comet usage to figure out the network state..

This commit is contained in:
Holger Hans Peter Freyther 2012-03-23 14:55:15 +01:00
parent 99841c28a6
commit 3fb1d74dff
1 changed files with 0 additions and 14 deletions

View File

@ -25,13 +25,9 @@ PackageLoader fileInPackage: 'OsmoGSM'.
FileStream fileIn: 'GSMDriver.st'.
FileStream fileIn: 'TestPhone.st'.
Iliad.ILCometEvent subclass: PhoneRefresh [
]
Iliad.ILWidget subclass: ServerConfigWidget [
initialize [
super initialize.
self subscribeToCometEvent: PhoneRefresh.
]
contents [
@ -50,19 +46,9 @@ Iliad.ILWidget subclass: ServerConfigWidget [
]
connectServer [
| context |
(self application gsmServer)
connect;
serve.
context := self context.
[
ILCurrentContext processVariable value: context.
(Delay forSeconds: 5) wait.
self session cometHandler
handleEvent: PhoneRefresh new.
] fork.
]
]