public class PtolemyWebSocketClientFactory
extends java.lang.Object
| Red (ltrnc) |
| Red (ltrnc) |
| Modifier and Type | Method and Description |
|---|---|
static PtolemyWebSocketClientFactory |
getInstance()
Get the factory instance, creating a new one if none created yet.
|
org.eclipse.jetty.websocket.WebSocketClient |
newSharedWebSocketClient(java.net.URI path)
Create a new WebSocket client that can be shared among other
WebSocketServices affiliated with this path.
|
org.eclipse.jetty.websocket.WebSocketClient |
newWebSocketClient()
Create a new WebSocket client.
|
public static PtolemyWebSocketClientFactory getInstance()
public org.eclipse.jetty.websocket.WebSocketClient newWebSocketClient()
throws java.lang.Exception
java.lang.Exception - If the WebSocketClientFactory cannot be started.public org.eclipse.jetty.websocket.WebSocketClient newSharedWebSocketClient(java.net.URI path)
throws java.lang.Exception
java.lang.Exception - If the WebSocketClientFactory cannot be started.