1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65
|
<HTML>
<HEAD>
<TITLE>class toConnectionSub</TITLE>
<META NAME="Generator" CONTENT="KDOC ">
</HEAD>
<BODY bgcolor="#ffffff" text="#000000" link="#0000ff" vlink="#000099" alink= "#ffffff">
<TABLE WIDTH="100%" BORDER="0">
<TR>
<TD>
<TABLE BORDER="0">
<TR><TD valign="top" align="left" cellspacing="10">
<h1>class toConnectionSub</h1>
</TD>
<TD valign="top" align="right" colspan="1"> This class is an abstract definition of an actual connection to a database. <small><A HREF="#longdesc">More...</A></small></TD></TR>
</TABLE>
<HR>
<TABLE BORDER="0">
<TR><TH>Definition</TH><TD><code>#include <<A HREF="toconnection_h.html">toconnection.h</A>></code></TD></TR>
<TR><TH><A HREF="full-list-toConnectionSub.html">List of all Methods</A></TH></TR>
</TABLE>
</TD>
<TD align="right"><TABLE BORDER="0"><TR><TD><small><A HREF="index-long.html">Annotated List</A></small></TD></TR>
<TR><TD><small><A HREF="header-list.html">Files</A></small></TD></TR>
<TR><TD><small><A HREF="all-globals.html">Globals</A></small></TD></TR>
<TR><TD><small><A HREF="hier.html">Hierarchy</A></small></TD></TR>
<TR><TD><small><A HREF="index.html">Index</A></small></TD></TR>
</TABLE></TD></TR></TABLE>
<h4>Public Methods</h4><ul><LI> <b><A HREF="#ref2">toConnectionSub</A></b> ()
</LI>
<LI>virtual <b><A HREF="#ref3">~toConnectionSub</A></b> ()
</LI>
<LI><A HREF="toQuery.html">toQuery</A> * <b><A HREF="#ref4">query</A></b> ()
</LI>
<LI>void <b><A HREF="#ref5">setQuery</A></b> (<A HREF="toQuery.html">toQuery</A> *query)
</LI>
<LI>virtual void <b><A HREF="#ref6">cancel</A></b> (void)
</LI>
</ul><HR><H2><A NAME="longdesc">Detailed Description</A></H2><p> This class is an abstract definition of an actual connection to a database.
Each <A HREF="toConnection.html">toConnection</A> object can have one or more actual connections to the
database depending on long running queries. Normally you will never need to
bother with this class if you aren't creating a new database provider
(<A HREF="toConnectionProvider.html">toConnectionProvider</A>).
</p>
<A NAME="toConnectionSub"></A><A NAME="ref2"></A><table width="100%"><tr bgcolor="#eeeeee"><td> <strong>toConnectionSub</strong> ()
<br></td><td align="right"><h3><strong>toConnectionSub</strong></h3></td></tr></table><p></p><p> Create connection to database.
</p>
<A NAME="~toConnectionSub"></A><A NAME="ref3"></A><table width="100%"><tr bgcolor="#eeeeee"><td> <strong>~toConnectionSub</strong> ()
<br></td><td align="right"><h3><strong>~toConnectionSub</strong></h3></td></tr></table><p> <small>[virtual]</small></p><p> Close connection.
</p>
<A NAME="query"></A><A NAME="ref4"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="toQuery.html">toQuery</A> * <strong>query</strong> ()
<br></td><td align="right"><h3><strong>query</strong></h3></td></tr></table><p></p><p> Query current running on connection or NULL.
</p>
<A NAME="setQuery"></A><A NAME="ref5"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void <strong>setQuery</strong> (<A HREF="toQuery.html">toQuery</A> *query)
<br></td><td align="right"><h3><strong>setQuery</strong></h3></td></tr></table><p></p><p> Set query currently running on connection. NULL means none.
</p>
<A NAME="cancel"></A><A NAME="ref6"></A><table width="100%"><tr bgcolor="#eeeeee"><td> void <strong>cancel</strong> (void)
<br></td><td align="right"><h3><strong>cancel</strong></h3></td></tr></table><p> <small>[virtual]</small></p><p> Cancel anything running on this sub.
</p>
<HR>
<table>
<tr><td><small>Generated by: nneul on skyhawk on Wed Feb 23 19:49:58 2005, using kdoc 2.0a54.</small></td></tr>
</table>
</BODY>
</HTML>
|