Class AgentLoader


  • public class AgentLoader
    extends java.lang.Object
    This class contains methods for attaching the agent.
    • Constructor Summary

      Constructors 
      Constructor Description
      AgentLoader()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int attach​(int pid)
      This method handles the attachment of a decompiler agent to given VM.
      private java.lang.String[] createProperties​(int port)  
      private int findPort()  
      • Methods inherited from class java.lang.Object

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

      • AgentLoader

        AgentLoader()
    • Method Detail

      • 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 java.lang.String[] createProperties​(int port)