@flow.StateHandler()
  def StoreNetstat(self, responses):
    self.state.Register("urn", self.client_id.Add("network"))
    net_fd = aff4.FACTORY.Create(self.state.urn, "Network", token=self.token)
    if responses.success:
      conns = net_fd.Schema.CONNECTIONS()
      for response in responses:
        self.SendReply(response)
        conns.Append(response)
    else:
      raise flow.FlowError("Failed to get connections. Err: {0}".format(
          responses.status))
    self.state.Register("conn_count", len(conns))

    net_fd.Set(conns)
    net_fd.Close()
Get a object from the cache.
dataset/ETHPy150Open google/grr/grr/lib/flows/general/network.py/Netstat.StoreNetstat--crossover with--dataset/ETHPy150Open kivy/kivy/kivy/cache.py/Cache.get