public.javadoc.org.spincast.core.websocket.WebsocketEndpointToControllerManager.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spincast-website Show documentation
Show all versions of spincast-website Show documentation
Source code for the https://www.spincast.org website.
WebsocketEndpointToControllerManager (org.spincast:spincast-framework 1.0.0 API)
org.spincast.core.websocket
Interface WebsocketEndpointToControllerManager
-
- All Known Implementing Classes:
- WebsocketEndpointToControllerManagerDefault
public interface WebsocketEndpointToControllerManager
-
-
Method Summary
All Methods Instance Methods Abstract Methods
Modifier and Type
Method and Description
void
addEndpointController(String endpointId,
WebsocketController<?,?> controller)
Adds a link between a WebSocket endpoint and a controller.
boolean
isManagingEndpoint(String endpointId,
WebsocketController<?,?> controller)
Is the specified controller currently the manager of the
endpoint?
void
removeEndpointController(String endpointId)
Removes the link between a WebSocket endpoint and a controller.
-
-
Method Detail
-
addEndpointController
void addEndpointController(String endpointId,
WebsocketController<?,?> controller)
throws WebsocketEndpointAlreadyManagedByAnotherControllerException
Adds a link between a WebSocket endpoint and a controller.
Only this controller will be able to manage the endpoint.
-
removeEndpointController
void removeEndpointController(String endpointId)
Removes the link between a WebSocket endpoint and a controller.
-
isManagingEndpoint
boolean isManagingEndpoint(String endpointId,
WebsocketController<?,?> controller)
Is the specified controller currently the manager of the
endpoint?
Copyright © 2019. All rights reserved.