예제 #1
0
 def default_framer(self):
     # overridden so that max_size can be customized
     max_size = int(self.interface.network.config.get('network_max_incoming_msg_size',
                                                      MAX_INCOMING_MSG_SIZE))
     return NewlineFramer(max_size=max_size)
예제 #2
0
 def default_framer(self):
     # overridden so that max_size can be customized
     return NewlineFramer(max_size=MAX_INCOMING_MSG_SIZE)