Show / Hide Table of Contents

    Class StatelessService

    Represents the Copper stateless reliable service base class. Derive from this class to implement a Copper based stateless reliable service.

    Inheritance
    System.Object
    StatelessService
    StatelessService
    Namespace: Copper.Service
    Assembly: Copper.Service.dll
    Syntax
    public class StatelessService : StatelessService

    Constructors

    View Source

    StatelessService(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 Source

    CreateServiceInstanceListeners()

    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.

    Overrides
    StatelessService.CreateServiceInstanceListeners()
    • View Source
    Back to top Generated by DocFX