Class: Lich::Main::DetachableClientTarget::Target Private

Inherits:
Struct
  • Object
show all
Defined in:
documented/main/detachable_client_target.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

host is nil when only a port was given (the bind host then comes from --bind-address or the loopback default); port 0 means the OS assigns one.

Since:

  • 5.18.0

Instance Attribute Summary collapse

Instance Attribute Details

#hostObject

Returns the value of attribute host

Returns:

  • (Object)

    the current value of host



20
21
22
# File 'documented/main/detachable_client_target.rb', line 20

def host
  @host
end

#portObject

Returns the value of attribute port

Returns:

  • (Object)

    the current value of port



20
21
22
# File 'documented/main/detachable_client_target.rb', line 20

def port
  @port
end