Skip to content

Commit

Permalink
Added more doc for HeartbeatService, fixed typo in FileService doc
Browse files Browse the repository at this point in the history
  • Loading branch information
artem-v committed Jan 22, 2025
1 parent c4ce6db commit 22c3c93
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,14 @@
import io.scalecube.services.annotations.ServiceMethod;
import reactor.core.publisher.Mono;

/**
* Service interface for handling custom ping/pong service messages for websocket - service is
* echoing back ping message to the client. Used (optionally) as part of {@link WebsocketGateway}.
*/
@Service(HeartbeatService.NAMESPACE)
public interface HeartbeatService {

String NAMESPACE = "v1/scalecube.websocket.heartbeat";
String NAMESPACE = "v1/scalecube.websocket";

@ServiceMethod
Mono<Long> ping(long value);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import reactor.core.publisher.Mono;

/**
* System service interface for adding files locally, those added files will be accessible by {@link
* Service interface for adding files locally, those added files will be accessible by {@link
* FileStreamer}. Typical usage: client generates a file in the app service, then calls {@link
* #addFile(AddFileRequest)}, then returns result (file path qualifier) all the way back to the
* caller of app service. On the caller side file path qualifier gets combined with http-gateway
Expand Down

0 comments on commit 22c3c93

Please sign in to comment.