Class: ROS::Master::ServiceServer
- Inherits:
-
Object
- Object
- ROS::Master::ServiceServer
- Defined in:
- lib/ros/master.rb
Overview
service server
Instance Attribute Summary (collapse)
-
- (String) api
Get XMLRPC URI.
-
- (String) caller_id
Get caller_id.
-
- (String) name
Get the name of service.
-
- (String) service_api
Get TCPROS api URI.
Instance Method Summary (collapse)
-
- (ServiceServer) initialize(caller_id, service_name, api, service_api)
constructor
A new instance of ServiceServer.
Constructor Details
- (ServiceServer) initialize(caller_id, service_name, api, service_api)
Returns a new instance of ServiceServer
72 73 74 75 76 77 |
# File 'lib/ros/master.rb', line 72 def initialize(caller_id, service_name, api, service_api) @caller_id = caller_id @name = service_name @api = api @service_api = service_api end |
Instance Attribute Details
- (String) api
Get XMLRPC URI.
94 95 96 |
# File 'lib/ros/master.rb', line 94 def api @api end |
- (String) caller_id
Get caller_id.
82 83 84 |
# File 'lib/ros/master.rb', line 82 def caller_id @caller_id end |
- (String) name
Get the name of service.
86 87 88 |
# File 'lib/ros/master.rb', line 86 def name @name end |
- (String) service_api
Get TCPROS api URI.
90 91 92 |
# File 'lib/ros/master.rb', line 90 def service_api @service_api end |