Changeset 4448 for trunk/gui/scripts/visviewer.tcl
- Timestamp:
- Jun 27, 2014 3:37:58 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/scripts/visviewer.tcl
r4396 r4448 37 37 private variable _icon 0 38 38 39 # Number of milliseconds to wait before idle timeout. If greater than 40 # 0, automatically disconnect from the visualization server when idle41 # timeoutis reached.39 # Number of milliseconds to wait before idle timeout. If greater than 0, 40 # automatically disconnect from the visualization server when idle timeout 41 # is reached. 42 42 private variable _idleTimeout 43200000; # 12 hours 43 43 #private variable _idleTimeout 5000; # 5 seconds … … 466 466 set _buffer(out) "" 467 467 if { [IsConnected] } { 468 # The connection may have closed while we were writing to the 469 # server. This can happen if what we sent the server caused it to 470 # barf. 468 # The connection may have closed while we were writing to the server. 469 # This can happen if what we sent the server caused it to barf. 471 470 fileevent $_sid writable "" 472 471 flush $_sid … … 518 517 # Helper routine called from a file event when the connection is readable 519 518 # (i.e. a command response has been sent by the rendering server. Reads 520 # the incoming command and executes it in a safe interpreter to handle 521 # theaction.519 # the incoming command and executes it in a safe interpreter to handle the 520 # action. 522 521 # 523 522 # Note: This routine currently only handles command responses from … … 601 600 # SendEcho -- 602 601 # 603 # Used internally to echo sent data to clients interested in this 604 # widget. If the -sendcommand opti on is set, then it is invoked in605 # the global scope with the <channel> and <data> values as arguments.606 # Otherwise, this doesnothing.602 # Used internally to echo sent data to clients interested in this widget. 603 # If the -sendcommand option is set, then it is invoked in the global scope 604 # with the <channel> and <data> values as arguments. Otherwise, this does 605 # nothing. 607 606 # 608 607 itcl::body Rappture::VisViewer::SendEcho {channel {data ""}} {
Note: See TracChangeset
for help on using the changeset viewer.