Last active
August 29, 2015 14:17
-
-
Save jbrisbin/b8057e7041a4e5da0c80 to your computer and use it in GitHub Desktop.
Example RIPC server wiring using Reactor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ReactorTcpServer.listen(3000, ByteBuf.class) | |
.log("connection") | |
.consume(conn -> conn.out(conn.in().log("in")) | |
.log("confirmation") | |
.consume(buf -> LOG.info("write confirmed: {}", buf))); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment