Hi,
We're our first steps with SCA (C++, version 0.95) running on Solaris 10 
(compiled with the native compiler).


I have a question about the composite "scope":

We would like to have a relatively basic design that involves 2 components:
one component handles a "connection" (lets say some kind of socket connection)
and another component is the container for all the connections (something like 
"connections manager").
we need several instances of the connection component (one instance for each 
connection) and we will have only one instance
of the connections manager.
The connections components will reside on a different machine and we plan to 
use a remote components.
Each one of the connection instances maintains a state and specific request to 
the connections manager should go to a specific instance of a connection.
For example, if the client needs to "send" something on the socket, he needs to 
do it on a specific connection.

Now to the question:
Is it possible to create from the connections manager several instances of the 
connection composite and hold a reference to each one of this instances?
If yes, then how do I do it? 
I mean if I define the scope of the connection as "composite" (stateful) then 
how I create several instances of them from the connections manager and what is 
the reference to each instance? a pointer?

Regards,
Yoav



 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to