Class StatelessService
Represents the Copper stateless reliable service base class. Derive from this class to implement a Copper based stateless reliable service.
Namespace: Copper.Service
Assembly: Copper.Service.dll
Syntax
public class StatelessService : StatelessService
Constructors
View SourceStatelessService(StatelessServiceContext, IEnumerable<ServiceInstanceListener>)
Initializes a new instance of the StatelessService class.
Declaration
public StatelessService(StatelessServiceContext serviceContext, IEnumerable<ServiceInstanceListener> serviceInstanceListeners)
Parameters
Type | Name | Description |
---|---|---|
StatelessServiceContext | serviceContext | The service context. |
System.Collections.Generic.IEnumerable<ServiceInstanceListener> | serviceInstanceListeners | The service instance listeners. |
Methods
View SourceCreateServiceInstanceListeners()
Override this method to supply the communication listeners for the service instance.
Declaration
protected override IEnumerable<ServiceInstanceListener> CreateServiceInstanceListeners()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<ServiceInstanceListener> | A list of ServiceInstanceListeners. |