public interface LocalServiceBinder
LocalService
metadata given a Java class.Modifier and Type | Method and Description |
---|---|
LocalService |
read(Class<?> clazz) |
LocalService |
read(Class<?> clazz,
ServiceId id,
ServiceType type,
boolean supportsQueryStateVariables,
Class[] stringConvertibleTypes) |
LocalService read(Class<?> clazz) throws LocalServiceBindingException
clazz
- The Java class that is the source of the service metadata.LocalServiceBindingException
- If binding failed.LocalService read(Class<?> clazz, ServiceId id, ServiceType type, boolean supportsQueryStateVariables, Class[] stringConvertibleTypes) throws LocalServiceBindingException
clazz
- The Java class that is the source of the service metadata.id
- The pre-defined identifier of the service.type
- The pre-defined type of the service.supportsQueryStateVariables
- true
if the service should support the
deprecated "query any state variable value" action.stringConvertibleTypes
- A list of Java classes which map directly to string-typed
UPnP state variables.LocalServiceBindingException
- If binding failed.Copyright © 2016 4th Line GmbH, Switzerland. All rights reserved.