https://github.com/baskeboler/netty-playground
just trying things out with netty
https://github.com/baskeboler/netty-playground
Last synced: 3 months ago
JSON representation
just trying things out with netty
- Host: GitHub
- URL: https://github.com/baskeboler/netty-playground
- Owner: baskeboler
- Created: 2015-05-29T07:11:30.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2015-07-01T06:47:22.000Z (about 11 years ago)
- Last Synced: 2025-01-10T01:53:20.323Z (over 1 year ago)
- Language: Java
- Size: 258 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# netty-playground
just trying things out with netty
## running the app
* go inside CommandServer folder and run `mvn spring-boot:run`
* connect to server via telnet (example: `telnet localhost 8180`)
* default port is 8180
## available commands
* `sumar `
* returns the sum of both numbers
* `fibonacci `
* returns the fibonacci sequence number
* `fortune`
* returns random fortune text, similar to unix fortune command
* `echo `
* sets var
* `var get `
* retrieves var value
## other stuff
* when connection is idle for some time server sends some text
* just trying out IdleStateEvent handling.
* Welcome message handler that removes itself from pipeline after printing welcome message.
* Prompt printer handler.