public class WebsocketSubscriberPathManager extends Object
Constructor and Description |
---|
WebsocketSubscriberPathManager() |
Modifier and Type | Method and Description |
---|---|
void |
addChannelContext(String inboundName,
String subscriberPath,
InboundWebsocketChannelContext ctx) |
void |
broadcastOnSubscriberPath(io.netty.handler.codec.http.websocketx.WebSocketFrame frame,
String inboundName,
String subscriberPath) |
void |
exclusiveBroadcastOnSubscriberPath(io.netty.handler.codec.http.websocketx.WebSocketFrame frame,
String inboundName,
String subscriberPath,
InboundWebsocketChannelContext ctx) |
static WebsocketSubscriberPathManager |
getInstance() |
List<InboundWebsocketChannelContext> |
getSubscriberPathChannelContextList(String inboundName,
String subscriberPath) |
void |
removeChannelContext(String inboundName,
String subscriberPath,
InboundWebsocketChannelContext ctx) |
public static WebsocketSubscriberPathManager getInstance()
public void addChannelContext(String inboundName, String subscriberPath, InboundWebsocketChannelContext ctx)
public void removeChannelContext(String inboundName, String subscriberPath, InboundWebsocketChannelContext ctx)
public List<InboundWebsocketChannelContext> getSubscriberPathChannelContextList(String inboundName, String subscriberPath)
public void broadcastOnSubscriberPath(io.netty.handler.codec.http.websocketx.WebSocketFrame frame, String inboundName, String subscriberPath)
public void exclusiveBroadcastOnSubscriberPath(io.netty.handler.codec.http.websocketx.WebSocketFrame frame, String inboundName, String subscriberPath, InboundWebsocketChannelContext ctx)
Copyright © 2018 WSO2. All rights reserved.