public class LgoStreamingService extends JsonNettyStreamingService
NettyStreamingService.NettyWebSocketClientHandlerobjectMapperchannels, DEFAULT_CONNECTION_TIMEOUT, DEFAULT_IDLE_TIMEOUT, DEFAULT_RETRY_DURATION| Modifier and Type | Method and Description |
|---|---|
protected String |
getChannelNameFromMessage(com.fasterxml.jackson.databind.JsonNode message) |
protected io.netty.handler.codec.http.DefaultHttpHeaders |
getCustomHeaders() |
String |
getSubscribeMessage(String channelName,
Object... args) |
String |
getUnsubscribeMessage(String channelName) |
protected void |
handleIdle(io.netty.channel.ChannelHandlerContext ctx) |
messageHandler, processArrayMassageSeparately, sendObjectMessagedisconnect, getChannel, getSubscriptionUniqueId, getWebSocketClientExtensionHandler, getWebSocketClientHandler, handleChannelError, handleChannelMessage, handleError, handleMessage, isSocketOpen, openConnection, resubscribeChannels, sendMessage, setAcceptAllCertificates, setEnableLoggingHandler, setLoggingHandlerLevel, setSocksProxyHost, setSocksProxyPort, subscribeChannel, subscribeConnectionSuccess, subscribeIdle, subscribeReconnectFailure, useCompressedMessagesprotected void handleIdle(io.netty.channel.ChannelHandlerContext ctx)
handleIdle in class NettyStreamingService<com.fasterxml.jackson.databind.JsonNode>protected String getChannelNameFromMessage(com.fasterxml.jackson.databind.JsonNode message)
getChannelNameFromMessage in class NettyStreamingService<com.fasterxml.jackson.databind.JsonNode>public String getSubscribeMessage(String channelName, Object... args) throws IOException
getSubscribeMessage in class NettyStreamingService<com.fasterxml.jackson.databind.JsonNode>IOExceptionpublic String getUnsubscribeMessage(String channelName) throws IOException
getUnsubscribeMessage in class NettyStreamingService<com.fasterxml.jackson.databind.JsonNode>IOExceptionprotected io.netty.handler.codec.http.DefaultHttpHeaders getCustomHeaders()
getCustomHeaders in class NettyStreamingService<com.fasterxml.jackson.databind.JsonNode>Copyright © 2020. All rights reserved.