Package com.vaadin.collaborationengine
Class TopicConnection
java.lang.Object
com.vaadin.collaborationengine.TopicConnection
API for sending and subscribing to updates between clients collaborating on
the same collaboration topic.
- Since:
- 1.0
- Author:
- Vaadin Ltd
-
Method Summary
Modifier and TypeMethodDescriptiongetNamedList
(String name) Gets a collaboration list that can be used to track a list of items in a single topic.getNamedMap
(String name) Gets a collaboration map that can be used to track multiple values in a single topic.Gets the user who is related to this topic connection.
-
Method Details
-
getUserInfo
Gets the user who is related to this topic connection.- Returns:
- the related user, not
null
- Since:
- 1.0
-
getNamedMap
Gets a collaboration map that can be used to track multiple values in a single topic.- Parameters:
name
- the name of the map- Returns:
- the collaboration map, not
null
- Since:
- 1.0
-
getNamedList
Gets a collaboration list that can be used to track a list of items in a single topic.- Parameters:
name
- the name of the list- Returns:
- the collaboration list, not
null
-