Class: Resolv::DNS::Resource::IN::WKS
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
|
|
Instance Chain:
|
|
Inherits: |
Resolv::DNS::Resource
|
Defined in: | lib/resolv.rb |
Overview
Well Known Service resource.
Constant Summary
-
ClassValue =
# File 'lib/resolv.rb', line 2205IN::ClassValue
-
TypeValue =
# File 'lib/resolv.rb', line 220411
Class Method Summary
- .new(address, protocol, bitmap) ⇒ WKS constructor
Instance Attribute Summary
-
#address
readonly
The host these services run on.
-
#bitmap
readonly
A bit map of enabled services on this host.
-
#protocol
readonly
IP protocol number for these services.
::Resolv::DNS::Resource - Inherited
#ttl | Remaining Time To Live for this ::Resolv::DNS::Resource. |
Constructor Details
.new(address, protocol, bitmap) ⇒ WKS
Instance Attribute Details
#address (readonly)
The host these services run on.
# File 'lib/resolv.rb', line 2217
attr_reader :address
#bitmap (readonly)
A bit map of enabled services on this host.
If protocol is 6 (TCP) then the 26th bit corresponds to the SMTP service (port 25). If this bit is set, then an SMTP server should be listening on TCP port 25; if zero, SMTP service is not supported.
# File 'lib/resolv.rb', line 2232
attr_reader :bitmap
#protocol (readonly)
IP protocol number for these services.
# File 'lib/resolv.rb', line 2222
attr_reader :protocol