We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.server.
Class ConnectorIdGenerationEvent
- java.lang.Object
-
- java.util.EventObject
-
- com.vaadin.server.ConnectorIdGenerationEvent
-
All Implemented Interfaces:
public class ConnectorIdGenerationEvent extends EventObject
Event object containing information related to connector id generation.
Since:
8.1
Author:
Vaadin Ltd
See Also:
-
-
Field Summary
-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor Description ConnectorIdGenerationEvent​(VaadinSession session, ClientConnector connector)
Creates a new event for the given session and connector.
-
Method Summary
All Methods Modifier and Type Method Description ClientConnector
getConnector()
Gets the connector that should get an id.
VaadinSession
getSession()
Gets the session for which connector id is needed.
VaadinService
getSource()
-
Methods inherited from class java.util.EventObject
toString
-
-
-
-
Constructor Detail
-
ConnectorIdGenerationEvent
public ConnectorIdGenerationEvent​(VaadinSession session, ClientConnector connector)
Creates a new event for the given session and connector.
Parameters:
session
- the session for which a connector id is needed, notnull
connector
- the connector that should get an id, notnull
-
-
Method Detail
-
getSession
public VaadinSession getSession()
Gets the session for which connector id is needed.
Returns:
the session, not
null
-
getConnector
public ClientConnector getConnector()
Gets the connector that should get an id.
Returns:
the connector, not
null
-
getSource
public VaadinService getSource()
Overrides:
getSource
in classEventObject
-
-