Home Help Center

hi, a problem of object proxy handle.

eheroehero Member
I've met a problem of object proxy handle.
interface resultset
int getInt();
double getDouble();
interface mydatabase
resultset executeQuery(string sql);
For example, I've implemented the interface mydatabase (class MySQLDB). And the executeQuery method returns a resultsetprx.
I know if I test the program with a client and a server, all will be OK!
But, I just want write an application with class "MySQLDB".
Can resultsetprx be used in a single program without communication between client and server?

Any of your help will be appreciated!!!

Sean Ho.


  • marcmarc FloridaAdministrators, ZeroC Staff Marc LaukienOrganization: ZeroC, Inc.Project: The Internet Communications Engine ZeroC Staff
    Yes, proxies are location transparent, meaning that you can use a proxy to invoke on a collocated Ice object as well as on a remote Ice object.
Sign In or Register to comment.