code: def create(self, msgtype, *args, **kwargs):
          ''' Create a new Message instance for the given type.
  
          Args:
              msgtype (str) :
  
          '''
          if msgtype not in self._messages:
              raise ProtocolError("Unknown message type %r for protocol version %s" % (msgtype, self._version))
          return self._messages[msgtype].create(*args, **kwargsf create(self, msgtype, *args, **kwargs):
          ''' Create a new Message instance for the given type.
  
          Args:
              msgtype (str) :
  
          '''
          if msgtype not in self._messages:
              raise ProtocolError("Unknown message type %r for protocol version %s" % (msgtype, self._version))
          return self._messages[msgtype].create(*args, **kwargs)
docs: Create a new Message instance for the given type.
  
          Args:
              msgtype (str) :