| AssociationRegistryRegisterListenerPair Method |
Registers two event listeners corresponding to the two endpoints of an association.
Namespace:
Akka.Remote.Transport
Assembly:
Akka.Remote (in Akka.Remote.dll) Version: 1.2.3.42 (1.2.3.42)
Syntax public void RegisterListenerPair(
Tuple<Address, Address> key,
Tuple<IHandleEventListener, IHandleEventListener> listeners
)
member RegisterListenerPair :
key : Tuple<Address, Address> *
listeners : Tuple<IHandleEventListener, IHandleEventListener> -> unit
Parameters
- key
- Type: SystemTupleAddress, Address
Ordered pair of addresses representing an association. First element must be the address of the
initiator.
- listeners
- Type: SystemTupleIHandleEventListener, IHandleEventListener
A pair of listeners that will be responsible for handling the events of the two endpoints
of the association. Elements in the Tuple must be in the same order as the addresses in key.
See Also