Class e.p.w.s.StreamzapInput(PushInputProvider):

Part of elisa.plugins.winremote.streamzap_input View In Hierarchy

This class implements Streamzap remote control support for win32
Line # Kind Name Docs
55 Method initialize Initialize the component.
72 Method unbind Unsubscribe from the input device
75 Method create_input_event Translate external input data to an InputEvent object,
62 Method _viewport_created Undocumented
68 Method _got_win32_message Undocumented

Inherited from PushInputProvider:

Line # Kind Name Docs
73 Method clean Additional cleanups to default Component's cleanup:
80 Method bind Subscribe to the input device

Inherited from Component (via PushInputProvider, InputProvider):

Line # Kind Name Docs
85 Class PathDescriptor Undocumented
97 Class Method create Create and initialize the component.

Inherited from Loggable (via PushInputProvider, InputProvider, Component):

Line # Kind Name Docs
81 Method __init__ Undocumented
def initialize(self):
Initialize the component.

This method is called by Component.create to finish the initialization of a component.

Returnsa deferred called when a component is fully initialized (type: twisted.internet.defer.Deferred )
def _viewport_created(self, msg, sender):
Undocumented
def _got_win32_message(self, frontend, event):
Undocumented
def unbind(self):
Unsubscribe from the input device

This can be done by disconnecting our handlers from the external component signals or unregistering the local callback previously registered by the register() method.

This method must be overriden by implementation because it's totally dependent on the infrastructure used by the input device the component supports.

def create_input_event(self, msg, wparam, lparam):
Translate external input data to an InputEvent object, understandable by the InputManager. This method has to be overriden by InputProvider implementations. This method is called by InputProvider implementations.
Parametersdatathe data to translate, can be of any type
Returnselisa.core.input_event.InputEvent
API Documentation for Elisa Media Center, generated by pydoctor at 2009-02-16 19:15:05.