Module: IceBox::ServiceManagerPrx_mixin
- Included in:
- ServiceManagerPrx
- Defined in:
- ruby/IceBox/ServiceManager.rb
Constant Summary collapse
- OP_startService =
Ice::__defineOperation('startService', 'startService', Ice::OperationMode::Normal, nil, [[Ice::T_string, false, 0]], [], nil, [::IceBox::T_AlreadyStartedException, ::IceBox::T_NoSuchServiceException])
- OP_stopService =
Ice::__defineOperation('stopService', 'stopService', Ice::OperationMode::Normal, nil, [[Ice::T_string, false, 0]], [], nil, [::IceBox::T_AlreadyStoppedException, ::IceBox::T_NoSuchServiceException])
- OP_addObserver =
Ice::__defineOperation('addObserver', 'addObserver', Ice::OperationMode::Normal, nil, [[::IceBox::T_ServiceObserverPrx, false, 0]], [], nil, [])
- OP_shutdown =
Ice::__defineOperation('shutdown', 'shutdown', Ice::OperationMode::Normal, nil, [], [], nil, [])
Instance Method Summary collapse
- #addObserver(observer, context = nil) ⇒ Object
- #shutdown(context = nil) ⇒ Object
- #startService(service, context = nil) ⇒ Object
- #stopService(service, context = nil) ⇒ Object
Instance Method Details
#addObserver(observer, context = nil) ⇒ Object
79 80 81 |
# File 'ruby/IceBox/ServiceManager.rb', line 79 def addObserver(observer, context=nil) ServiceManagerPrx_mixin::OP_addObserver.invoke(self, [observer], context) end |
#shutdown(context = nil) ⇒ Object
83 84 85 |
# File 'ruby/IceBox/ServiceManager.rb', line 83 def shutdown(context=nil) ServiceManagerPrx_mixin::OP_shutdown.invoke(self, [], context) end |
#startService(service, context = nil) ⇒ Object
71 72 73 |
# File 'ruby/IceBox/ServiceManager.rb', line 71 def startService(service, context=nil) ServiceManagerPrx_mixin::OP_startService.invoke(self, [service], context) end |
#stopService(service, context = nil) ⇒ Object
75 76 77 |
# File 'ruby/IceBox/ServiceManager.rb', line 75 def stopService(service, context=nil) ServiceManagerPrx_mixin::OP_stopService.invoke(self, [service], context) end |