public static void serve(){
				StorageHandler s=new StorageHandler();
				Storage.Processor p=new Storage.Processor(s);
				
				ZMQ.Context c=new ZMQ.Context();
				
				TZmqServer tzs=new TZmqServer(p,c,"tcp://127.0.0.1:9090",ZMQ.SocketType.PAIR);
				tzs.Serve();
			}
예제 #2
0
            public static void serve()
            {
                StorageHandler s = new StorageHandler();

                Storage.Processor p = new Storage.Processor(s);

                ZMQ.Context c = new ZMQ.Context();

                TZmqServer tzs = new TZmqServer(p, c, "tcp://127.0.0.1:9090", ZMQ.SocketType.PAIR);

                tzs.Serve();
            }