public class EventDriverFactory
extends java.lang.Object
Constructor and Description |
---|
EventDriverFactory(WebSocketContainerScope containerScope) |
Modifier and Type | Method and Description |
---|---|
void |
addImplementation(EventDriverImpl impl) |
void |
clearImplementations() |
protected java.lang.String |
getClassName(java.lang.Object websocket) |
java.util.List<EventDriverImpl> |
getImplementations() |
boolean |
removeImplementation(EventDriverImpl impl) |
java.lang.String |
toString() |
EventDriver |
wrap(java.lang.Object websocket)
Wrap the given WebSocket object instance in a suitable EventDriver
|
public EventDriverFactory(WebSocketContainerScope containerScope)
public void addImplementation(EventDriverImpl impl)
public void clearImplementations()
protected java.lang.String getClassName(java.lang.Object websocket)
public java.util.List<EventDriverImpl> getImplementations()
public boolean removeImplementation(EventDriverImpl impl)
public java.lang.String toString()
toString
in class java.lang.Object
public EventDriver wrap(java.lang.Object websocket)
websocket
- the websocket instance to wrap. Must either implement WebSocketListener
or be annotated with @WebSocket
Copyright © 1995–2023 Webtide. All rights reserved.