public void setAutoHost( boolean b ) {
        this.autoHost = b;
    }
Set to true if all new connections should automatically have RMI hosting started.
 Set to false if the game-specific connection setup will call startHostingOnConnection()
 after some connection setup is done (for example, logging in).  Note: generally
 is safe to autohost RMI as long as callers are careful about what they've added
 using shareGlobal().  One reasonable use-case is to shareGlobal() some kind of login
 service and nothing else.  All other shared objects would then be added as
 connection-specific objects during successful login processing.
jme3-networking/src/main/java/com/jme3/network/service/rmi/RmiHostedService.java