public interface Connector extends Serializable
A connector consists of a shared state (server sets the state and automatically communicates changes to the client) and the possibility to do RPC calls either from the server to the client or from the client to the server.
No classes should implement this interface directly, client side classes
wanting to communicate with server side should implement
ServerConnector
and server side classes should
implement ClientConnector
.
Modifier and Type | Method and Description |
---|---|
String |
getConnectorId()
Returns the id for this connector.
|
Connector |
getParent()
Gets the parent connector of this connector, or
null if the
connector is not attached to any parent. |
String getConnectorId()
Connector getParent()
null
if the
connector is not attached to any parent.null
if there is no parent.Copyright © 2019 Vaadin Ltd. All rights reserved.