Skip to content
This repository has been archived by the owner on May 15, 2020. It is now read-only.

Latest commit

 

History

History
40 lines (27 loc) · 586 Bytes

README.markdown

File metadata and controls

40 lines (27 loc) · 586 Bytes

Ping Pong Server

1) Create a mu-server project by using this g8 template:

sbt new higherkindness/mu-server.g8

2) Publish the protocol and run the server by:

sbt publishLocal runServer

3) Create a mu-client project by using this g8 template:

sbt new higherkindness/mu-client.g8

4) Then run the client:

sbt runClient

5) You will see:

In the server:

INFO  - PingPongServer - Starting server at localhost:9111
INFO  - PingPongService - Request: Ping(Ping!)

In the client:

INFO  - The response is: Pong!