Click or drag to resize
Akka.NETAssociationRegistryRegisterTransport Method
Records a mapping between an address and the corresponding (transport, associationEventListener) pair.

Namespace:  Akka.Remote.Transport
Assembly:  Akka.Remote (in Akka.Remote.dll) Version: 1.2.3.42 (1.2.3.42)
Syntax
public void RegisterTransport(
	TestTransport transport,
	Task<IAssociationEventListener> associationEventListenerTask
)

Parameters

transport
Type: Akka.Remote.TransportTestTransport
The transport that is to be registered. The address of this transport will be used as a key.
associationEventListenerTask
Type: System.Threading.TasksTaskIAssociationEventListener
The Task that will be completed with the listener that will handle the events for the given transport.
See Also