public class OperationServer extends Object
Operations from remote calls. The client should simply send a class implementing the
Operationinterface serialized through a socket connection. Obviously, the class must exist also in the server's classpath. The server will then simply call
Operation.execute()on the operation, and send the resulting object back in the socket, serialized. If an exception occurs during the operation execution, nothing is returned and the socket connection is closed.
Copyright © 2017. All rights reserved.