Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)
@summary: Marshals data using a simple string: HEADER+SIZE+DATA package.

src/p/y/PyRQ-0.4.1/PyRQ/Core/Marshal/MarshallerFactory.py   PyRQ(Download)
'''
 
from PyRQ.Core.Marshal.DefaultMarshaller import DefaultMarshaller
from PyRQ.Core.Marshal.UnknownMarshallerError import UnknownMarshallerError
 
    def get(name, **kwargs):
        if name==MarshallerFactory.DEFAULT:
            return DefaultMarshaller(name, **kwargs)
        raise UnknownMarshallerError(name)