Previous topic

exc

Next topic

helpers

This Page

factory

class pyogp.lib.base.message.factory.MessageFactory
add_data(var_name, data, data_type)
the data type is passed in to make sure that the programmer is aware of what type (and therefore size) of the data that is being passed in.
new_message(message_name)
Creates a new packet where data can be added to it. Note, the variables are added when they are used, or data added to them, so to make sure no bad data is sent over the network.
next_block(block_name)