Search Results for

    Show / Hide Table of Contents

    Class RemoteConnection

    represents a connection to a remote server that hosts command and event handlers

    Inheritance
    object
    RemoteConnectionCore
    RemoteConnection
    Inherited Members
    RemoteConnectionCore.ChannelOptions
    RemoteConnectionCore.RemoteAddress
    RemoteConnectionCore.Register<TCommand>()
    RemoteConnectionCore.Register<TCommand, TResult>()
    RemoteConnectionCore.RegisterServerStream<TCommand, TResult>()
    RemoteConnectionCore.RegisterClientStream<T, TResult>()
    RemoteConnectionCore.Subscribe<TEvent, TEventHandler>(CancellationToken, string)
    RemoteConnectionCore.Subscribe<TEvent, TEventHandler>(CallOptions, string)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: FastEndpoints
    Assembly: FastEndpoints.Messaging.Remote.dll
    Syntax
    public sealed class RemoteConnection : RemoteConnectionCore

    Methods

    RegisterEvent<TEvent>()

    register an "event" that the remote server will be accepting (in EventBroker) mode for distribution to subscribers.

    Declaration
    public void RegisterEvent<TEvent>() where TEvent : class, IEvent
    Type Parameters
    Name Description
    TEvent

    the type of the event

    In this article
    Back to top Developed by Đĵ ΝιΓΞΗΛψΚ and contributors / Licensed under MIT / Website generated by DocFX