Service getRequiredService(DOMString service_name)

Get a required service. The connection to the service has been established over an unencrypted channel.

Parameter Description
service_name Name of a service.

This method returns on success an instance of the Service class. The return value is null If the service_name is not defined in the spacelets open services.

copyright © 2014