Class Client

    • Constructor Detail

      • Client

        public Client()
      • Client

        public Client​(Long id)
      • Client

        public Client​(String name)
      • Client

        public Client​(org.springframework.web.socket.handler.ConcurrentWebSocketSessionDecorator session)
    • Method Detail

      • processEvent

        public void processEvent​(VREvent event)
        Description copied from class: VRObject
        This implementation does nothing
        Overrides:
        processEvent in class VRObject
        Parameters:
        event - Whatever has changed
      • sendMessage

        public void sendMessage​(Object obj)
      • addOwned

        public void addOwned​(VRObject... objects)
      • removeOwned

        public void removeOwned​(VRObject... objects)
      • isOwner

        public boolean isOwner​(VRObject obj)
      • getToken

        public String getToken​(String serviceId)
        Returns token for a given service
      • setToken

        public void setToken​(String serviceId,
                             String value)
        Set token for a given service
      • clearToken

        public String clearToken​(String serviceId)
        Remove token for a given service