Regenerate all of the generated driver code

This commit is contained in:
Douglas Clowes
2014-04-17 13:45:35 +10:00
parent 6bca9566e3
commit ad50eaca6a
7 changed files with 227 additions and 125 deletions

View File

@@ -340,7 +340,14 @@ proc ::scobj::reactor_status::read_config {} {
set PORT [dict get $v port]
set name [dict get $v name]
MakeAsyncProtocol ${name}_protocol
if { [dict exists $v "terminator"] } {
${name}_protocol sendterminator "[dict get $v "terminator"]"
${name}_protocol replyterminator "[dict get $v "terminator"]"
}
MakeAsyncQueue ${name}_queue ${name}_protocol ${IP} ${PORT}
if { [dict exists $v "timeout"] } {
${name}_queue timeout "[dict get $v "timeout"]"
}
add_reactor_status ${name} "aqadapter" ${name}_queue
}
}