Class BaseRequest

    • Constructor Detail

      • BaseRequest

        public BaseRequest​(int id)
    • Method Detail

      • getId

        public int getId()
      • setId

        public void setId​(int id)
      • getMessage

        public sfs2x.client.bitswarm.IMessage getMessage()
        Specified by:
        getMessage in interface sfs2x.client.requests.IRequest
      • getTargetController

        public int getTargetController()
        Specified by:
        getTargetController in interface sfs2x.client.requests.IRequest
      • setTargetController

        public void setTargetController​(int target)
        Specified by:
        setTargetController in interface sfs2x.client.requests.IRequest
      • isEncrypted

        public boolean isEncrypted()
        Specified by:
        isEncrypted in interface sfs2x.client.requests.IRequest
      • setEncrypted

        public void setEncrypted​(boolean encrypted)
        Specified by:
        setEncrypted in interface sfs2x.client.requests.IRequest