ADD:add getDB method which could retrieve a db by socketchannel