├── .gitignore ├── README.md ├── project ├── build.properties └── plugins.sbt └── src └── main └── scala └── com └── github └── kxbmap └── netty └── example ├── Logging.scala ├── Usage.scala ├── discard ├── DiscardClient.scala ├── DiscardClientHandler.scala ├── DiscardServer.scala └── DiscardServerHandler.scala ├── echo ├── EchoClient.scala ├── EchoClientHandler.scala ├── EchoServer.scala └── EchoServerHandler.scala ├── factorial ├── BigIntDecoder.scala ├── FactorialClient.scala ├── FactorialClientHandler.scala ├── FactorialClientInitializer.scala ├── FactorialServer.scala ├── FactorialServerHandler.scala ├── FactorialServerInitializer.scala └── NumberEncoder.scala ├── filetransfer └── FileServer.scala ├── http ├── helloworld │ ├── HttpHelloWorldServer.scala │ ├── HttpHelloWorldServerHandler.scala │ └── HttpHelloWorldServerInitializer.scala └── snoop │ ├── HttpSnoopClient.scala │ ├── HttpSnoopClientHandler.scala │ ├── HttpSnoopClientInitializer.scala │ ├── HttpSnoopServer.scala │ ├── HttpSnoopServerHandler.scala │ └── HttpSnoopServerInitializer.scala ├── localecho ├── LocalEcho.scala ├── LocalEchoClientHandler.scala └── LocalEchoServerHandler.scala ├── objectecho ├── ObjectEchoClient.scala ├── ObjectEchoClientHandler.scala ├── ObjectEchoServer.scala └── ObjectEchoServerHandler.scala ├── package.scala ├── portunification ├── PortUnificationServer.scala └── PortUnificationServerHandler.scala └── securechat ├── SecureChatClient.scala ├── SecureChatClientHandler.scala ├── SecureChatClientInitializer.scala ├── SecureChatKeyStore.scala ├── SecureChatServer.scala ├── SecureChatServerHandler.scala ├── SecureChatServerInitializer.scala ├── SecureChatSslContextFactory.scala └── SecureChatTrustManagerFactory.scala /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kxbmap/netty4-example-scala/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kxbmap/netty4-example-scala/HEAD/README.md -------------------------------------------------------------------------------- /project/build.properties: -------------------------------------------------------------------------------- 1 | sbt.version=0.13.0 2 | -------------------------------------------------------------------------------- /project/plugins.sbt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kxbmap/netty4-example-scala/HEAD/project/plugins.sbt -------------------------------------------------------------------------------- /src/main/scala/com/github/kxbmap/netty/example/Logging.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kxbmap/netty4-example-scala/HEAD/src/main/scala/com/github/kxbmap/netty/example/Logging.scala -------------------------------------------------------------------------------- /src/main/scala/com/github/kxbmap/netty/example/Usage.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kxbmap/netty4-example-scala/HEAD/src/main/scala/com/github/kxbmap/netty/example/Usage.scala -------------------------------------------------------------------------------- /src/main/scala/com/github/kxbmap/netty/example/discard/DiscardClient.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kxbmap/netty4-example-scala/HEAD/src/main/scala/com/github/kxbmap/netty/example/discard/DiscardClient.scala -------------------------------------------------------------------------------- /src/main/scala/com/github/kxbmap/netty/example/discard/DiscardClientHandler.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kxbmap/netty4-example-scala/HEAD/src/main/scala/com/github/kxbmap/netty/example/discard/DiscardClientHandler.scala -------------------------------------------------------------------------------- /src/main/scala/com/github/kxbmap/netty/example/discard/DiscardServer.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kxbmap/netty4-example-scala/HEAD/src/main/scala/com/github/kxbmap/netty/example/discard/DiscardServer.scala -------------------------------------------------------------------------------- /src/main/scala/com/github/kxbmap/netty/example/discard/DiscardServerHandler.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kxbmap/netty4-example-scala/HEAD/src/main/scala/com/github/kxbmap/netty/example/discard/DiscardServerHandler.scala -------------------------------------------------------------------------------- /src/main/scala/com/github/kxbmap/netty/example/echo/EchoClient.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kxbmap/netty4-example-scala/HEAD/src/main/scala/com/github/kxbmap/netty/example/echo/EchoClient.scala -------------------------------------------------------------------------------- /src/main/scala/com/github/kxbmap/netty/example/echo/EchoClientHandler.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kxbmap/netty4-example-scala/HEAD/src/main/scala/com/github/kxbmap/netty/example/echo/EchoClientHandler.scala -------------------------------------------------------------------------------- /src/main/scala/com/github/kxbmap/netty/example/echo/EchoServer.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kxbmap/netty4-example-scala/HEAD/src/main/scala/com/github/kxbmap/netty/example/echo/EchoServer.scala -------------------------------------------------------------------------------- /src/main/scala/com/github/kxbmap/netty/example/echo/EchoServerHandler.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kxbmap/netty4-example-scala/HEAD/src/main/scala/com/github/kxbmap/netty/example/echo/EchoServerHandler.scala -------------------------------------------------------------------------------- /src/main/scala/com/github/kxbmap/netty/example/factorial/BigIntDecoder.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kxbmap/netty4-example-scala/HEAD/src/main/scala/com/github/kxbmap/netty/example/factorial/BigIntDecoder.scala -------------------------------------------------------------------------------- /src/main/scala/com/github/kxbmap/netty/example/factorial/FactorialClient.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kxbmap/netty4-example-scala/HEAD/src/main/scala/com/github/kxbmap/netty/example/factorial/FactorialClient.scala -------------------------------------------------------------------------------- /src/main/scala/com/github/kxbmap/netty/example/factorial/FactorialClientHandler.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kxbmap/netty4-example-scala/HEAD/src/main/scala/com/github/kxbmap/netty/example/factorial/FactorialClientHandler.scala -------------------------------------------------------------------------------- /src/main/scala/com/github/kxbmap/netty/example/factorial/FactorialClientInitializer.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kxbmap/netty4-example-scala/HEAD/src/main/scala/com/github/kxbmap/netty/example/factorial/FactorialClientInitializer.scala -------------------------------------------------------------------------------- /src/main/scala/com/github/kxbmap/netty/example/factorial/FactorialServer.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kxbmap/netty4-example-scala/HEAD/src/main/scala/com/github/kxbmap/netty/example/factorial/FactorialServer.scala -------------------------------------------------------------------------------- /src/main/scala/com/github/kxbmap/netty/example/factorial/FactorialServerHandler.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kxbmap/netty4-example-scala/HEAD/src/main/scala/com/github/kxbmap/netty/example/factorial/FactorialServerHandler.scala -------------------------------------------------------------------------------- /src/main/scala/com/github/kxbmap/netty/example/factorial/FactorialServerInitializer.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kxbmap/netty4-example-scala/HEAD/src/main/scala/com/github/kxbmap/netty/example/factorial/FactorialServerInitializer.scala -------------------------------------------------------------------------------- /src/main/scala/com/github/kxbmap/netty/example/factorial/NumberEncoder.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kxbmap/netty4-example-scala/HEAD/src/main/scala/com/github/kxbmap/netty/example/factorial/NumberEncoder.scala -------------------------------------------------------------------------------- /src/main/scala/com/github/kxbmap/netty/example/filetransfer/FileServer.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kxbmap/netty4-example-scala/HEAD/src/main/scala/com/github/kxbmap/netty/example/filetransfer/FileServer.scala -------------------------------------------------------------------------------- /src/main/scala/com/github/kxbmap/netty/example/http/helloworld/HttpHelloWorldServer.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kxbmap/netty4-example-scala/HEAD/src/main/scala/com/github/kxbmap/netty/example/http/helloworld/HttpHelloWorldServer.scala -------------------------------------------------------------------------------- /src/main/scala/com/github/kxbmap/netty/example/http/helloworld/HttpHelloWorldServerHandler.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kxbmap/netty4-example-scala/HEAD/src/main/scala/com/github/kxbmap/netty/example/http/helloworld/HttpHelloWorldServerHandler.scala -------------------------------------------------------------------------------- /src/main/scala/com/github/kxbmap/netty/example/http/helloworld/HttpHelloWorldServerInitializer.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kxbmap/netty4-example-scala/HEAD/src/main/scala/com/github/kxbmap/netty/example/http/helloworld/HttpHelloWorldServerInitializer.scala -------------------------------------------------------------------------------- /src/main/scala/com/github/kxbmap/netty/example/http/snoop/HttpSnoopClient.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kxbmap/netty4-example-scala/HEAD/src/main/scala/com/github/kxbmap/netty/example/http/snoop/HttpSnoopClient.scala -------------------------------------------------------------------------------- /src/main/scala/com/github/kxbmap/netty/example/http/snoop/HttpSnoopClientHandler.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kxbmap/netty4-example-scala/HEAD/src/main/scala/com/github/kxbmap/netty/example/http/snoop/HttpSnoopClientHandler.scala -------------------------------------------------------------------------------- /src/main/scala/com/github/kxbmap/netty/example/http/snoop/HttpSnoopClientInitializer.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kxbmap/netty4-example-scala/HEAD/src/main/scala/com/github/kxbmap/netty/example/http/snoop/HttpSnoopClientInitializer.scala -------------------------------------------------------------------------------- /src/main/scala/com/github/kxbmap/netty/example/http/snoop/HttpSnoopServer.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kxbmap/netty4-example-scala/HEAD/src/main/scala/com/github/kxbmap/netty/example/http/snoop/HttpSnoopServer.scala -------------------------------------------------------------------------------- /src/main/scala/com/github/kxbmap/netty/example/http/snoop/HttpSnoopServerHandler.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kxbmap/netty4-example-scala/HEAD/src/main/scala/com/github/kxbmap/netty/example/http/snoop/HttpSnoopServerHandler.scala -------------------------------------------------------------------------------- /src/main/scala/com/github/kxbmap/netty/example/http/snoop/HttpSnoopServerInitializer.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kxbmap/netty4-example-scala/HEAD/src/main/scala/com/github/kxbmap/netty/example/http/snoop/HttpSnoopServerInitializer.scala -------------------------------------------------------------------------------- /src/main/scala/com/github/kxbmap/netty/example/localecho/LocalEcho.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kxbmap/netty4-example-scala/HEAD/src/main/scala/com/github/kxbmap/netty/example/localecho/LocalEcho.scala -------------------------------------------------------------------------------- /src/main/scala/com/github/kxbmap/netty/example/localecho/LocalEchoClientHandler.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kxbmap/netty4-example-scala/HEAD/src/main/scala/com/github/kxbmap/netty/example/localecho/LocalEchoClientHandler.scala -------------------------------------------------------------------------------- /src/main/scala/com/github/kxbmap/netty/example/localecho/LocalEchoServerHandler.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kxbmap/netty4-example-scala/HEAD/src/main/scala/com/github/kxbmap/netty/example/localecho/LocalEchoServerHandler.scala -------------------------------------------------------------------------------- /src/main/scala/com/github/kxbmap/netty/example/objectecho/ObjectEchoClient.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kxbmap/netty4-example-scala/HEAD/src/main/scala/com/github/kxbmap/netty/example/objectecho/ObjectEchoClient.scala -------------------------------------------------------------------------------- /src/main/scala/com/github/kxbmap/netty/example/objectecho/ObjectEchoClientHandler.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kxbmap/netty4-example-scala/HEAD/src/main/scala/com/github/kxbmap/netty/example/objectecho/ObjectEchoClientHandler.scala -------------------------------------------------------------------------------- /src/main/scala/com/github/kxbmap/netty/example/objectecho/ObjectEchoServer.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kxbmap/netty4-example-scala/HEAD/src/main/scala/com/github/kxbmap/netty/example/objectecho/ObjectEchoServer.scala -------------------------------------------------------------------------------- /src/main/scala/com/github/kxbmap/netty/example/objectecho/ObjectEchoServerHandler.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kxbmap/netty4-example-scala/HEAD/src/main/scala/com/github/kxbmap/netty/example/objectecho/ObjectEchoServerHandler.scala -------------------------------------------------------------------------------- /src/main/scala/com/github/kxbmap/netty/example/package.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kxbmap/netty4-example-scala/HEAD/src/main/scala/com/github/kxbmap/netty/example/package.scala -------------------------------------------------------------------------------- /src/main/scala/com/github/kxbmap/netty/example/portunification/PortUnificationServer.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kxbmap/netty4-example-scala/HEAD/src/main/scala/com/github/kxbmap/netty/example/portunification/PortUnificationServer.scala -------------------------------------------------------------------------------- /src/main/scala/com/github/kxbmap/netty/example/portunification/PortUnificationServerHandler.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kxbmap/netty4-example-scala/HEAD/src/main/scala/com/github/kxbmap/netty/example/portunification/PortUnificationServerHandler.scala -------------------------------------------------------------------------------- /src/main/scala/com/github/kxbmap/netty/example/securechat/SecureChatClient.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kxbmap/netty4-example-scala/HEAD/src/main/scala/com/github/kxbmap/netty/example/securechat/SecureChatClient.scala -------------------------------------------------------------------------------- /src/main/scala/com/github/kxbmap/netty/example/securechat/SecureChatClientHandler.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kxbmap/netty4-example-scala/HEAD/src/main/scala/com/github/kxbmap/netty/example/securechat/SecureChatClientHandler.scala -------------------------------------------------------------------------------- /src/main/scala/com/github/kxbmap/netty/example/securechat/SecureChatClientInitializer.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kxbmap/netty4-example-scala/HEAD/src/main/scala/com/github/kxbmap/netty/example/securechat/SecureChatClientInitializer.scala -------------------------------------------------------------------------------- /src/main/scala/com/github/kxbmap/netty/example/securechat/SecureChatKeyStore.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kxbmap/netty4-example-scala/HEAD/src/main/scala/com/github/kxbmap/netty/example/securechat/SecureChatKeyStore.scala -------------------------------------------------------------------------------- /src/main/scala/com/github/kxbmap/netty/example/securechat/SecureChatServer.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kxbmap/netty4-example-scala/HEAD/src/main/scala/com/github/kxbmap/netty/example/securechat/SecureChatServer.scala -------------------------------------------------------------------------------- /src/main/scala/com/github/kxbmap/netty/example/securechat/SecureChatServerHandler.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kxbmap/netty4-example-scala/HEAD/src/main/scala/com/github/kxbmap/netty/example/securechat/SecureChatServerHandler.scala -------------------------------------------------------------------------------- /src/main/scala/com/github/kxbmap/netty/example/securechat/SecureChatServerInitializer.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kxbmap/netty4-example-scala/HEAD/src/main/scala/com/github/kxbmap/netty/example/securechat/SecureChatServerInitializer.scala -------------------------------------------------------------------------------- /src/main/scala/com/github/kxbmap/netty/example/securechat/SecureChatSslContextFactory.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kxbmap/netty4-example-scala/HEAD/src/main/scala/com/github/kxbmap/netty/example/securechat/SecureChatSslContextFactory.scala -------------------------------------------------------------------------------- /src/main/scala/com/github/kxbmap/netty/example/securechat/SecureChatTrustManagerFactory.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kxbmap/netty4-example-scala/HEAD/src/main/scala/com/github/kxbmap/netty/example/securechat/SecureChatTrustManagerFactory.scala --------------------------------------------------------------------------------