Class: Syskit::RobyApp::Configuration::ProcessServerConfig

Inherits:
Struct
  • Object
show all
Defined in:
lib/syskit/roby_app/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#clientObject

Returns the value of attribute client

Returns:

  • (Object)

    the current value of client



502
503
504
# File 'lib/syskit/roby_app/configuration.rb', line 502

def client
  @client
end

#host_idObject

Returns the value of attribute host_id

Returns:

  • (Object)

    the current value of host_id



502
503
504
# File 'lib/syskit/roby_app/configuration.rb', line 502

def host_id
  @host_id
end

#log_dirObject

Returns the value of attribute log_dir

Returns:

  • (Object)

    the current value of log_dir



502
503
504
# File 'lib/syskit/roby_app/configuration.rb', line 502

def log_dir
  @log_dir
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



502
503
504
# File 'lib/syskit/roby_app/configuration.rb', line 502

def name
  @name
end

Instance Method Details

#in_process?Boolean

Returns:

  • (Boolean)


507
508
509
# File 'lib/syskit/roby_app/configuration.rb', line 507

def in_process?
    host_id == 'syskit'
end

#on_localhost?Boolean

Returns:

  • (Boolean)


503
504
505
# File 'lib/syskit/roby_app/configuration.rb', line 503

def on_localhost?
    host_id == 'localhost' || host_id == 'syskit'
end