Skip to content

Latest commit

 

History

History
51 lines (37 loc) · 874 Bytes

README.md

File metadata and controls

51 lines (37 loc) · 874 Bytes

COMPUTATION SERVER USING SYNCHRONIZATION RPC

Supporting Operations

  • ADD
  • SORT

Starting server

1.Open Terminal
2.Go to Downloaded Project Directory

Perform the below operation to start the server

	1.cd DSCode/SynchronousComputationServer
	2.javac *.java
	3.java ComputationServer

Server Start Output

Screenshot

Starting Client

Open New Terminal and perform below operations

	1.cd DSCode/SynchronousComputationServer
	2.javac *.java

Performing Operations

1.ADD

Run the below command to perform ADD operation.

java ComputationClient ADD 4 5       

OUTPUT

Screenshot

2.SORT

Run the below command to perform SORT operation.

java ComputationClient SORT 4        

Above command ask you to enter the 4 elemnts to sort

OUTPUT

Screenshot