An open API service indexing awesome lists of open source software.

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

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.