SICS-128: Added a reactor status protocol handler called OPALSTAT for the asyncqueue.

OPALSTAT uses HTTP/1.1 and sets the UserAgent to SICS to avoid re-directs.  It also sends
the SICS version and revision numbers in the UserAgent string.
This commit is contained in:
Ferdi Franceschini
2014-04-29 11:55:35 +10:00
parent 29583c51c0
commit 19f6c8541c
8 changed files with 160 additions and 9 deletions

View File

@@ -1,10 +1,7 @@
fileeval $cfPath(source)/sct_reactor_status.tcl
if {[SplitReply [opal_simulation]]=="false"} {
MakeAsyncProtocol std
std sendterminator \r\n\r\n
std replyterminator 0x03
MakeAsyncQueue aqreactor std portal.nbi.ansto.gov.au 80
MakeAsyncQueue aqreactor OPALSTAT neutron.ansto.gov.au 80
aqreactor timeout 2000
}
add_reactor_status source aqadapter aqreactor