def __init__(self, path):
        self.path = path
        self.body_labels = collections.OrderedDict()
def flush(self):
        if self._bufferedCommands is None:
            return
        self._connection.sendline(str(self._bufferedCommands))
        self._bufferedCommands = None