Class Bandwidth


  • public class Bandwidth
    extends Toxic
    • Field Detail

      • rate

        private long rate
    • Constructor Detail

      • Bandwidth

        public Bandwidth​(HttpClient httpClient,
                         java.lang.String toxicListPath,
                         java.lang.String name,
                         ToxicDirection stream,
                         long rate)
                  throws java.io.IOException
        Throws:
        java.io.IOException
      • Bandwidth

        public Bandwidth​(HttpClient httpClient,
                         java.lang.String path,
                         com.google.gson.JsonObject json)
    • Method Detail

      • setAttributes

        protected void setAttributes​(com.google.gson.JsonObject attributes)
        Specified by:
        setAttributes in class Toxic
      • getAttributes

        protected com.google.gson.JsonObject getAttributes()
        Specified by:
        getAttributes in class Toxic
      • getRate

        public long getRate()
      • setRate

        public Bandwidth setRate​(long rate)
                          throws java.io.IOException
        Throws:
        java.io.IOException