Class WebsocketSubscriberPathManager
- java.lang.Object
-
- org.wso2.carbon.inbound.endpoint.protocol.websocket.management.WebsocketSubscriberPathManager
-
public class WebsocketSubscriberPathManager extends Object
-
-
Constructor Summary
Constructors Constructor Description WebsocketSubscriberPathManager()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Method Detail
-
getInstance
public static WebsocketSubscriberPathManager getInstance()
-
addChannelContext
public void addChannelContext(String inboundName, String subscriberPath, InboundWebsocketChannelContext ctx)
-
removeChannelContext
public void removeChannelContext(String inboundName, String subscriberPath, InboundWebsocketChannelContext ctx)
-
getSubscriberPathChannelContextList
public List<InboundWebsocketChannelContext> getSubscriberPathChannelContextList(String inboundName, String subscriberPath)
-
broadcastOnSubscriberPath
public void broadcastOnSubscriberPath(io.netty.handler.codec.http.websocketx.WebSocketFrame frame, String inboundName, String subscriberPath)
-
exclusiveBroadcastOnSubscriberPath
public void exclusiveBroadcastOnSubscriberPath(io.netty.handler.codec.http.websocketx.WebSocketFrame frame, String inboundName, String subscriberPath, InboundWebsocketChannelContext ctx)
-
-