com.vaadin.collaborationengine.

Class TopicConnection


  • public class TopicConnection
    extends Object

    API for sending and subscribing to updates between clients collaborating on the same collaboration topic.

    Author:

    Vaadin Ltd

    • Method Detail

      • getUserInfo

        public UserInfo getUserInfo()

        Gets the user who is related to this topic connection.

        Returns:

        the related user, not null

      • getNamedMap

        public CollaborationMap getNamedMap(String name)

        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

      • getNamedList

        public CollaborationList getNamedList(String name)

        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