Package org.zper.server

Examples of org.zper.server.ZPWriter


        context = new ZContext();
        // fix lazy creation
        context.setContext(ZMQ.context(Integer.parseInt(conf.getProperty("io_threads", "1"))));


        ZPWriter writer = new ZPWriter(context, conf);
        ZPReader reader = new ZPReader(context, conf);

        try {
            writer.start();
            reader.start();
        } finally {
            writer.shutdown();
            reader.shutdown();

            destoryed = true;
        }
    }
View Full Code Here

TOP

Related Classes of org.zper.server.ZPWriter

Copyright © 2018 www.massapicom. 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.