~drizzle-developers/drizzle/elliott-release

« back to all changes in this revision

Viewing changes to drizzled/plugin/client.h

  • Committer: Patrick Crews
  • Date: 2011-02-01 20:33:06 UTC
  • mfrom: (1845.2.288 drizzle)
  • Revision ID: gleebix@gmail.com-20110201203306-mwq2rk0it81tlwxh
Merged Trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
#include <drizzled/sql_list.h>
24
24
#include <drizzled/item.h>
25
25
 
 
26
#include "drizzled/visibility.h"
 
27
 
26
28
namespace drizzled
27
29
{
28
30
class Session;
38
40
 * file-descriptor based, so for non-fd client sources (like from another
39
41
 * thread), derived classes will need to use a pipe() for event notifications.
40
42
 */
41
 
class Client
 
43
class DRIZZLED_API Client
42
44
{
43
45
protected:
44
46
  Session *session;
104
106
   */
105
107
  virtual bool authenticate(void)= 0;
106
108
 
 
109
  virtual bool isConsole()
 
110
  {
 
111
    return false;
 
112
  }
 
113
 
 
114
  virtual  catalog::Instance::shared_ptr catalog()
 
115
  {
 
116
    return catalog::local();
 
117
  }
 
118
 
107
119
  /**
108
120
   * Read command from client.
109
121
   */