YAACC - UPNP Client and Server
Loading...
Searching...
No Matches
Public Member Functions | List of all members
org.fourthline.cling.binding.LocalServiceBinder Interface Reference

Reads org.fourthline.cling.model.meta.LocalService metadata given a Java class. More...

Inheritance diagram for org.fourthline.cling.binding.LocalServiceBinder:
Inheritance graph
Collaboration diagram for org.fourthline.cling.binding.LocalServiceBinder:
Collaboration graph

Public Member Functions

LocalService read (Class<?> clazz) throws LocalServiceBindingException
 
LocalService read (Class<?> clazz, ServiceId id, ServiceType type, boolean supportsQueryStateVariables, Class[] stringConvertibleTypes) throws LocalServiceBindingException
 

Detailed Description

Reads org.fourthline.cling.model.meta.LocalService metadata given a Java class.

Author
Christian Bauer

Member Function Documentation

◆ read() [1/2]

LocalService org.fourthline.cling.binding.LocalServiceBinder.read ( Class<?>  clazz) throws LocalServiceBindingException
Parameters
clazzThe Java class that is the source of the service metadata.
Returns
The produced metadata.
Exceptions
LocalServiceBindingExceptionIf binding failed.

Implemented in org.fourthline.cling.binding.annotations.AnnotationLocalServiceBinder.

◆ read() [2/2]

LocalService org.fourthline.cling.binding.LocalServiceBinder.read ( Class<?>  clazz,
ServiceId  id,
ServiceType  type,
boolean  supportsQueryStateVariables,
Class[]  stringConvertibleTypes 
) throws LocalServiceBindingException
Parameters
clazzThe Java class that is the source of the service metadata.
idThe pre-defined identifier of the service.
typeThe pre-defined type of the service.
supportsQueryStateVariablestrue if the service should support the deprecated "query any state variable value" action.
stringConvertibleTypesA list of Java classes which map directly to string-typed UPnP state variables.
Returns
The produced metadata.
Exceptions
LocalServiceBindingExceptionIf binding failed.

Implemented in org.fourthline.cling.binding.annotations.AnnotationLocalServiceBinder.


The documentation for this interface was generated from the following file: