Package brisa :: Package upnp :: Package control_point :: Module service :: Class ServiceBuilder
[hide private]
[frames] | no frames]

Class ServiceBuilder

source code

                             object --+    
                                      |    
base_service_builder.BaseServiceBuilder --+
                                          |
                                         ServiceBuilder

Instance Methods [hide private]
bool
build(self)
Builds a service given a file descriptor containing the SCPD XML.
source code
BaseArgument
_create_argument(self, arg_name, arg_direction, arg_state_var)
Factory method that creates an action argument.
source code
BaseAction
_create_action(self, name, args)
Factory method that creates a service action.
source code
BaseStateVariable
_create_state_var(self, name, send_events, multicast, data_type, values)
Factory method that creates a service state variable.
source code

Inherited from base_service_builder.BaseServiceBuilder: __init__

Inherited from base_service_builder.BaseServiceBuilder (private): _build_service, _parse_actions, _parse_description, _parse_variables

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

build(self)

source code 

Builds a service given a file descriptor containing the SCPD XML.

Returns: bool
True if service build succeeded, otherwise False.
Overrides: base_service_builder.BaseServiceBuilder.build
(inherited documentation)

_create_argument(self, arg_name, arg_direction, arg_state_var)

source code 

Factory method that creates an action argument.

Returns: BaseArgument
The argument object.
Overrides: base_service_builder.BaseServiceBuilder._create_argument
(inherited documentation)

_create_action(self, name, args)

source code 

Factory method that creates a service action.

Returns: BaseAction
The action object.
Overrides: base_service_builder.BaseServiceBuilder._create_action
(inherited documentation)

_create_state_var(self, name, send_events, multicast, data_type, values)

source code 

Factory method that creates a service state variable.

Returns: BaseStateVariable
The state variable object.
Overrides: base_service_builder.BaseServiceBuilder._create_state_var
(inherited documentation)