Skip to content

Commit

Permalink
CORE-20907: add kdoc for the max allowed message size
Browse files Browse the repository at this point in the history
  • Loading branch information
LWogan committed Nov 18, 2024
1 parent 7d61b1e commit 0d91f84
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public interface ExternalMessaging {
*
* @param channelName The name of the channel the message should be sent through.
* @param message The contents of the message to be sent.
* @throws CordaRuntimeException if the channel does not exist.
* @throws CordaRuntimeException if the channel does not exist or if the message exceeds the max allowed message size.
*/
@Suspendable
void send(@NotNull String channelName, @NotNull String message);
Expand All @@ -73,7 +73,7 @@ public interface ExternalMessaging {
* @param channelName The name of the channel the message should be sent through.
* @param messageId An ID of the message to be sent.
* @param message The contents of the message to be sent.
* @throws CordaRuntimeException if the channel does not exist.
* @throws CordaRuntimeException if the channel does not exist or if the message exceeds the max allowed message size.
*/
@Suspendable
void send(@NotNull String channelName, @NotNull String messageId, @NotNull String message);
Expand Down

0 comments on commit 0d91f84

Please sign in to comment.