public class ServiceCenterWatch extends Object implements WebSocketListener
| Constructor and Description |
|---|
ServiceCenterWatch(AddressManager addressManager,
HttpConfiguration.SSLProperties sslProperties,
RequestAuthHeaderProvider requestAuthHeaderProvider,
String tenantName,
Map<String,String> extraGlobalHeaders,
com.google.common.eventbus.EventBus eventBus) |
| Modifier and Type | Method and Description |
|---|---|
void |
onClose(int code,
String reason,
boolean remote) |
void |
onError(Exception e) |
void |
onMessage(String s) |
void |
onOpen(org.java_websocket.handshake.ServerHandshake serverHandshake) |
void |
startWatch(String project,
String serviceId) |
void |
stop() |
public ServiceCenterWatch(AddressManager addressManager, HttpConfiguration.SSLProperties sslProperties, RequestAuthHeaderProvider requestAuthHeaderProvider, String tenantName, Map<String,String> extraGlobalHeaders, com.google.common.eventbus.EventBus eventBus)
public void stop()
public void onMessage(String s)
onMessage in interface WebSocketListenerpublic void onError(Exception e)
onError in interface WebSocketListenerpublic void onClose(int code,
String reason,
boolean remote)
onClose in interface WebSocketListenerpublic void onOpen(org.java_websocket.handshake.ServerHandshake serverHandshake)
onOpen in interface WebSocketListenerCopyright © 2017–2022 The Apache Software Foundation. All rights reserved.