Kamaelia.NullPayloadRTP.NullPayloadPreFramer

class NullPayloadPreFramer(Axon.Component.component)

Inboxes:
control -> File select, file read control, framing control recvsrc -> Block/Chunks of raw disk data
Outboxes:
activatesrc -> Control messages to the file reading subsystem output -> The framed data, payload ready

Inboxes

Outboxes

Methods defined here

Warning!

    You should be using the inbox/outbox interface, not these methods (except construction). This documentation is designed as a roadmap as to their functionalilty for maintainers and new component developers.

__init__(self, sourcename, sourcebitrate, chunksize)

closeDownComponent(self)

No closedown/shutdown code

handleControl(self)

returns quit flag - True means quit

handleShutdown(self)

initialiseComponent(self)

No initialisation

mainBody(self)

Loopbody:

makeChunk(self, datatosend)

C.makeChunk(datatosend) -> chunk : network ready data

sendCurrentChunk(self, sendpartial)

updateTimestamp(self, datatosend)

C.updateTimestamp(datatosend)

self.timestamp stores the timestamp of the end of the most recently transmitted data, whenever we send some data this timestamp needs to be updated. This method represents the calculation involved. (calculate the time period the data covers, and increment the timestamp)

Feedback

Got a problem with the documentation? Something unclear, could be clearer? Want to help with improving? Constructive criticism, preferably in the form of suggested rewording is very welcome.

Please leave the feedback here, in reply to the documentation thread in the Kamaelia blog.


(C) 2006 Kamaelia Contributors, including the British Broadcasting Corporation, All Rights Reserved, This is an ongoing community based development site. As a result the contents of this page is the opinions of the contributors of the pages involved not the organisations involved. Specificially, this page may contain personal views which are not the views of the BBC.