@WebSocketRoute.Driver() is a parameter decorator function for the
Driver<Listener> (of tgrid) typed parameter.
With the @WebSocketRoute.Driver() decorated parameter, you can call
function of Listener typed instance provided by remote WebSocket client
by calling the Driver<Listener> instance.
For reference, this @WebSocketRoute.Driver() decorator is optional, and
can be substituted by @WebSocketRoute.Acceptor() decorated parameter
by calling the WebSocketAcceptor.getDriver function.
Driver parameter decorator.
@WebSocketRoute.Driver()
is a parameter decorator function for theDriver<Listener>
(oftgrid
) typed parameter.With the
@WebSocketRoute.Driver()
decorated parameter, you can call function ofListener
typed instance provided by remote WebSocket client by calling theDriver<Listener>
instance.For reference, this
@WebSocketRoute.Driver()
decorator is optional, and can be substituted by@WebSocketRoute.Acceptor()
decorated parameter by calling the WebSocketAcceptor.getDriver function.