AssociationRegistry..::..GetRemoteReadHandlerFor Method

Returns the event handler corresponding to the remote endpoint of the givne local handle. In other words it returns the listener that will receive InboundPayload events when is called.

Namespace:  Akka.Remote.Transport
Assembly:  Akka.Remote (in Akka.Remote.dll)

Syntax


public IHandleEventListener GetRemoteReadHandlerFor(
	TestAssociationHandle localHandle
)
Public Function GetRemoteReadHandlerFor ( _
	localHandle As TestAssociationHandle _
) As IHandleEventListener
public:
IHandleEventListener^ GetRemoteReadHandlerFor(
	TestAssociationHandle^ localHandle
)

Parameters

localHandle
Type: Akka.Remote.Transport..::..TestAssociationHandle
The handle

Return Value

The option that contains the listener if it exists.