public class OutboundSocketCallback extends Object implements org.mule.runtime.http.api.client.ws.WebSocketCallback
| Constructor and Description |
|---|
OutboundSocketCallback(FluxCapacitor fluxCapacitor,
OutboundSocketListener outboundSocketListener,
org.mule.runtime.http.api.domain.message.request.HttpRequest request,
List<String> defaultGroups,
WebSocketClientSettings settings) |
| Modifier and Type | Method and Description |
|---|---|
WebSocketAttributes |
getSocketAttributes() |
void |
onClose(org.mule.runtime.http.api.ws.WebSocket webSocket,
org.mule.runtime.http.api.ws.WebSocketCloseCode code,
String reason) |
void |
onConnect(org.mule.runtime.http.api.ws.WebSocket webSocket) |
void |
onMessage(org.mule.runtime.http.api.ws.WebSocket webSocket,
org.mule.runtime.api.metadata.TypedValue<InputStream> content) |
public OutboundSocketCallback(FluxCapacitor fluxCapacitor, OutboundSocketListener outboundSocketListener, org.mule.runtime.http.api.domain.message.request.HttpRequest request, List<String> defaultGroups, WebSocketClientSettings settings)
public void onConnect(org.mule.runtime.http.api.ws.WebSocket webSocket)
onConnect in interface org.mule.runtime.http.api.client.ws.WebSocketCallbackpublic void onClose(org.mule.runtime.http.api.ws.WebSocket webSocket,
org.mule.runtime.http.api.ws.WebSocketCloseCode code,
String reason)
onClose in interface org.mule.runtime.http.api.client.ws.WebSocketCallbackpublic void onMessage(org.mule.runtime.http.api.ws.WebSocket webSocket,
org.mule.runtime.api.metadata.TypedValue<InputStream> content)
onMessage in interface org.mule.runtime.http.api.client.ws.WebSocketCallbackpublic WebSocketAttributes getSocketAttributes()
Copyright © 2024 MuleSoft, Inc.. All rights reserved.