Class ResetPeer


  • public class ResetPeer
    extends Toxic
    • Field Detail

      • timeout

        private long timeout
    • Constructor Detail

      • ResetPeer

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

        public ResetPeer​(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
      • getTimeout

        public long getTimeout()
      • setTimeout

        public ResetPeer setTimeout​(long timeout)
                             throws java.io.IOException
        Throws:
        java.io.IOException