def __init__(self, name, host='127.0.0.1', port=27017):
        self.name = name
        self.host = host
        self.port = port
def send(self, command):
        if self._bufferedCommands is None:
            self._bufferedCommands = command
        else:
            self._bufferedCommands += "\n" + command