question: public JdpJmxPacket ( byte [ ] data ) throws JdpException { JdpPacketReader reader ; reader = new JdpPacketReader ( data ) ; Map < String , String > p = reader . getDiscoveryDataAsMap ( ) ; String sId = p . get ( UUID_KEY ) ; this . id = ( sId == null ) ? null : UUID . fromString ( sId ) ; this . jmxServiceUrl = p . get ( JMX_SERVICE_URL_KEY ) ; this . mainClass = p . get ( MAIN_CLASS_KEY ) ; this . instanceName = p . get ( INSTANCE_NAME_KEY ) ; this . processId = p . get ( PROCESS_ID_KEY ) ; this . rmiHostname = p . get ( RMI_HOSTNAME_KEY ) ; this . broadcastInterval = p . get ( BROADCAST_INTERVAL_KEY ) ; }
target:  Create new instance from network data Parse packet and set fields.