'Create a new command cursor.'

def __init__(self, collection, cursor_info, address, retrieved=0):

    self.__collection = collection
    self.__id = cursor_info['id']
    self.__address = address
    self.__data = deque(cursor_info['firstBatch'])
    self.__retrieved = retrieved
    self.__batch_size = 0
    self.__killed = (self.__id == 0)
    if ('ns' in cursor_info):
        self.__ns = cursor_info['ns']
    else:
        self.__ns = collection.full_name
