Package org.sim0mq.demo
Class Server
- java.lang.Object
-
- org.sim0mq.demo.Server
-
public final class Server extends Object
Server example for JeroMQ / ZeroMQ.(c) copyright 2015-2020 Delft University of Technology.
BSD-style license. See DSOL License.- Version:
- Oct 21, 2016
- Author:
- Alexander Verbraeck
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static classServer.Worker
-
Constructor Summary
Constructors Constructor Description Server()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ZContextgetContext()ZMQ.SocketgetResponder()static voidmain(String[] args)
-
-
-
Method Detail
-
getContext
public ZContext getContext()
- Returns:
- context
-
getResponder
public ZMQ.Socket getResponder()
- Returns:
- responder
-
main
public static void main(String[] args) throws Sim0MQException, SerializationException
- Parameters:
args- command line arguments- Throws:
Sim0MQException- on errorSerializationException- on serialization problem
-
-