Example #1
0
        public Boolean distributedWrite(String iD, String message)
        { // perform distributed read operations
            NetworkBean data = new NetworkBean();

            // input.nextLine();

            data.setDistributedStringVariable(data.getDistributedStringVariable() + message);
            return(true);
        }
Example #2
0
        public String distributedRead(String iD)
        { // perform distributed read operations
            NetworkBean data = new NetworkBean();

            return(data.getDistributedStringVariable());
        }