\HeaderA{aRTconn}{Class aRTconn}{aRTconn}
\aliasA{aRTconn-class}{aRTconn}{aRTconn.Rdash.class}
\aliasA{openConn}{aRTconn}{openConn}
\keyword{classes}{aRTconn}
\begin{Description}\relax
Class that stores a virtual DBMA connection and manipulates databases.
The connection is virtual because each time a function is called, it connects, does
something and then disconnects.
\end{Description}
\begin{Section}{Objects from the Class}
Objects can be created by calls of the form \code{openConn(user, password, port, host)}.
\end{Section}
\begin{Section}{Arguments}
\describe{
\item[user] User of the DBMA. The default is the user logged in the system.
\item[password] The password, default is \dQuote{}.
\item[port] Port of the connection,  default value is 3306.
\item[host] Host to connect, default is \dQuote{localhost}.
}
\end{Section}
\begin{Section}{Extends}
Class \code{aRTcomponent}, directly.
\end{Section}
\begin{Section}{Methods}
\describe{
\item[addUser:] Grants ALL permissions on the DBMS to a user.
\item[createDb:] Creates a new database and returns a connection to it.
\item[deleteDb:] Removes a database from the DBMS.
\item[openDb:] Opens an existent database from the DBMS.
\item[showDbs:] Shows the avilable databases.
}
\end{Section}
\begin{Author}\relax
Marcos Aurelio Carrero, Pedro Ribeiro de Andrade Neto
\end{Author}
\begin{SeeAlso}\relax
See \code{\LinkA{aRT}{aRT}} the package organization.
\end{SeeAlso}

