Class CallDecompilerAgent

  • All Implemented Interfaces:
    JrdAgent

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

      Constructors 
      Constructor Description
      CallDecompilerAgent​(int port, java.lang.String host)
      Constructor of the object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String submitRequest​(java.lang.String request)
      Opens a socket and sends the request to the agent via socket.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • port

        private final int port
      • address

        private final java.lang.String address
    • Constructor Detail

      • CallDecompilerAgent

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

      • submitRequest

        public java.lang.String submitRequest​(java.lang.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