Class RemoteConnection
represents a connection to a remote server that hosts command and event handlers
Inherited Members
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) for distribution to subscribers.
Declaration
public void RegisterEvent<TEvent>() where TEvent : class, IEvent
Type Parameters
Name | Description |
---|---|
TEvent | the type of the event |