public <T> T getRemoteObject( Class<T> type ) {
        return getRemoteObject(type.getName(), type);
    }
Looks up a remote object by type and returns a local proxy to the remote object 
 that was shared on the other end of the network connection.  If this is called 
 from a client then it is accessing a shared object registered on the server.  
 If this is called from the server then it is accessing a shared object registered 
 on the client.
jme3-networking/src/main/java/com/jme3/network/service/rmi/RmiRegistry.java