Interface SrvRecord


public interface SrvRecord
Represent a Service-Record (SRV) which was resolved for a domain.
Author:
Norman Maurer
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the name for the server being queried.
    int
    Returns the port the service is running on.
    int
    Returns the priority for this service record.
    Returns the protocol for the service being queried (i.e.
    Returns the service's name (i.e.
    Returns the name of the host for the service.
    long
    ttl()
    Returns the record time to live
    int
    Returns the weight of this service record.
  • Method Details

    • priority

      int priority()
      Returns the priority for this service record.
    • ttl

      long ttl()
      Returns the record time to live
    • weight

      int weight()
      Returns the weight of this service record.
    • port

      int port()
      Returns the port the service is running on.
    • name

      String name()
      Returns the name for the server being queried.
    • protocol

      String protocol()
      Returns the protocol for the service being queried (i.e. "_tcp").
    • service

      String service()
      Returns the service's name (i.e. "_http").
    • target

      String target()
      Returns the name of the host for the service.