Class WebsocketSubscriberPathManager
java.lang.Object
org.wso2.carbon.inbound.endpoint.protocol.websocket.management.WebsocketSubscriberPathManager
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddChannelContext(String inboundName, String subscriberPath, InboundWebsocketChannelContext ctx) voidbroadcastOnSubscriberPath(io.netty.handler.codec.http.websocketx.WebSocketFrame frame, String inboundName, String subscriberPath) voidexclusiveBroadcastOnSubscriberPath(io.netty.handler.codec.http.websocketx.WebSocketFrame frame, String inboundName, String subscriberPath, InboundWebsocketChannelContext ctx) getSubscriberPathChannelContextList(String inboundName, String subscriberPath) voidremoveChannelContext(String inboundName, String subscriberPath, InboundWebsocketChannelContext ctx)
-
Constructor Details
-
WebsocketSubscriberPathManager
public WebsocketSubscriberPathManager()
-
-
Method Details
-
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
-
exclusiveBroadcastOnSubscriberPath
public void exclusiveBroadcastOnSubscriberPath(io.netty.handler.codec.http.websocketx.WebSocketFrame frame, String inboundName, String subscriberPath, InboundWebsocketChannelContext ctx)
-