Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 04-23-2004
alpha88 alpha88 is offline
Registered User
 
 
Join Date: Apr 2004
Posts: 3
Classes - __Ptr and __Prx

My server has a collection of classes (say Block).
Block has datamembers and an interface.

Inside my server, I have BlockPtr which work just fine.

However, I want to give clients a BlockPrx.

How can I get a proxy from a smart pointer?
Reply With Quote
  #2 (permalink)  
Old 04-23-2004
michi's Avatar
michi michi is offline
ZeroC Staff
 
Name: Michi Henning
Organization: ZeroC
Project: Ice
 
Join Date: Feb 2003
Location: Brisbane, Australia
Posts: 912
Simply add the class as a servant to the object adapter and return the proxy that is returned by add or addWithUUID to the client.

Cheers,

Michi.
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
Deprecating Classes in ICE kamran Help Center 1 09-07-2006 06:57 PM
C# classes semerich Comments 3 02-08-2006 09:23 AM
no Slice classes in Ice-E? n2503v Help Center 1 10-06-2005 02:30 AM
Classes vs. Exceptions andreynech Comments 7 02-28-2003 11:12 AM
Why operations on classes? bernard Comments 1 02-21-2003 11:36 AM


All times are GMT -4. The time now is 10:00 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.