Package org.sim0mq.test.dealerrouter
Class DealerRouter
- java.lang.Object
-
- org.sim0mq.test.dealerrouter.DealerRouter
-
public final class DealerRouter extends Object
0MQ DEALER-ROUTER example. Based on http://zguide.zeromq.org/java:asyncsrv or in the JeroMQ example at https://github.com/zeromq/jeromq/blob/master/src/test/java/guide/asyncsrv.java.
In the 0MQ manual this example can be found at http://zguide.zeromq.org/page:all#The-Asynchronous-Client-Server-Pattern.Copyright (c) 2013-2017 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See Sim0MQ License.- Author:
- Alexander Verbraeck
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
DealerRouter.ClientTask
This is our client task.(package private) static class
DealerRouter.ServerTask
This is our server task.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
main(String[] args)
The main thread simply starts several clients, and a server, and then waits for the server to finish.
-