public class WebsocketConnectionFactory extends Object
Constructor and Description |
---|
WebsocketConnectionFactory(org.apache.axis2.description.TransportOutDescription transportOut) |
Modifier and Type | Method and Description |
---|---|
void |
addChannelHandler(String sourceIdentifier,
String clientIdentifier,
WebSocketClientHandler clientHandler) |
WebSocketClientHandler |
cacheNewConnection(URI uri,
String sourceIdentifier,
String dispatchSequence,
String dispatchErrorSequence,
String contentType) |
WebSocketClientHandler |
getChannelHandler(URI uri,
String sourceIdentifier,
boolean handshakePresent,
String dispatchSequence,
String dispatchErrorSequence,
String contentType) |
WebSocketClientHandler |
getChannelHandlerFromPool(String sourceIdentifier,
String clientIdentifier) |
String |
getClientHandlerIdentifier(URI uri) |
static WebsocketConnectionFactory |
getInstance(org.apache.axis2.description.TransportOutDescription transportOut) |
void |
removeChannelHandler(String sourceIdentifier,
String clientIdentifier) |
public WebsocketConnectionFactory(org.apache.axis2.description.TransportOutDescription transportOut)
public static WebsocketConnectionFactory getInstance(org.apache.axis2.description.TransportOutDescription transportOut)
public WebSocketClientHandler getChannelHandler(URI uri, String sourceIdentifier, boolean handshakePresent, String dispatchSequence, String dispatchErrorSequence, String contentType) throws InterruptedException
InterruptedException
public WebSocketClientHandler cacheNewConnection(URI uri, String sourceIdentifier, String dispatchSequence, String dispatchErrorSequence, String contentType)
public void addChannelHandler(String sourceIdentifier, String clientIdentifier, WebSocketClientHandler clientHandler)
public WebSocketClientHandler getChannelHandlerFromPool(String sourceIdentifier, String clientIdentifier)
Copyright © 2017 WSO2. All rights reserved.