Class TxtRecord


  • public class TxtRecord
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      TxtRecord​(java.lang.String id, java.lang.String path, java.lang.String ski, boolean register)  
      TxtRecord​(java.lang.String id, java.lang.String path, java.lang.String ski, boolean register, java.lang.String brand, java.lang.String type, java.lang.String model)
      also adds optional parameters
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getBrand()  
      java.lang.String getId()  
      java.lang.String getModel()  
      java.lang.String getPath()  
      java.lang.String getSki()  
      java.util.Map<java.lang.String,​java.lang.String> getTxtRecordProps()  
      int getTxtvers()  
      java.lang.String getType()  
      boolean isRegister()  
      void setBrand​(java.lang.String brand)  
      void setId​(java.lang.String id)  
      void setModel​(java.lang.String model)  
      void setPath​(java.lang.String path)  
      void setRegister​(boolean register)  
      void setSki​(java.lang.String ski)  
      void setType​(java.lang.String type)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TxtRecord

        public TxtRecord​(java.lang.String id,
                         java.lang.String path,
                         java.lang.String ski,
                         boolean register)
        Parameters:
        id - globally unique ID of the SHIP node
        path - String with wss path
        ski - 40 digit hexadecimal string representing the 160 bit secp256r1 SKI value, for SHIP node identification
        register - o indicate whether auto accept is active in the SHIP node
      • TxtRecord

        public TxtRecord​(java.lang.String id,
                         java.lang.String path,
                         java.lang.String ski,
                         boolean register,
                         java.lang.String brand,
                         java.lang.String type,
                         java.lang.String model)
        also adds optional parameters
        Parameters:
        id - globally unique ID of the SHIP node
        path - String with wss path
        ski - 40 digit hexadecimal string representing the 160 bit secp256r1 SKI value, for SHIP node identification
        register - o indicate whether auto accept is active in the SHIP node
        brand - brand of the device
        type - device type
        model - device's model
    • Method Detail

      • getTxtRecordProps

        public java.util.Map<java.lang.String,​java.lang.String> getTxtRecordProps()
      • getTxtvers

        public int getTxtvers()
      • getId

        public java.lang.String getId()
      • setId

        public void setId​(java.lang.String id)
      • getPath

        public java.lang.String getPath()
      • setPath

        public void setPath​(java.lang.String path)
      • getSki

        public java.lang.String getSki()
      • setSki

        public void setSki​(java.lang.String ski)
      • isRegister

        public boolean isRegister()
      • setRegister

        public void setRegister​(boolean register)
      • getBrand

        public java.lang.String getBrand()
      • setBrand

        public void setBrand​(java.lang.String brand)
      • getType

        public java.lang.String getType()
      • setType

        public void setType​(java.lang.String type)
      • getModel

        public java.lang.String getModel()
      • setModel

        public void setModel​(java.lang.String model)