diff options
Diffstat (limited to 'lib/soap/rpc/standaloneServer.rb')
-rw-r--r-- | lib/soap/rpc/standaloneServer.rb | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/soap/rpc/standaloneServer.rb b/lib/soap/rpc/standaloneServer.rb index f3f225c7dc..42a566e088 100644 --- a/lib/soap/rpc/standaloneServer.rb +++ b/lib/soap/rpc/standaloneServer.rb @@ -51,6 +51,18 @@ class StandaloneServer < Logger::Application def on_init # define extra methods in derived class. end + + def status + if @server + @server.status + else + nil + end + end + + def shutdown + @server.shutdown + end def add_rpc_request_servant(klass, namespace = @namespace, mapping_registry = nil) @soaplet.add_rpc_request_servant(klass, namespace, mapping_registry) |