module SimpleCorbaServer
{
  interface IQueryServer;

  
  interface IQueryServer
  {
    boolean Login(in wstring Db, in wstring User, in wstring Password);
    wstring Get_SQL();
    void Set_SQL(in wstring Value);
    void Next();
    void Prev();
    void First();
    void Last();
    long Get_FieldCount();
    any Data();
    boolean Get_EOF();
    boolean Get_BOF();
    boolean Execute();
  };
  
  interface QueryServerFactory
  {
    IQueryServer CreateInstance(in string InstanceName);
  };

}; 