'Collects the connections.
Args:
responses: A list of rdf_client.NetworkConnection objects.
Raises:
flow.FlowError: On failure to get retrieve the connections.'

@flow.StateHandler()
def StoreNetstat(self, responses):

    if (not responses.success):
        raise flow.FlowError('Failed    to    get    connections.    Err:    {0}'.format(responses.status))
    for response in responses:
        self.SendReply(response)
    self.state.conn_count = len(responses)
