| AssociationRegistryRegisterTransport 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.129 (1.2.3.129)
Syntax public void RegisterTransport(
TestTransport transport,
Task<IAssociationEventListener> associationEventListenerTask
)
member RegisterTransport :
transport : TestTransport *
associationEventListenerTask : Task<IAssociationEventListener> -> unit
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