Examples of ZeroMQClientSocketOptions


Examples of reactor.net.zmq.ZeroMQClientSocketOptions

  public Promise<NetChannel<T, T>> createClient(String addrs, int socketType) {
    Assert.isTrue(!shutdown, "This ZeroMQ instance has been shut down");

    TcpClient<T, T> client = new TcpClientSpec<T, T>(ZeroMQTcpClient.class)
        .env(env).dispatcher(dispatcher).codec(codec)
        .options(new ZeroMQClientSocketOptions()
                     .context(zmqCtx)
                     .connectAddresses(addrs)
                     .socketType(socketType))
        .get();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.