23 print(
'Usage : RecvStream2.py <COPPER hostname> <Use NSM(Network Shared Memory)? yes=1/no=0> <port # of eb0> <NSM nodename>')
27b2.set_log_level(b2.LogLevel.INFO)
30processor = b2.register_module(
'DesSerPrePCMain')
33processor.param(
'HostNameFrom', argvs[1])
34processor.param(
'PortTo', int(argvs[3]))
36processor.param(
'NodeID', 3)
37processor.param(
'NodeName', argvs[4])
38use_shm_flag = int(argvs[2])
39processor.param(
'UseShmFlag', use_shm_flag)
42main = b2.create_path()
45main.add_module(processor)