Class RpcInvocationEndedEvent

All Implemented Interfaces:
Serializable

public class RpcInvocationEndedEvent extends AbstractRpcInvocationEvent
Event fired through the service event bus once a client-to-server RPC invocation has been handled, whether it completed normally or threw. It is fired on the same thread as the matching RpcInvocationStartedEvent, so timing state can be kept in a thread local.
Since:
25.3
See Also:
  • Constructor Details

    • RpcInvocationEndedEvent

      public RpcInvocationEndedEvent(UI ui, String type, int nodeId, String name)
      Creates a new event.
      Parameters:
      ui - the UI the invocation is handled against, not null
      type - the protocol-level invocation type, not null
      nodeId - the id of the targeted StateNode, or -1 if the invocation does not target a node
      name - a human-readable identifier for the invocation, or null if none applies