Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 06-18-2003
ganzuoni ganzuoni is offline
Registered User
 
Name: Guido Anzuoni
Organization: Individual
Project: No specific project
 
Join Date: Jun 2003
Location: Italy
Posts: 46
Objects and Proxies

Hello,
I am an old, very happy, Orbacus user.....
It's very nice to see you again, together...
I come to my question.
Having an interface such as:

interface Y {
X getX();
X *getXProxy();
}

I generate java class with the possibility to get returned on the client
side a X and XPrx.
The use of XPrx on the client is quite normal, but what confuses me
is the signature of X that includes a Current object.
What is the sense of allowing the access of such an interface on
the client side ?

Thanks in advance,
Guido.
Reply With Quote
  #2 (permalink)  
Old 06-18-2003
marc's Avatar
marc marc is offline
ZeroC Staff
 
Name: Marc Laukien
Organization: ZeroC, Inc.
Project: The Internet Communications Engine
 
Join Date: Feb 2003
Location: Florida
Posts: 1,772
Every class derived from Ice::Object can also be used as a servant, and therefore it needs the Current parameter. If you don't use X as a servant, then I'm afraid you have to pass null as Current parameter in Java. For C++, there is a null default argument.
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
Pointers and Proxies MikeGerdes Help Center 5 02-07-2007 10:56 AM
Recognizing the type of returned inherited objects and proxies hiasl Help Center 1 03-14-2006 04:05 AM
Creating Proxies for "Ice objects" with Python hiasl Help Center 5 09-13-2005 10:04 AM
Different kinds of proxies mwilson Help Center 5 09-09-2005 12:06 PM
SegFault problems with Proxies galbe Help Center 5 11-03-2003 08:55 AM


All times are GMT -4. The time now is 03:45 PM.


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.