Class CallDecompilerAgent

  • All Implemented Interfaces:
    JrdAgent

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

      • CallDecompilerAgent

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

      • 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