Hi Jose,
the Broker class of the current .NET Wrapper runtime requires the user ID at construcution time and does not allow to overwrite it later (the user ID is then get-obly and the password is set-only - via the Logon()method). So, for each user that logs on to the EntireX Broker, you need a Broker object constructed with the user ID and perform the Logon() method.
However, you can still pool your wrapped objects. You just need to instantiate different Service and Broker objects for each different user on demand.
Example:
- there already is a pool of wrapper objects for users u_1 to u_n
- another user u_x comes along
- if there is a free wrapper object in the pool for this user, re-use it
- if there is no wrapper object available for this user, either
o create a new wrapper object with new
Service and Broker class instances for this user, or
o re-use a free wrapper object from the pool, but overwrite
its Service object with new Service/Broker instances that
were created for this user
Does this help?
Regads, Dietmar.
#webMethods#Mainframe-Integration#EntireX