protected Server getServer() {
        HostedServiceManager hsm = getServiceManager();
        return hsm == null ? null : hsm.getServer();
    }
Returns the server for this hosted service or null if
 the service is not yet attached.
jme3-networking/src/main/java/com/jme3/network/service/AbstractHostedService.java