myApp.AddPage(Report1P.Page)
myApp.AddPage(VideoP.Page)
myApp.AddPage(MacroP.Page)
myApp.AddPage(CodelstP.Page)
' start the server
myApp.StartServer(srvr, "srvr", 8010)
srvr.LogWaitingMessages=False ' 20170928 add
' start server HTTP/2
' myApp.StartServerHTTP2(srvr, "srvr", 51042, 51043, "keystore", "Thunder2000!", "Thunder2000!")
If db.LogToFile Then
ABMShared.RedirectOutput($"${File.DirApp}\logs"$, $"node4-log${jylab.DateNow("yyyyMMdd")}.txt"$)
End If
'
db.Start
db.dtlog("Daily Report Start")
db.ProcessExecute("node4report.jar")
'
RunMicro.Initialize
db.dtlog("****** Program Start ******")
'
srvr1.Initialize("srvr1")
srvr1.AddWebSocket("/ws/tagwsPage", "tagwsPage")
srvr1.LogWaitingMessages=False
srvr1.Port=8011
srvr1.Start
db.dtlog("****** p2p Start ******")