Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 03-26-2005
ehero's Avatar
ehero ehero is offline
Registered User
 
 
Join Date: Mar 2005
Location: Beijing, China
Posts: 9
Question hi, a problem of object proxy handle.

I've met a problem of object proxy handle.
interface resultset
{
next();
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.
Reply With Quote
  #2 (permalink)  
Old 03-26-2005
marc's Avatar
marc marc is online now
ZeroC Staff
 
Name: Marc Laukien
Organization: ZeroC, Inc.
Project: The Internet Communications Engine
 
Join Date: Feb 2003
Location: Florida
Posts: 1,781
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.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
When will the object associated with a proxy be destroyed? PeteH Help Center 7 01-25-2006 03:30 AM
Problem with gettting a proxy to ServiceManager Venkat Seeth Help Center 8 05-03-2005 05:39 PM
A beginner's problem!! About remote object sharing. ehero Help Center 5 04-09-2005 04:15 PM
Extracting Network parameters from a proxy object alfredt Help Center 1 03-03-2004 08:51 AM
object invocation problem istvan Help Center 4 11-27-2003 12:38 AM


All times are GMT -4. The time now is 07:22 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2008 ZeroC, Inc.