sig
exception MongoAdmin_failed of string
type t
val get_db_name : MongoAdmin.t -> string
val get_collection_name : MongoAdmin.t -> string
val get_ip : MongoAdmin.t -> string
val get_port : MongoAdmin.t -> int
val get_file_descr : MongoAdmin.t -> Unix.file_descr
val create : string -> int -> MongoAdmin.t
val create_local_default : unit -> MongoAdmin.t
val destory : MongoAdmin.t -> unit
val listDatabases : MongoAdmin.t -> MongoReply.t
val buildInfo : MongoAdmin.t -> MongoReply.t
val collStats : MongoAdmin.t -> MongoReply.t
val connPoolStats : MongoAdmin.t -> MongoReply.t
val cursorInfo : MongoAdmin.t -> MongoReply.t
val getCmdLineOpts : MongoAdmin.t -> MongoReply.t
val hostInfo : MongoAdmin.t -> MongoReply.t
val listCommands : MongoAdmin.t -> MongoReply.t
val serverStatus : MongoAdmin.t -> MongoReply.t
end