public class WebSocketSessionCallback extends Object implements org.springframework.util.concurrent.ListenableFutureCallback<org.springframework.web.socket.WebSocketSession>
| Constructor and Description |
|---|
WebSocketSessionCallback(WebSocketSessionContext webSocketSessionContext,
AddressContext context) |
| Modifier and Type | Method and Description |
|---|---|
void |
onFailure(Throwable ex) |
void |
onSuccess(org.springframework.web.socket.WebSocketSession session) |
public WebSocketSessionCallback(WebSocketSessionContext webSocketSessionContext, AddressContext context)
public void onFailure(Throwable ex)
onFailure in interface org.springframework.util.concurrent.FailureCallbackpublic void onSuccess(org.springframework.web.socket.WebSocketSession session)
onSuccess in interface org.springframework.util.concurrent.SuccessCallback<org.springframework.web.socket.WebSocketSession>Copyright © 2020 org.mydotey. All rights reserved.