public class WebSocketsPlugin extends PluginActivator implements WebSocketsService
| Modifier and Type | Field and Description |
|---|---|
private Logger |
logger |
private WebSocketsServer |
server |
private static int |
WEBSOCKETS_PORT |
bundle, dms| Constructor and Description |
|---|
WebSocketsPlugin() |
| Modifier and Type | Method and Description |
|---|---|
void |
broadcast(String pluginUri,
String message) |
void |
init() |
void |
shutdown() |
getBundleContext, getPluginName, getStaticResource, getUri, postInstall, publishDirectory, serviceArrived, serviceGone, setCoreService, start, stop, toStringprivate static final int WEBSOCKETS_PORT
private WebSocketsServer server
public WebSocketsPlugin()
public void broadcast(String pluginUri, String message)
broadcast in interface WebSocketsServicepublic void init()
init in interface PluginContextinit in class PluginActivatorpublic void shutdown()
shutdown in interface PluginContextshutdown in class PluginActivatorCopyright © 2016. All Rights Reserved.