File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
services-gateway/src/main/java/io/scalecube/services/gateway/websocket
services/src/main/java/io/scalecube/services/files Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 44import io .scalecube .services .annotations .ServiceMethod ;
55import reactor .core .publisher .Mono ;
66
7+ /**
8+ * Service interface for handling custom ping/pong service messages for websocket - service is
9+ * echoing back ping message to the client. Used (optionally) as part of {@link WebsocketGateway}.
10+ */
711@ Service (HeartbeatService .NAMESPACE )
812public interface HeartbeatService {
913
10- String NAMESPACE = "v1/scalecube.websocket.heartbeat " ;
14+ String NAMESPACE = "v1/scalecube.websocket" ;
1115
1216 @ ServiceMethod
1317 Mono <Long > ping (long value );
Original file line number Diff line number Diff line change 55import reactor .core .publisher .Mono ;
66
77/**
8- * System service interface for adding files locally, those added files will be accessible by {@link
8+ * Service interface for adding files locally, those added files will be accessible by {@link
99 * FileStreamer}. Typical usage: client generates a file in the app service, then calls {@link
1010 * #addFile(AddFileRequest)}, then returns result (file path qualifier) all the way back to the
1111 * caller of app service. On the caller side file path qualifier gets combined with http-gateway
You can’t perform that action at this time.
0 commit comments