Class List Method List File List

# Class: Vertx::SrvRecord

Inherits:
  Object
  - Object
  - Vertx::SrvRecord
  show all
Defined in:
  /Users/julien/java/vertx-stack/stack-docs/target/rb/vertx/srv_record.rb

## Instance Method Summary (collapse)

- - (SrvRecord) initialize(j_del) constructor
  A new instance of SrvRecord.
- - (Object) j_del
- - (Object) name
- - (Object) port
- - (Object) priority
- - (Object) protocol
- - (Object) service
- - (Object) target
- - (Object) weight

## Constructor Details

### - (`SrvRecord`) initialize(j_del)

Returns a new instance of SrvRecord

    8
    9
    10
    # File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx/srv_record.rb', line 8

    def initialize(j_del)
      @j_del = j_del
    end

## Instance Method Details

### - (`Object`) j_del

    13
    14
    15
    # File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx/srv_record.rb', line 13

    def j_del
      @j_del
    end

### - (`Object`) name

Raises:

- (`ArgumentError`)

    42
    43
    44
    45
    46
    47
    # File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx/srv_record.rb', line 42

    def name
      if !block_given?
        return @j_del.java_method(:name, []).call()
      end
      raise ArgumentError, "Invalid arguments when calling name()"
    end

### - (`Object`) port

Raises:

- (`ArgumentError`)

    34
    35
    36
    37
    38
    39
    # File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx/srv_record.rb', line 34

    def port
      if !block_given?
        return @j_del.java_method(:port, []).call()
      end
      raise ArgumentError, "Invalid arguments when calling port()"
    end

### - (`Object`) priority

Raises:

- (`ArgumentError`)

    18
    19
    20
    21
    22
    23
    # File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx/srv_record.rb', line 18

    def priority
      if !block_given?
        return @j_del.java_method(:priority, []).call()
      end
      raise ArgumentError, "Invalid arguments when calling priority()"
    end

### - (`Object`) protocol

Raises:

- (`ArgumentError`)

    50
    51
    52
    53
    54
    55
    # File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx/srv_record.rb', line 50

    def protocol
      if !block_given?
        return @j_del.java_method(:protocol, []).call()
      end
      raise ArgumentError, "Invalid arguments when calling protocol()"
    end

### - (`Object`) service

Raises:

- (`ArgumentError`)

    58
    59
    60
    61
    62
    63
    # File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx/srv_record.rb', line 58

    def service
      if !block_given?
        return @j_del.java_method(:service, []).call()
      end
      raise ArgumentError, "Invalid arguments when calling service()"
    end

### - (`Object`) target

Raises:

- (`ArgumentError`)

    66
    67
    68
    69
    70
    71
    # File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx/srv_record.rb', line 66

    def target
      if !block_given?
        return @j_del.java_method(:target, []).call()
      end
      raise ArgumentError, "Invalid arguments when calling target()"
    end

### - (`Object`) weight

Raises:

- (`ArgumentError`)

    26
    27
    28
    29
    30
    31
    # File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx/srv_record.rb', line 26

    def weight
      if !block_given?
        return @j_del.java_method(:weight, []).call()
      end
      raise ArgumentError, "Invalid arguments when calling weight()"
    end