class Client {
    @SuppressForbidden(reason = "Using System.out in a demo class")
    public static void main(String[] args) throws IOException, MalformedObjectNameException, ReflectionException,
            InstanceNotFoundException, MBeanException, AttributeNotFoundException {<FILL_FUNCTION_BODY>}
}


        // The address of the connector server
        JMXServiceURL address = new JMXServiceURL("service:jmx:rmi:///jndi/rmi://localhost:8888/server");
        // Map for custom properties key values
        Map<String, ?> environment = null;
        // Create the JMXCconnectorServer
        JMXConnector cntor = JMXConnectorFactory.connect(address, environment);
        // Obtain a "stub" for the remote MBeanServer
        MBeanServerConnection mbsc = cntor.getMBeanServerConnection();

        // Here we can obtain all the domains and there would be one called oshi, meaning
        // that is the one that we registered into our MbeanServer related with the
        // baseboard
        ObjectName objectQuery = new ObjectName("oshi:component=BaseBoard");
        PropertiesAvailable mBean = MBeanServerInvocationHandler.newProxyInstance(mbsc, objectQuery,
                PropertiesAvailable.class, false);

        List<String> mBeanInfo = mBean.getProperties();

        System.out.println(mbsc.getAttribute(objectQuery, mBeanInfo.get(1)));
        System.out.println(mbsc.getAttribute(objectQuery, mBeanInfo.get(2)));
        System.out.println(mbsc.getAttribute(objectQuery, mBeanInfo.get(3)));
        System.out.println(mbsc.getAttribute(objectQuery, mBeanInfo.get(4)));

    
<no_super_class>