text: #
  # This file is part of pysnmp software.
  #
  # Copyright (c) 2005-2016, Ilya Etingof <ilya@glas.net>
  # License: http://pysnmp.sf.net/license.html
  #
  from pyasn1.type import univ, namedtype, namedval
  from pysnmp.proto import rfc1905
  
  _version = univ.Integer(namedValues=namedval.NamedValues(('version-2c', 1)))
  
  class Message(univ.Sequence):
      componentType = namedtype.NamedTypes(
          namedtype.NamedType('version', _version),
          namedtype.NamedType('community', univ.OctetString()),
          namedtype.NamedType('data', rfc1905.PDUs())
      )
  