PerClientClassFactoryAttribute Class
From RemObjects Software
This is a RemObjects SDK Architecture entry
Feel free to add your notes to this topic below.
Overview (.NET)
Attach this attribute to your service implementation to have its instantiation controlled by a PerClientClassFactory.
Namespace
Declaration (C#)
public class PerClientClassFactoryAttribute : ClassFactoryAttribute;
Hierarchy
- System.Attribute
- RemObjects.SDK.Server.ClassFactories.ClassFactoryAttribute
- RemObjects.SDK.Server.ClassFactories.PerClientClassFactoryAttribute
- RemObjects.SDK.Server.ClassFactories.ClassFactoryAttribute
Properties
| | | |
|---|---|---|
| AllowConcurrentAccess | Boolean | Determines whether the class factory will allow concurrent access to the same per-client instance for several requests (true) or not (false).
By default, concurrent access is not allowed. If you enable it, ensure that your service instances are implemented to be thread-safe and reentrant. |
| Timeout | Integer | Determines the timeout (in seconds) after which sessions will be discarded if they have not been accessed.
The default value is 600 seconds (10 minutes). |
Methods
| | |
|---|---|
| CreateClassFactory | Instantiates a new class factory for the given service type, with the options configured in the attribute. |
See Also
Product: RemObjects SDK
Current version: RemObjects SDK 'Vinci' (5.0)
Lists — Glossary — Features — How To — Components — Tools — Samples — Articles — Architecture — Issues
