Class AgentLoader

java.lang.Object
org.jrd.backend.core.AgentLoader

public class AgentLoader extends Object
This class contains methods for attaching the agent.
  • Field Details

  • Constructor Details

    • AgentLoader

      AgentLoader()
  • Method Details

    • attach

      public int attach(int pid)
      This method handles the attachment of a decompiler agent to given VM.
      Parameters:
      pid - PID of the VM
      Returns:
      port number if successful, else INVALID_PORT
    • findPort

      private int findPort()
    • createProperties

      private String[] createProperties(int port)