Class EventDriverFactory
java.lang.Object
org.eclipse.jetty.websocket.common.events.EventDriverFactory
- Direct Known Subclasses:
JsrEventDriverFactory
Create EventDriver implementations.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidprotected StringgetClassName(Object websocket) booleantoString()Wrap the given WebSocket object instance in a suitable EventDriver
-
Constructor Details
-
EventDriverFactory
-
-
Method Details
-
addImplementation
-
clearImplementations
public void clearImplementations() -
getClassName
-
getImplementations
-
removeImplementation
-
toString
-
wrap
Wrap the given WebSocket object instance in a suitable EventDriver- Parameters:
websocket- the websocket instance to wrap. Must either implementWebSocketListeneror be annotated with@WebSocket- Returns:
- appropriate EventDriver for this websocket instance.
-