Package mephi.cybernetics.dhcn.nodes.messagemanager

Examples of mephi.cybernetics.dhcn.nodes.messagemanager.NodeMessageManagerSocket


        this.solvers.addSolver(Config.MATRIX_MULT_NUM);
        this.solvers.addSolver(Config.VECTOR_MULT_NUM);
        this.solvers.addSolver(Config.NUM_MULT_NUM);
        this.solvers.addSolver(Config.NUM_PLUS_NUM);
       
        this.sender = new NodeMessageManagerSocket(ip, port, localIp, localPort, Config.NODE_SOLVER, this.solvers.getTaskTypes());
        System.out.println("Connect");
        this.id = (Integer)sender.readData();
        System.out.println("Id: " + this.id);
    }
View Full Code Here


   
   
    public Client(String ip, int port, String localIp, int localPort)
    {
        this.sender = new NodeMessageManagerSocket(ip, port, localIp, localPort, Config.NODE_CLIENT, this.taskTypes);
        System.out.println("Connect");
        this.id = (Integer)sender.readData();
        System.out.println("Id: " + this.id);
    }
View Full Code Here

TOP

Related Classes of mephi.cybernetics.dhcn.nodes.messagemanager.NodeMessageManagerSocket

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.