Class: Vertx::MxRecord
- Inherits:
-
Object
show all
- Defined in:
- /Users/julien/java/vertx-aggregator/modules/vertx-lang-ruby/vertx-lang-ruby/target/classes/vertx/mx_record.rb
Overview
Represent a Mail-Exchange-Record (MX) which was resolved for a domain.
Constant Summary
- @@j_api_type =
Object.new
Class Method Summary
(collapse)
Instance Method Summary
(collapse)
Class Method Details
+ (Boolean) accept?(obj)
18
19
20
|
# File '/Users/julien/java/vertx-aggregator/modules/vertx-lang-ruby/vertx-lang-ruby/target/classes/vertx/mx_record.rb', line 18
def @@j_api_type.accept?(obj)
obj.class == MxRecord
end
|
+ (Object) j_api_type
27
28
29
|
# File '/Users/julien/java/vertx-aggregator/modules/vertx-lang-ruby/vertx-lang-ruby/target/classes/vertx/mx_record.rb', line 27
def self.j_api_type
@@j_api_type
end
|
+ (Object) j_class
30
31
32
|
# File '/Users/julien/java/vertx-aggregator/modules/vertx-lang-ruby/vertx-lang-ruby/target/classes/vertx/mx_record.rb', line 30
def self.j_class
Java::IoVertxCoreDns::MxRecord.java_class
end
|
+ (Object) unwrap(obj)
24
25
26
|
# File '/Users/julien/java/vertx-aggregator/modules/vertx-lang-ruby/vertx-lang-ruby/target/classes/vertx/mx_record.rb', line 24
def @@j_api_type.unwrap(obj)
obj.j_del
end
|
+ (Object) wrap(obj)
21
22
23
|
# File '/Users/julien/java/vertx-aggregator/modules/vertx-lang-ruby/vertx-lang-ruby/target/classes/vertx/mx_record.rb', line 21
def @@j_api_type.wrap(obj)
MxRecord.new(obj)
end
|
Instance Method Details
- (String) name
The name of the MX record
36
37
38
39
40
41
42
43
44
45
|
# File '/Users/julien/java/vertx-aggregator/modules/vertx-lang-ruby/vertx-lang-ruby/target/classes/vertx/mx_record.rb', line 36
def name
if !block_given?
return @j_del.java_method(:name, []).call()
end
if defined?(super)
super
else
raise ArgumentError, "Invalid arguments when calling name()"
end
end
|
- (Fixnum) priority
The priority of the MX record.
49
50
51
52
53
54
55
56
57
58
|
# File '/Users/julien/java/vertx-aggregator/modules/vertx-lang-ruby/vertx-lang-ruby/target/classes/vertx/mx_record.rb', line 49
def priority
if !block_given?
return @j_del.java_method(:priority, []).call()
end
if defined?(super)
super
else
raise ArgumentError, "Invalid arguments when calling priority()"
end
end
|