public abstract class WebSocketChannelManager extends AbstractChannelManager
ChannelManager for WebSocket connections| Modifier and Type | Field and Description |
|---|---|
static String |
CONNECTION_STRING |
static String |
SSL_KEYSTORE_FILE_PATH |
static String |
SSL_KEYSTORE_KEY_PASSWORD |
static String |
SSL_KEYSTORE_PASSWORD |
static String |
SSL_KEYSTORE_TYPE |
static String |
SSL_TRUSTSTORE_FILE_PATH |
static String |
SSL_TRUSTSTORE_PASSWORD |
static String |
SSL_TRUSTSTORE_TYPE |
| Constructor and Description |
|---|
WebSocketChannelManager(Channel channel) |
| Modifier and Type | Method and Description |
|---|---|
void |
configure() |
protected String |
getConnectionString() |
void |
initialize() |
protected Iterator<String> |
pollData() |
protected void |
sendData(String data) |
void |
stop() |
getChannelpublic static final String CONNECTION_STRING
public static final String SSL_KEYSTORE_FILE_PATH
public static final String SSL_KEYSTORE_PASSWORD
public static final String SSL_KEYSTORE_KEY_PASSWORD
public static final String SSL_KEYSTORE_TYPE
public static final String SSL_TRUSTSTORE_FILE_PATH
public static final String SSL_TRUSTSTORE_PASSWORD
public static final String SSL_TRUSTSTORE_TYPE
public WebSocketChannelManager(Channel channel)
public void configure()
throws ChannelConfigureException
ChannelConfigureExceptionpublic void initialize()
throws ChannelInitializationException
ChannelInitializationExceptionpublic void stop()
protected String getConnectionString()
protected void sendData(String data)
Copyright © 2017 Cask Data, Inc. Licensed under the Apache License, Version 2.0.