Class CallDecompilerAgent

java.lang.Object
org.jrd.backend.communication.CallDecompilerAgent
All Implemented Interfaces:
JrdAgent

public class CallDecompilerAgent extends Object implements JrdAgent
This class is handling opening of communication socket and request submitting.
  • Field Details

  • Constructor Details

    • CallDecompilerAgent

      public CallDecompilerAgent(int port, String host)
      Constructor of the object
      Parameters:
      port - port where to open socket
      host - socket host
  • Method Details

    • submitRequest

      public String submitRequest(String request)
      Opens a socket and sends the request to the agent via socket.
      Specified by:
      submitRequest in interface JrdAgent
      Parameters:
      request - either "CLASSES" or "BYTES \n className", other formats are refused
      Returns:
      agents response or null