45 deserializer = b2.register_module(
'StorageDeserializer')
46 deserializer.param(
'InputBufferName', argv[1])
47 deserializer.param(
'InputBufferSize', int(argv[2]))
49 deserializer.param(
'NodeName', argv[5])
50 deserializer.param(
'NodeID', int(argv[6]))
51 deserializer.param(
'UseShmFlag', int(argv[7]))
52 deserializer.param(
'EB2', int(argv[8]))
53 output = b2.register_module(
'StorageSerializer')
54 output.param(
'OutputBufferName', argv[3])
55 output.param(
'OutputBufferSize', int(argv[4]))
56 output.param(
'NodeID', int(argv[6]))
57 output.param(
'compressionLevel', 0)
60 main = b2.create_path()
63 main.add_module(deserializer)
64 main.add_module(output)