diff options
Diffstat (limited to 'rb/test/Ice/application/Client.rb')
-rw-r--r-- | rb/test/Ice/application/Client.rb | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/rb/test/Ice/application/Client.rb b/rb/test/Ice/application/Client.rb index 36ff1595bd1..23e895c546f 100644 --- a/rb/test/Ice/application/Client.rb +++ b/rb/test/Ice/application/Client.rb @@ -12,34 +12,34 @@ require 'Ice' class Client < Ice::Application def interruptCallback(sig) - puts "handling signal " + sig + puts "handling signal " + sig end def run(args) - Ice::Application::ignoreInterrupt - puts "Ignore CTRL+C and the like for 5 seconds (try it!)" - sleep(5) + Ice::Application::ignoreInterrupt + puts "Ignore CTRL+C and the like for 5 seconds (try it!)" + sleep(5) - Ice::Application::callbackOnInterrupt + Ice::Application::callbackOnInterrupt - Ice::Application::holdInterrupt - puts "Hold CTRL+C and the like for 5 seconds (try it!)" - sleep(5) + Ice::Application::holdInterrupt + puts "Hold CTRL+C and the like for 5 seconds (try it!)" + sleep(5) - Ice::Application::releaseInterrupt - puts "Release CTRL+C (any held signals should be released)" - sleep(5) + Ice::Application::releaseInterrupt + puts "Release CTRL+C (any held signals should be released)" + sleep(5) - Ice::Application::holdInterrupt - puts "Hold CTRL+C and the like for 5 seconds (try it!)" - sleep(5) + Ice::Application::holdInterrupt + puts "Hold CTRL+C and the like for 5 seconds (try it!)" + sleep(5) - Ice::Application::callbackOnInterrupt - puts "Release CTRL+C (any held signals should be released)" - sleep(5) + Ice::Application::callbackOnInterrupt + puts "Release CTRL+C (any held signals should be released)" + sleep(5) - puts "ok" - return true + puts "ok" + return true end end |