Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a tcp chat server implementation example #1435

Merged

Conversation

randilt
Copy link
Contributor

@randilt randilt commented Jan 8, 2025

Purpose

Resolves #2094

Examples

Checklist

  • Linked to an issue
  • Updated the specification
  • Updated the changelog
  • Added tests
  • Checked native-image compatibility

Copy link

codecov bot commented Jan 8, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.02%. Comparing base (191424e) to head (1546bad).

Additional details and impacted files
@@            Coverage Diff            @@
##             master    #1435   +/-   ##
=========================================
  Coverage     83.02%   83.02%           
  Complexity      215      215           
=========================================
  Files            22       22           
  Lines           813      813           
  Branches         81       81           
=========================================
  Hits            675      675           
  Misses           99       99           
  Partials         39       39           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

examples/tcp-chat-server/main.bal Outdated Show resolved Hide resolved
examples/tcp-chat-server/main.bal Outdated Show resolved Hide resolved
examples/tcp-chat-server/main.bal Outdated Show resolved Hide resolved
@randilt
Copy link
Contributor Author

randilt commented Jan 9, 2025

@DimuthuMadushan I have added the changes you have suggested.
Thanks!

Copy link
Member

@ThisaruGuruge ThisaruGuruge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good job! Thank you for your contribution. I have suggested a few minor changes. Can you please check?

examples/tcp-chat-server/README.md Outdated Show resolved Hide resolved
examples/tcp-chat-server/README.md Outdated Show resolved Hide resolved
examples/tcp-chat-server/README.md Outdated Show resolved Hide resolved
randilt and others added 2 commits January 10, 2025 11:50
@randilt
Copy link
Contributor Author

randilt commented Jan 10, 2025

@ThisaruGuruge I applied the changes you suggested, thanks!

@randilt randilt requested a review from ThisaruGuruge January 10, 2025 06:24
Copy link
Member

@ThisaruGuruge ThisaruGuruge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. @DimuthuMadushan @Nuvindu if there are no further comments, let's merge this.

@DimuthuMadushan DimuthuMadushan merged commit fde3fe6 into ballerina-platform:master Jan 10, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add example number 2
6 participants