Class RpcInvocationEndedEvent
java.lang.Object
java.util.EventObject
com.vaadin.flow.server.communication.AbstractRpcInvocationEvent
com.vaadin.flow.server.communication.RpcInvocationEndedEvent
- All Implemented Interfaces:
Serializable
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:
-
Field Summary
Fields inherited from class java.util.EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionRpcInvocationEndedEvent(UI ui, String type, int nodeId, String name) Creates a new event. -
Method Summary
Methods inherited from class com.vaadin.flow.server.communication.AbstractRpcInvocationEvent
getName, getNodeId, getType, getUIMethods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
RpcInvocationEndedEvent
Creates a new event.- Parameters:
ui- the UI the invocation is handled against, notnulltype- the protocol-level invocation type, notnullnodeId- the id of the targetedStateNode, or-1if the invocation does not target a nodename- a human-readable identifier for the invocation, ornullif none applies
-