diff -Nru mono-2.4.0/debian/autogen.sh /tmp/whXnmORr8x/mono-2.4+dfsg/debian/autogen.sh --- mono-2.4.0/debian/autogen.sh 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/autogen.sh 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,142 @@ +#!/bin/sh +# Run this to generate all the initial makefiles, etc. +# Ripped off from GNOME macros version + +DIE=0 + +srcdir=`dirname $0` +test -z "$srcdir" && srcdir=. + +if [ -n "$MONO_PATH" ]; then + # from -> /mono/lib:/another/mono/lib + # to -> /mono /another/mono + for i in `echo ${MONO_PATH} | tr ":" " "`; do + i=`dirname ${i}` + if [ -n "{i}" -a -d "${i}/share/aclocal" ]; then + ACLOCAL_FLAGS="-I ${i}/share/aclocal $ACLOCAL_FLAGS" + fi + if [ -n "{i}" -a -d "${i}/bin" ]; then + PATH="${i}/bin:$PATH" + fi + done + export PATH +fi + +(autoconf --version) < /dev/null > /dev/null 2>&1 || { + echo + echo "**Error**: You must have \`autoconf' installed to compile Mono." + echo "Download the appropriate package for your distribution," + echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/" + DIE=1 +} + +if [ -z "$LIBTOOL" ]; then + LIBTOOL=`which glibtool 2>/dev/null` + if [ ! -x "$LIBTOOL" ]; then + LIBTOOL=`which libtool` + fi +fi + +(grep "^AM_PROG_LIBTOOL" $srcdir/configure.in >/dev/null) && { + ($LIBTOOL --version) < /dev/null > /dev/null 2>&1 || { + echo + echo "**Error**: You must have \`libtool' installed to compile Mono." + echo "Get ftp://ftp.gnu.org/pub/gnu/libtool-1.2d.tar.gz" + echo "(or a newer version if it is available)" + DIE=1 + } +} + +grep "^AM_GNU_GETTEXT" $srcdir/configure.in >/dev/null && { + grep "sed.*POTFILES" $srcdir/configure.in >/dev/null || \ + (gettext --version) < /dev/null > /dev/null 2>&1 || { + echo + echo "**Error**: You must have \`gettext' installed to compile Mono." + echo "Get ftp://alpha.gnu.org/gnu/gettext-0.10.35.tar.gz" + echo "(or a newer version if it is available)" + DIE=1 + } +} + +(automake --version) < /dev/null > /dev/null 2>&1 || { + echo + echo "**Error**: You must have \`automake' installed to compile Mono." + echo "Get ftp://ftp.gnu.org/pub/gnu/automake-1.3.tar.gz" + echo "(or a newer version if it is available)" + DIE=1 + NO_AUTOMAKE=yes +} + + +# if no automake, don't bother testing for aclocal +test -n "$NO_AUTOMAKE" || (aclocal --version) < /dev/null > /dev/null 2>&1 || { + echo + echo "**Error**: Missing \`aclocal'. The version of \`automake'" + echo "installed doesn't appear recent enough." + echo "Get ftp://ftp.gnu.org/pub/gnu/automake-1.3.tar.gz" + echo "(or a newer version if it is available)" + DIE=1 +} + +if test "$DIE" -eq 1; then + exit 1 +fi + +if test -z "$*"; then + echo "**Warning**: I am going to run \`configure' with no arguments." + echo "If you wish to pass any to it, please specify them on the" + echo \`$0\'" command line." + echo +fi + +case $CC in +xlc ) + am_opt=--include-deps;; +esac + + +if grep "^AM_PROG_LIBTOOL" configure.in >/dev/null; then + if test -z "$NO_LIBTOOLIZE" ; then + echo "Running libtoolize..." + ${LIBTOOL}ize --force --copy + fi +fi + +echo "Running aclocal $ACLOCAL_FLAGS ..." +aclocal $ACLOCAL_FLAGS || { + echo + echo "**Error**: aclocal failed. This may mean that you have not" + echo "installed all of the packages you need, or you may need to" + echo "set ACLOCAL_FLAGS to include \"-I \$prefix/share/aclocal\"" + echo "for the prefix where you installed the packages whose" + echo "macros were not found" + exit 1 +} + +if grep "^AM_CONFIG_HEADER" configure.in >/dev/null; then + echo "Running autoheader..." + autoheader || { echo "**Error**: autoheader failed."; exit 1; } +fi + +echo "Running automake --gnu $am_opt ..." +automake --add-missing --gnu $am_opt || + { echo "**Error**: automake failed."; exit 1; } +echo "Running autoconf ..." +autoconf || { echo "**Error**: autoconf failed."; exit 1; } + +if test -d $srcdir/libgc; then + echo Running libgc/autogen.sh ... + (cd $srcdir/libgc ; NOCONFIGURE=1 ./autogen.sh "$@") + echo Done running libgc/autogen.sh ... +fi + + +conf_flags="--enable-maintainer-mode --enable-compile-warnings" #--enable-iso-c + +if test x$NOCONFIGURE = x; then + echo Running $srcdir/configure $conf_flags "$@" ... + $srcdir/configure $conf_flags "$@" \ + && echo Now type \`make\' to compile $PKG_NAME || exit 1 +else + echo Skipping configure process. +fi diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/changelog /tmp/whXnmORr8x/mono-2.4+dfsg/debian/changelog --- mono-2.4.0/debian/changelog 2009-05-31 08:36:14.000000000 +0100 +++ mono-2.4+dfsg/debian/changelog 2009-05-31 08:36:21.000000000 +0100 @@ -1,53 +1,443 @@ -mono (2.4.0-0ppa7) jaunty; urgency=low +mono (2.4+dfsg-2~ppa~jaunty) jaunty; urgency=low - * Add information to help mono-debugger build properly + * Upload to PPA - -- Michael B. Trausch Mon, 27 Apr 2009 16:17:30 -0400 + -- Joseph Smidt Sat, 30 May 2009 23:51:07 -0700 -mono (2.4.0-0ppa6) jaunty; urgency=low +mono (2.4+dfsg-2) unstable; urgency=low - * Fix alternatives link for c-sharp-compiler + [ Jo Shields ] + * debian/rules: + + Implement workaround to force removal of /usr/share/doc symlinks + on Ubuntu systems when upgrading from pre-2.4 packages + * debian/control: + + Add dependency on lsb-release to allow distro detection + + [ Mirco Bauer ] + * Upload to unstable. + * debian/update-shlibs.local.sh: + + Fixed shlibs line of libMonoPosixHelper, was causing incorrect + dependencies on libmono0 instead of mono-runtime. + + Added shlibs line for libMonoSupportW. + * debian/monodoc-base.install: + + Added missing monodoc development symlink. + * debian/mono-1.0-devel.install + debian/mono-2.0-devel.install: + + Added installutil.exe. + * debian/mono-csharp-shell.install: + + Added missing Mono.CSharp development symlink. + * debian/libmono-messaging2.0-cil.install: + + Really install library and development symlink of Mono.Messaging. + * debian/libmono-management2.0-cil.install: + + Added missing Mono.Management development symlink. + * debian/mono-devel.install: + + Install mcs mo-files. + + -- Mirco Bauer Sun, 24 May 2009 15:23:14 +0200 + +mono (2.4+dfsg-1) experimental; urgency=low + + * New upstream release. + + For release highlights see the NEWS.Debian file + * debian/NEWS: + + Updated for Mono 2.4, Mono 2.2 and Mono 2.0. + * DFSG edition of Mono 2.4 as the source taball contained a binary that is + not part of the bootstrapping process (docs/AgilityPack.dll) and is CC + Share-alike 2.5 licensed (non-free). Also it contained non-free + specification files needed by the RabbitMQ.Client library. + * debian/README.source: + + Mention which files we removed and how to create the tarball we use. + + Document which binaries are required to bootstrap the C# compiler. + * debian/rules: + + Made get-orig-source policy conform (by using . as output path). + + Dropped --with-oprofile from configure call as debian doesn't ship the + needed header files for it. + + Pass --with-moonlight=no to configure call as the moon source package + will ship the assemblies with the release containing Silverlight 2.0 + support. + + Build MonoGetAssemblyName using gmcs instead of mcs. + + Don't allow dh_clideps to add mono-runtime dependencies to + mono-1.0/2.0-gac to prevent circular dependency hell. (Closes: #528090) + + Added missing non-stamp/files targets to .PHONY. + + Only pass mono/2.0 to MONO_PATH in RUN_MONO variable, else gmcs.exe + picks up the 1.0 corlib. + + Bumped clilibs of libmono-cairo{1.0,2.0}-cil, libmono-data{1.0,2.0}-cil, + libmono-data-tds{1.0,2.0}-cil, libmono-oracle2.0-cil, + libmono-posix{1.0,2.0}-cil, libmono-relaxng{1.0,2.0}-cil, + libmono-system2.0-cil, libmono-system-runtime2.0-cil, libmono-web2.0-cil, + libmono-winforms2.0-cil and libmono-webbrowser0.5-cil. + + Install upstream changelog and debian news only in the mono-runtime + package. + * debian/cli-wrapper.c + + Dropped as this wrapper is obsolete since mono 1.1.6-1. + * debian/patches/kfreebsd_support.dpatch + debian/patches/build_genxs_2.0.dpatch: + + Updated to cleanly apply again. + * debian/patches/fix_wsdl2_duplicate_keys_r117243.dpatch + debian/patches/fix_NetworkInterface_exception_r120282.dpatch + debian/patches/fix_TcpClient_IPv6_r122598.dpatch: + + Dropped, already applied upstream. + * debian/patches/armel_fix_configure_fpu_check.dpatch: + + Only patch configure.in, autoreconf takes care of configure. + * debian/patches/armel-glibc-2.8.dpatch: + + Dropped, fixed upstream in a different way. + * debian/patches/fix_NetworkInterface_endless_loop.dpatch: + + Fix loop by setting next item. (Closes: #519480) + * debian/libmono-system-web2.0-cil.install: + + Added system.web.extensions_1.0.pc and + system.web.extensions.design_1.0.pc. + * debian/libmono2.0-cil.install: + + Added mono.web.pc. + * debian/control: + debian/patches/99_autoreconf.dpatch: + + Added autoconf to build-deps, as we autoreconf in debian/rules now. + + Dropped autoreconf dpatch. + * debian/control: + + Updated Vcs-* fields for the migrated git repository. + + Added new mono-csharp-shell package. + + mono-devel recommends mono-csharp-shell now (very useful for + debugging). + + Added new libmono-management2.0-cil, libmono-messaging2.0-cil, + libmono-simd2.0-cil and libmono-wcf3.0-cil packages. + + Merged monodoc-base and monodoc-manual packages from the monodoc source + package. + + Dropped mono-smcs, libmono-corlib2.1-cil and libmono-system2.1-cil as + those will be shipped by the moon source package. + + Removed transition dependencies from libmono1.0-cil, libmono2.0-cil + mono-devel, as the Mono 2.0 transition has been completed some weeks ago. + + Renamed libmono-nunit2.2-cil to libmono-nunit2.4-cil and only ship a + symlink to nunit.pc with a binary dependency on libnunit2.4-cil. + + Added mono-complete metapackage to make ISVs and users installing + non-Debian applications happy. + + Changed Section of all packages to cli-mono except *-dbg to match + archive overrides. + + Added automake to build-deps needed for autoreconf. + * debian/libmono-cairo1.0-cil.install + debian/libmono-cairo2.0-cil.install + debian/patches/fix-mono-cairo.pc.in.dpatch: + + Moved mono-cairo.pc from libmono-cairo1.0-cil to libmono-cairo2.0-cil + and reference the CLI 2.0 version in the pkg-config file now. + * debian/mono-devel.install: + + Added mono-cil-strip + + Added getline.cs, mono-lineeditor.pc, Options.cs and mono-options.pc + + Removed CorCompare.exe and mono-api-diff(.exe) as dropped by upstream. + + Updated mono-shlib-cop and sqlsharp as they are now CLI 2.0 + * debian/patches/fix_recursive_unmanaged_types.dpatch: + + Fixes recursive structs regression as seen with OpenOffice.org. + * debian/copyright: + + Added Lucene.Net, RabbitMQ.Client and HtmlAgilityPack licenses. + * debian/patches/build_cecil_as_2.0.dpatch + debian/patches/build_firebirdsql_as_2.0.dpatch + debian/patches/build_permview_as_2.0.dpatch + debian/patches/build_linker_tuner_cil-strip_as_2.0.dpatch: + + Build Mono.Cecil, FirebirdSql.Data.Firebird, permview, tuner, linker and + cil-strip for CLI 2.0. + * debian/control + debian/rules + debian/mono-jt.* + debian/mono-common.* + debian/libmono0.* + debian/mono-runtime.*: + + Merged mono-jit, mono-common and libmono0 (except libmono.so.*) + packages into mono-runtime. libmono0 was pulled in by + libmono-system2.0-cil as it pinvokes libMonoPosixHelper.so for + compression stream APIs. Since the interpreter (mint) was dropped long + time ago and is unmainained upstream, there is no reason to keep those + 3 domains (VM, config / binfmt support, helper libraries) split. + + Renamed mono-jit-dbg package to mono-runtime-dbg. + * debian/shlibs.local: + + Updated using the debian/update-shlibs.local.sh script. + * debian/watch: + + Mangle +dfsg version. + * debian/control + debian/libmono1.0-cil.install + debian/libmono-cecil-private-cil.install: + + Moved Mono.Cecil from libmono1.0-cil to libmono-cecil-private-cil, as + it's now build for CLI 2.0. + * debian/libmono-system-web2.0-cil.install: + + Added System.ComponentModel.DataAnnotations, System.Web.Abstractions, + System.Web.DynamicData and System.Web.Routing. + * debian/control + debian/libmono-i18n1.0-cil.install + debian/libmono-i18n2.0-cil.install + debian/libmono-i18n-west1.0-cil.install + debian/libmono-i18n-west2.0-cil.install: + + Moved I18N.dll and I18N.West.dll from libmono-i18nX.Y-cil to + libmono-i18n-westX.Y-cil, as this is the only code page that is really + needed in 90% of the cases. + * debian/compat + debian/control: + + Bumped debhelper to 7. + * debian/control + debian/mono-1.0-devel.install + debian/mono-2.0-devel.install + debian/mono-devel.install: + + Removed mono-api-info1 as dropped by upstream and moved + 2.0/mono-api-info.exe from mono-2.0-devel to mono-devel. + * debian/control + debian/libmono0.install + debian/libmono-dev.install + debian/mono-devel.install: + + Moved dotnet.pc and dotnet35.pc from libmono-dev to mono-devel. + + Removed libmono-profiler-*.a as unused and unneeded. + * debian/mono-runtime.docs + debian/changelog + debian/changelog.1: + + Moved all entries older than the version in lenny (1.9.1) to + changelog.1 + + Install changelog.1 only in mono-runtime. + + -- Mirco Bauer Thu, 21 May 2009 01:04:54 +0200 + +mono (2.0.1-6) unstable; urgency=low + + [ Jo Shields ] + * debian/control: + + Update package descriptions to make it clearer what is what, and + avoid multiple packages with identical short descriptions + (Closes: #519404) + + [ Sebastian Dröge ] + * debian/patches/fix_null_funcptr_marshalling_r127347.dpatch: + + Fix marshalling for NULL function pointers, they should be mapped + to managed null delegates and vice versa. Patch from upstream SVN. + + -- Sebastian Dröge Fri, 01 May 2009 13:37:07 +0200 + +mono (2.0.1-5) unstable; urgency=low + + * The "Let the show begin!" release + + Upload to unstable starting the Mono 2.0 transition, status available at: + http://wiki.debian.org/Teams/DebianMonoGroup/Mono20TransitionTODO + * debian/control: + + The compilers (mono-mcs and mono-gmcs) are not forward compatible with + newer upstream versions, thus added stronger dependencies. + + Removed libgamin-dev, libcups2-dev, librsvg2-dev, libgtk2.0-dev and + libgnomeui-dev from build-deps-indep as those packages are only needed + to generate the debian/shlibs.local file using the + debian/update-shlibs.local.sh script (the script checks now if those + are installed). This extended hack is needed as shared-mime-info in + unstable conflicts with gnome < 2.24 and gnome 2.24 is blocked by + the Mono 2.0 transition. + * debian/shlibs.local: + + Updated using the debian/update-shlibs.local.sh script. + + -- Mirco Bauer Wed, 25 Feb 2009 00:10:02 +0100 + +mono (2.0.1-4) experimental; urgency=low + + * debian/rules: + + Pass internal-mono instead of --internal-mono if the debhelper version + is older than 7.1, as that one doesn't support custom parameters via + init(). This ensures backwards compatibility with older debhelper + versions, as found in Ubuntu. + * debian/control: + + Lowered debhelper build-dep to >= 5. + * debian/dh_clideps + debian/dh_makeclilibs: + + Re-synced from cli-common 0.6.0, needed for dh 7.0 backwards + compatibilty. + + -- Mirco Bauer Tue, 27 Jan 2009 00:15:04 +0100 + +mono (2.0.1-3) experimental; urgency=low + + * Rebuilt against libc6 and glib from unstable. + + -- Mirco Bauer Mon, 26 Jan 2009 22:49:05 +0100 + +mono (2.0.1-2) experimental; urgency=low + + [ Jo Shields ] + * debian/patches/fix_wsdl2_duplicate_keys_r117243.dpatch: + + Fix bug in wsdl2 preventing parsing of Amazon Web Services + wsdl file (thanks to Iain Lane for help + isolating this bug) + * debian/patches/fix_NetworkInterface_exception_r120282.dpatch: + + Warn, rather than fail, on "funny" network interfaces + (Closes: #507297) + + [ Mirco Bauer ] + * debian/mono-1.0-devel.{postinst,prerm} + debian/mono-mcs.{postinst,prerm} + debian/mono-devel.{postinst,prerm}: + + Moved update-alternatives calls to mono-devel.{postinst,prerm}. + * debian/mono.links + debian/mono.postinst + + Removed, those are just left-overs. + * debian/mono-jit.postinst: + + Lowered alternative priority to 10 like all other alternative we install. + * debian/control: + + Moved cli-* Provides from mono-1.0-devel, mono-mcs and mono-gmcs to + mono-devel, as thats where the cli-* alternatives now lives. + + Added many strong versioned binary dependencies to mono-devel as hack + to make experimental buildds happy, else everything needing + mono-devel >= 2.0 will FTBFS in experimental (e.g. KDE4). + (thanks goes to Modestas Vainius for the investigation) + + Made dependency on libmono0, libmono-corlib2.0-cil and + libmono-corlib1.0-cil strong for mono-utils to ensure that the correct + versions are pulled in (else we might confuse APT or funny buildds). + + Bumped debhelper build-dep to >= 7.1, as needed for the bundled + debian/dh_* scripts. + * debian/dh_clideps + debian/dh_makeclilibs: + + Synced from cli-common 0.6.0, needed for dh 7.1 support. + + [ David Paleino ] + * debian/patches/fix_TcpClient_IPv6_r122598.dpatch: + + Fix bug in TcpClient() implementation preventing IPv6 connections + from working + + -- Mirco Bauer Wed, 21 Jan 2009 23:39:02 +0100 + +mono (2.0.1-1) experimental; urgency=low + + [ Mirco Bauer ] + * New upstream (bugfix) release. + * debian/mono-1.0-devel.manpages: + + Removed mcs1 as it's already shipped in mono-mcs. + * debian/patches/99_autoreconf.dpatch: + + Updated + * debian/mono-devel.links: + + Make csc a symlink to gmcs, a runtime version neutral default + compiler. + * debian/patches/armel_fix_configure_fpu_check.dpatch: + + Forward ported patch from 1.2.4 to fix FTBFS on linux/armel. + * debian/patches/99_autoreconf.dpatch: + + Updated + * debian/mono-common.install: + + Name the /etc files and directories explicitly to make sure not to + install /etc/mconfig by accident when doing a binary-indep binary-arch + (in that order) build. + + [ Jo Shields ] + * debian/patches/armel-glibc-2.8.dpatch: + + Fix build failure on armel architecture on libc6 2.8 (Thanks + to Michael Casadevall for the patch) + + [ David Paleino ] + * Group Policy: + + implemented get-orig-source target in debian/rules + + -- Mirco Bauer Sun, 23 Nov 2008 16:16:00 +0100 + +mono (2.0-1) experimental; urgency=low + + * New upstream release. + + System.Web.Extensions is included in the debian source and binary + packages now, as JSON.NET was relicensed to MIT/X11 and thus no DFSGing + needed anymore! (Closes: #497213) + + With this release, we changed the default development stack from 1.0 to + 2.0. This has no influence to the runtime nor existing binary packages, + for more details see: + http://wiki.debian.org/Teams/DebianMonoGroup/Mono20Transition + * debian/copyright: + + Updated license info of JSON.NET + * debian/control: + + Removed libgda2-dev from buid-deps as debian/update-shlibs.local.sh + takes already care of it. + + mono-utils depends on libmono-corlib2.0-cil and only suggests + libmono-corlib1.0-cil now as the default runtime was changed to 2.0. + + Updated libcupsys2-dev build-dependency to libcups2-dev. + + Updated Standards-Version to 3.8.0 (no changes needed). + * debian/rules: + + Pass --enable-quiet-build=no to configure call, else we get a less + verbose build log. + + Bumped clilibs to 2.0 of libmono{1,2}.0-cil, libmono-cairo{1,2}.0-cil, + libmono-data-tds{1,2}.0-cil, libmono-system2.0-cil, + libmono-system-runtime2.0-cil, libmono-security{1,2}.0-cil, + libmono-web2.0-cil, libmono-winforms2.0-cil and libmono-system2.1-cil. + * debian/mono.runtime-script: + + Call the script of gacutil instead of passing the application filename + directly to mono, as we rely on the default gacutil now provided by the + mono-gac package. + * debian/patches/method-signature-testing.dpatch + debian/patches/pass_CPPFLAGS_nicely_r98803.dpatch + debian/patches/fix_bound_checking_r98524_r98527.dpatch + debian/patches/fix_softfloat_r105848.dpatch + debian/patches/fix_stack_alignment_r105650_r105651.dpatch + debian/patches/fix_xen_support_r103474_r103475.dpatch + debian/patches/fix_Dictionary_preventing_GC_r102114.dpatch + debian/patches/fix_TdsConnectionPool_svn.dpatch + debian/patches/fix_Assembly.LoadFrom_deadlock.dpatch: + + Removed, already applied upstream. + * debian/patches/dont_build_System.Web.Extensions.dpatch: + + Disabled, JSON.NET was re-licensed to MIT/X11. + * debian/libmono-system-web2.0-cil.install: + + Added System.Web.Extensions.dll and System.Web.Extensions.Design.dll. + * debian/update-shlibs.local.sh: + + Fixed grep calls so it doesn't match udeb lines. + * debian/shlibs.local: + + Updated + * debian/control + debian/libmono-mozilla0.2-cil.install + debian/libmono-webbrowser0.5-cil.install: + + Renamed libmono-mozilla0.2-cil to libmono-webbrowser0.5-cil and + removed Replaces. + * debian/control + debian/libmono{1,2}.0-cil.install + debian/libmono-posix{1,2}.0-cil.install: + debian/libmono-getoptions{1,2}.0-cil.install: + debian/libmono-data{1,2}.0-cil.install: + + Moved the Mono.Posix, Mono.GetOptions and Mono.Data.* libraries into + extra packages to support smaller install sizes of typical applications + (e.g. tomboy or gnome-do). + + Added libmono-posix{1,2}.0-cil, libmono-getoptions{1,2}.0-cil and + libmono-data{1,2}.0-cil as dependency of libmono{1,2}-cil to aid a smooth + runtime transition. + * debian/libmono-system-data2.0-cil.install: + + Added System.Data.DataSetExtensions.dll and System.Data.Linq.dll. + * debian/rules + debian/libmono{1,2}.0-cil.install: + + Dropped Mono.Security.Win32.dll as the library is only useful on + Windows. + * debian/patches/build_genxs_2.0.dpatch: + + Enables compiling genxs for CLI 2.0 as upstream provided a genxs2 script + but forgot to build the actual application. + * debian/mono-2.0-devel.install + debian/mono-2.0-devel.manpages: + + Added xsd2 and genxs2 + * debian/mono-devel.install + debian/mono-devel.manpages + debian/mono-1.0-devel.install + debian/mono-1.0-devel.manpages: + + Moved all unversioned tools and default scripts (with their manpages) to + mono-devel. + * debian/mono-mcs.install + debian/mono-mcs.manpages + debian/mono-gmcs.install + debian/mono-gmcs.manpages + debian/mono-devel.install + debian/mono-devel.manpages + debian/control: + + Moved gmcs script and manpage from mono-gmcs to mono-devel. + + Added Replaces for mono-mcs and mono-gmcs to mono-devel. + + Added gmcs2 script and manpage to mono-gmcs + + Added mcs1 script and manpage to mono-mcs. + This changes are needed to get a default compiler target using a single + package that depends on the current default which is 2.0 (gmcs2). + * debian/System.Windows.Forms.dll.config: + + Added dll-map for libgdk_pixbuf-2.0.so + * debian/control: + + Improved many package descriptions by adding the names of the + libraries they contain with a brief description of what they do. + * debian/control + debian/mono-gac.install + debian/mono-{1,2}.0-gac.install: + + The default script "gacutil" is still shipped in mono-gac but + "gacutil1" and "gacutil2" are now in mono-1.0-gac and mono-2.0-gac. + mono-gac pulls in mono-2.0-gac by default. + This is needed to make a 2.0-only install possible. + * debian/control: + + Added mono-1.0-runtime and mono-2.0-runtime package, which pull in the + runtime stack of the specific runtime version in. + mono-runtime pulls in mono-2.0-runtime as the new default runtime. + This is needed to make a 2.0-only install possible. + * debian/libmono-dev.install: + + Added dotnet35.pc + * debian/mono-smcs.install: + + Added smcs.pc + * debian/control: + + s/meta package/metapackage/ as lintian says so. - -- Michael B. Trausch Mon, 27 Apr 2009 09:53:20 -0400 - -mono (2.4.0-0ppa5) jaunty; urgency=low - - * Provides nunit-console - - -- Michael B. Trausch Sun, 26 Apr 2009 16:19:15 -0400 - -mono (2.4.0-0ppa4) jaunty; urgency=low - - * Build dummy monodoc packages, since they are now part of Mono. - - -- Michael B. Trausch Sat, 25 Apr 2009 01:51:50 -0400 - -mono (2.4.0-0ppa3) jaunty; urgency=low - - * Include dep on libsqlite for the runtime - - -- Michael B. Trausch Fri, 24 Apr 2009 00:19:26 -0400 - -mono (2.4.0-0ppa2) jaunty; urgency=low - - * Fix versioning to (hopefully) be parsed by dpkg in dep resolution. - - -- Michael B. Trausch Tue, 21 Apr 2009 16:05:45 -0400 - -mono (2.4.0-0ppa1+jaunty) jaunty; urgency=low - - * Bump version after fixing error. - - -- Michael B. Trausch Tue, 21 Apr 2009 12:33:49 -0400 - -mono (2.4.0-0ppa0+jaunty) jaunty; urgency=low - - * Build for Jaunty. - - -- Michael B. Trausch Sat, 18 Apr 2009 19:20:34 -0400 - -mono (2.4.0-0~mbt0) UNRELEASED; urgency=low - - * Repackaging from upstream sources. - - -- Michael B. Trausch Mon, 13 Apr 2009 17:14:30 -0400 + -- Mirco Bauer Tue, 11 Nov 2008 00:21:27 +0100 diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/changelog.1 /tmp/whXnmORr8x/mono-2.4+dfsg/debian/changelog.1 --- mono-2.4.0/debian/changelog.1 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/changelog.1 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,1783 @@ +mono (1.9.1+dfsg-4) unstable; urgency=high + + [ Mirco Bauer ] + * Added lpia to Architecture fields. + (to make Jo Shields more happy) + * debian/fix_Assembly.LoadFrom_deadlock.dpatch: + + Fixes deadlock in loading assemblies code like Assembly.LoadFrom(), + causing deadlocks (mostly) on SMP systems. + (patches taken from upstream SVN revisions: r105036, r105153, r113458, + r115451 and r115697) + + [ Jo Shields ] + * Add myself to Uploaders + * debian/patches/fix_sloppy_attribute_encode_CVE-2008-3422.dpatch: + + Fixes CVE-2008-3422, thus urgency set to high (Closes: #494406) + * debian/patches/fix_CRLF_injection_CVE-2008-3906.dpatch: + + Fixes CVE-2008-3906, thus urgency set to high (Closes: #498894) + * debian/patches/fix_IsolatedStorage_regression_r99231_r101171_r101172.dpatch: + + Fix regression in IsolatedStorage behaviour causing exceptions + with subdirectories (Closes: #501505) + * debian/patches/fix_mono-config_man_page_r111681.dpatch: + + Fix minor manpage typo (Closes: #495624) + * debian/control: + + Tweak description of mono-xbuild package (Closes: #493478) + * debian/man/*: + + Update default manpage to point to correct URL for documentation + (Closes: #500771) + + -- Jo Shields Mon, 13 Oct 2008 23:21:40 +0200 + +mono (1.9.1+dfsg-3) unstable; urgency=medium + + * debian/control + debian/rules + debian/libmono-nunit2.2-cil.install: + + Added libmono-nunit2.2-cil package needed by packages like monodevelop + and mono-tools, the nunit 2.4 API (libnunit2.4-cil) changed too much to + port these packages. (thus urgency set to medium) + * debian/shlibs.local: + + Updated for the Mono 1.9 release (forgot this in -1). + * debian/rules: + debian/libmono-system2.0-cil.install: + + Added System.Xml.Linq library but with the correct compiler-directory. + (Closes: #487996) + * debian/control: + + Added libdiplus to dependencies of libmono-system-web1.0-cil and + libmono-system-web2.0-cil as System.Web.UI.WebControls.WebColorConverter + invokes it (which is needed by most web applications). (Closes: #479683) + + Removed -1 revision of all Replaces lines with << as condition, as it's + useless and makes backports and Ubuntu integration easier. + + Added Conflicts on mono-classlib-{1,2}.0 (<< 1.1.13.6) and + mono-classlib-{1,2}.0-dbg to ensure they are removed on all systems and + the transition was finished long time ago. + * debian/patches/fix_Dictionary_preventing_GC_r102114.dpatch: + Clear empty slots in keySlots and valueSlots. Otherwise the garbage + collector cannot reclaim the referenced key/value. + (patch taken from upstream SVN revision 102114) + * debian/patches/fix_TdsConnectionPool_svn.dpatch: + + Don't leak connections in the pool, would cause an infinitely timeout. + (patch taken from upstream SVN revisions 105424, 105432, 105433, 105719, + 106448 and 107325) + * debian/libmono-system1.0-cil.clideps-override + debian/libmono-system2.0-cil.clideps-override: + + libcupsys2 package was renamed to libcups2, moving the dependeny on + libcups2 to suggests (as it was before). + * debian/rules: + + Removed --list-missing from dh_install call, it's useless in the current + implementation. + * debian/patches/fix-mono-nunit.pc.in.dpatch: + + Remove stupid relative path from prefix variable. + + -- Mirco Bauer Tue, 05 Aug 2008 21:46:48 +0200 + +mono (1.9.1+dfsg-2) unstable; urgency=medium + + * Urgency set to medium as this release contains important bugfixes for + different architectures. + * debian/control: + + Added xdg-utils | libgnome2-0 | konqueror to suggests of mono-jit as + starting processes can make use of those if installed (to emulate + ShellExecute). + * debian/patches/fix_bound_checking_r98524_r98527.dpatch: + + Fixes bound checking caused SIGSEGV on AMD64 when building XSP. + (Closes: #486652, patch taken from upstream SVN revision 98524 and 98527) + (thanks to Jo Shields for investigation and + providing the dpatch) + * debian/patches/fix_softfloat_r105848.dpatch: + + Fixed softfloat caused SIGABRT on armel when building banshee. + (Closes: #485112, patch taken from upstream SVN revision 105848) + * debian/patches/fix_stack_alignment_r105650_r105651.dpatch: + + Fixes stack alignment, caused assertions on AMD64. (Closes: #473119) + (patch taken from upstream SVN revision 105650 and 105651) + * debian/patches/fix_xen_support_r103474_r103475.dpatch: + + Fixes XEN support caused "4gb seg fixup" messages. (Closes: #481699) + (patch taken from upstream SVN revision 103474 and 103475) + (thanks to Andrew Deason for investigation and + providing the dpatch) + * debian/patches/99_autoreconf.dpatch: + + Updated + + -- Mirco Bauer Tue, 17 Jun 2008 23:59:52 +0200 + +mono (1.9.1+dfsg-1) unstable; urgency=low + + * DFSG version of Mono 1.9.1 + + Deleted the mcs/class/System.Web.Extensions/ directory as + mcs/class/System.Web.Extensions/System.Web.Script.Serialization/JSON/*.cs + is licensed under Creative Commons Attribution 2.5 which is not + DFSG-free. + * New upstream release. + * debian/libmono1.0-cil.install: + + Added internal cecil.pc as mono-tools >= 1.9 needs it. + * debian/patches/pass_CPPFLAGS_nicely_r98803.dpatch: + + Updated + * debian/mono-api-check: + + Fixed bashism. (Closes: #471879) + + Implemented support to check APIs on .deb and .changes files. + * debian/rules: + + clilibs are now defined much more granularly now (per package). + Checked APIs of mono 1.2.2.1 vs 1.2.6 and 1.2.6 vs 1.9. + + Bumped clilibs of libmono-system-web2.0-cil to 1.9.1 + + -- Mirco Bauer Tue, 22 Apr 2008 20:09:39 +0200 + +mono (1.9+dfsg-3) unstable; urgency=low + + * debian/patches/pass_CPPFLAGS_nicely_r98803.dpatch: + + Pass CPPFLAGS nicely to libgc, fixes FTBFS. (Closes: #475972) + (taken from upstream SVN revision 98803) + * debian/patches/99_autoreconf.dpatch: + + Updated + + -- Mirco Bauer Tue, 15 Apr 2008 22:26:39 +0200 + +mono (1.9+dfsg-2) unstable; urgency=low + + * Upload to unstable. + * debian/control: + + Fixed Vcs-Svn field. + + Cleaned up Uploaders field. + * debian/rules: + + Delete binaries missed by "make clean". (Closes: #424576) + (thanks to Sandro Tosi for the patch) + * debian/mono-common.preinst: + + Removed empty script. + + -- Mirco Bauer Mon, 07 Apr 2008 22:11:03 +0200 + +mono (1.9+dfsg-1) experimental; urgency=low + + [ Mirco Bauer ] + * DFSG version of Mono 1.9 + + Deleted the mcs/class/System.Web.Extensions/ directory as + mcs/class/System.Web.Extensions/System.Web.Script.Serialization/JSON/*.cs + is licensed under Creative Commons Attribution 2.5 which is not + DFSG-free. + * New upstream release. + * debian/rules: + + Bumped clilibs to 1.9 + * debian/mono-api-check: + + Implemented -k switch to keep and inspect the XML diff file. + + Fixed application invocation. + * debian/patches/fix_threads.h.dpatch + debian/patches/fix_Mono.Cecil_linkage.dpatch + debian/patches/ppc_fix_flushing_of_icache_r92014.dpatch: + + Removed, already applied upstream. + * debian/libmono2.0-cil.install: + + Added Mono.Web.dll + * debian/control + debian/libmono-mozilla0.1-cil.install + debian/libmono-mozilla0.2-cil.install: + + Renamed libmono-mozilla0.1-cil to libmono-mozilla0.2-cil, as the assembly + version (ABI) was bumped from 0.1 to 0.2. + + [ Sebastian Dröge ] + * debian/patches/method-signature-testing.dpatch: + + Patch from upstream SVN to fix db4o build failure with cecil 0.6, + improves checking of method signatures. + * debian/rules: + + Put CFLAGS into "" to make the shell happy and fix FTBFS. + + Set default CFLAGS to -O2 -g. + + -- Mirco Bauer Mon, 04 Feb 2008 22:11:53 +0100 + +mono (1.2.6+dfsg-6) unstable; urgency=high + + * debian/mono-mcs.postinst + debian/mono-1.0-devel.postinst: + + Moved alternatives handling for cli-sn, cli-resgen and cli-al from + mono-mcs to mono-1.0-devel, as mono-1.0-devel ships those applications + (since mono 1.2.6+dfsg-1). (Closes: #460513) + This caused FTBS for different source packages that didn't explicitly + build-depend on mono-mcs, thus urgency set to high. + (Thanks to Laurent Bigonville for the investigation) + * debian/mono-utils.postint + debian/mono-utils.postinst: + + Fixed file name. + * debian/control: + + Added libmono-dev and pkg-config to recommends of mono-{1,2}.0-devel, as + mkbundle(2) uses pkg-config and needs mono.pc. + * debian/patches/ppc_disable_delegate_trampoline_optimization.dpatch + debian/patches/ppc_fix_flushing_of_icache_r92014.dpatch + + Replaced ppc_disable_delegate_trampoline_optimization with + ppc_fix_flushing_of_icache_r92014, as that one fixes instead of + workarounds the PPC SIGILL issue (taken from upstream's SVN). + + -- Mirco Bauer Mon, 04 Feb 2008 20:57:20 +0100 + +mono (1.2.6+dfsg-5) unstable; urgency=low + + * debian/rules: + + Reverted the changed target dependecies, which caused no patches being + applied anymore. Thus the fix_implicit_pointer_conversions patch for IA64 + is applied again. (Closes: #457868) + + -- Mirco Bauer Thu, 27 Dec 2007 20:54:20 +0100 + +mono (1.2.6+dfsg-4) unstable; urgency=low + + * debian/patches/ppc_disable_delegate_trampoline_optimization.dpatch: + + Disables delegate trampoline code for PPC, fixes instant SIGILL runtime + crashes for every invoked application (as seen in PPC build logs of + gtk-sharp2, gnome-sharp2 or beagle). + * debian/patches/fix_threads.h.dpatch: + + Don't include threads-type.h in threads.h and moved functions to the + correct header, fixes compiling of OpenOffice.org's Mono bridge. + (taken from upstream SVN revision 91687 + 91817) + * debian/rules: + + Make sure -j1 is passed to make, Mono's build system doesn't like -j > 1. + + -- Mirco Bauer Wed, 26 Dec 2007 23:29:28 +0100 + +mono (1.2.6+dfsg-3) unstable; urgency=low + + * debian/rules: + + Pass -D to cli.binfmt install call, makes it not failing on archs that + are not listed in debian/control. + (thanks to Emanuele Rocca for the hint) + + Enhanced "make distclean" error handling, making lintian happy. + * debian/libmono-system-messaging{1,2}.0-cil.clideps-override + debian/libmono-bytefx0.7.6.{1,2}-cil.clideps-override: + + Added suggests libmono-winforms{1,2}.0-cil, doesn't make sense to pull in + System.Windows.Forms for designer classes (which are only used by VS.NET) + * debian/patches/fix_implicit_pointer_conversions.dpatch: + + Fixed implicit pointer conversions by including a missing header, which + caused FTBFS on IA64. + * debian/control: + + Added Homepage, Vcs-Svn and Vcs-Browser fields. + + Updated Standards-Version to 3.7.3, no changes needed. + + Changed Section of libmono-dev to libmono-dev. + + Added Suggests (using cli:Suggests) fields for + libmono-system-messaging{1,2}.0-cil and libmono-bytefx0.7.6.{1,2}-cil. + + Use cli:Depends for libmono-bytefx0.7.6.{1,2}-cil instead of manual + dependencies. + * debian/NEWS: + + Fixed typo and indention. + + -- Mirco Bauer Tue, 25 Dec 2007 13:40:33 +0100 + +mono (1.2.6+dfsg-2) unstable; urgency=low + + * The "Welcome SPARC and S390 Users!" release + * debian/mono-2.0-devel.install + debian/mono-2.0-devel.manpages: + + Added mconfig + * debian/control: + + Added sparc and s390 to Architecture fields. (Closes: #332511, #377584) + (as the last 3 feature-releases of Mono were able to build on sparc, and + upstream is getting sparc port contributions again, it should be safe + to enable sparc now) + + Added Replaces << mono-common 1.2.6+dfsg-2 to mono-2.0-devel, as + /etc/mono/mconfig/ was moved to mono-2.0-devel. + * debian/libmono-system{1,2}.0-cil.clideps-override: + + Added suggests libmono-winforms{1,2}.0-cil, doesn't make sense to pull in + System.Windows.Forms for designer classes (which are only used by VS.NET) + * debian/patches/g_thread_init.dpatch: + + Dropped, already applied upstream. + + -- Mirco Bauer Fri, 21 Dec 2007 01:35:40 +0100 + +mono (1.2.6+dfsg-1) unstable; urgency=low + + * DFSG version of Mono 1.2.6 + + Deleted mcs/class/System.Web.Extensions/System.Web.Script.Serialization/ + JSON/* as those source files are licensed under Creative Commons + Attribution 2.5 which is not DFSG-free. + * New upstream release + + Invoking GetFields on emitted type doesn't crash anymore, as seen with + nemerle. (Closes: #452585) + * debian/rules: + + Updated MONO_API to 1.2.6 + + Enabled moonlight support in configure call. + + Removed all "rm debian/tmp/usr/lib/mono/gac/"... calls, instead list + libraries explicitly in .install files. + (this is pretty error prone when upstream introduces new libraries and + the rm list became way too long) + + Copy various 1.0 manpages to 2.0 manpages for missing 2.0 manpages. + + Remove +dfsg part in upstream version detection (UPVERSION variable). + * debian/control: + + Added new packages (mono-mcs/gmcs needed to be split as some parts of the + runtime relies on the compiler, like the XmlSerializer class): + - mono-mcs was split to: mono-1.0-devel and mono-1.0-service. + (monolinker.exe is now shipped part of mono-1.0-devel, Closes: #443833) + - mono-gmcs was split to: mono-2.0-devel, mono-2.0-service and + mono-xbuild. + - mono-smcs, containing the new compiler for moonlight/silverlight + applications. + - libmono-corlib2.1-cil and libmono-system2.1-cil, containing the + moonlight/silverlight runtime libraries. + - libmono-db2-1.0-cil, containing IBM DB2 database connector. + - libmono-mozilla0.1-cil, containing the WebControl implementation using + the Mozilla engine. + - libmono-i18n1.0-cil and libmono-i18n2.0-cil, containing I18N libraries + with code page definitions, moved from libmono-corlib{1,2}.0-cil. + - prj2make-sharp, upstream moved distribution of prj2make-sharp to Mono. + + libmono-corlib{1,2}.0-cil recommends libmono-i18n{1,2}.0-cil now. + + Removed mono and mono-devel meta packages, as they are not useful for + anyone. + * debian/dh_clideps: + + Synced from cli-common 0.5.3, needed for CLI 2.1 support. + * debian/patches/00list: + + Disabled armel_fix_configure_fpu_check.dpatch + (FPU check is fixed upstream) + * debian/patches/kfreebsd_support.dpatch: + + Updated (and re-autoconfed) + * debian/patches/fix-mono.pc.in.dpatch: + + Updated + * debian/patches/ppc_fix_mono_class_proxy_vtable_r84948.dpatch: + + Removed, already applied upstream. + * debian/patches/fix_Mono.Cecil_linkage.dpatch: + + Link Mono.Cecil(.Mdb) against CLI 1.0 instead of 2.0, patch taken from + upstream. + * debian/libmono1.0-cil.install: + + Added Mono.Cecil.dll and Mono.Cecil.Mdb.dll. + * debian/update-shlibs.local.sh: + + Wrote this script to ease updating the debian/shlibs.local file. + * debian/shlibs.local: + + Updated + + -- Mirco Bauer Sun, 16 Dec 2007 15:44:33 +0100 + +mono (1.2.5.1-2) unstable; urgency=high + + * Mirco 'meebey' Bauer: + + debian/mono.runtime-script: + - When removing GAC libraries, output the assembly name correctly on + errors. + + debian/patches/fix_BigInteger_overflow_CVE-2007-5197.dpatch: + - Fixes CVE-2007-5197, thus urgency set to high. + + -- Mirco Bauer Sun, 04 Nov 2007 15:34:08 +0100 + +mono (1.2.5.1-1) unstable; urgency=low + + * Mirco 'meebey' Bauer: + + New upstream (bugfix) release. (Closes: #443468) + + debian/System.Windows.Forms.dll.config: + - Added libX11 and libXcursor. + + -- Mirco Bauer Sat, 22 Sep 2007 19:33:05 +0200 + +mono (1.2.5-3) unstable; urgency=high + + * Mirco 'meebey' Bauer: + + debian/patches/ppc_fix_mono_class_proxy_vtable_r84948.dpatch: + - Fixes crash bug on PPC for all applications that use DBus, + thus setting urgency to high. (Closes: #437452, #441795, #441879) + (Thanks to Bram Senders for testing the patch) + + -- Mirco Bauer Thu, 13 Sep 2007 21:44:16 +0200 + +mono (1.2.5-2) unstable; urgency=medium + + * Sebastian 'slomo' Dröge: + + debian/FirebirdSql.Data.Firebird.dll.config, + debian/shlibs.local: + - Use libfbclient2 instead of old and to be removed libfbclient1. + Thanks to Damyan Ivanov for the + patch (Closes: #440850). + + debian/changelog: + - Use urgency=medium because of the RC bugfix. + + -- Sebastian Dröge Wed, 05 Sep 2007 07:02:15 +0200 + +mono (1.2.5-1) unstable; urgency=low + + * Mirco 'meebey' Bauer: + + New upstream release + + debian/watch: + - Updated + + debian/rules: + - Bumped MONO_API to 1.2.5 + + debian/patches/kfreebsd_support.dpatch + debian/patches/armel_fix_configure_fpu_check.dpatch: + - Updated (re-autoconfed) + - Updated + + debian/patches/ppc_fix_memory_corruption_r81413.dpatch: + debian/patches/fix_delegate_memory_leak_r79001.dpatch + debian/patches/remove_broken_dllmap_from_mono-shlib-cop.dpatch: + - Removed, already applied upstream. + + debian/mono-utils.install + debian/mono-utils.manpages: + - Removed monodiet as removed by upstream + + debian/man/resgen.1: + - Removed, supplied upstream. + + debian/mono-mcs.manpages: + - Added monolinker.1 + - Updated resgen.1 + + debian/mono-mcs.manpages + debian/mono-mjs.manpages: + - Moved mono-mjs.1 manpage to mono-mjs package. + + debian/control: + - Added "Replaces" for mono-mjs.1 move to mono-mjs package. + + -- Mirco Bauer Sun, 02 Sep 2007 21:36:13 +0200 + +mono (1.2.4-6) unstable; urgency=medium + + * Mirco 'meebey' Bauer: + + debian/patches/kfreebsd_support.dpatch: + - Patch configure script too, as we are not re-autogening. + This made kfreebsd-* FTBFS. + + Urgency set to medium, as the last upload fixes an important crash + bug (#428190) for PPC. + + -- Mirco Bauer Thu, 09 Aug 2007 19:36:21 +0200 + +mono (1.2.4-5) unstable; urgency=low + + * The "there is more than Linux and X86" release + * Mirco 'meebey' Bauer: + + debian/control: + - Replaced ${Source-Version} with ${source:Version} and ${binary:Version} + + debian/patches/ppc_fix_memory_corruption_r81413.dpatch: + - Fix memory corruption on PPC, caused all Gtk# programs to crash. + Patch taken from upstream SVN. + (Closes: #428209, #430614, #427934, #428190, #429685) + (Thanks to Wouter Verhelst for testing the patch) + + debian/patches/armel_fix_configure_fpu_check.dpatch: + - Detect FPU correctly. (Closes: #430582) + (Thanks to Riku Voipio for the patch) + + debian/patches/fix_delegate_memory_leak_r79001.dpatch: + - Fix memory leak for delegates passed to unmanaged land, taken from + upstream SVN. (Closes: #428781) + (Thanks to Chris Howie for investigation) + + debian/patches/kfreebsd_support.dpatch: + - Updated, added support for kfreebsd-amd64 + + debian/rules: + - Use softfloat on armel. + * Sebastian 'slomo' Dröge: + + debian/patches/armel_fix_configure_fpu_check.dpatch: + - Regenerate configure for the change. + + -- Mirco Bauer Sat, 21 Jul 2007 15:48:05 +0200 + +mono (1.2.4-4) unstable; urgency=low + + * Mirco 'meebey' Bauer: + + debian/rules: + - Use pthread for arm/armeb/armel, should fix FTBFS for ARM. + * Sebastian 'slomo' Dröge: + + debian/patches/g_thread_init.dpatch: + - Call g_thread_init() as early as possible as this is required for newer + glib versions. See: + http://bugzilla.ximian.com/show_bug.cgi?id=81862 + http://bugzilla.gnome.org/show_bug.cgi?id=331853 + Patch from upstream SVN, rev. 78018. + + -- Mirco Bauer Wed, 13 Jun 2007 01:31:55 +0200 + +mono (1.2.4-3) unstable; urgency=low + + * Mirco 'meebey' Bauer: + + debian/rules: + - Enable sigaltstack only for i386 and amd64, fixes FTBFS for ia64 and + possibly other archs. + + -- Mirco Bauer Tue, 29 May 2007 22:54:24 +0200 + +mono (1.2.4-2) unstable; urgency=low + + * Mirco 'meebey' Bauer: + + debian/patches/00list: + - Disabled dont_remap_non-runtime_libs patch, has side effects + and breaks banshee, means applications using libmono-cairo{1,2}.0-cil + running on CLR 2.0 need again to depend on the 2.0 version explicitly + + debian/rules: + - Call dh_strip in binary-arch target, else mono-utils binaries have + debugging symbols. + + debian/control: + - Strictly depend on upstream version for assemblies doing ICalls + (internal calls into the runtime implementation). + * Sebastian 'slomo' Dröge: + + debian/rules: + - Set executable bit on dh_clistrip and the other debhelper scripts + to fix FTBFS. + + -- Mirco Bauer Mon, 28 May 2007 16:18:53 +0200 + +mono (1.2.4-1) unstable; urgency=medium + + * The clean me harder and be nicer to embedded devices upload + * Mirco 'meebey' Bauer: + + New upstream release + - Fixes endian problem with UDP multicasts (Closes: #406909) + + debian/patches/dont_remap_non-runtime_libs.dpatch: + - Don't remap referenced versions for libraries that are not part of the + runtime (like Npgsql, Novell.Directory.Ldap and Mono.* specially + Mono.Cairo) because that makes predictable dependency tracking + impossible for such libraries and is pretty insane as the remapped + version must be 100% ABI compatible. + This caused FTBFS for applications using Gtk# (which uses Mono.Cairo + version 1.0) but runs and compiles (gmcs) under CLR 2.0. + (Closes: #425194) + + debian/control: + - New package mono-dbg, containing all debug sybols (*.mdb), which is + 27 MB for all libraries and applications of the mono source package. + This new package should make specially embedded device users happy. + - New package mono-jit-dbg, unstripped mono-jit + - New package libmono0-dbg, unstripped libmono0 + - Add libgdiplus dependency to libmono-winforms{1,2}.0-cil, as it's only + indirectly used via System.Drawing of libmono-system{1,2}.0-cil, which + only suggests libgdiplus. + + debian/rules: + - Bumped MONO_API to 1.2.4 + - Install Mono.Data.Sqlite.dll.config + - Enabled sigaltstack in ./configure call, since we use __thread / NPTL. + - Call debian/dh_clifixperms in binary-indep target + - Call debian/dh_clistrip in binary-indep target + + debian/libmono-sqlite{1,2}.0-cil.install: + - Added Mono.Data.Sqlite.dll + + debian/libmono-dev.install: + - Added dotnet.pc + + debian/patches/fix-mono.pc.in.dpatch + debian/patches/fix-mono-cairo.pc.in.dpatch: + - Replace ../../ with @prefix@ + + debian/mono-gmcs.install: + - Added httpcfg and mono-api-info2 + + debian/libmono-system1.0-cil.clideps-override: + - Move libcupsys2 to Suggests. + - Move libgdiplus to Suggests. + + debian/libmono-system-data{1,2}.0-cil.clideps-override: + - Move libglib2.0-0 to Suggests. + + debian/libmono-winforms{1,2}.0-cil.clideps-override: + - Move libglib2.0-0 to Suggests. + + debian/dh_clifixperms: + - Copied from cli-common-dev + + debian/dh_clistrip: + - Copied from cli-common-dev + + debian/shlibs.local: + - Added libgda-2 + + -- Mirco Bauer Mon, 21 May 2007 01:04:08 +0200 + +mono (1.2.3.1-5) unstable; urgency=low + + * Mirco 'meebey' Bauer: + + debian/control: + - Added Conflicts: mono-utils (<< 1.2.3.1-4) to libmono0, to aid partial + upgrade of Mono from etch to lenny or sid, thanks to Rene Engelhard for + the hints. (really Closes: #412970) + - Moved binfmt-support dependency to recommends. (Closes: #418765) + The mono-common.postinst and mono-common.prerm scripts already checks + if binfmt-support is actually installed. + - Updated to use my Debian email address now. + + -- Mirco Bauer Mon, 16 Apr 2007 01:12:04 +0200 + +mono (1.2.3.1-4) unstable; urgency=low + + * Upload to unstable + * Sebastian 'slomo' Dröge: + + debian/control: + - Let mono-utils depend on exactly the same upstream version of libmono0 + that it was build with and remove the other workarounds for bug #412970 + as this is now the correct fix. Thanks to Mirco Bauer for investigating + - Add armel to architectures + + debian/rules: + - The shlibs file of libmono0 now contains >= $UPVERSION + + -- Sebastian Dröge Sun, 15 Apr 2007 21:06:21 +0200 + +mono (1.2.3.1-3) experimental; urgency=low + + * Sebastian 'slomo' Dröge: + + debian/control: + - Also let mono-jit conflict with mono-utils (<< 1.2.3.1), otherwise the + previously added stricter dependencies in mono-utils don't have any + effect for pre-1.2.3.1-2 mono versions. (Closes: #412970) + + -- Sebastian Dröge Tue, 6 Mar 2007 07:32:55 +0100 + +mono (1.2.3.1-2) experimental; urgency=low + + * Sebastian 'slomo' Dröge: + + debian/control: + - Also add kfreebsd-amd64 to archs + - Let libmono-winforms*.0-cil suggest shared-mime-info (Closes: #394674) + - Make mono-utils depend on libmono-corlib1.0-cil with a stricter + version requirement as it most probably breaks with other + versions. (Closes: #412970) + + -- Sebastian Dröge Mon, 5 Mar 2007 08:00:35 +0100 + +mono (1.2.3.1-1) experimental; urgency=low + + * Mirco 'meebey' Bauer: + + debian/rules: + - Split the package build system into arch and indep for the configure, + install and build target. + - Added --disable-mcs-build to configure-indep call. + (buildds doesn't need to build the complete base-class-libraries, + since it's arch-indep, in arch-indep packages, and already in the + archive when uploaded. This should reduce the build time from 10 + hours to about 1 hour for arm) + - Added kfreebsd checks for configure confflags. + - Moved building of MonoGetAssemblyName.exe from install to binary-indep, + else the compiler isn't available yet (if only binary-arch is build). + + debian/dh_clideps: + - Synced from cli-common (contains support for kfreebsd) + + debian/patches/kfreebsd_support.dpatch: + - Adds kfreebsd support to Mono. + (Closes: #394456, thanks to Petr Salinger + and Aurelien Jarno for the patch) + + * Sebastian 'slomo' Dröge: + + New upstream release (Closes: #411924): + - Fixes assertion failures on PPC (Closes: #403495) + + debian/libmono-system2.0-cil.clideps-override: + - Move libasound2 to Suggests + + debian/libmono-system1.0-cil.install, + debian/libmono-system2.0-cil.install: + - Add CustomMarshalers.dll + + debian/libmono-system-data1.0-cil.clideps-override, + debian/libmono-system-data2.0-cil.clideps-override: + - Move libgda2-3 to Suggests + + debian/libmono-winforms1.0-cil.clideps-override, + debian/libmono-winforms2.0-cil.clideps-override: + - Move librsvg2-2 to Suggests + + debian/mono-common.install: + - Update path for cil-opcodes.xml + + debian/mono-gmcs.install: + - Add /usr/bin/al2 utility + - Update path for xbuild stuff + + debian/rules: + - Install new System.Data.dll.config file + - Remove new utilities from mono-mcs as they're already elsewhere + - Update MONO_API to 1.2.3 + + debian/shlibs.local: + - Add shlibs entry for libasound2 + + debian/System.Data.dll.config: + - Added new dllmaps + + debian/shlibs.local, + debian/patches/firebird-fbclient.dpatch, + debian/FirebirdSql.Data.Firebird.dll.config: + - Use libfbclient1 instead of the embedded libfbembed1 + library which is not thread-safe (Closes: #410379) + + debian/control: + - Clean up Build-Depends-Indep + + debian/rules, + debian/mono-gac.install: + - Fix various build failures caused by the binary-arch / binary-indep + split + + -- Sebastian Dröge Tue, 27 Feb 2007 09:44:02 +0100 + +mono (1.2.2.1-2) unstable; urgency=high + + * Sebastian 'slomo' Dröge: + + Urgency high for RC bugfix + + debian/control: + - Build depend on dpkg-dev (>= 1.13.19) for ${source:Version} + substitution (Closes: #411915) + - Update to use my debian.org address + + -- Sebastian Dröge Sat, 24 Feb 2007 16:51:10 +0100 + +mono (1.2.2.1-1) unstable; urgency=low + + * New upstream release + + Mono 1.2.2.1 contains important bugfixes for the ARM architecture + (see #394418), but urgency is not raised because it's a new version. + + Mono 1.2 has upstream security support for 7 years as it's used + in enterprise distributions by upstream. + + For more Mono 1.2 news check the NEWS file. + + * Mirco 'meebey' Bauer: + + New upstream release (1.2.1) + + debian/NEWS: + - Added entry for Mono 1.2 + + debian/control: + - Removed unstable warning from mono-gmcs description. + + debian/patches/gmcs-static-anonmethods.dpatch: + - Removed, already applied upstream. + + debian/mono-gmcs.install: + - Added mkbundle2 + - Added sgen + + debian/libmono-system-web2.0-cil.clideps-override: + - Override for GUI/X11 dependency on libmono-winforms2.0-cil to suggests. + + debian/dh_clideps: + - Synced from cli-common-dev 0.4.7. + + debian/shlibs.local: + - Synced versions from /var/lib/dpkg/info/*.shlibs + * Sebastian 'slomo' Dröge: + + New upstream release (1.2.2) + + New upstream release (1.2.2.1) + + debian/rules: + - Update MONO_API to 1.2.2 + + debian/libmono{1,2}.0-cil.install: + - Add OpenSystem.C library + + debian/patches/*: + - Remove obsolete patches + + -- Debian Mono Group Tue, 5 Dec 2006 20:03:41 +0100 + +mono (1.1.18-3) unstable; urgency=low + + * Sebastian 'slomo' Dröge: + + debian/patches/gmcs-static-anonmethods.dpatch: + - Fix from SVN (r66807) for compilation of static anonymous methods + + -- Debian Mono Group Thu, 19 Oct 2006 06:58:20 +0200 + +mono (1.1.18-2) unstable; urgency=medium + + * The "clean me harder for etch" and "please build on arm this time" release + * Mirco 'meebey' Bauer: + + debian/control: + - Removed obsolete mono-classlib-{1,2}.0 transition packages. + - Changed dependency of mono-runtime on mono-gac to + (= ${source:Version}) for making Mono binNMUable. + - Removed libgc-dev build-dep for kfreebsd. + + debian/rules: + - Added --enable-minimal=aot to configure call for kfreebsd, this might + give us a successful build. + + -- Debian Mono Group Wed, 18 Oct 2006 23:09:35 +0200 + +mono (1.1.18-1) unstable; urgency=low + + * New upstream release + * Mirco 'meebey' Bauer: + + debian/patches/arm_support_larger_stack_r65218.dpatch + debian/patches/fix_tmp_race_r65441.dpatch: + - Removed, already applied upstream. + + debian/control: + - Removed Mono from Build-Conflicts. + + debian/rules: + - Added parameters to $(MAKE) so an existing Mono install is not used. + (thanks to Raja R Harinath to for the hint) + + debian/libmono-winforms{1,2}.0-cil.clideps-override: + - Added suggests libgnomeui-0. + + debian/watch: + - Updated location again. + + -- Debian Mono Group Sun, 15 Oct 2006 13:03:38 +0200 + +mono (1.1.17.1-5) unstable; urgency=high + + * Mirco 'meebey' Bauer: + + debian/patches/fix_tmp_race_r65441.dpatch: + - Fixes tempfile race condition (CVE-2006-5072), taken from upstream SVN. + + debian/control: + - Added mono binary packages to Build-Conflicts, else it tries to use it + during bootstrap and fails. + + debian/dh_clideps + debian/dh_makeclilibs: + - Synced from cli-common-dev 0.4.6. + + -- Debian Mono Group Tue, 3 Oct 2006 14:02:21 +0200 + +mono (1.1.17.1-4) unstable; urgency=high + + * Mirco 'meebey' Bauer: + + debian/control: + - Added zlib1g-dev to build-deps, needed by the System.IO.Compression API + in System.dll 2.0. (Closes: #379225) + + debian/dh_clideps: + - Synced from cli-common package, contains bugfix for libc6 dependencies, + makes Mono installable on ia64 again. (Closes: #388557) + - Also supports -l switch now for controlling the MONO_GAC_PREFIX + environment variable. + + -- Debian Mono Group Sat, 23 Sep 2006 23:09:49 +0200 + +mono (1.1.17.1-3) unstable; urgency=high + + * Mirco 'meebey' Bauer: + + debian/patches/arm_support_larger_stack_r65218.dpatch: + - Should fix ARM FTBFS, taken from upstream SVN, thus urgency=medium. + + debian/dh_clideps: + - Synced from cli-common package, contains bugfix for dependencies on + libmono0 and other packages. + + debian/control: + - Added "Suggests: ${cli:Suggests}" to libmono-system{1,2}.0-cil and + libmono-winforms{1,2}.0-cil. + - Added libxml-dom-perl to build-deps (needed by debian/dh_clideps) + + libmono-system2.0-cil.clideps-override + libmono-winforms1.0-cil.clideps-override + libmono-system1.0-cil.clideps-override + libmono-winforms2.0-cil.clideps-override: + - Added, used to override specific Depends to Suggests for assembly + references. + + debian/shlibs.local: + - Updated + + debian/mono-common.postinst: + - Removed old /usr/share/dotnet/mono to /usr/lib/mono transition code. + - Added removal of unneeded /usr/share/dotnet/mono symlink. + (Closes: #387277) + + debian/rules: + - Honor noopt in DEB_BUILD_OPTIONS. + (thanks to Timo Lindfors , Closes: #380617) + + -- Debian Mono Group Mon, 4 Sep 2006 22:44:55 +0200 + +mono (1.1.17.1-2) unstable; urgency=high + + * Mirco 'meebey' Bauer: + + debian/rules: + - Removed --with-static_mono=no from configure call, caused bad runtime + bugs (random crashes, e.g. FTBFS for ARM). According to upstream this + is an untested feature, and should not be used by the runtime itself. + (thanks to Sebastian 'slomo' Dröge for the investigation) + + debian/watch: + - Updated + + -- Debian Mono Group Mon, 4 Sep 2006 22:44:55 +0200 + +mono (1.1.17.1-1) unstable; urgency=low + + * New upstream release + * Mirco 'meebey' Bauer: + + debian/patches/unix-end-point-serialize.dpatch + + debian/patches/unix-end-point-equals.dpatch + + debian/patches/fix-mono-cairo-image-surface-constructor-signature.dpatch + + debian/patches/ppc_missing_lock.dpatch + + debian/patches/sqliteclient-ppc.dpatch + + debian/patches/gacutil-remove-full-assembly-name.dpatch: + - Removed, already applied upstream. + + debian/patches/console-no-utf8-bom.dpatch: + - Updated, thanks to Sebastian 'slomo' Dröge. + + debian/control: + - Removed mono-mbas package. + + debian/libmono-microsoft{7,8}.0-cil.install + debian/mono-mbas.install + debian/mono-mcs.manpages: + - Removed VB.NET, upstream split it into a separate tarball. + + debian/mono-gmcs.install: + - Added bin/resgen2 and bin/mono-service2 + + debian/libmono{1,2}.0-cil.install: + - Added mono-service.exe + + Updated to Standards Version 3.7.2 (no changes needed). + * Sebastian 'slomo' Dröge: + + debian/mono.runtime-script: + - don't fail on removal if an assembly can't be removed. This is most + likely the case because the assembly is already gone. + + -- Debian Mono Group Sun, 3 Sep 2006 17:19:37 +0200 + +mono (1.1.13.8-1) unstable; urgency=low + + * Mirco 'meebey' Bauer: + + Updated debian/watch to use URL for stable releases. + * Sebastian 'slomo' Dröge: + + New upstream release + + debian/patches/ppc_missing_lock.dpatch: + - Add a missing lock and make some memory executable to fix + various segfaults on PPC64 SMP machines with 32 bit userland. + Patch from mono SVN (rev 61756). Thanks to Johannes Berg + (Closes: #371134) + + debian/patches/sqliteclient-ppc.dpatch: + - LastInsertRowID() returns long, not int for sqlite3. + Fixes it to not return always 0 on PPC. Patch from mono SVN (rev 60676). + + debian/patches/resource-manager-boo.dpatch: + - dropped, upstream now + + debian/patches/console-no-utf8-bom.dpatch: + - don't output the Byte Order Mark on UTF8 locales to the console. This + breaks scripts and everything that parses the output of mono programs. + + debian/patches/gacutil-remove-full-assembly-name.dpatch: + - Allow removal of assemblies with neutral culture info when given as + full assembly name to gacutil + + debian/mono.runtime-scripts: + - added LANG=C to all calls of external programs where the output is + parsed + - Exit with a non-0 exit code if something goes wrong + - Use the full assembly name and gacutil /u for uninstallation + + -- Debian Mono Group Tue, 27 Jun 2006 15:11:24 +0200 + +mono (1.1.13.6-4) unstable; urgency=low + + * Mirco 'meebey' Bauer: + + debian/mono-api-check: + - Added .NET 2.0 support (-2 parameter). + + debian/rules: + - pass -r to dh_clideps call for mono-gac, to prevent a circular + dependency between mono-gac <-> mono-runtime. (Closes: #365822) + * Sebastian 'slomo' Dröge: + + debian/patches/fix-mono-cairo-image-surface-constructor-signature.dpatch: + - Fix the signature of the Mono.Cairo.ImageSurface constructor. It should + take a byte array, not a string. The old version with the string could + never work and would've caused a segfault instead. (SVN rev 60175) + + -- Debian Mono Group Tue, 9 May 2006 22:34:09 +0200 + +mono (1.1.13.6-3) unstable; urgency=medium + + * Mirco 'meebey' Bauer: + + debian/control: + - Package mono-gac can not depend on cli-common >= 0.4.0 yet, which is + still in the NEW queue. Changed to use "Recommends" instead. + This caused FTBFS for packages that build-depend on cli-common or + mono-gac, thus using urgency=medium. + - Removed stdout and stderr redirect in mono-common.{postinst,prerm} to + aid debugging a problem with binfmt. + + -- Debian Mono Group Sun, 23 Apr 2006 15:32:29 +0200 + +mono (1.1.13.6-2) unstable; urgency=low + + * Dylan R. E. Moonfire + + Included the late-GAC install hooks. + * Mirco 'meebey' Bauer: + + synced dh_clideps and dh_makeclilibs from cli-common 0.4.0 + + debian/control: + - New meta package mono-runtime. + - Removed libmono-$version provides of libmono0, not needed anymore. + The shlibs file uses now libmono0. + + -- Debian Mono Group Sun, 9 Apr 2006 14:07:23 -0500 + +mono (1.1.13.6-1) unstable; urgency=high + + * New upstream release + * Mirco 'meebey' Bauer + + This upload solves a dependency chain hell that made Mono not installable + on all archs except i386 and amd64, this caused FTBFS for gtk-sharp and + could also for dbus, avahi and probably other source packages, too, + and blocking their migration to testing. Thus urgency=high. + Unfortunately, I can't close any bugreports here, because there is none + filed against Mono for this issue (yet). + + Splitted left libraries of mono-classlib-1.0 and mono-classlib-2.0 + into own packages to avoid ABI breakages and meet the CLI Policy. + All libraries in a package must have the same version number + (required for versioned package names), see CLI Policy 0.4.0 + mono-classlib-1.0/2.0 are now empty transition packages. + This also solves the circular depedency. (Closes: #358363) + + debian/mono-classlib-1.0.install + debian/mono-classlib-1.0-dbg.install + debian/mono-classlib-2.0.install + debian/mono-classlib-2.0-dbg.install: + - Removed, not needed anymore because of splitting. + + debian/control: + - Removed mono-classlib-1.0/2.0-dbg package + Removed mono-assemblies-base package: + - Changed mono-classlib-1.0/2.0 to have a minimum as depencies for the + transition to avoid a dependency hell. (Closes: #360996) + All packages that have a binary dependency on + mono-classlib-1.0/2.0 should be rebuild! + - Removed pnet-compiler Build-Conflicts and Conflicts. + - Updated libgdiplus dependency of libmono-winforms1.0/2.0-cil + to >= 1.1.13.4 + - Moved System.Drawing.Design and System.Design to + libmono-winforms1.0/2.0-cil + - Added mono-mbas package, to avoid GUI dependency chain + - Added mono-mjs package, to avoid GUI dependency chain + - Added libmono-corlib2.0-cil to mono-utils Suggests, needed when + monodis parses 2.0 libraries. + - Added libmono1.0-cil package + - Added libmono2.0-cil package + - Added libmono-system1.0-cil package + - Added libmono-system2.0-cil package + - Added libmono-system-data1.0-cil package + - Added libmono-system-data2.0-cil package + - Added libmono-system-ldap1.0-cil package + - Added libmono-system-ldap2.0-cil package + - Added libmono-data-tds1.0-cil package + - Added libmono-data-tds2.0-cil package + - Added libmono-accessibility1.0-cil package + - Added libmono-accessibility2.0-cil package + - Added libmono-c5-1.0-cil package + - Added libmono-cscompmgd7.0-cil package + - Added libmono-cscompmgd8.0-cil package + - Added libmono-ldap1.0-cil package + - Added libmono-ldap2.0-cil package + - Added libmono-microsoft-build2.0-cil package + - Added libmono-microsoft7.0-cil package + - Added libmono-microsoft8.0-cil package + - Added libmono-oracle1.0-cil package + - Added libmono-oracle2.0-cil package + - Added libmono-peapi1.0-cil package + - Added libmono-peapi2.0-cil package + - Added libmono-relaxng1.0-cil package + - Added libmono-relaxng2.0-cil package + + debian/rules: + - Added dh_makeclilibs call for 2.0 libraries, with tighter dependencies. + + * Sebastian Dröge + + Add myself to Uploaders + + Added debian/mono-api-check: + - small wrapper script for comparing two assemblies and testing whether + their API is compatible. + + debian/patches/unix-end-point-equals.dpatch (SVN rev 57754:57757): + - Fix Equals() and GetHashCode() of Mono.Unix.UnixEndPoint. + http://bugzilla.ximian.com/show_bug.cgi?id=77747 + + debian/patches/resource-manager-boo.dpatch: + - Fix the long outstanding breakage of boo. See + http://bugzilla.ximian.com/show_bug.cgi?id=77242 + + debian/patches/*.dpatch: + - Removed all obsolete, old patches + + -- Debian Mono Group Wed, 5 Apr 2006 23:47:48 +0200 + +mono (1.1.13.4-1) unstable; urgency=low + + * New upstream release + * Mirco 'meebey' Bauer + + Splitted some ABI problematic libraries into own packages. + Conforming to CLI Policy 0.3.0, for more details see: + http://pkg-mono.alioth.debian.org/cli-policy/ch3.html#s3.1 + + debian/control: + - Added libmono-corlib1.0-cil package + - Added libmono-corlib2.0-cil package + (this solves tight dependency problems on mono-jit) + - Removed mono-classlib-1.0 dependency from mono-jit. + - Added libmono-firebirdsql1.7-cil package + - Added libmono-bytefx0.7.6.1-cil package + - Added libmono-bytefx0.7.6.2-cil package + - Added libmono-npgsql1.0-cil package + - Added libmono-npgsql2.0-cil package + - Added libmono-sharpzip0.6-cil package + - Added libmono-sharpzip0.84-cil package + - Added libmono-sharpzip2.6-cil package + - Added libmono-sharpzip2.84-cil package + - Added libmono-winforms1.0-cil package + - Added libmono-winforms2.0-cil package + - Added libmono-sqlite1.0-cil package + - Added libmono-sqlite2.0-cil package + - Added libmono-cairo1.0-cil package + - Added libmono-cairo2.0-cil package + - Added replaces for mono-classlib-1.0/2.0(-dbg). + - Added splitted packages to mono-classlib-1.0/2.0 depends, for + transistion. + + debian/mono-classlib-1.0.install: + - Moved mscorlib.dll to libmono-corlib1.0-cil.install + + debian/mono-classlib-2.0.install: + - Moved mscorlib.dll to libmono-corlib2.0-cil.install + + debian/README.Debian: + - Updated support archs list. + + debian/changelog: + - Fixed indentation of some entries. + * Sebastian Dröge + + debian/patches/unix-end-point-serialize.dpatch (SVN rev 57026): + - Fix the serialization of UnixEndPoint + + debian/rules: + - Add debian/libmono0/usr/lib to the search path of dh_shlibdeps to get + the missing libmono0 dependencies in mono-jit and mono-utils. + + -- Debian Mono Group Sat, 11 Mar 2006 22:46:42 +0100 + +mono (1.1.13.2-1) unstable; urgency=low + + * New upstream release + * Mirco 'meebey' Bauer + + debian/control: + - Added arm and armeb to arch lists + + -- Debian Mono Group Sat, 28 Jan 2006 22:57:07 +0100 + +mono (1.1.13.1-1) unstable; urgency=low + + * New upstream release + * Mirco 'meebey' Bauer + + synced dh_clideps and dh_makeclilibs from cli-common + + debian/rules: + - Added --with-static_mono=no to configure call, else the libmono0 + package would be useless and loading a 1.7mb shared library is not + _that_ slow. + - Removed chrpath hack + + debian/control: + - Updated debhelper build-dep to >= 5.0.0 + - Removed chrpath from build-deps. + - Adjusted some package descriptions. + - Added replaces to mono-gmcs for mono-mcs. + - Added ${misc:Depends} to all arch dep packages. + + debian/mono-jay.manpages: + - Updated path of jay.1 + + debian/mono-common.dirs: + - Added usr/share/dotnet (Closes: #311540) + + debian/mono-gmcs.install: + - Added xbuild + - Added ilasm2 + + debian/libmono0.install: + - Added libMonoSupportW.so + + debian/libmono-dev.install: + - Added libMonoSupportW.a + + -- Debian Mono Group Sat, 14 Jan 2006 17:21:28 +0100 + +mono (1.1.12.1-1) unstable; urgency=low + + * New upstream release (Closes: #344531) + * Mirco 'meebey' Bauer + + debian/control: + - Added libx11-dev and libxt-dev to build-deps. + - Added libgc-dev [kfreebsd-i386] to build-deps. (Closes: #322599) + + debian/rules: + - Added kfreebsd check for configure call. + - Added --with-libgdiplus=installed and --with-x=yes to configure call. + + debian/compat: + - Changed to 5. + + debian/mono-classlib-1.0.install: + - Added usr/lib/mono/compat-1.0/ + - Added usr/lib/pkgconfig/mono-cairo.pc + + debian/mono-classlib-1.0-dbg.install: + - Removed usr/lib/mono/gac/Microsoft.VisualBasic/7.0.*/*.mdb + + debian/mono-classlib-2.0.install: + - Added usr/lib/mono/compat-2.0/ + - Added usr/lib/mono/gac/FirebirdSql.Data.Firebird/1.7.*/ + - Added usr/lib/mono/gac/Microsoft.Build.*/2.*/ + - Removed usr/lib/mono/gac/Microsoft.VisualBasic/8.0.*/*.mdb + + debian/mono-classlib-2.0-dbg.install: + - Added usr/lib/mono/gac/FirebirdSql.Data.Firebird/1.7.*/*.mdb + - Added usr/lib/mono/gac/Microsoft.Build.*/2.*/*.mdb + + -- Debian Mono Group Tue, 27 Dec 2005 12:58:11 +0100 + +mono (1.1.10-1) unstable; urgency=low + + * New upstream release + * Mirco 'meebey' Bauer + + debian/patches/00list: + - Removed fix_xsp2_inherits, already applied upstream. + - Removed datetime_doparse_fix, already applied upstream. + - Removed s390_compile_fix, already applied upstream. + - Removed 64bit_implicit_pointer_cast_fix, already applied upstream. + + debian/mono-mcs.manpages: + - Added mozroots.1 + + debian/mono-classlib-1.0.install: + - Added dotnet.pc + + debian/control: + - Added libgdiplus to "Recommends" of mono. (Closes: #333851) + + -- Debian Mono Group Sat, 12 Nov 2005 21:54:15 +0200 + +mono (1.1.9.2-1) unstable; urgency=low + + * New upstream release + * Mirco 'meebey' Bauer + + debian/patches/00list: + - Removed io_layer_fix_r50689, already applied upstream. + - Removed amd64_compile_fix_r50553, already applied upstream. + + debian/mono-utils.install: + - Removed dh_installxsp, postrm-monoxsp and postinst-monoxsp. Those files + will be in the XSP package (mono-xsp-base) instead. + + debian/mono-utils.manpages: + - Removed dh_installxsp.1 + + debian/patches/s390_compile_fix.dpatch: + - Updated the patch, one "break" was missing in an empty default label. + + debian/patches/fix_xsp2_inherits.dpatch: + - Added patch to fix class inheritance with XSP2. + (thanks to Dylan R. E. Moonfire for the patch) + + -- Debian Mono Group Sun, 16 Oct 2005 14:01:28 +0200 + +mono (1.1.9.1-3) unstable; urgency=medium + + * Mirco 'meebey' Bauer + + debian/patches/amd64_compile_fix_r50553.dpatch: + - Backport from upstream's SVN, should fix amd64 build. + (Closes: #330369) + + debian/patches/64bit_implicit_pointer_cast_fix.dpatch: + - Should fix problems with amd64 and ia64 build. + (Closes: #330982, thanks to David Mosberger-Tang + for the patch) + + Synced dh_makeclilibs and dh_clideps from cli-common. + + -- Debian Mono Group Sun, 2 Oct 2005 17:17:19 +0200 + +mono (1.1.9.1-2) unstable; urgency=medium + + * Mirco 'meebey' Bauer + + debian/control: + - Added dc to build-deps, required for full bootstrap (solves FTBFS). + (Closes: #330280) + + debian/rules: + - Making debian/dh_makeclilibs and debian/dh_clideps now executable. + (Closes: #330283) + + debian/patches/io_layer_fix_r50689.dpatch: + - Backport from upstream's SVN, fixes process signalling bug. + + debian/patches/s390_compile_fix.dpatch: + - Backport from upstream's SVN, should fix s390 build. + * Eduard Bloch + + fixed bashisms in maintainer scripts and added removal of rpath (chrpath) + + -- Debian Mono Group Tue, 27 Sep 2005 11:58:34 +0200 + +mono (1.1.9.1-1) unstable; urgency=low + + * The "Mono becomes architecture friendly" release + - Mono 1.1.9 supports now IA-64 and ARM too + * New upstream release + * Mirco 'meebey' Bauer + + debian/readme: + - Removed MonoConventions. + - Added link to CLI Policy. + + debian/rules: + - Deleting more nunit files. + + debian/control: + - Dropped cli-common build dependency. + - Added ia64 arch-dep packages. + + debian/mono-gmcs.install: + - Added monop2. + + debian/patches/remove_broken_dllmap_from_mono-shlib-cop.dpatch: + - Wrote patch to remove a dllmap which was causing that dh_clidep + generates a dependency for libc6. + + Copied dh_makeclilibs and dh_clideps of cli-common to debian/ for + bootstrapping reasons, Mono is now autobuildable. + + Applied patch for binfmt-detector-cli which makes it 64bit clean. + (Closes: #325313, thanks to Colin Watson for the + patch) + + -- Debian Mono Group Sat, 24 Sep 2005 15:51:03 +0200 + +mono (1.1.8.3-1) unstable; urgency=low + + * New upstream release + * Mirco 'meebey' Bauer + + debian/rules: + - Copying monodis to debian/tmp/usr/bin now, else dh_clideps in + internal-mono mode will fail. + - Copying monograph from mono/monograph/.libs to debian/tmp/usr/bin. + "make install" is still on drugs installing libtool wrapper scripts. + (Closes: #320479) + + debian/mono-utils.install: + - Use monodis from debian/tmp again. + + debian/control: + - Updated versioned cli-common build-dep to >= 0.2.1, this version + will generate proper deps now when using internal-mono mode. + (Closes: #325473) + - Updated to Standards Version 3.6.2.1 (no changes). + + -- Debian Mono Group Fri, 2 Sep 2005 18:42:39 +0200 + +mono (1.1.8.2-1) unstable; urgency=low + + * New upstream release + * Mirco 'meebey' Bauer + + debian/rules: + - Using new feature of cli-common (internal-mono), this allows to use + the built Mono (in debian/) instead of an installed Mono + (thanks to Ingo Saitz for working on this). + + debian/control: + - Added mono-gmcs to "Suggests" of mono-devel. + - Changed "Priority" of mono-classlib-(1.0|2.0)-dbg to extra. + - Changed dependency of mono-classlib-2.0-dbg from mono-classlib-1.0 + to mono-classlib-2.0. + - Updated versioned cli-common build-dep to >= 0.1.4 + - Removed mono-common dependency from many packages (it's not required + and breaks autobuilding of new packages). + - Removed mono-classlib-1.0/2.0 from build-deps. + + -- Debian Mono Group Sun, 10 Jul 2005 16:08:12 +0200 + +mono (1.1.8.1-3) unstable; urgency=low + + * Mirco 'meebey' Bauer + + debian/mono-gmcs.install: + + debian/mono-gmcs.manpages: + - those 2 files were missing, thus the mono-gmcs package was empty. + (Closes: #316742) + + -- Debian Mono Group Sun, 3 Jul 2005 15:51:55 +0200 + +mono (1.1.8.1-2) unstable; urgency=medium + + * Mirco 'meebey' Bauer + + debian/control: + - Added "Replaces" to mono-utils for mono-mcs (<= 1.1.6-4). + This broke upgrading mono packages from 1.1.6 to 1.1.8.1, thus urgency + set to medium. (Closes: #316691) + + -- Debian Mono Group Sun, 3 Jul 2005 12:43:24 +0200 + +mono (1.1.8.1-1) unstable; urgency=low + + * New upstream release + + Fixed DirectoryInfo.GetFiles(), it failed when filename had a backspace + or space at the end. (Closes: #285287) + + With this release we also package the C# 2.0 part, for details see below. + * Mirco 'meebey' Bauer + + debian/mono-mcs.manpages: + - removed monoresgen.1 and prj2make.1 + (the programs for those don't exist in the packages anymore). + + debian/rules: + - disabled 07_no_libc_fun.dpatch + (upstream doesn't use internal libc symbols anymore) + - Deleting prj2make from build + (it is shipped with the prj2make-sharp package). + - Added --preview=yes and --with-ikvm-native=no to ./configure call + (libikvm-native.so is shipped by the ikvm package). + - A lot of changes to make the split of classlib 1.0/2.0 possible. + + debian/control: + - Updated versioned cli-common build-dep to >= 0.1.3 + - Moved libMonoPosixHelper.so from libmono-dev to libmono0, because it's + an unversioned library now. + - Added "Replaces" to libmono0 for libmono-dev (<= 1.1.6-4). + - Renamed mono-assmeblies-base to mono-classlib-1.0 and set "Replaces" + and "Conflicts" for it. + - Added mono-assmeblies-base transistion package. + - Added new packages: mono-gmcs, mono-classlib-2.0, mono-classlib-1.0-dbg + and mono-classlib-2.0-dbg. + - Removed ${cli:Depends} from "Depends" of mono-classlib-1.0. + - Dropped mono-assemblies-arch package, there aren't any arch specific + CIL libraries. + - Changed static depends of mono-mcs to ${cli:Depends} + - Added mono-classlib-1.0 and mono-classlib-2.0 to build-deps + (required for dh_makeclilibs). + + debian/mono-utils.install: + - Using mono/dis/.libs/monodis because the Makefile is confused and + installs a libtool wrapper script instead. + - Added missing /usr/bin/monodiet + - Added new /usr/bin/mono-find-provides and /usr/bin/mono-find-requires + + -- Debian Mono Group Tue, 21 Jun 2005 21:30:36 +0200 + +mono (1.1.6-4) unstable; urgency=low + + * upload to unstable + * Mirco 'meebey' Bauer + + added debian/watch file + + -- Debian Mono Group Sun, 29 May 2005 19:51:35 +0200 + +mono (1.1.6-3) experimental; urgency=low + + * Mirco 'meebey' Bauer + + updated "Section" fields in debian/control. + + added amd64 to the arch fields (Closes: #253542) + (thanks to Kurt Roeckx for testing it on AMD64) + + -- Debian Mono Group Sat, 14 May 2005 18:58:59 +0200 + +mono (1.1.6-2) experimental; urgency=low + + * Mirco 'meebey' Bauer + + removed cli-common from mono-common deps, it's for build-deps. + + updated versioned build-dep of cli-common to >= 0.1.1 + + -- Debian Mono Group Sun, 17 Apr 2005 21:19:58 +0200 + +mono (1.1.6-1) experimental; urgency=low + + * New upstream release + + New version (Closes: #296353, #301268) + + New build system, using one source tarball. + + Almost all programs have a manpage now. + + Mono 1.1.x branch supports AMD64 architecture. + + Remoting is fast again with 1.1.6 + (Closes: #303349) + * Mirco 'meebey' Bauer + + Upstream merged mcs and mono into one mono tarball, this makes the + build process a lot easier. + + Dropping /usr/share/dotnet structure with this release, upstream + provides now a FHS conform solution. + + Added versioned mono-common dependency to mono, makes lintian happy. + + Added cli-common to build-dependencies. + + Added transition code to mono-common.postinst for moving + /usr/share/dotnet/mono to /usr/lib/mono + (thanks to Ingo Saitz aka Salz for helping with this) + + Added c-sharp-compiler, resource-file-generator, assembly-linker, + strong-name-tool, global-assembly-cache-tool and cil-disassembler + alternatives (those are common CLI programs). + + Added mono-devel metapackage. + + Added mono-common dependecy to all related packages. + + Removed a lot of hacks in debian/rules, not required anymore. + + Removed old Conflicts/Replaces. + + Removed icu28-dev from buil-dependencies (ICU is not recommended by + upstream anymore, and does break things). + + Added pkg-config to "Recommends" of mono-mcs. (Closes: #294606) + + created 07_no_libc_fun.dpatch + (Mono 1.1.x tries to use internal libc symbols, which is not required) + + -- Debian Mono Group Sat, 2 Apr 2005 12:48:09 +0200 + +mono (1.0.5-2) unstable; urgency=high + + * Mirco 'meebey' Bauer + + removed mono-mint package and all packages for s390. + The mono-mint (the interpeter) is deprecated, unmaintained upstream + and was just a proof-of-concept programm. + The mono-jit is no longer supported for s390 by upstream in the stable + release and has a lot of bugs on that arch. This prevents Mono to enter + "testing", thus removed. + + -- Debian Mono Group Tue, 15 Feb 2005 22:58:39 +0200 + +mono (1.0.5-1) unstable; urgency=high + + * New upstream release + * Mirco 'meebey' Bauer + + disabled building of .NET 2.0 classlib, because it breaks too much. + Upstream said it should not be used, even Novell does not ship it. + This fixes some very strange bugs, all tested against 1.0.5. + (Closes: #286270, #276464, #287279) + + cleanups in debian/rules + + -- Debian Mono Group Sun, 30 Jan 2005 01:07:36 +0200 + +mono (1.0.4-1) unstable; urgency=high + + * New upstream release + * Mirco 'meebey' Bauer + + removed automake from build-deps + + JIT seems to be stable now (Closes: #258041) + + -- Debian Mono Group Sun, 05 Dec 2004 16:09:32 +0200 + +mono (1.0.2-1) unstable; urgency=high + + * The "All or Nothing" release + * New upstream release (Closes: #273675) + * Mirco 'meebey' Bauer + + applied debian/rules patch to fix FTBFS on i386 with amd64 kernel + (Closes: #265510 thanks to Kurt Roeckx ) + + removed all not official supported architectures + (Closes: #272846, #259680) + + cosmetic cleanups in debian/rules + + -- Debian Mono Group Thu, 11 Oct 2004 21:21:02 +0200 + +mono (1.0.1-1) unstable; urgency=medium + + * New upstream (bugfix) release + + -- Debian Mono Group Thu, 12 Aug 2004 13:46:04 +0200 + +mono (1.0-4) unstable; urgency=medium + + * the "sorry for forgetting the NOT RELEASED YET tags" release + * Mono BSP + * Mirco 'meebey' Bauer + + debian/rules: s390 build should work now + (showstopper for sarge, thus medium urgency) + + debian/control: fixed typo, tuned Architecture field for mono (should + finaly prevent "unallowed" architectures from trying to build mono) + + debian/README.Debian: fixed typo + * Eduard Bloch + + --with-ntpl=no! When compiled with NTPL support, it still breaks on + kernel 2.4 though not using the other libs (closes: #256755, #257412) + + patched Makefiles to link explicitely with glib and dl, thanks to + Russ Allbery (closes: #262023) + + disabled mono-mint build for i386 and powerpc, upstream wish + + -- Debian Mono Group Sun, 08 Aug 2004 16:38:32 +0200 + +mono (1.0-3) unstable; urgency=low + + * NOT RELEASED YET + + -- Eduard Bloch Wed, 7 Jul 2004 19:03:57 +0200 + +mono (1.0-2) unstable; urgency=medium + + * Eduard Bloch + + Workarounds for FTBFS on architectures that have we already built for in + the past + + dh_makenetlibs: extremely ugly workaround for collecting library data + even when not the whole assembly chain works (we need something more + mature than monodis to do this; closes: #258040) + + -- Debian Mono Group Wed, 07 Jul 2004 18:53:32 +0200 + +mono (1.0-1) unstable; urgency=low + + * New upstream release (1.0 final) + * Mirco 'meebey' Bauer + + debian/rules: cleanup + + -- Debian Mono Group Mon, 30 Jun 2004 18:41:27 +0200 + +mono (0.97-1) unstable; urgency=medium + + * New upstream release (Release Candidate) + + basicaly a bugfix release, solves JIT crash problems with kernel 2.4.x + (closes: #255485, #256200), thus this urgency + * Eduard Bloch + + Added libMonoPosixHelper... to libmono... packages (closes: #256697) + + monosn is gone, using sn to get the signature strings now + + set alternative dependency on mono-assemblies-base-0.96, + apparently compatible + + -- Debian Mono Group Mon, 28 Jun 2004 01:14:32 +0200 + +mono (0.96-1) unstable; urgency=low + + * New upstream release + * Eduard Bloch + + setting virtual ".shlibs" for libmono via provides, currently + libmono-0.96 + + created new dh_makenetlibs and dh_netdeps tools to manage assembly + dependencies in the Perl/Python way + + Moved Pablo's dh_installxsp script to mono-utils to mono-utils + + mono-common.preinst now moves /usr/lib/mono directory (if exists) to + /usr/share/dotnet + + moved the check for mono-vs.-mint priority to debian/rules + + applied the patch (as dpatch) from Jackson Harper, + http://bugzilla.ximian.com/showattachment.cgi?attach_id=8206 to fix the + monodis segfault while operating on unresolved assembly references + * Mirco 'meebey' Bauer + + New upstream release updates + + enabled preview features (.NET 1.2, generics) + * Michael Schiansky + + Since beta1 (0.91) dllmaps are handled cleanly (Closes: #241686) + * Pablo Fischer + + Added autoscript support to dh_installxsp + + -- Debian Mono Group Sat, 19 Jun 2004 14:38:57 +0200 + +mono (0.91-1) unstable; urgency=low + + * New upstream release (Closes: Bug#249419) + * JIT is more stable now (Closes: Bug#238420) + * FTBFS fixes for sparc in rules/control + * added s390 architecture to mono-jit, libmono0 and libmono-dev + * documented supported architectures in README.Debian + + -- Mirco 'meebey' Bauer Sun, 02 May 2004 19:19:22 +0200 + +mono (0.31-2) unstable; urgency=low + + * kernel detection overridden to build 2.4 compatible version + (closes: #243928, #243940) + * DLL map updates (closes: #241686) + * README.Debian updated with latest MonoConventions + + -- Eduard Bloch Wed, 7 Apr 2004 01:39:55 +0200 + +mono (0.31-1) unstable; urgency=low + + * New upstream release + * Eduard Bloch + + added additional entries to the hard-coded DLL map (closes: #236782) + + included experimental patch for build failures on HPPA (partial fix + for #240272) + + -- Eduard Bloch Tue, 6 Apr 2004 09:44:35 +0200 + +mono (0.30.2-1) unstable; urgency=low + + * New upstream release + * Eduard Bloch: + + debian/control: limited "any" arch lists to those really supported by the + Mono project. libmono0(-dev) to i386 powerpc (closes: #235315) + + added a workaround for gnomeui-2 symbolic name (closes: #235946) + + deleting the alternatives entries only on removal (closes: #234815) + + -- Eduard Bloch Sat, 6 Mar 2004 13:15:43 +0100 + +mono (0.30.1-1) unstable; urgency=low + + * New upstream release + * SONAME wokraround for libgstreamer-0.6.so.1 + + -- Eduard Bloch Tue, 24 Feb 2004 18:15:49 +0100 + +mono (0.29.99.20040114-4) unstable; urgency=low + + * Eduard Bloch: + + catch-them-all cli-wrapper rewrite + + set mono-common conflict with the virtual package cli-common + * Teófilo Ruiz Suárez: + + removed libicu26-dev from Build-Depends so mono-jit don't depend on + libicu26 (Closes: #231966) + + -- Eduard Bloch Mon, 9 Feb 2004 00:23:40 +0100 + +mono (0.29.99.20040114-3) unstable; urgency=low + + * bugfix release, hopefully the last of 0.29* series + * Teófilo Ruiz Suárez: + + added automake1.7 to Build-Deps + * Eduard Bloch: + + Included modified icu-config to use libicu26-dev + + added libtool to Build-Deps (closes: #231271) + + hook to correct SONAMEs in /etc/mono/config file (Closes: #231191) + + included a generic binary wrapper to mono-common to be used as + PROGRAM to run /usr/bin/PROGRAM.exe with /usr/bin/cli + + -- Eduard Bloch Thu, 22 Jan 2004 00:57:56 +0100 + +mono (0.29.99.20040114-2) unstable; urgency=low + + * Finally closing the outstanding ITPs (closes: #132882) + * Maintainer mailing list address fixed + * libmint* removed (upstream request, considered as dead-end package) + * improved description, added pedump to mono-utils, dropped monosn (upstream + request) + + -- Eduard Bloch Sun, 18 Jan 2004 19:15:41 +0100 + +mono (0.29.99.20040114-1) unstable; urgency=low + + * New maintainer: Debian Mono maintainers + after the previous maintainers stoped the work on it + * Package descriptions written or improved + * Library package separation to follow the shared libs conventions + (libmono and libmono-profiler-... seem to belong together, though) + * libmono-dev depends on libmint-dev since the last contains the headers and + is available on all supported arches + * Package renaming to avoid confusion (mono in mono-jit, mint in mono-mint) + * merged binfmt-detector-cli and mono-common since they were already linked + together and another 3kB package makes no much sense + * limited the arch list to those officially supported by the Mono Project + * Adapted the /usr/share/doc/mono-interpreter (now -mint) fixing hooks + + -- Eduard Bloch Sun, 18 Jan 2004 19:11:04 +0100 + +mono (0.26-2) unstable; urgency=low + + * No longer depend on an external libgc + + -- Alp Toker Tue, 26 Aug 2003 23:27:11 +0100 + +mono (0.26-1) unstable; urgency=low + + * New upstream release + + -- Alp Toker Fri, 15 Aug 2003 15:41:38 +0100 + +mono (0.24-1) unstable; urgency=low + + * New upstream release + + -- Alp Toker Wed, 7 May 2003 02:53:40 +0100 + +mono (0.23-1) unstable; urgency=low + + * New upstream release + + -- Alp Toker Fri, 7 Mar 2003 20:32:37 +0000 + +mono (0.22-1) unstable; urgency=low + + * New upstream release + + -- Alp Toker Thu, 6 Mar 2003 22:52:19 +0000 + +mono (0.21-1) unstable; urgency=low + + * New upstream release + + -- Alp Toker Thu, 27 Feb 2003 22:55:33 +0000 + +mono (0.20-1) unstable; urgency=low + + * New upstream release + + -- Alp Toker Mon, 24 Feb 2003 01:09:34 +0000 + +mono (0.19-3) unstable; urgency=low + + * Build libmono as a shared object (needed for mod_mono) + + -- Alp Toker Sat, 25 Jan 2003 05:26:44 +0000 + +mono (0.19-2) unstable; urgency=low + + * Build against the new libgc6c102 + * Pipe binfmt-misc warnings to /dev/null + + -- Alp Toker Tue, 21 Jan 2003 07:17:12 +0000 + +mono (0.19-1) unstable; urgency=low + + * New upstream release + + -- Alp Toker Tue, 21 Jan 2003 00:05:56 +0000 + +mono (0.18-1) unstable; urgency=low + + * New upstream release + + -- Alp Toker Mon, 13 Jan 2003 17:16:34 +0000 + +mono (0.17-3) unstable; urgency=low + + * Include machine.config and anything else that goes in /etc/mono + + -- Alp Toker Tue, 17 Dec 2002 14:23:30 +0000 + +mono (0.17-2) unstable; urgency=low + + * Disable exuberant debugging in PPC trampoline code + + -- Alp Toker Mon, 16 Dec 2002 17:58:56 +0000 + +mono (0.17-1) unstable; urgency=low + + * New upstream release + + -- Alp Toker Tue, 10 Dec 2002 14:13:18 +0000 + +mono (0.16-1) unstable; urgency=low + + * New upstream version. Sorry I havn't been doing any CVS snapshots for + a month. I'll try and sort something out. + * Include a patch from Michel Danzer to fix + idiotic build failure on non-i386 arches. + * Install /etc/mono/config and the manpage in the mono-common package, + and add a replaces for smooth upgrades (mono-config.5 used to be in + the mono-jit package). + * Switch from setting prefix to DESTDIR so /etc works too. + * Added some {}s to monoburg.y to make it parse correctly. Thanks to + Zoltan Varga's message on mono-list. + * Added data/config to the list of files that need to be cleaned + manually. + + -- Robert McQueen Sat, 19 Oct 2002 16:16:08 +0100 + +mono (0.15-1) unstable; urgency=low + + * New upstream version. + + -- Robert McQueen Sat, 24 Aug 2002 00:36:34 +0100 + +mono (0.13-3) unstable; urgency=low + + * Pass --disable-shared to configure, and link mono-jit statically. + * This turned out to be broken. Thanks to Dick Porter for putting up + with me moaning about libtool combinations for a day, and for fixing + it with the correct method I absolutely failed to see. Applied his + patch for this, should hit CVS soon or I'll back it out. + * Ship only a static libmono-dev for people interested in embedding. + Shared lib is useless because the API is massively unstable. + * Conflict the -dev with the old libmono0 until it is deemed useful + again. + * Change -a to -s in the binary-arch target so debhelper will only + build arch-specific packages if they're available on the build arch. + * Added mono-config.5 manpage to mono-jit package, and libmono.la and + pkg-config/mono files to libmono-dev package. + + -- Robert McQueen Wed, 14 Aug 2002 23:07:40 +0100 + +mono (0.13-2) unstable; urgency=low + + * Holiday maintainer upload. =) + * Switched to pristine upstream source tarball. + * Cleaned up debian/rules file, separated binary-arch/binary-indep + targets for builds on other arches. + * Stole the makefile magic from galeon (I did help write it =) to + automatically run configure or autogen.sh depending on whether we're + building from CVS or not, and then do the correct clean command + later. + * At the advice of Ximian folk, don't provide libmono0/libmono-dev for + the moment - the API is unstable. + * For when it does return... install the .a into libmono-dev and make + it arch: any. + * Include libmono.so.0 and libmono.so.0.0.0 into the mono-jit package. + These will be returned to a seperate package, and headers and static + libraries provided, when libmono's API is stable. To ease + transition, added a Replaces: header. + * Made mono-common arch: all, it contains no binaries currently. + * Leave out cil-opcodes.xml unless someone complains. + * Install documentation in mono-common, and have packages that depend + on it symlink to there instead. Made mono depend directly on + mono-common to prevent lintian griping about this. Added code to + postinsts of mono, mono-jit and mono-interpreter remove their doc + dir and replace it with a symlink on upgrades. Dpkg will not replace + a directory with a symlink, even if it's empty. + * Added -e to /bin/sh in the maintainer scripts. + * Don't ship monostyle.1 and monoburg.1 manpages, the programs are in + the mcs package and we don't ship them currently. + * Added undocumented symlink for monograph.1. + * Added rm to clean target for spare Makefiles left behind. + + -- Robert McQueen Sun, 4 Aug 2002 00:57:15 +0100 + +mono (0.13-1) unstable; urgency=low + + * Initial release. + + -- Alp Toker Sun, 28 Apr 2002 22:10:10 +0100 diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/cli.binfmt /tmp/whXnmORr8x/mono-2.4+dfsg/debian/cli.binfmt --- mono-2.4.0/debian/cli.binfmt 2009-05-31 08:36:14.000000000 +0100 +++ mono-2.4+dfsg/debian/cli.binfmt 2009-05-31 08:36:21.000000000 +0100 @@ -1,4 +1,4 @@ -package mono +package mono-common detector /usr/lib/cli/binfmt-detector-cli interpreter /usr/bin/cli magic MZ diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/cli-wrapper /tmp/whXnmORr8x/mono-2.4+dfsg/debian/cli-wrapper --- mono-2.4.0/debian/cli-wrapper 2009-05-31 08:36:14.000000000 +0100 +++ mono-2.4+dfsg/debian/cli-wrapper 1970-01-01 01:00:00.000000000 +0100 @@ -1,2 +0,0 @@ -#!/bin/sh -/usr/bin/cli "$0.exe" "$@" diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/control /tmp/whXnmORr8x/mono-2.4+dfsg/debian/control --- mono-2.4.0/debian/control 2009-05-31 08:36:14.000000000 +0100 +++ mono-2.4+dfsg/debian/control 2009-05-31 08:36:21.000000000 +0100 @@ -1,773 +1,1581 @@ Source: mono -Maintainer: Michael B. Trausch -Section: interpreters +Section: cli-mono Priority: optional -Build-Depends: debhelper (>= 5), dpkg-dev (>= 1.13.19), - libglib2.0-dev (>= 2.4), bison, libtool, dpatch, libxml-dom-perl, - libxslt1-dev, dc, libx11-dev, libxt-dev, zlib1g-dev, autotools-dev -Build-Depends-Indep: libgamin-dev, libcups2-dev, librsvg2-dev +Maintainer: Joseph Smidt +XSBC-Original-Maintainer: Debian Mono Group +Uploaders: Mirco Bauer , Sebastian Dröge , Jo Shields +Build-Depends: debhelper (>= 7), + dpkg-dev (>= 1.13.19), + libglib2.0-dev (>= 2.4), + bison, + libtool, + dpatch, + libxml-dom-perl, + libxslt1-dev, + dc, + lsb-release, + libx11-dev, + libxt-dev, + zlib1g-dev, + autoconf, + automake Standards-Version: 3.8.0 Homepage: http://www.mono-project.com/ -X-Repackage-Reason: Simplify and update from Ubuntu/Debian packaging - -Package: mono -Architecture: i386 lpia kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm - armeb armel sparc s390 -Provides: cli-runtime, cli-virtual-machine, cli-disassembler, - libnunit2.2-cil, c-sharp-compiler, c-sharp-2.0-compiler, - c-sharp-3.0-compiler, resource-file-generator, assembly-linker, - strong-name-tool, global-assembly-cache-tool, monodoc-viewer, - nunit-console -Depends: ${shlibs:Depends}, ${misc:Depends}, pkg-config, libgdiplus, - libglib2.0-0, libsqlite3-0 -Recommends: binfmt-support (>= 1.1.2), gdb, libgluezilla -Description: The Mono CLR - Mono is an implementation of the CLR based on ECMA and ISO standards. - It is an open-source and free software project which seeks to implement - the CLI and CLR standards, and provides compilers for C# and VB.NET as - well as the class libraries. This package contains the complete Mono - binary package compiled from upstream source code. - -Package: mono-common -Architecture: i386 lpia kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm - armeb armel sparc s390 -Depends: mono (= ${source:Version}) -Description: mono-common dummy package - This is a dummy package present only to satisfy versioned - dependencies in Debian (and derivative) distributions. +Vcs-Git: git://git.debian.org/git/pkg-mono/packages/mono.git +Vcs-Browser: http://git.debian.org/?p=pkg-mono/packages/mono.git Package: mono-runtime -Architecture: i386 lpia kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm - armeb armel sparc s390 -Depends: mono (= ${source:Version}) -Description: mono-runtime dummy package - This is a dummy package present only to satisfy versioned - dependencies in Debian (and derivative) distributions. - -Package: mono-1.0-runtime -Architecture: i386 lpia kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm - armeb armel sparc s390 -Depends: mono (= ${source:Version}) -Description: mono-1.0-runtime dummy package - This is a dummy package present only to satisfy versioned - dependencies in Debian (and derivative) distributions. - -Package: mono-2.0-runtime -Architecture: i386 lpia kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm - armeb armel sparc s390D -Depends: mono (= ${source:Version}) -Description: mono-2.0-runtime dummy package - This is a dummy package present only to satisfy versioned - dependencies in Debian (and derivative) distributions. - -Package: mono-jit -Architecture: i386 lpia kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm - armeb armel sparc s390 -Depends: mono (= ${source:Version}) -Description: mono-jit dummy package - This is a dummy package present only to satisfy versioned - dependencies in Debian (and derivative) distributions. - -Package: mono-jit-dbg -Architecture: i386 lpia kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm - armeb armel sparc s390 -Depends: mono (= ${source:Version}) -Description: mono-jit-dbg dummy package - This is a dummy package present only to satisfy versioned - dependencies in Debian (and derivative) distributions. +Provides: cli-runtime, cli-virtual-machine +Architecture: i386 lpia kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm armeb armel sparc s390 +Replaces: mono-common (<< 2.4), mono-jit (<< 2.4), libmono0 (<< 2.4) +Conflicts: mono-common (<< 2.4), mono-jit (<< 2.4) +Suggests: xdg-utils | libgnome2-0 | konqueror +Recommends: binfmt-support (>= 1.1.2) +Depends: ${shlibs:Depends}, + ${misc:Depends}, + mono-gac (= ${source:Version}) +Description: Mono runtime + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Virtual Machine, JIT (Just-in-Time) and + AOT (Ahead-of-Time) code generator "mono". + "mono" executes applications for the CLI (Common Language Infrastructure). + Mono currently only supports the X86, PowerPC, ARM, SPARC, S/390, AMD64 and + IA64 architectures. Optionally this package configures BINFMT support. + +Package: mono-runtime-dbg +Priority: extra +Section: debug +Architecture: i386 lpia kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm armeb armel sparc s390 +Replaces: mono-jit-dbg (<< 2.4) +Conflicts: mono-jit-dbg (<< 2.4) +Depends: mono-runtime (= ${binary:Version}) +Recommends: gdb +Description: Mono runtime, debugging symbols + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the debugging symbols of the Mono JIT/AOT compiler. Package: mono-utils -Architecture: i386 lpia kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm - armeb armel sparc s390 -Depends: mono (= ${source:Version}) -Description: mono-utils dummy package - This is a dummy package present only to satisfy versioned - dependencies in Debian (and derivative) distributions. +Provides: cil-disassembler +Architecture: i386 lpia kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm armeb armel sparc s390 +Replaces: mono-mcs (<= 1.1.6-4) +Depends: ${shlibs:Depends}, ${misc:Depends}, libmono0 (= ${binary:Version}), libmono-corlib2.0-cil (= ${source:Version}) | libmono-corlib1.0-cil (= ${source:Version}) +Description: Mono utilities + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package includes various tools useful for CLI developers, like + dh_installxsp, pedump, monodiet, monodis and monograph. + +Package: mono-complete +Architecture: i386 lpia kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm armeb armel sparc s390 +Depends: mono-runtime (= ${binary:Version}), + mono-utils (= ${binary:Version}), + mono-jay (= ${binary:Version}), + mono-devel (= ${source:Version}), + mono-gmcs (= ${source:Version}), + mono-xbuild (= ${source:Version}), + mono-csharp-shell (= ${source:Version}), + mono-1.0-gac (= ${source:Version}), + mono-2.0-gac (= ${source:Version}), + mono-1.0-service (= ${source:Version}), + mono-2.0-service (= ${source:Version}), + mono-1.0-devel (= ${source:Version}), + mono-2.0-devel (= ${source:Version}), + monodoc-base (= ${source:Version}), + monodoc-manual (= ${source:Version}), + prj2make-sharp (= ${source:Version}), + libmono1.0-cil (= ${source:Version}), + libmono2.0-cil (= ${source:Version}), + libmono-corlib1.0-cil (= ${source:Version}), + libmono-corlib2.0-cil (= ${source:Version}), + libmono-posix1.0-cil (= ${source:Version}), + libmono-posix2.0-cil (= ${source:Version}), + libmono-getoptions1.0-cil (= ${source:Version}), + libmono-getoptions2.0-cil (= ${source:Version}), + libmono-data1.0-cil (= ${source:Version}), + libmono-data2.0-cil (= ${source:Version}), + libmono-c5-1.0-cil (= ${source:Version}), + libmono-cecil-private-cil (= ${source:Version}), + libmono-webbrowser0.5-cil (= ${source:Version}), + libmono-nunit2.4-cil (= ${source:Version}), + libmono-management2.0-cil (= ${source:Version}), + libmono-messaging2.0-cil (= ${source:Version}), + libmono-simd2.0-cil (= ${source:Version}), + libmono-i18n1.0-cil (= ${source:Version}), + libmono-i18n2.0-cil (= ${source:Version}), + libmono-i18n-west1.0-cil (= ${source:Version}), + libmono-i18n-west2.0-cil (= ${source:Version}), + libmono-system1.0-cil (= ${source:Version}), + libmono-system2.0-cil (= ${source:Version}), + libmono-system-messaging1.0-cil (= ${source:Version}), + libmono-system-messaging2.0-cil (= ${source:Version}), + libmono-security1.0-cil (= ${source:Version}), + libmono-security2.0-cil (= ${source:Version}), + libmono-data-tds1.0-cil (= ${source:Version}), + libmono-data-tds2.0-cil (= ${source:Version}), + libmono-system-data1.0-cil (= ${source:Version}), + libmono-system-data2.0-cil (= ${source:Version}), + libmono-system-web1.0-cil (= ${source:Version}), + libmono-system-web2.0-cil (= ${source:Version}), + libmono-wcf3.0-cil (= ${source:Version}), + libmono-system-runtime1.0-cil (= ${source:Version}), + libmono-system-runtime2.0-cil (= ${source:Version}), + libmono-system-ldap1.0-cil (= ${source:Version}), + libmono-system-ldap2.0-cil (= ${source:Version}), + libmono-winforms1.0-cil (= ${source:Version}), + libmono-winforms2.0-cil (= ${source:Version}), + libmono-cairo1.0-cil (= ${source:Version}), + libmono-cairo2.0-cil (= ${source:Version}), + libmono-sharpzip0.6-cil (= ${source:Version}), + libmono-sharpzip2.6-cil (= ${source:Version}), + libmono-sharpzip0.84-cil (= ${source:Version}), + libmono-sharpzip2.84-cil (= ${source:Version}), + libmono-npgsql1.0-cil (= ${source:Version}), + libmono-npgsql2.0-cil (= ${source:Version}), + libmono-bytefx0.7.6.1-cil (= ${source:Version}), + libmono-bytefx0.7.6.2-cil (= ${source:Version}), + libmono-firebirdsql1.7-cil (= ${source:Version}), + libmono-db2-1.0-cil (= ${source:Version}), + libmono-oracle1.0-cil (= ${source:Version}), + libmono-oracle2.0-cil (= ${source:Version}), + libmono-sqlite1.0-cil (= ${source:Version}), + libmono-sqlite2.0-cil (= ${source:Version}), + libmono-accessibility1.0-cil (= ${source:Version}), + libmono-accessibility2.0-cil (= ${source:Version}), + libmono-cscompmgd7.0-cil (= ${source:Version}), + libmono-cscompmgd8.0-cil (= ${source:Version}), + libmono-ldap2.0-cil (= ${source:Version}), + libmono-ldap1.0-cil (= ${source:Version}), + libmono-microsoft-build2.0-cil (= ${source:Version}), + libmono-microsoft7.0-cil (= ${source:Version}), + libmono-microsoft8.0-cil (= ${source:Version}), + libmono-peapi1.0-cil (= ${source:Version}), + libmono-peapi2.0-cil (= ${source:Version}), + libmono-relaxng1.0-cil (= ${source:Version}), + libmono-relaxng2.0-cil (= ${source:Version}) +Description: complete Mono runtime, development tools and all libraries + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This is a metapackage and pulls in the Mono runtime, development tools and + all libraries. + . + Install this package if you want to run software for Mono or Microsoft .NET + which you are not installing from a Debian package. + . + For packagers: This package is not to be used as dependency for packages! + You should build-depend on cli-common-dev and the needed libraries instead. Package: libmono0 -Architecture: i386 lpia kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm - armeb armel sparc s390 -Depends: mono (= ${source:Version}) -Description: libmono0 dummy package - This is a dummy package present only to satisfy versioned - dependencies in Debian (and derivative) distributions. +Architecture: i386 lpia kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm armeb armel sparc s390 +Replaces: libmono-dev (<= 1.1.6-4) +Conflicts: mono-utils (<< 1.2.3.1-4) +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Mono JIT library + Shared library for Mono, used for embedding/hosting of the JIT. + . + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. Package: libmono0-dbg -Architecture: i386 lpia kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm - armeb armel sparc s390 -Depends: mono (= ${source:Version}) -Description: libmono0-dbg dummy package - This is a dummy package present only to satisfy versioned - dependencies in Debian (and derivative) distributions. +Priority: extra +Section: debug +Architecture: i386 lpia kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm armeb armel sparc s390 +Depends: libmono0 (= ${binary:Version}) +Recommends: gdb +Description: Mono JIT library, debugging symbols + This package contains the debugging symbols of the Mono JIT library. + . + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. Package: libmono-dev -Architecture: i386 lpia kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm - armeb armel sparc s390 -Depends: mono (= ${source:Version}) -Description: libmono-dev dummy package - This is a dummy package present only to satisfy versioned - dependencies in Debian (and derivative) distributions. +Architecture: i386 lpia kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm armeb armel sparc s390 +Depends: libmono0 (= ${binary:Version}), libglib2.0-dev +Description: Mono JIT library - Development files + Header files and static libraries for libmono. + . + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. Package: libmono1.0-cil -Architecture: i386 lpia kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm - armeb armel sparc s390 -Depends: mono (= ${source:Version}) -Description: libmono1.0-cil dummy package - This is a dummy package present only to satisfy versioned - dependencies in Debian (and derivative) distributions. +Architecture: all +Replaces: mono-classlib-1.0 (<< 1.1.13.6), mono-classlib-1.0-dbg (<< 1.1.13.6) +Depends: ${cli:Depends} +Description: Mono libraries (for CLI 1.0) + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains various Mono libraries for CLI 1.0: + - Mono.CompilerServices.SymbolWriter + - Mono.Http + - OpenSystem.C Package: libmono2.0-cil -Architecture: i386 lpia kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm - armeb armel sparc s390 -Depends: mono (= ${source:Version}) -Description: libmono2.0-cil dummy package - This is a dummy package present only to satisfy versioned - dependencies in Debian (and derivative) distributions. +Architecture: all +Replaces: mono-classlib-2.0 (<< 1.1.13.6), mono-classlib-2.0-dbg (<< 1.1.13.6) +Depends: ${cli:Depends} +Description: Mono libraries (for CLI 2.0) + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains various Mono libraries for CLI 2.0: + - Mono.CompilerServices.SymbolWriter + - Mono.Http + - Mono.Web + - OpenSystem.C Package: libmono-posix1.0-cil -Architecture: i386 lpia kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm - armeb armel sparc s390 -Depends: mono (= ${source:Version}) -Description: libmono-posix1.0-cil dummy package - This is a dummy package present only to satisfy versioned - dependencies in Debian (and derivative) distributions. +Architecture: all +Replaces: libmono1.0-cil (<< 2.0) +Depends: ${cli:Depends} +Description: Mono.Posix library (for CLI 1.0) + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Mono.Posix library for CLI 1.0 that binds many APIs + found in glibc or intl. Package: libmono-posix2.0-cil -Architecture: i386 lpia kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm - armeb armel sparc s390 -Depends: mono (= ${source:Version}) -Description: libmono-posix2.0-cil dummy package - This is a dummy package present only to satisfy versioned - dependencies in Debian (and derivative) distributions. +Architecture: all +Replaces: libmono2.0-cil (<< 2.0) +Depends: ${cli:Depends} +Description: Mono.Posix library (for CLI 2.0) + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Mono.Posix library for CLI 2.0 that binds many APIs + found in glibc or intl. Package: libmono-getoptions1.0-cil -Architecture: i386 lpia kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm - armeb armel sparc s390 -Depends: mono (= ${source:Version}) -Description: libmono-getoptions1.0-cil dummy package - This is a dummy package present only to satisfy versioned - dependencies in Debian (and derivative) distributions. +Architecture: all +Replaces: libmono1.0-cil (<< 2.0) +Depends: ${cli:Depends} +Description: Mono.GetOptions library (for CLI 1.0) + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Mono.GetOptions library for CLI 1.0 that allows to + parse command line options and arguments easily. Package: libmono-getoptions2.0-cil -Architecture: i386 lpia kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm - armeb armel sparc s390 -Depends: mono (= ${source:Version}) -Description: libmono-getoptions2.0-cil dummy package - This is a dummy package present only to satisfy versioned - dependencies in Debian (and derivative) distributions. +Architecture: all +Replaces: libmono2.0-cil (<< 2.0) +Depends: ${cli:Depends} +Description: Mono.GetOptions library (for CLI 2.0) + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Mono.GetOptions library for CLI 2.0 that allows to + parse command line options and arguments easily. + +Package: libmono-cecil-private-cil +Architecture: all +Replaces: libmono1.0-cil (<< 2.4) +Depends: ${cli:Depends} +Description: Mono.Cecil library + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the private Mono.Cecil library that allows to generate + and inspect programs and libraries in the ECMA CIL format. Package: libmono-data1.0-cil -Architecture: i386 lpia kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm - armeb armel sparc s390 -Depends: mono (= ${source:Version}) -Description: libmono-data1.0-cil dummy package - This is a dummy package present only to satisfy versioned - dependencies in Debian (and derivative) distributions. +Architecture: all +Replaces: libmono1.0-cil (<< 2.0) +Depends: ${cli:Depends} +Description: Mono.Data.* libraries (for CLI 1.0) + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains various Mono.Data.* libraries for CLI 1.0 that allow to + use different TDS-based databases: + - Mono.Data + - Mono.Data.TdsClient: + Generic TDS provider (TDS 4.2 by default) for older versions of Sybase and + Microsoft SQL Servers. + - Mono.Data.SybaseClient: + Provider for Sybase SQL Servers (TDS 5.0) + . + If you are looking for a current Microsoft SQL Server library then you want + to check the libmono-system-data1.0-cil package which contains + System.Data.SqlClient. + . + For more information about Mono.Data and TDS see: + http://www.mono-project.com/TDS_Providers Package: libmono-data2.0-cil -Architecture: i386 lpia kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm - armeb armel sparc s390 -Depends: mono (= ${source:Version}) -Description: libmono-data2.0-cil dummy package - This is a dummy package present only to satisfy versioned - dependencies in Debian (and derivative) distributions. +Architecture: all +Replaces: libmono2.0-cil (<< 2.0) +Depends: ${cli:Depends} +Description: Mono.Data.* libraries (for CLI 2.0) + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains various Mono.Data.* libraries for CLI 2.0 that allow to + use different TDS-based databases: + - Mono.Data + - Mono.Data.TdsClient: + Generic TDS provider (TDS 4.2 by default) for older versions of Sybase and + Microsoft SQL Servers. + - Mono.Data.SybaseClient: + Provider for Sybase SQL Servers (TDS 5.0) + . + If you are looking for a current Microsoft SQL Server library then you want + to check the libmono-system-data2.0-cil package which contains + System.Data.SqlClient. + . + For more information about Mono.Data and TDS see: + http://www.mono-project.com/TDS_Providers Package: libmono-c5-1.0-cil -Architecture: i386 lpia kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm - armeb armel sparc s390 -Depends: mono (= ${source:Version}) -Description: libmono-c5-1.0-cil dummy package - This is a dummy package present only to satisfy versioned - dependencies in Debian (and derivative) distributions. +Architecture: all +Replaces: mono-classlib-2.0 (<< 1.1.13.6), mono-classlib-2.0-dbg (<< 1.1.13.6) +Depends: ${cli:Depends} +Description: Mono C5 library + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Mono C5 library. Package: libmono-webbrowser0.5-cil -Architecture: i386 lpia kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm - armeb armel sparc s390 -Depends: mono (= ${source:Version}) -Description: libmono-webbrowser0.5-cil dummy package - This is a dummy package present only to satisfy versioned - dependencies in Debian (and derivative) distributions. - -Package: libmono-nunit2.2-cil -Architecture: i386 lpia kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm - armeb armel sparc s390 -Depends: mono (= ${source:Version}) -Description: libmono-nunit2.2-cil dummy package - This is a dummy package present only to satisfy versioned - dependencies in Debian (and derivative) distributions. +Architecture: all +Depends: ${cli:Depends} +Recommends: libgluezilla +Description: Mono Web Browser library + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the implementation of the WebControl class based on the + Mozilla engine using libgluezilla. + +Package: libmono-nunit2.4-cil +Architecture: all +Conflicts: libnunit2.2-cil, libmono-nunit2.2-cil +Replaces: libmono-nunit2.2-cil +Depends: ${cli:Depends}, libnunit2.4-cil +Description: Mono Unit test framework for CLI + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains NUnit which is a unit testing framework. It serves the + same purpose as JUnit does in the Java world. It supports test categories, + testing for exceptions and writing test results in plain text or XML. + +Package: libmono-management2.0-cil +Architecture: all +Depends: ${cli:Depends} +Description: Mono Management library (for CLI 2.0) + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Mono.Management library for CLI 2.0, which provides + attach functionality for the Mono runtime. It allows to load code externally + into a Mono process to debug or augment code live. + +Package: libmono-messaging2.0-cil +Architecture: all +Depends: ${cli:Depends} +Homepage: http://mono-project.com/SystemMessaging +Description: Mono Messaging library (for CLI 2.0) + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Mono.Messaging library for CLI 2.0, which provides + messaging functionality using different implementations. At this time Mono + does not provide a System.Messaging implementation. + +Package: libmono-simd2.0-cil +Architecture: all +Depends: ${cli:Depends} +Homepage: http://go-mono.com/docs/index.aspx?tlink=0@N%3aMono.Simd +Description: Mono SIMDy (for CLI 2.0) + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Mono.Simd library for CLI 2.0, which provides a + number of classes that are hardware accelerated by mapping the classes and + the actual operations to native SIMD instructions on a processor. Package: libmono-corlib1.0-cil -Architecture: i386 lpia kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm - armeb armel sparc s390 -Depends: mono (= ${source:Version}) -Description: libmono-corlib1.0-cil dummy package - This is a dummy package present only to satisfy versioned - dependencies in Debian (and derivative) distributions. +Architecture: all +Replaces: mono-classlib-1.0 (<< 1.1.13.6), mono-classlib-1.0-dbg (<< 1.1.13.6) +Conflicts: mono-classlib-1.0 (<< 1.1.13.6), mono-classlib-1.0-dbg (<< 1.1.13.6) +Depends: mono-runtime (>= ${mono:upversion}), mono-runtime (<< ${mono:next-upversion}) +Recommends: libmono-i18n-west1.0-cil +Suggests: libmono-i18n1.0-cil +Description: Mono core library (for CLI 1.0) + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Core Library (mscorlib.dll) of Mono for CLI 1.0, + which is the glue between the BCL (Base Class Libraries) and the JIT. + . + You should install libmono-i18n-west1.0-cil if you are using + ISO 8859-15 (Latin 9) or other common Western European code pages. + US-ASCII, ISO 8859-1 (Latin 1) and UTF-8 users don't need any extra I18N + packages. Package: libmono-corlib2.0-cil -Architecture: i386 lpia kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm - armeb armel sparc s390 -Depends: mono (= ${source:Version}) -Description: libmono-corlib2.0-cil dummy package - This is a dummy package present only to satisfy versioned - dependencies in Debian (and derivative) distributions. - -Package: libmono-corlib2.1-cil -Architecture: i386 lpia kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm - armeb armel sparc s390 -Depends: mono (= ${source:Version}) -Description: libmono-corlib2.1-cil dummy package - This is a dummy package present only to satisfy versioned - dependencies in Debian (and derivative) distributions. +Architecture: all +Replaces: mono-classlib-2.0 (<< 1.1.13.6), mono-classlib-2.0-dbg (<< 1.1.13.6) +Conflicts: mono-classlib-2.0 (<< 1.1.13.6), mono-classlib-2.0-dbg (<< 1.1.13.6) +Depends: mono-runtime (>= ${mono:upversion}), mono-runtime (<< ${mono:next-upversion}) +Recommends: libmono-i18n-west2.0-cil +Suggests: libmono-i18n2.0-cil +Description: Mono core library (for CLI 2.0) + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Core Library (mscorlib.dll) of Mono for CLI 2.0, + which is the glue between the BCL (Base Class Libraries) and the JIT. + . + You should install libmono-i18n-west2.0-cil if you are using + ISO 8859-15 (Latin 9) or other common Western European code pages. + US-ASCII, ISO 8859-1 (Latin 1) and UTF-8 users don't need any extra I18N + packages. + +Package: libmono-i18n-west1.0-cil +Architecture: all +Replaces: libmono-corlib1.0-cil (<< 1.2.6-1), libmono-i18n1.0-cil (<< 2.4) +Depends: ${cli:Depends} +Description: Mono I18N.West library (for CLI 1.0) + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the I18N.West library for CLI 1.0, containing Central + and Western European code pages such as ISO 8859-3 (Latin 3), + ISO 8859-15 (Latin 9) and others. + . + This package also includes the base I18N library used by all I18N + libraries. + +Package: libmono-i18n-west2.0-cil +Architecture: all +Replaces: libmono-corlib2.0-cil (<< 1.2.6-1), libmono-i18n2.0-cil (<< 2.4) +Depends: ${cli:Depends} +Description: Mono I18N.West library (for CLI 2.0) + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the I18N.West library for CLI 2.0, containing Central + and Western European code pages such as ISO 8859-3 (Latin 3), + ISO 8859-15 (Latin 9) and others. + . + This package also includes the base I18N library used by all I18N + libraries. Package: libmono-i18n1.0-cil -Architecture: i386 lpia kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm - armeb armel sparc s390 -Depends: mono (= ${source:Version}) -Description: libmono-i18n1.0-cil dummy package - This is a dummy package present only to satisfy versioned - dependencies in Debian (and derivative) distributions. +Architecture: all +Replaces: libmono-corlib1.0-cil (<< 1.2.6-1) +Depends: ${cli:Depends} +Description: Mono I18N libraries (for CLI 1.0) + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains I18N libraries for CLI 1.0, containing various code + pages definitions. Package: libmono-i18n2.0-cil -Architecture: i386 lpia kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm - armeb armel sparc s390 -Depends: mono (= ${source:Version}) -Description: libmono-i18n2.0-cil dummy package - This is a dummy package present only to satisfy versioned - dependencies in Debian (and derivative) distributions. +Architecture: all +Replaces: libmono-corlib2.0-cil (<< 1.2.6-1) +Depends: ${cli:Depends} +Description: Mono I18N libraries (for CLI 2.0) + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains I18N libraries for CLI 2.0, containing various code + pages definitions. Package: libmono-system1.0-cil -Architecture: i386 lpia kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm - armeb armel sparc s390 -Depends: mono (= ${source:Version}) -Description: libmono-system1.0-cil dummy package - This is a dummy package present only to satisfy versioned - dependencies in Debian (and derivative) distributions. +Architecture: all +Replaces: mono-classlib-1.0 (<< 1.1.13.6), mono-classlib-1.0-dbg (<< 1.1.13.6) +Suggests: ${cli:Suggests} +Depends: ${cli:Depends}, mono-runtime (>= ${mono:upversion}), mono-runtime (<< ${mono:next-upversion}) +Description: Mono System libraries (for CLI 1.0) + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the BCL (Base Class Libraries) of Mono for CLI 1.0. Package: libmono-system2.0-cil -Architecture: i386 lpia kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm - armeb armel sparc s390 -Depends: mono (= ${source:Version}) -Description: libmono-system2.0-cil dummy package - This is a dummy package present only to satisfy versioned - dependencies in Debian (and derivative) distributions. - -Package: libmono-system2.1-cil -Architecture: i386 lpia kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm - armeb armel sparc s390 -Depends: mono (= ${source:Version}) -Description: libmono-system2.1-cil dummy package - This is a dummy package present only to satisfy versioned - dependencies in Debian (and derivative) distributions. +Architecture: all +Replaces: mono-classlib-2.0 (<< 1.1.13.6), mono-classlib-2.0-dbg (<< 1.1.13.6) +Suggests: ${cli:Suggests} +Depends: ${cli:Depends}, mono-runtime (>= ${mono:upversion}), mono-runtime (<< ${mono:next-upversion}) +Description: Mono System libraries (for CLI 2.0) + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the BCL (Base Class Libraries) of Mono for CLI 2.0. Package: libmono-system-messaging1.0-cil -Architecture: i386 lpia kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm - armeb armel sparc s390 -Depends: mono (= ${source:Version}) -Description: libmono-system-messaging1.0-cil dummy package - This is a dummy package present only to satisfy versioned - dependencies in Debian (and derivative) distributions. +Architecture: all +Replaces: mono-classlib-1.0 (<< 1.1.13.6), mono-classlib-1.0-dbg (<< 1.1.13.6) +Suggests: ${cli:Suggests} +Depends: ${cli:Depends} +Description: Mono System.Messaging library (for CLI 1.0) + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Mono System.Messaging library for CLI 1.0. Package: libmono-system-messaging2.0-cil -Architecture: i386 lpia kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm - armeb armel sparc s390 -Depends: mono (= ${source:Version}) -Description: libmono-system-messaging2.0-cil dummy package - This is a dummy package present only to satisfy versioned - dependencies in Debian (and derivative) distributions. +Architecture: all +Replaces: mono-classlib-2.0 (<< 1.1.13.6), mono-classlib-2.0-dbg (<< 1.1.13.6) +Suggests: ${cli:Suggests} +Depends: ${cli:Depends} +Description: Mono System.Messaging Library (for CLI 2.0) + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Mono System.Messaging library for CLI 2.0. Package: libmono-security1.0-cil -Architecture: i386 lpia kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm - armeb armel sparc s390 -Depends: mono (= ${source:Version}) -Description: libmono-security1.0-cil dummy package - This is a dummy package present only to satisfy versioned - dependencies in Debian (and derivative) distributions. +Architecture: all +Replaces: mono-classlib-1.0 (<< 1.1.13.6), mono-classlib-1.0-dbg (<< 1.1.13.6) +Depends: ${cli:Depends} +Description: Mono Security library (for CLI 1.0) + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Mono Security library for CLI 1.0. Package: libmono-security2.0-cil -Architecture: i386 lpia kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm - armeb armel sparc s390 -Depends: mono (= ${source:Version}) -Description: libmono-security2.0-cil dummy package - This is a dummy package present only to satisfy versioned - dependencies in Debian (and derivative) distributions. +Architecture: all +Replaces: mono-classlib-2.0 (<< 1.1.13.6), mono-classlib-2.0-dbg (<< 1.1.13.6) +Depends: ${cli:Depends} +Description: Mono Security library (for CLI 2.0) + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Mono Security library for CLI 2.0. Package: libmono-data-tds1.0-cil -Architecture: i386 lpia kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm - armeb armel sparc s390 -Depends: mono (= ${source:Version}) -Description: libmono-data-tds1.0-cil dummy package - This is a dummy package present only to satisfy versioned - dependencies in Debian (and derivative) distributions. +Architecture: all +Replaces: mono-classlib-1.0 (<< 1.1.13.6), mono-classlib-1.0-dbg (<< 1.1.13.6) +Depends: ${cli:Depends} +Description: Mono Data library (for CLI 1.0) + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Mono Data library for CLI 1.0. Package: libmono-data-tds2.0-cil -Architecture: i386 lpia kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm - armeb armel sparc s390 -Depends: mono (= ${source:Version}) -Description: libmono-data-tds2.0-cil dummy package - This is a dummy package present only to satisfy versioned - dependencies in Debian (and derivative) distributions. +Architecture: all +Replaces: mono-classlib-2.0 (<< 1.1.13.6), mono-classlib-2.0-dbg (<< 1.1.13.6) +Depends: ${cli:Depends} +Description: Mono Data Library (for CLI 2.0) + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Mono Data library for CLI 2.0. Package: libmono-system-data1.0-cil -Architecture: i386 lpia kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm - armeb armel sparc s390 -Depends: mono (= ${source:Version}) -Description: libmono-system-data1.0-cil dummy package - This is a dummy package present only to satisfy versioned - dependencies in Debian (and derivative) distributions. +Architecture: all +Replaces: mono-classlib-1.0 (<< 1.1.13.6), mono-classlib-1.0-dbg (<< 1.1.13.6) +Suggests: ${cli:Suggests} +Depends: ${cli:Depends} +Description: Mono System.Data library (for CLI 1.0) + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Mono System.Data library for CLI 1.0. Package: libmono-system-data2.0-cil -Architecture: i386 lpia kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm - armeb armel sparc s390 -Depends: mono (= ${source:Version}) -Description: libmono-system-data2.0-cil dummy package - This is a dummy package present only to satisfy versioned - dependencies in Debian (and derivative) distributions. +Architecture: all +Replaces: mono-classlib-2.0 (<< 1.1.13.6), mono-classlib-2.0-dbg (<< 1.1.13.6) +Suggests: ${cli:Suggests} +Depends: ${cli:Depends} +Description: Mono System.Data Library (for CLI 2.0) + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Mono System.Data library for CLI 2.0. Package: libmono-system-web1.0-cil -Architecture: i386 lpia kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm - armeb armel sparc s390 -Depends: mono (= ${source:Version}) -Description: libmono-system-web1.0-cil dummy package - This is a dummy package present only to satisfy versioned - dependencies in Debian (and derivative) distributions. +Architecture: all +Replaces: mono-classlib-1.0 (<< 1.1.13.6), mono-classlib-1.0-dbg (<< 1.1.13.6) +Depends: ${cli:Depends}, mono-runtime (>= ${mono:upversion}), mono-runtime (<< ${mono:next-upversion}), libgdiplus +Description: Mono System.Web library (for CLI 1.0) + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Mono System.Web library for CLI 1.0. Package: libmono-system-web2.0-cil -Architecture: i386 lpia kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm - armeb armel sparc s390 -Depends: mono (= ${source:Version}) -Description: libmono-system-web2.0-cil dummy package - This is a dummy package present only to satisfy versioned - dependencies in Debian (and derivative) distributions. +Architecture: all +Replaces: mono-classlib-2.0 (<< 1.1.13.6), mono-classlib-2.0-dbg (<< 1.1.13.6) +Depends: ${cli:Depends}, mono-runtime (>= ${mono:upversion}), mono-runtime (<< ${mono:next-upversion}), libgdiplus +Suggests: ${cli:Suggests} +Description: Mono System.Web Library (for CLI 2.0) + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Mono System.Web library for CLI 2.0. + +Package: libmono-wcf3.0-cil +Architecture: all +Depends: ${cli:Depends} +Homepage: http://mono-project.com/WCF +Description: Mono WCF libraries (for CLI 2.0) + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Windows Communication Foundation (WCF) libraries + of Mono for CLI 2.0. The WFC stack is for building SOA-based applications. + Its development is in early stages. + . + WCF is also used in Moonlight, but it cuts down huge parts of .NET 3.0 + features but this implementation used by Moonlight should be almost feature + complete. Package: libmono-system-runtime1.0-cil -Architecture: i386 lpia kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm - armeb armel sparc s390 -Depends: mono (= ${source:Version}) -Description: libmono-system-runtime1.0-cil dummy package - This is a dummy package present only to satisfy versioned - dependencies in Debian (and derivative) distributions. +Architecture: all +Replaces: mono-classlib-1.0 (<< 1.1.13.6), mono-classlib-1.0-dbg (<< 1.1.13.6) +Depends: ${cli:Depends} +Description: Mono System.Runtime library (for CLI 1.0) + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Mono System.Runtime library for CLI 1.0. Package: libmono-system-runtime2.0-cil -Architecture: i386 lpia kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm - armeb armel sparc s390 -Depends: mono (= ${source:Version}) -Description: libmono-system-runtime2.0-cil dummy package - This is a dummy package present only to satisfy versioned - dependencies in Debian (and derivative) distributions. +Architecture: all +Replaces: mono-classlib-2.0 (<< 1.1.13.6), mono-classlib-2.0-dbg (<< 1.1.13.6) +Depends: ${cli:Depends} +Description: Mono System.Runtime Library (for CLI 2.0) + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Mono System.Runtime library for CLI 2.0. Package: libmono-system-ldap1.0-cil -Architecture: i386 lpia kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm - armeb armel sparc s390 -Depends: mono (= ${source:Version}) -Description: libmono-system-ldap1.0-cil dummy package - This is a dummy package present only to satisfy versioned - dependencies in Debian (and derivative) distributions. +Architecture: all +Replaces: mono-classlib-1.0 (<< 1.1.13.6), mono-classlib-1.0-dbg (<< 1.1.13.6) +Depends: ${cli:Depends} +Description: Mono System.DirectoryServices library (for CLI 1.0) + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Mono System.DirectoryServices library for CLI 1.0. Package: libmono-system-ldap2.0-cil -Architecture: i386 lpia kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm - armeb armel sparc s390 -Depends: mono (= ${source:Version}) -Description: libmono-system-ldap2.0-cil dummy package - This is a dummy package present only to satisfy versioned - dependencies in Debian (and derivative) distributions. +Architecture: all +Replaces: mono-classlib-2.0 (<< 1.1.13.6), mono-classlib-2.0-dbg (<< 1.1.13.6) +Depends: ${cli:Depends} +Description: Mono System.DirectoryServices library (for CLI 2.0) + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Mono System.DirectoryServices library for CLI 2.0. Package: libmono-winforms1.0-cil -Architecture: i386 lpia kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm - armeb armel sparc s390 -Depends: mono (= ${source:Version}) -Description: libmono-winforms1.0-cil dummy package - This is a dummy package present only to satisfy versioned - dependencies in Debian (and derivative) distributions. +Architecture: all +Replaces: mono-classlib-1.0 (<< 1.1.13.6), mono-classlib-1.0-dbg (<< 1.1.13.6) +Suggests: ${cli:Suggests}, shared-mime-info +Depends: ${cli:Depends}, libgdiplus +Description: Mono System.Windows.Forms library (for CLI 1.0) + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Mono System.Windows.Forms library for CLI 1.0. Package: libmono-winforms2.0-cil -Architecture: i386 lpia kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm - armeb armel sparc s390 -Depends: mono (= ${source:Version}) -Description: libmono-winforms2.0-cil dummy package - This is a dummy package present only to satisfy versioned - dependencies in Debian (and derivative) distributions. +Architecture: all +Replaces: mono-classlib-2.0 (<< 1.1.13.6), mono-classlib-2.0-dbg (<< 1.1.13.6) +Suggests: ${cli:Suggests}, shared-mime-info +Depends: ${cli:Depends}, libgdiplus +Description: Mono System.Windows.Forms library (for CLI 2.0) + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Mono System.Windows.Forms library for CLI 2.0. Package: libmono-cairo1.0-cil -Architecture: i386 lpia kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm - armeb armel sparc s390 -Depends: mono (= ${source:Version}) -Description: libmono-cairo1.0-cil dummy package - This is a dummy package present only to satisfy versioned - dependencies in Debian (and derivative) distributions. +Architecture: all +Replaces: mono-classlib-1.0 (<< 1.1.13.4-1), mono-classlib-1.0-dbg (<< 1.1.13.4-1) +Depends: ${cli:Depends} +Description: Mono Cairo library (for CLI 1.0) + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Mono Cairo library for CLI 1.0. Package: libmono-cairo2.0-cil -Architecture: i386 lpia kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm - armeb armel sparc s390 -Depends: mono (= ${source:Version}) -Description: libmono-cairo2.0-cil dummy package - This is a dummy package present only to satisfy versioned - dependencies in Debian (and derivative) distributions. +Architecture: all +Replaces: mono-classlib-2.0 (<< 1.1.13.4-1), mono-classlib-2.0-dbg (<< 1.1.13.4-1) +Depends: ${cli:Depends} +Description: Mono Cairo library (for CLI 2.0) + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Mono Cairo library for CLI 2.0. Package: libmono-sharpzip0.6-cil -Architecture: i386 lpia kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm - armeb armel sparc s390 -Depends: mono (= ${source:Version}) -Description: libmono-sharpzip0.6-cil dummy package - This is a dummy package present only to satisfy versioned - dependencies in Debian (and derivative) distributions. +Architecture: all +Replaces: mono-classlib-1.0 (<< 1.1.13.4-1), mono-classlib-1.0-dbg (<< 1.1.13.4-1) +Depends: ${cli:Depends} +Description: Mono SharpZipLib library (for CLI 1.0) + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Mono SharpZipLib library version 0.6, for CLI 1.0. Package: libmono-sharpzip0.84-cil -Architecture: i386 lpia kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm - armeb armel sparc s390 -Depends: mono (= ${source:Version}) -Description: libmono-sharpzip0.84-cil dummy package - This is a dummy package present only to satisfy versioned - dependencies in Debian (and derivative) distributions. +Architecture: all +Replaces: mono-classlib-1.0 (<< 1.1.13.4-1), mono-classlib-1.0-dbg (<< 1.1.13.4-1) +Depends: ${cli:Depends} +Description: Mono SharpZipLib library (for CLI 1.0) + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Mono SharpZipLib library version 0.84, for CLI 1.0. Package: libmono-sharpzip2.6-cil -Architecture: i386 lpia kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm - armeb armel sparc s390 -Depends: mono (= ${source:Version}) -Description: libmono-sharpzip2.6-cil dummy package - This is a dummy package present only to satisfy versioned - dependencies in Debian (and derivative) distributions. +Architecture: all +Replaces: mono-classlib-2.0 (<< 1.1.13.4-1), mono-classlib-2.0-dbg (<< 1.1.13.4-1) +Depends: ${cli:Depends} +Description: Mono SharpZipLib library (for CLI 2.0) + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Mono SharpZipLib library version 2.6, for CLI 2.0. Package: libmono-sharpzip2.84-cil -Architecture: i386 lpia kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm - armeb armel sparc s390 -Depends: mono (= ${source:Version}) -Description: libmono-sharpzip2.84-cil dummy package - This is a dummy package present only to satisfy versioned - dependencies in Debian (and derivative) distributions. +Architecture: all +Replaces: mono-classlib-2.0 (<< 1.1.13.4-1), mono-classlib-2.0-dbg (<< 1.1.13.4-1) +Depends: ${cli:Depends} +Description: Mono SharpZipLib library (for CLI 2.0) + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Mono SharpZipLib library version 2.84, for CLI 2.0. Package: libmono-npgsql1.0-cil -Architecture: i386 lpia kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm - armeb armel sparc s390 -Depends: mono (= ${source:Version}) -Description: libmono-npgsql1.0-cil dummy package - This is a dummy package present only to satisfy versioned - dependencies in Debian (and derivative) distributions. +Architecture: all +Replaces: mono-classlib-1.0 (<< 1.1.13.4-1), mono-classlib-1.0-dbg (<< 1.1.13.4-1) +Depends: ${cli:Depends} +Description: Mono Npgsql library (for CLI 1.0) + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Mono Npgsql library for CLI 1.0. Package: libmono-npgsql2.0-cil -Architecture: i386 lpia kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm - armeb armel sparc s390 -Depends: mono (= ${source:Version}) -Description: libmono-npgsql2.0-cil dummy package - This is a dummy package present only to satisfy versioned - dependencies in Debian (and derivative) distributions. +Architecture: all +Replaces: mono-classlib-2.0 (<< 1.1.13.4-1), mono-classlib-2.0-dbg (<< 1.1.13.4-1) +Depends: ${cli:Depends} +Description: Mono Npgsql library (for CLI 2.0) + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Mono Npgsql library for CLI 2.0. Package: libmono-bytefx0.7.6.1-cil -Architecture: i386 lpia kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm - armeb armel sparc s390 -Depends: mono (= ${source:Version}) -Description: libmono-bytefx0.7.6.1-cil dummy package - This is a dummy package present only to satisfy versioned - dependencies in Debian (and derivative) distributions. +Architecture: all +Replaces: mono-classlib-1.0 (<< 1.1.13.4-1), mono-classlib-1.0-dbg (<< 1.1.13.4-1) +Depends: ${cli:Depends} +Description: Mono ByteFX.Data library (for CLI 1.0) + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Mono ByteFX.Data library version 0.7.6.1, for CLI + 1.0. Package: libmono-bytefx0.7.6.2-cil -Architecture: i386 lpia kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm - armeb armel sparc s390 -Depends: mono (= ${source:Version}) -Description: libmono-bytefx0.7.6.2-cil dummy package - This is a dummy package present only to satisfy versioned - dependencies in Debian (and derivative) distributions. +Architecture: all +Replaces: mono-classlib-2.0 (<< 1.1.13.4-1), mono-classlib-2.0-dbg (<< 1.1.13.4-1) +Depends: ${cli:Depends} +Description: Mono ByteFX.Data library (for CLI 2.0) + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Mono ByteFX.Data library version 0.7.6.2, for CLI + 2.0. Package: libmono-firebirdsql1.7-cil -Architecture: i386 lpia kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm - armeb armel sparc s390 -Depends: mono (= ${source:Version}) -Description: libmono-firebirdsql1.7-cil dummy package - This is a dummy package present only to satisfy versioned - dependencies in Debian (and derivative) distributions. +Architecture: all +Replaces: mono-classlib-1.0 (<< 1.1.13.4-1), mono-classlib-2.0 (<< 1.1.13.4-1), mono-classlib-2.0-dbg (<< 1.1.13.4-1) +Depends: ${cli:Depends} +Description: Mono FirebirdSql library + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Mono FirebirdSql library. Package: libmono-db2-1.0-cil -Architecture: i386 lpia kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm - armeb armel sparc s390 -Depends: mono (= ${source:Version}) -Description: libmono-db2-1.0-cil dummy package - This is a dummy package present only to satisfy versioned - dependencies in Debian (and derivative) distributions. +Architecture: all +Depends: ${cli:Depends} +Description: Mono DB2 library + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Mono DB2 library. Package: libmono-oracle1.0-cil -Architecture: i386 lpia kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm - armeb armel sparc s390 -Depends: mono (= ${source:Version}) -Description: libmono-oracle1.0-cil dummy package - This is a dummy package present only to satisfy versioned - dependencies in Debian (and derivative) distributions. +Architecture: all +Replaces: mono-classlib-1.0 (<< 1.1.13.6), mono-classlib-1.0-dbg (<< 1.1.13.6) +Depends: ${cli:Depends} +Description: Mono Oracle library (for CLI 1.0) + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Mono Oracle library for CLI 1.0. Package: libmono-oracle2.0-cil -Architecture: i386 lpia kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm - armeb armel sparc s390 -Depends: mono (= ${source:Version}) -Description: libmono-oracle2.0-cil dummy package - This is a dummy package present only to satisfy versioned - dependencies in Debian (and derivative) distributions. +Architecture: all +Replaces: mono-classlib-2.0 (<< 1.1.13.6), mono-classlib-2.0-dbg (<< 1.1.13.6) +Depends: ${cli:Depends} +Description: Mono Oracle library (for CLI 2.0) + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Mono Oracle library for CLI 2.0. Package: libmono-sqlite1.0-cil -Architecture: i386 lpia kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm - armeb armel sparc s390 -Depends: mono (= ${source:Version}) -Description: libmono-sqlite1.0-cil dummy package - This is a dummy package present only to satisfy versioned - dependencies in Debian (and derivative) distributions. +Architecture: all +Replaces: mono-classlib-1.0 (<< 1.1.13.4-1), mono-classlib-1.0-dbg (<< 1.1.13.4-1) +Depends: ${cli:Depends} +Description: Mono Sqlite library (for CLI 1.0) + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Mono Sqlite library for CLI 1.0. Package: libmono-sqlite2.0-cil -Architecture: i386 lpia kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm - armeb armel sparc s390 -Depends: mono (= ${source:Version}) -Description: libmono-sqlite2.0-cil dummy package - This is a dummy package present only to satisfy versioned - dependencies in Debian (and derivative) distributions. +Architecture: all +Replaces: mono-classlib-2.0 (<< 1.1.13.4-1), mono-classlib-2.0-dbg (<< 1.1.13.4-1) +Depends: ${cli:Depends} +Description: Mono Sqlite library (for CLI 2.0) + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Mono Sqlite library for CLI 2.0. Package: libmono-accessibility1.0-cil -Architecture: i386 lpia kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm - armeb armel sparc s390 -Depends: mono (= ${source:Version}) -Description: libmono-accessibility1.0-cil dummy package - This is a dummy package present only to satisfy versioned - dependencies in Debian (and derivative) distributions. +Architecture: all +Replaces: mono-classlib-1.0 (<< 1.1.13.6), mono-classlib-1.0-dbg (<< 1.1.13.6) +Depends: ${cli:Depends} +Description: Mono Accessibility library (for CLI 1.0) + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Mono Accessibility library for CLI 1.0. Package: libmono-accessibility2.0-cil -Architecture: i386 lpia kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm - armeb armel sparc s390 -Depends: mono (= ${source:Version}) -Description: libmono-accessibility2.0-cil dummy package - This is a dummy package present only to satisfy versioned - dependencies in Debian (and derivative) distributions. +Architecture: all +Replaces: mono-classlib-2.0 (<< 1.1.13.6), mono-classlib-2.0-dbg (<< 1.1.13.6) +Depends: ${cli:Depends} +Description: Mono Accessibility library (for CLI 2.0) + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Mono Accessibility library for CLI 2.0. Package: libmono-cscompmgd7.0-cil -Architecture: i386 lpia kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm - armeb armel sparc s390 -Depends: mono (= ${source:Version}) -Description: libmono-cscompmgd7.0-cil dummy package - This is a dummy package present only to satisfy versioned - dependencies in Debian (and derivative) distributions. +Architecture: all +Replaces: mono-classlib-1.0 (<< 1.1.13.6), mono-classlib-1.0-dbg (<< 1.1.13.6) +Depends: ${cli:Depends} +Description: Mono cscompmgd library (for CLI 1.0) + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Mono cscompmgd library version 7.0, for CLI 1.0. Package: libmono-cscompmgd8.0-cil -Architecture: i386 lpia kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm - armeb armel sparc s390 -Depends: mono (= ${source:Version}) -Description: libmono-cscompmgd8.0-cil dummy package - This is a dummy package present only to satisfy versioned - dependencies in Debian (and derivative) distributions. +Architecture: all +Replaces: mono-classlib-2.0 (<< 1.1.13.6), mono-classlib-2.0-dbg (<< 1.1.13.6) +Depends: ${cli:Depends} +Description: Mono cscompmgd library (for CLI 2.0) + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Mono cscompmgd library version 8.0, for CLI 2.0. Package: libmono-ldap1.0-cil -Architecture: i386 lpia kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm - armeb armel sparc s390 -Depends: mono (= ${source:Version}) -Description: libmono-ldap1.0-cil dummy package - This is a dummy package present only to satisfy versioned - dependencies in Debian (and derivative) distributions. +Architecture: all +Replaces: mono-classlib-1.0 (<< 1.1.13.6), mono-classlib-1.0-dbg (<< 1.1.13.6) +Depends: ${cli:Depends} +Description: Mono LDAP library (for CLI 1.0) + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Mono LDAP library for CLI 1.0. Package: libmono-ldap2.0-cil -Architecture: i386 lpia kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm - armeb armel sparc s390 -Depends: mono (= ${source:Version}) -Description: libmono-ldap2.0-cil dummy package - This is a dummy package present only to satisfy versioned - dependencies in Debian (and derivative) distributions. +Architecture: all +Replaces: mono-classlib-2.0 (<< 1.1.13.6), mono-classlib-2.0-dbg (<< 1.1.13.6) +Depends: ${cli:Depends} +Description: Mono LDAP library (for CLI 2.0) + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Mono LDAP library for CLI 2.0. Package: libmono-microsoft-build2.0-cil -Architecture: i386 lpia kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm - armeb armel sparc s390 -Depends: mono (= ${source:Version}) -Description: libmono-microsoft-build2.0-cil dummy package - This is a dummy package present only to satisfy versioned - dependencies in Debian (and derivative) distributions. +Architecture: all +Replaces: mono-classlib-2.0 (<< 1.1.13.6), mono-classlib-2.0-dbg (<< 1.1.13.6) +Depends: ${cli:Depends} +Description: Mono Microsoft.Build libraries + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Mono Microsoft.Build libraries version 2.0. Package: libmono-microsoft7.0-cil -Architecture: i386 lpia kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm - armeb armel sparc s390 -Depends: mono (= ${source:Version}) -Description: libmono-microsoft7.0-cil dummy package - This is a dummy package present only to satisfy versioned - dependencies in Debian (and derivative) distributions. +Architecture: all +Replaces: mono-classlib-1.0 (<< 1.1.13.6), mono-classlib-1.0-dbg (<< 1.1.13.6) +Depends: ${cli:Depends} +Description: Mono Microsoft libraries (for CLI 1.0) + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Mono Microsoft libraries version 7.0, for CLI 1.0. Package: libmono-microsoft8.0-cil -Architecture: i386 lpia kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm - armeb armel sparc s390 -Depends: mono (= ${source:Version}) -Description: libmono-microsoft8.0-cil dummy package - This is a dummy package present only to satisfy versioned - dependencies in Debian (and derivative) distributions. +Architecture: all +Replaces: mono-classlib-2.0 (<< 1.1.13.6), mono-classlib-2.0-dbg (<< 1.1.13.6) +Depends: ${cli:Depends} +Description: Mono Microsoft libraries (for CLI 2.0) + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Mono Microsoft libraries version 8.0, for CLI 2.0. Package: libmono-peapi1.0-cil -Architecture: i386 lpia kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm - armeb armel sparc s390 -Depends: mono (= ${source:Version}) -Description: libmono-peapi1.0-cil dummy package - This is a dummy package present only to satisfy versioned - dependencies in Debian (and derivative) distributions. +Architecture: all +Replaces: mono-classlib-1.0 (<< 1.1.13.6), mono-classlib-1.0-dbg (<< 1.1.13.6) +Depends: ${cli:Depends} +Description: Mono PEAPI library (for CLI 1.0) + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Mono PEAPI library for CLI 1.0. Package: libmono-peapi2.0-cil -Architecture: i386 lpia kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm - armeb armel sparc s390 -Depends: mono (= ${source:Version}) -Description: libmono-peapi2.0-cil dummy package - This is a dummy package present only to satisfy versioned - dependencies in Debian (and derivative) distributions. +Architecture: all +Replaces: mono-classlib-2.0 (<< 1.1.13.6), mono-classlib-2.0-dbg (<< 1.1.13.6) +Depends: ${cli:Depends} +Description: Mono PEAPI library (for CLI 2.0) + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Mono PEAPI library for CLI 2.0. Package: libmono-relaxng1.0-cil -Architecture: i386 lpia kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm - armeb armel sparc s390 -Depends: mono (= ${source:Version}) -Description: libmono-relaxng1.0-cil dummy package - This is a dummy package present only to satisfy versioned - dependencies in Debian (and derivative) distributions. +Architecture: all +Replaces: mono-classlib-1.0 (<< 1.1.13.6), mono-classlib-1.0-dbg (<< 1.1.13.6) +Depends: ${cli:Depends} +Description: Mono Relaxng library (for CLI 1.0) + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Mono Relaxng library for CLI 1.0. Package: libmono-relaxng2.0-cil -Architecture: i386 lpia kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm - armeb armel sparc s390 -Depends: mono (= ${source:Version}) -Description: libmono-relaxng2.0-cil dummy package - This is a dummy package present only to satisfy versioned - dependencies in Debian (and derivative) distributions. +Architecture: all +Replaces: mono-classlib-2.0 (<< 1.1.13.6), mono-classlib-2.0-dbg (<< 1.1.13.6) +Depends: ${cli:Depends} +Description: Mono Relaxng library (for CLI 2.0) + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Mono Relaxng library for CLI 2.0. Package: mono-dbg -Architecture: i386 lpia kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm - armeb armel sparc s390 -Depends: mono (= ${source:Version}) -Description: mono-dbg dummy package - This is a dummy package present only to satisfy versioned - dependencies in Debian (and derivative) distributions. +Priority: extra +Section: debug +Architecture: all +Recommends: mono-debugger +Replaces: libmono1.0-cil (<< 1.2.4-1), + libmono2.0-cil (<< 1.2.4-1), + libmono-c5-1.0-cil (<< 1.2.4-1), + libmono-corlib1.0-cil (<< 1.2.4-1), + libmono-corlib2.0-cil (<< 1.2.4-1), + libmono-system1.0-cil (<< 1.2.4-1), + libmono-system2.0-cil (<< 1.2.4-1), + libmono-system-messaging1.0-cil (<< 1.2.4-1), + libmono-system-messaging2.0-cil (<< 1.2.4-1), + libmono-security1.0-cil (<< 1.2.4-1), + libmono-security2.0-cil (<< 1.2.4-1), + libmono-data-tds1.0-cil (<< 1.2.4-1), + libmono-data-tds2.0-cil (<< 1.2.4-1), + libmono-system-data1.0-cil (<< 1.2.4-1), + libmono-system-data2.0-cil (<< 1.2.4-1), + libmono-system-web1.0-cil (<< 1.2.4-1), + libmono-system-web2.0-cil (<< 1.2.4-1), + libmono-system-runtime1.0-cil (<< 1.2.4-1), + libmono-system-runtime2.0-cil (<< 1.2.4-1), + libmono-system-ldap1.0-cil (<< 1.2.4-1), + libmono-system-ldap2.0-cil (<< 1.2.4-1), + libmono-winforms1.0-cil (<< 1.2.4-1), + libmono-winforms2.0-cil (<< 1.2.4-1), + libmono-cairo1.0-cil (<< 1.2.4-1), + libmono-cairo2.0-cil (<< 1.2.4-1), + libmono-sharpzip0.6-cil (<< 1.2.4-1), + libmono-sharpzip0.84-cil (<< 1.2.4-1), + libmono-sharpzip2.6-cil (<< 1.2.4-1), + libmono-sharpzip2.84-cil (<< 1.2.4-1), + libmono-npgsql1.0-cil (<< 1.2.4-1), + libmono-npgsql2.0-cil (<< 1.2.4-1), + libmono-bytefx0.7.6.1-cil (<< 1.2.4-1), + libmono-bytefx0.7.6.2-cil (<< 1.2.4-1), + libmono-firebirdsql1.7-cil (<< 1.2.4-1), + libmono-oracle1.0-cil (<< 1.2.4-1), + libmono-oracle2.0-cil (<< 1.2.4-1), + libmono-sqlite1.0-cil (<< 1.2.4-1), + libmono-sqlite2.0-cil (<< 1.2.4-1), + libmono-accessibility1.0-cil (<< 1.2.4-1), + libmono-accessibility2.0-cil (<< 1.2.4-1), + libmono-cscompmgd7.0-cil (<< 1.2.4-1), + libmono-cscompmgd8.0-cil (<< 1.2.4-1), + libmono-ldap1.0-cil (<< 1.2.4-1), + libmono-ldap2.0-cil (<< 1.2.4-1), + libmono-microsoft-build2.0-cil (<< 1.2.4-1), + libmono-microsoft7.0-cil (<< 1.2.4-1), + libmono-microsoft8.0-cil (<< 1.2.4-1), + libmono-peapi1.0-cil (<< 1.2.4-1), + libmono-peapi2.0-cil (<< 1.2.4-1), + libmono-relaxng1.0-cil (<< 1.2.4-1), + libmono-relaxng2.0-cil (<< 1.2.4-1), + mono-mcs (<< 1.2.4-1), + mono-mjs (<< 1.2.4-1), + mono-gmcs (<< 1.2.4-1), + mono-gac (<< 1.2.4-1) +Description: Mono debugging symbols + This package contains the debugging symbols of various libmono-* and mono-* + packages. + . + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. Package: mono-mjs -Architecture: i386 lpia kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm - armeb armel sparc s390 -Depends: mono (= ${source:Version}) -Description: mono-mjs dummy package - This is a dummy package present only to satisfy versioned - dependencies in Debian (and derivative) distributions. +Architecture: all +Depends: ${cli:Depends} +Replaces: mono-mcs (<< 1.2.5-1) +Description: Mono JScript compiler + This is the Mono JScript compiler, a platform-independent compiler which + produces CIL (Common Intermediate Language) binary executables. + . + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. Package: mono-mcs -Architecture: i386 lpia kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm - armeb armel sparc s390 -Depends: mono (= ${source:Version}) -Description: mono-mcs dummy package - This is a dummy package present only to satisfy versioned - dependencies in Debian (and derivative) distributions. +Architecture: all +Depends: ${cli:Depends}, + libmono-corlib1.0-cil (>= ${mono:upversion}), + libmono-corlib1.0-cil (<< ${mono:next-upversion}) +Recommends: pkg-config +Description: Mono C# 1.0 compiler for CLI 1.1 + This is the Mono C# (C-Sharp) 1.0 compiler, a platform-independent compiler + which produces CIL (Common Intermediate Language) binary executables. + This compiler targets the CLI 1.1 runtime version. + . + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. Package: mono-gmcs -Architecture: i386 lpia kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm - armeb armel sparc s390 -Depends: mono (= ${source:Version}) -Description: mono-gmcs dummy package - This is a dummy package present only to satisfy versioned - dependencies in Debian (and derivative) distributions. - -Package: mono-smcs -Architecture: i386 lpia kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm - armeb armel sparc s390 -Depends: mono (= ${source:Version}) -Description: mono-smcs dummy package - This is a dummy package present only to satisfy versioned - dependencies in Debian (and derivative) distributions. +Architecture: all +Depends: ${cli:Depends}, + libmono-corlib2.0-cil (>= ${mono:upversion}), + libmono-corlib2.0-cil (<< ${mono:next-upversion}) +Recommends: pkg-config +Replaces: mono-mcs (>= 1.1.10), mono-mcs (<= 1.1.13) +Description: Mono C# 2.0 and C# 3.0 compiler for CLI 2.0 + This is the Mono C# (C-Sharp) 2.0 and C# 3.0 compiler, a platform-independent + compiler which produces CIL (Common Intermediate Language) binary executables. + The gmcs compiler supports two different featuresets (C# versions). + . + With C# 2.0 (which is the default) it supports: + - generics + - iterators (yield) + - nullable value types + - partial types + - anonymous methods + - static classes + - coalesce operator: ?? + . + With C# 3.0 it supports: + - Language Integrated Query (LINQ) + - object initializers + - collection initializers + - anonymous types + - local variable type inference + - implicitly-typed arrays + - lambda expressions + - automatic properties + - extension methods + - partial methods + . + This compiler targets the CLI 2.0 runtime version. + . + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. Package: mono-devel -Architecture: i386 lpia kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm - armeb armel sparc s390 -Depends: mono (= ${source:Version}) -Description: mono-devel dummy package - This is a dummy package present only to satisfy versioned - dependencies in Debian (and derivative) distributions. +Architecture: all +Provides: c-sharp-compiler, + c-sharp-2.0-compiler, + c-sharp-3.0-compiler, + resource-file-generator, + assembly-linker, + strong-name-tool +Replaces: mono-1.0-devel (<< 2.0), + mono-2.0-devel (<< 2.4), + mono-mcs (<< 2.0), + mono-gmcs (<< 2.0), + libmono-dev (<< 2.4) +Recommends: mono-csharp-shell +Depends: ${cli:Depends}, + mono-2.0-devel (= ${source:Version}), + mono-gac (= ${source:Version}) +Description: Mono development tools + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains various development tools and pulls in the default + development stack for Mono (which is 2.0 currently). Package: mono-1.0-devel -Architecture: i386 lpia kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm - armeb armel sparc s390 -Depends: mono (= ${source:Version}) -Description: mono-1.0-devel dummy package - This is a dummy package present only to satisfy versioned - dependencies in Debian (and derivative) distributions. +Architecture: all +Depends: ${cli:Depends}, + mono-mcs (= ${source:Version}), + mono-1.0-gac (= ${source:Version}), + libmono-dev (>= ${source:Version}), + pkg-config +Replaces: mono-mcs (<< 1.2.6-1) +Description: Mono development tools for CLI 1.0 + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains various development tools and pulls in a full + development stack for Mono targeting CLI 1.0. Package: mono-2.0-devel -Architecture: i386 lpia kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm - armeb armel sparc s390 -Depends: mono (= ${source:Version}) -Description: mono-2.0-devel dummy package - This is a dummy package present only to satisfy versioned - dependencies in Debian (and derivative) distributions. +Architecture: all +Depends: ${cli:Depends}, + mono-gmcs (= ${source:Version}), + mono-2.0-gac (= ${source:Version}), + libmono-dev (>= ${source:Version}), + pkg-config +Replaces: mono-gmcs (<< 1.2.6-1), mono-common (<< 1.2.6-2) +Description: Mono development tools for CLI 2.0 + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains various development tools and pull in a full + development stack for Mono targeting CLI 2.0. Package: mono-1.0-service -Architecture: i386 lpia kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm - armeb armel sparc s390 -Depends: mono (= ${source:Version}) -Description: mono-1.0-service dummy package - This is a dummy package present only to satisfy versioned - dependencies in Debian (and derivative) distributions. +Architecture: all +Depends: ${cli:Depends} +Replaces: mono-mcs (<< 1.2.6-1) +Description: Mono service manager for CLI 1.0 + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the mono-service manager, used to start and stop CLI 1.0 + services based on the System.ServiceProcess API. Package: mono-2.0-service -Architecture: i386 lpia kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm - armeb armel sparc s390 -Depends: mono (= ${source:Version}) -Description: mono-2.0-service dummy package - This is a dummy package present only to satisfy versioned - dependencies in Debian (and derivative) distributions. +Architecture: all +Depends: ${cli:Depends} +Replaces: mono-gmcs (<< 1.2.6-1) +Description: Mono service manager for CLI 2.0 + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the mono-service2 manager, used to start and stop CLI + 2.0 services based on the System.ServiceProcess API. Package: mono-xbuild -Architecture: i386 lpia kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm - armeb armel sparc s390 -Depends: mono (= ${source:Version}) -Description: mono-xbuild dummy package - This is a dummy package present only to satisfy versioned - dependencies in Debian (and derivative) distributions. +Architecture: all +Depends: ${cli:Depends} +Replaces: mono-gmcs (<< 1.2.6-1) +Description: MSBuild-compatible build system for Mono + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + xbuild is Mono's implementation of msbuild and allows projects that have a + msbuild file to be compiled natively on Linux. + . + Microsoft Build (msbuild) is a build system developed by Microsoft similar in + spirit to Nant (in that it uses XML files for describing the build process) + and in the same spirit as make. + . + http://www.mono-project.com/Microsoft.Build Package: mono-gac -Architecture: i386 lpia kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm - armeb armel sparc s390 -Depends: mono (= ${source:Version}) -Description: mono-gac dummy package - This is a dummy package present only to satisfy versioned - dependencies in Debian (and derivative) distributions. +Architecture: all +Depends: mono-2.0-gac (= ${source:Version}) +Provides: global-assembly-cache-tool +Description: Mono GAC tool + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package pulls in the default GAC (Global Assembly Cache) tool (gacutil) + used by Mono to store shared CIL (Common Intermediate Language) libraries. Package: mono-1.0-gac -Architecture: i386 lpia kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm - armeb armel sparc s390 -Depends: mono (= ${source:Version}) -Description: mono-1.0-gac dummy package - This is a dummy package present only to satisfy versioned - dependencies in Debian (and derivative) distributions. +Architecture: all +Replaces: mono-gac (<< 2.0) +Depends: ${cli:Depends} +Recommends: cli-common (>= 0.4.0) +Description: Mono GAC tool (for CLI 1.0) + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package includes a version of the GAC (Global Assembly Cache) tool + (gacutil) used by Mono to store shared CIL (Common Intermediate Language) + libraries, for CLI 1.0 Package: mono-2.0-gac -Architecture: i386 lpia kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm - armeb armel sparc s390 -Depends: mono (= ${source:Version}) -Description: mono-2.0-gac dummy package - This is a dummy package present only to satisfy versioned - dependencies in Debian (and derivative) distributions. +Architecture: all +Depends: ${cli:Depends} +Recommends: cli-common (>= 0.4.0) +Description: Mono GAC tool (for CLI 2.0) + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package includes a version of the GAC (Global Assembly Cache) tool + (gacutil) used by Mono to store shared CIL (Common Intermediate Language) + libraries, for CLI 2.0 Package: mono-jay -Architecture: i386 lpia kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm - armeb armel sparc s390 -Depends: mono (= ${source:Version}) -Description: mono-jay dummy package - This is a dummy package present only to satisfy versioned - dependencies in Debian (and derivative) distributions. +Architecture: i386 lpia kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm armeb armel sparc s390 +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: LALR(1) parser generator oriented to Java/CLI + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + Jay is a Yacc implementation oriented to Java-like input syntax. It + takes a grammar, specified in BNF and augmented with semantic actions, + and generates tables and an interpreter which recognizes the language + defined by the grammar and executes the semantic actions as their + corresponding phrases are recognized. Package: prj2make-sharp -Architecture: i386 lpia kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm - armeb armel sparc s390 -Depends: mono (= ${source:Version}) -Description: prj2make-sharp dummy package - This is a dummy package present only to satisfy versioned - dependencies in Debian (and derivative) distributions. +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends}, ${cli:Depends}, pkg-config, libmono-dev +Description: Convert VS.NET solution files to Makefiles + prj2make-solution is a utility used to read a "solution" file created + with Visual Studio .NET and generate a usual Makefile suitable for + compilation with a C# compiler. -Package: monodoc -Architecture: any -Depends: ${shlibs:Depends}, ${misc:Depends} -Description: Dummy package for monodoc, which was merged into Mono - Provides a versioned dependency to replace the Debian/Ubuntu package. +Package: mono-csharp-shell +Section: shells +Architecture: all +Homepage: http://www.mono-project.com/CsharpRepl +Depends: ${shlibs:Depends}, ${misc:Depends}, ${cli:Depends} +Description: interactive C# shell + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the interactive C# shell named csharp. csharp permits + dynamically evaluating C# statements, and can be used for writing scripts or + testing code fragments. + For examples and a brief overview of the commands see: + http://www.mono-project.com/CsharpRepl Package: monodoc-base Architecture: all -Depends: monodoc (= ${source:Version}) -Description: Dummy package for monodoc-base, which was merged into Mono - Provides a versioned dependency to replace the Debian/Ubuntu package. +Depends: ${cli:Depends} +Description: shared MonoDoc binaries + The MonoDoc Project is the documentation framework of the Mono project which + provides detailed API documentation for all Mono components and the Mono CLI + implementation. + . + This packages contains the shared binaries which are used by the monodoc + programs like the documentation file compiler (assembler.exe aka "monodoc"). Package: monodoc-manual Architecture: all -Depends: monodoc (= ${source:Version}) -Description: Dummy package for monodoc-manual, which was merged into Mono - Provides a versioned dependency to replace the Debian/Ubuntu package. - -Package: monodoc-http -Architecture: all -Depends: monodoc (= ${source:Version}) -Description: Dummy package for monodoc-http, which was merged into Mono - Provides a versioned dependency to replace the Debian/Ubuntu package. +Section: doc +Recommends: monodoc-browser | monodoc-http | monodoc-viewer +Suggests: monodoc-gtk-manual, + monodoc-gecko-manual, + monodoc-nunit-manual +Description: compiled XML documentation from the Mono project + The MonoDoc Project is the documentation framework of the Mono project which + provides detailed API documentation for all Mono components and the Mono CLI + implementation. + . + This packages contains the compiled XML documentation of MonoDoc. diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/copyright /tmp/whXnmORr8x/mono-2.4+dfsg/debian/copyright --- mono-2.4.0/debian/copyright 2009-05-31 08:36:14.000000000 +0100 +++ mono-2.4+dfsg/debian/copyright 2009-05-31 08:36:21.000000000 +0100 @@ -1,18 +1,788 @@ -This package was debianized by Michael B. Trausch on -Mon, 13 Apr 2009 17:14:30 -0400. +This package was re-debianized and merged with the "mcs" source package by +Mirco Bauer . -It was downloaded from +This package was debianized by Alp Toker using the Monodeb +build system. -Upstream Author(s): +It was downloaded from: +http://www.mono-project.com/Downloads - The Mono Project +Upstream Authors: +Miguel de Icaza (miguel@ximian.com) +Paolo Molaro (lupus@ximian.com) +Dietmar Maurer (dietmar@ximian.com) + +mcs/mcs/* (C# Compiler) +Miguel de Icaza (miguel@ximian.com) + +mcs/class/* (Class Libraries) +Patrik Torstensson +Gaurav Vaish +Jeff Stedfast (fejj@ximian.com) +Joe Shaw (joe@ximian.com) +Miguel de Icaza (miguel@ximian.com) +Sean MacIsaac (macisaac@ximian.com) +Vladimir Vukicevic (vladimir@ximian.com) +Garrett Rooney (rooneg@electricjellyfish.net) +Bob Smith (bob@thestuff.net) +John Barnette (jbarn@httcb.net) Copyright: - Copyright (c) 2001-2005 Novell +------------------------------------------------------------------------------- -License: +mcs/mcs/* + +The C# Compiler is released under the terms of the GNU GPL. + +On Debian systems, the complete text of the GNU General Public +License can be found in /usr/share/common-licenses/GPL file. + +------------------------------------------------------------------------------- + +mcs/tools/monodoc/Lucene.Net/* + +Copyright 2004 The Apache Software Foundation + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +On Debian systems, the complete text of Apache License, Version 2.0 +can be found in /usr/share/common-licenses/Apache-2.0 file. + +------------------------------------------------------------------------------- + +mcs/class/* + +The class libraries are released under the terms of the MIT X11 + +MIT/X11 License + +Copyright (c) 2001-2005 Novell + +Permission is hereby granted, free of charge, to any person obtaining a +copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be included +in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS +OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +The Mono runtime and the Mono C# Compiler are also available under a +proprietary license for those who can not use the LGPL and the GPL in +their code. + +------------------------------------------------------------------------------- + +mcs/class/MicrosoftAjaxLibrary/* + +Microsoft Permissive License (Ms-PL) + +This license governs use of the accompanying software. If you use the software, +you accept this license. If you do not accept the license, do not use the +software. + +1. Definitions + +The terms "reproduce," "reproduction," "derivative works," and "distribution" +have the same meaning here as under U.S. copyright law. + +A "contribution" is the original software, or any additions or changes to the +software. + +A "contributor" is any person that distributes its contribution under this +license. + + "Licensed patents" are a contributor's patent claims that read directly on its + contribution. + +2. Grant of Rights + +(A) Copyright Grant- Subject to the terms of this license, including the license +conditions and limitations in section 3, each contributor grants you a +non-exclusive, worldwide, royalty-free copyright license to reproduce its +contribution, prepare derivative works of its contribution, and distribute its + contribution or any derivative works that you create. + +(B) Patent Grant- Subject to the terms of this license, including the license +conditions and limitations in section 3, each contributor grants you a +non-exclusive, worldwide, royalty-free license under its licensed patents to +make, have made, use, sell, offer for sale, import, and/or otherwise dispose of +its contribution in the software or derivative works of the contribution in the +software. + +3. Conditions and Limitations + +(A) No Trademark License- This license does not grant you rights to use any +contributors' name, logo, or trademarks. + +(B) If you bring a patent claim against any contributor over patents that you +claim are infringed by the software, your patent license from such contributor +to the software ends automatically. + +(C) If you distribute any portion of the software, you must retain all +copyright, patent, trademark, and attribution notices that are present in the +software. + +(D) If you distribute any portion of the software in source code form, you may +do so only under this license by including a complete copy of this license with +your distribution. If you distribute any portion of the software in compiled or +object code form, you may only do so under a license that complies with this +license. + +(E) The software is licensed "as-is." You bear the risk of using it. The +contributors give no express warranties, guarantees or conditions. You may have +additional consumer rights under your local laws which this license cannot +change. To the extent permitted under your local laws, the contributors exclude +the implied warranties of merchantability, fitness for a particular purpose and +non-infringement. + +(F) If you distribute the software or derivative works with programs you +develop, you agree to indemnify, defend, and hold harmless all contributors from +any claims, including attorneys' fees, related to the distribution or use of +your programs. For clarity, you have no such obligations to a contributor for +any claims based solely on the unmodified contributions of that contributor. + +(G) If you make any additions or changes to the original software, you may only +distribute them under a new namespace. In addition, you will clearly identify +your changes or additions as your own. + +------------------------------------------------------------------------------- + +mcs/class/System.Web.Extensions/System.Web.Script.Serialization/JSON/* + +Copyright (c) 2007 James Newton-King + + Permission is hereby granted, free of charge, to any person + obtaining a copy of this software and associated documentation + files (the "Software"), to deal in the Software without + restriction, including without limitation the rights to use, + copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the + Software is furnished to do so, subject to the following + conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + OTHER DEALINGS IN THE SOFTWARE. + +------------------------------------------------------------------------------- + +mcs/nunit20/* + +Copyright (C) 2002-2004 James W. Newkirk, Michael C. Two, Alexei A. Vorontsov, + Charlie Poole +Copyright (C) 2000-2004 Philip A. Craig + +This software is provided 'as-is', without any express or implied warranty. In +no event will the authors be held liable for any damages arising from the use +of this software. + +Permission is granted to anyone to use this software for any purpose, including +commercial applications, and to alter it and redistribute it freely, subject to +the following restrictions: + +1. The origin of this software must not be misrepresented; you must not claim + that you wrote the original software. If you use this software in a product, + an acknowledgment (see the following) in the product documentation is + required. + +Portions Copyright (C) 2002-2004 James W. Newkirk, Michael C. Two, +Alexei A. Vorontsov, Charlie Poole or Copyright (C) 2000-2004 Philip A. Craig + +2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + +3. This notice may not be removed or altered from any source distribution. + +------------------------------------------------------------------------------- + +mcs/class/RabbitMQ.Client/* + +Copyright (C) 2007, 2008 LShift Ltd., Cohesive Financial + +This source code is dual-licensed under the Apache License, version +2.0, and the Mozilla Public License, version 1.1. + +The APL v2.0: + + Copyright (C) 2007, 2008 LShift Ltd., Cohesive Financial + Technologies LLC., and Rabbit Technologies Ltd. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied. + See the License for the specific language governing permissions and + limitations under the License. + +On Debian systems, the complete text of the Apache License Version 2.0, +can be found in the /usr/share/common-licenses/Apache-2.0 file. + +The MPL v1.1: + + The contents of this file are subject to the Mozilla Public License + Version 1.1 (the "License"); you may not use this file except in + compliance with the License. You may obtain a copy of the License at + http://www.rabbitmq.com/mpl.html + + Software distributed under the License is distributed on an "AS IS" + basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the + License for the specific language governing rights and limitations + under the License. + + The Original Code is The RabbitMQ .NET Client. + + The Initial Developers of the Original Code are LShift Ltd., + Cohesive Financial Technologies LLC., and Rabbit Technologies Ltd. + + Portions created by LShift Ltd., Cohesive Financial Technologies + LLC., and Rabbit Technologies Ltd. are Copyright (C) 2007, 2008 + LShift Ltd., Cohesive Financial Technologies LLC., and Rabbit + Technologies Ltd.; + + All Rights Reserved. + + Contributor(s): ______________________________________. + + + MOZILLA PUBLIC LICENSE + Version 1.1 + + --------------- + +1. Definitions. + + 1.0.1. "Commercial Use" means distribution or otherwise making the + Covered Code available to a third party. + + 1.1. "Contributor" means each entity that creates or contributes to + the creation of Modifications. + + 1.2. "Contributor Version" means the combination of the Original + Code, prior Modifications used by a Contributor, and the Modifications + made by that particular Contributor. + + 1.3. "Covered Code" means the Original Code or Modifications or the + combination of the Original Code and Modifications, in each case + including portions thereof. + + 1.4. "Electronic Distribution Mechanism" means a mechanism generally + accepted in the software development community for the electronic + transfer of data. - GPL, LGPL, MIT X11, MPL, Ms-PL, others. + 1.5. "Executable" means Covered Code in any form other than Source + Code. -For details, see LICENSE in the source distribution. + 1.6. "Initial Developer" means the individual or entity identified + as the Initial Developer in the Source Code notice required by Exhibit + A. + + 1.7. "Larger Work" means a work which combines Covered Code or + portions thereof with code not governed by the terms of this License. + + 1.8. "License" means this document. + + 1.8.1. "Licensable" means having the right to grant, to the maximum + extent possible, whether at the time of the initial grant or + subsequently acquired, any and all of the rights conveyed herein. + + 1.9. "Modifications" means any addition to or deletion from the + substance or structure of either the Original Code or any previous + Modifications. When Covered Code is released as a series of files, a + Modification is: + A. Any addition to or deletion from the contents of a file + containing Original Code or previous Modifications. + + B. Any new file that contains any part of the Original Code or + previous Modifications. + + 1.10. "Original Code" means Source Code of computer software code + which is described in the Source Code notice required by Exhibit A as + Original Code, and which, at the time of its release under this + License is not already Covered Code governed by this License. + + 1.10.1. "Patent Claims" means any patent claim(s), now owned or + hereafter acquired, including without limitation, method, process, + and apparatus claims, in any patent Licensable by grantor. + + 1.11. "Source Code" means the preferred form of the Covered Code for + making modifications to it, including all modules it contains, plus + any associated interface definition files, scripts used to control + compilation and installation of an Executable, or source code + differential comparisons against either the Original Code or another + well known, available Covered Code of the Contributor's choice. The + Source Code can be in a compressed or archival form, provided the + appropriate decompression or de-archiving software is widely available + for no charge. + + 1.12. "You" (or "Your") means an individual or a legal entity + exercising rights under, and complying with all of the terms of, this + License or a future version of this License issued under Section 6.1. + For legal entities, "You" includes any entity which controls, is + controlled by, or is under common control with You. For purposes of + this definition, "control" means (a) the power, direct or indirect, + to cause the direction or management of such entity, whether by + contract or otherwise, or (b) ownership of more than fifty percent + (50%) of the outstanding shares or beneficial ownership of such + entity. + +2. Source Code License. + + 2.1. The Initial Developer Grant. + The Initial Developer hereby grants You a world-wide, royalty-free, + non-exclusive license, subject to third party intellectual property + claims: + (a) under intellectual property rights (other than patent or + trademark) Licensable by Initial Developer to use, reproduce, + modify, display, perform, sublicense and distribute the Original + Code (or portions thereof) with or without Modifications, and/or + as part of a Larger Work; and + + (b) under Patents Claims infringed by the making, using or + selling of Original Code, to make, have made, use, practice, + sell, and offer for sale, and/or otherwise dispose of the + Original Code (or portions thereof). + + (c) the licenses granted in this Section 2.1(a) and (b) are + effective on the date Initial Developer first distributes + Original Code under the terms of this License. + + (d) Notwithstanding Section 2.1(b) above, no patent license is + granted: 1) for code that You delete from the Original Code; 2) + separate from the Original Code; or 3) for infringements caused + by: i) the modification of the Original Code or ii) the + combination of the Original Code with other software or devices. + + 2.2. Contributor Grant. + Subject to third party intellectual property claims, each Contributor + hereby grants You a world-wide, royalty-free, non-exclusive license + + (a) under intellectual property rights (other than patent or + trademark) Licensable by Contributor, to use, reproduce, modify, + display, perform, sublicense and distribute the Modifications + created by such Contributor (or portions thereof) either on an + unmodified basis, with other Modifications, as Covered Code + and/or as part of a Larger Work; and + + (b) under Patent Claims infringed by the making, using, or + selling of Modifications made by that Contributor either alone + and/or in combination with its Contributor Version (or portions + of such combination), to make, use, sell, offer for sale, have + made, and/or otherwise dispose of: 1) Modifications made by that + Contributor (or portions thereof); and 2) the combination of + Modifications made by that Contributor with its Contributor + Version (or portions of such combination). + + (c) the licenses granted in Sections 2.2(a) and 2.2(b) are + effective on the date Contributor first makes Commercial Use of + the Covered Code. + + (d) Notwithstanding Section 2.2(b) above, no patent license is + granted: 1) for any code that Contributor has deleted from the + Contributor Version; 2) separate from the Contributor Version; + 3) for infringements caused by: i) third party modifications of + Contributor Version or ii) the combination of Modifications made + by that Contributor with other software (except as part of the + Contributor Version) or other devices; or 4) under Patent Claims + infringed by Covered Code in the absence of Modifications made by + that Contributor. + +3. Distribution Obligations. + + 3.1. Application of License. + The Modifications which You create or to which You contribute are + governed by the terms of this License, including without limitation + Section 2.2. The Source Code version of Covered Code may be + distributed only under the terms of this License or a future version + of this License released under Section 6.1, and You must include a + copy of this License with every copy of the Source Code You + distribute. You may not offer or impose any terms on any Source Code + version that alters or restricts the applicable version of this + License or the recipients' rights hereunder. However, You may include + an additional document offering the additional rights described in + Section 3.5. + + 3.2. Availability of Source Code. + Any Modification which You create or to which You contribute must be + made available in Source Code form under the terms of this License + either on the same media as an Executable version or via an accepted + Electronic Distribution Mechanism to anyone to whom you made an + Executable version available; and if made available via Electronic + Distribution Mechanism, must remain available for at least twelve (12) + months after the date it initially became available, or at least six + (6) months after a subsequent version of that particular Modification + has been made available to such recipients. You are responsible for + ensuring that the Source Code version remains available even if the + Electronic Distribution Mechanism is maintained by a third party. + + 3.3. Description of Modifications. + You must cause all Covered Code to which You contribute to contain a + file documenting the changes You made to create that Covered Code and + the date of any change. You must include a prominent statement that + the Modification is derived, directly or indirectly, from Original + Code provided by the Initial Developer and including the name of the + Initial Developer in (a) the Source Code, and (b) in any notice in an + Executable version or related documentation in which You describe the + origin or ownership of the Covered Code. + + 3.4. Intellectual Property Matters + (a) Third Party Claims. + If Contributor has knowledge that a license under a third party's + intellectual property rights is required to exercise the rights + granted by such Contributor under Sections 2.1 or 2.2, + Contributor must include a text file with the Source Code + distribution titled "LEGAL" which describes the claim and the + party making the claim in sufficient detail that a recipient will + know whom to contact. If Contributor obtains such knowledge after + the Modification is made available as described in Section 3.2, + Contributor shall promptly modify the LEGAL file in all copies + Contributor makes available thereafter and shall take other steps + (such as notifying appropriate mailing lists or newsgroups) + reasonably calculated to inform those who received the Covered + Code that new knowledge has been obtained. + + (b) Contributor APIs. + If Contributor's Modifications include an application programming + interface and Contributor has knowledge of patent licenses which + are reasonably necessary to implement that API, Contributor must + also include this information in the LEGAL file. + + (c) Representations. + Contributor represents that, except as disclosed pursuant to + Section 3.4(a) above, Contributor believes that Contributor's + Modifications are Contributor's original creation(s) and/or + Contributor has sufficient rights to grant the rights conveyed by + this License. + + 3.5. Required Notices. + You must duplicate the notice in Exhibit A in each file of the Source + Code. If it is not possible to put such notice in a particular Source + Code file due to its structure, then You must include such notice in a + location (such as a relevant directory) where a user would be likely + to look for such a notice. If You created one or more Modification(s) + You may add your name as a Contributor to the notice described in + Exhibit A. You must also duplicate this License in any documentation + for the Source Code where You describe recipients' rights or ownership + rights relating to Covered Code. You may choose to offer, and to + charge a fee for, warranty, support, indemnity or liability + obligations to one or more recipients of Covered Code. However, You + may do so only on Your own behalf, and not on behalf of the Initial + Developer or any Contributor. You must make it absolutely clear than + any such warranty, support, indemnity or liability obligation is + offered by You alone, and You hereby agree to indemnify the Initial + Developer and every Contributor for any liability incurred by the + Initial Developer or such Contributor as a result of warranty, + support, indemnity or liability terms You offer. + + 3.6. Distribution of Executable Versions. + You may distribute Covered Code in Executable form only if the + requirements of Section 3.1-3.5 have been met for that Covered Code, + and if You include a notice stating that the Source Code version of + the Covered Code is available under the terms of this License, + including a description of how and where You have fulfilled the + obligations of Section 3.2. The notice must be conspicuously included + in any notice in an Executable version, related documentation or + collateral in which You describe recipients' rights relating to the + Covered Code. You may distribute the Executable version of Covered + Code or ownership rights under a license of Your choice, which may + contain terms different from this License, provided that You are in + compliance with the terms of this License and that the license for the + Executable version does not attempt to limit or alter the recipient's + rights in the Source Code version from the rights set forth in this + License. If You distribute the Executable version under a different + license You must make it absolutely clear that any terms which differ + from this License are offered by You alone, not by the Initial + Developer or any Contributor. You hereby agree to indemnify the + Initial Developer and every Contributor for any liability incurred by + the Initial Developer or such Contributor as a result of any such + terms You offer. + + 3.7. Larger Works. + You may create a Larger Work by combining Covered Code with other code + not governed by the terms of this License and distribute the Larger + Work as a single product. In such a case, You must make sure the + requirements of this License are fulfilled for the Covered Code. + +4. Inability to Comply Due to Statute or Regulation. + + If it is impossible for You to comply with any of the terms of this + License with respect to some or all of the Covered Code due to + statute, judicial order, or regulation then You must: (a) comply with + the terms of this License to the maximum extent possible; and (b) + describe the limitations and the code they affect. Such description + must be included in the LEGAL file described in Section 3.4 and must + be included with all distributions of the Source Code. Except to the + extent prohibited by statute or regulation, such description must be + sufficiently detailed for a recipient of ordinary skill to be able to + understand it. + +5. Application of this License. + + This License applies to code to which the Initial Developer has + attached the notice in Exhibit A and to related Covered Code. + +6. Versions of the License. + + 6.1. New Versions. + Netscape Communications Corporation ("Netscape") may publish revised + and/or new versions of the License from time to time. Each version + will be given a distinguishing version number. + + 6.2. Effect of New Versions. + Once Covered Code has been published under a particular version of the + License, You may always continue to use it under the terms of that + version. You may also choose to use such Covered Code under the terms + of any subsequent version of the License published by Netscape. No one + other than Netscape has the right to modify the terms applicable to + Covered Code created under this License. + + 6.3. Derivative Works. + If You create or use a modified version of this License (which you may + only do in order to apply it to code which is not already Covered Code + governed by this License), You must (a) rename Your license so that + the phrases "Mozilla", "MOZILLAPL", "MOZPL", "Netscape", + "MPL", "NPL" or any confusingly similar phrase do not appear in your + license (except to note that your license differs from this License) + and (b) otherwise make it clear that Your version of the license + contains terms which differ from the Mozilla Public License and + Netscape Public License. (Filling in the name of the Initial + Developer, Original Code or Contributor in the notice described in + Exhibit A shall not of themselves be deemed to be modifications of + this License.) + +7. DISCLAIMER OF WARRANTY. + + COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS, + WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF + DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING. + THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE + IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT, + YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE + COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER + OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF + ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER. + +8. TERMINATION. + + 8.1. This License and the rights granted hereunder will terminate + automatically if You fail to comply with terms herein and fail to cure + such breach within 30 days of becoming aware of the breach. All + sublicenses to the Covered Code which are properly granted shall + survive any termination of this License. Provisions which, by their + nature, must remain in effect beyond the termination of this License + shall survive. + + 8.2. If You initiate litigation by asserting a patent infringement + claim (excluding declatory judgment actions) against Initial Developer + or a Contributor (the Initial Developer or Contributor against whom + You file such action is referred to as "Participant") alleging that: + + (a) such Participant's Contributor Version directly or indirectly + infringes any patent, then any and all rights granted by such + Participant to You under Sections 2.1 and/or 2.2 of this License + shall, upon 60 days notice from Participant terminate prospectively, + unless if within 60 days after receipt of notice You either: (i) + agree in writing to pay Participant a mutually agreeable reasonable + royalty for Your past and future use of Modifications made by such + Participant, or (ii) withdraw Your litigation claim with respect to + the Contributor Version against such Participant. If within 60 days + of notice, a reasonable royalty and payment arrangement are not + mutually agreed upon in writing by the parties or the litigation claim + is not withdrawn, the rights granted by Participant to You under + Sections 2.1 and/or 2.2 automatically terminate at the expiration of + the 60 day notice period specified above. + + (b) any software, hardware, or device, other than such Participant's + Contributor Version, directly or indirectly infringes any patent, then + any rights granted to You by such Participant under Sections 2.1(b) + and 2.2(b) are revoked effective as of the date You first made, used, + sold, distributed, or had made, Modifications made by that + Participant. + + 8.3. If You assert a patent infringement claim against Participant + alleging that such Participant's Contributor Version directly or + indirectly infringes any patent where such claim is resolved (such as + by license or settlement) prior to the initiation of patent + infringement litigation, then the reasonable value of the licenses + granted by such Participant under Sections 2.1 or 2.2 shall be taken + into account in determining the amount or value of any payment or + license. + + 8.4. In the event of termination under Sections 8.1 or 8.2 above, + all end user license agreements (excluding distributors and resellers) + which have been validly granted by You or any distributor hereunder + prior to termination shall survive termination. + +9. LIMITATION OF LIABILITY. + + UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT + (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL + DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE, + OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR + ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY + CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL, + WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER + COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN + INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF + LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY + RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW + PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE + EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO + THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU. + +10. U.S. GOVERNMENT END USERS. + + The Covered Code is a "commercial item," as that term is defined in + 48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial computer + software" and "commercial computer software documentation," as such + terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48 + C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995), + all U.S. Government End Users acquire Covered Code with only those + rights set forth herein. + +11. MISCELLANEOUS. + + This License represents the complete agreement concerning subject + matter hereof. If any provision of this License is held to be + unenforceable, such provision shall be reformed only to the extent + necessary to make it enforceable. This License shall be governed by + California law provisions (except to the extent applicable law, if + any, provides otherwise), excluding its conflict-of-law provisions. + With respect to disputes in which at least one party is a citizen of, + or an entity chartered or registered to do business in the United + States of America, any litigation relating to this License shall be + subject to the jurisdiction of the Federal Courts of the Northern + District of California, with venue lying in Santa Clara County, + California, with the losing party responsible for costs, including + without limitation, court costs and reasonable attorneys' fees and + expenses. The application of the United Nations Convention on + Contracts for the International Sale of Goods is expressly excluded. + Any law or regulation which provides that the language of a contract + shall be construed against the drafter shall not apply to this + License. + +12. RESPONSIBILITY FOR CLAIMS. + + As between Initial Developer and the Contributors, each party is + responsible for claims and damages arising, directly or indirectly, + out of its utilization of rights under this License and You agree to + work with Initial Developer and Contributors to distribute such + responsibility on an equitable basis. Nothing herein is intended or + shall be deemed to constitute any admission of liability. + +13. MULTIPLE-LICENSED CODE. + + Initial Developer may designate portions of the Covered Code as + "Multiple-Licensed". "Multiple-Licensed" means that the Initial + Developer permits you to utilize portions of the Covered Code under + Your choice of the NPL or the alternative licenses, if any, specified + by the Initial Developer in the file described in Exhibit A. + +EXHIBIT A - Mozilla Public License. + + ``The contents of this file are subject to the Mozilla Public License + Version 1.1 (the "License"); you may not use this file except in + compliance with the License. You may obtain a copy of the License at + http://www.mozilla.org/MPL/ + + Software distributed under the License is distributed on an "AS IS" + basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the + License for the specific language governing rights and limitations + under the License. + + The Original Code is RabbitMQ. + + The Initial Developers of the Original Code are LShift Ltd., + Cohesive Financial Technologies LLC., and Rabbit Technologies Ltd. + + Portions created by LShift Ltd., Cohesive Financial + Technologies LLC., and Rabbit Technologies Ltd. are Copyright (C) + 2007 LShift Ltd., Cohesive Financial Technologies LLC., and Rabbit + Technologies Ltd.; + + All Rights Reserved. + + Contributor(s): ______________________________________.'' + + [NOTE: The text of this Exhibit A may differ slightly from the text of + the notices in the Source Code files of the Original Code. You should + use the text of this Exhibit A rather than the text found in the + Original Code Source Code for Your Modifications.] + +------------------------------------------------------------------------------- + +docs/AgilityPack.dll + +Copyright (C) ???? Simon Mourier + +Mono bundles a binary-only copy of the Html Agility Pack library. + +Mono used the source of beagle to produce the binary. + +Beagle's version claims to be BSD licensed: +http://svn.gnome.org/viewvc/beagle/trunk/Filters/HtmlAgilityPack/HtmlDocument.cs?revision=16&view=markup&pathrev=16 + +While the original project says it's CC Share-alike 2.5 licensed: +http://htmlagilitypack.codeplex.com/license + +FIXME: +Either beagle illegal relicensed Html Agility Pack from CC Share-alike to +BSD (3 clause) or the author of Html Agility Pack published somewhere a BSD +version (or maybe even relicensed specially for beagle) + +TEMP FIX: +AgilityPack.dll was removed from the mono source tarball, see debian/rules +get-orig-source target. + +2009-05-19: +The license on http://htmlagilitypack.codeplex.com/license now says: +Microsoft Public License (Ms-PL) + +------------------------------------------------------------------------------- + +debian/detector/* + +The source package contains an additional tool called binfmt-detector-cli. + +Author: +Ilya Konstantinov + +License: +Distributed on the terms of the GNU General Public License which can +be found in the file /usr/share/common-licenses/GPL on Debian systems. diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/dh_clideps /tmp/whXnmORr8x/mono-2.4+dfsg/debian/dh_clideps --- mono-2.4.0/debian/dh_clideps 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/dh_clideps 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,610 @@ +#!/usr/bin/perl -w + +=head1 NAME + +dh_clideps - calculates CLI (.NET) dependencies + +=cut + +use strict; +use Cwd; +use File::Find; +use File::Temp; +use Debian::Debhelper::Dh_Lib; + +#eval 'use Debian::Debhelper::Dh_Lib'; +#print "You need to install the debhelper package in order to use this program!" if $@; + +=head1 SYNOPSIS + +B [S>] + +=head1 DESCRIPTION + +dh_clideps is a debhelper program that is responsible for generating the +${cli:Depends} substitutions and adding them to substvars files. + +The program will look at .dll/.exe and .config files in your package, and +will use the embedded dependency information to generate a dependency +string on assembly and shared libs packages, including the setting of +version ranges (as declared by the shlibs/clilibs files of the used +packages). The dependency on a certain CLR (Common Language Runtime) +version will be also added to the final variable. + +Note: the dependencies on shared libraries may be not resolved correctly +if there are no .config files associated with the the .exe/.dll file +which refers to the particular shared library (by its SONAME). + +If you use this program, your package should build-depend on cli-common-dev +(>= 0.4.0). + +=head1 OPTIONS + +=over 4 + +=item B<-d> + +Attempt to predict and avoid duplicates that may appear if you package +both, native shared libraries and DLL assemblies in one package. +The list of possibly duplicating candidates is expected to be in the +variable shlib:Depends from debian/package.substvars. + +=item B<-r> + +Don't set a strong versioned dependency on mono-runtime or other CLR packages. +This option can be used to specify a relaxed dependency on the VM/CLR +by-hand in the control file, eg. "mono-runtime | cli-runtime". + +=item B<-l>directory[:directory:directory:..] + +Before mondis is run, MONO_GAC_PREFIX and MONO_PATH are set to the specified directory (or +directories -- separate with colons). This is useful for multi-binary packages where a library is +built in one package and another package contains binaries linked against said library. Relative +paths will be made absolute for the benefit of monodis. + +Note that the directory given should be the complete or relative path to a directory that contains +the library. See example below. + +=item B + +Uses the mono runtime in . (used for bootstrapping mono packages) + +=head1 EXAMPLES + +Suppose that your source package produces libfoo1.0-cil and libbar1.0-cil +binary packages. +In your rules file, first run dh_makeclilibs, then dh_clideps: + (MONO_GAC_PREFIX example) + dh_makeclilibs -V + dh_clideps -l debian/libfoo1.0-cil/usr:debian/libbar1.0-cil/usr +or + (MONO_PATH example) + dh_clideps -l debian/foo-application/usr/lib/foo-application +or + (MONO_GAC_PREFIX example) + dh_clideps -l debian/tmp/usr + +=cut + +# gar, debhelper 7.1 defines -d for all scripts already :( +init(options => { +# "d" => \$dh{D_FLAG}, + "r" => \$dh{R_FLAG}, + "l=s", => \$dh{L_PARAMS}, + "internal-mono" => \$dh{INTERNAL_MONO_FLAG}, +}); + +my $clr; +my $cli = '/usr/bin/cli'; +my $cli_version = `$cli --version 2>&1`; +my $cli_parser; +my $cli_parser_paths; +my $pwd = `pwd`; +chomp $pwd; + +my $mono_gac_prefix = ""; +my $mono_path = ""; +if ($dh{L_PARAMS}) { + my @mono_paths = (); + my @mono_gac_prefixes = (); + # Add to existing paths, if set. + push(@mono_gac_prefixes, $ENV{'MONO_GAC_PREFIX'}) if exists $ENV{'MONO_GAC_PREFIX'}; + push(@mono_paths, $ENV{'MONO_PATH'}) if exists $ENV{'MONO_PATH'}; + foreach (split(/:/, $dh{L_PARAMS})) { + # Force the path absolute. + my $full_path; + if (m:^/:) { + $full_path = $_; + } else { + $full_path = getcwd()."/$_"; + } + if (-d "$full_path/lib/mono/gac") { + # it's a GAC prefix + push(@mono_gac_prefixes, $full_path); + } else { + # it's a Mono PATH + push(@mono_paths, $full_path); + } + } + $mono_gac_prefix .= ":" . join(':', @mono_gac_prefixes); + $mono_path .= ":" . join(':', @mono_paths); +} else { + $mono_gac_prefix = $ENV{'MONO_GAC_PREFIX'} if exists $ENV{'MONO_GAC_PREFIX'}; + $mono_path = $ENV{'MONO_PATH'} if exists $ENV{'MONO_PATH'}; +} + +if (defined($dh{INTERNAL_MONO_FLAG}) || + (defined($ARGV[0]) && $ARGV[0] eq "internal-mono")) { + $clr = "mono"; + $cli_parser = "$pwd/debian/tmp/usr/bin/monodis"; + $cli_parser_paths = "LD_LIBRARY_PATH=$pwd/debian/tmp/usr/lib MONO_PATH=$mono_path:$pwd/debian/tmp/usr/lib/mono/1.0:$pwd/debian/tmp/usr/lib/mono/2.0 MONO_GAC_PREFIX=$mono_gac_prefix "; + $cli_version = `LD_LIBRARY_PATH=$pwd/debian/tmp/usr/lib $pwd/debian/tmp/usr/bin/mono --version 2>&1`; + verbose_print("Will use built Mono (debian/tmp/usr/bin/monodis) for CIL parsing."); +} elsif (-x "/usr/bin/monodis") { + $clr = "mono"; + $cli_parser = "/usr/bin/monodis"; + $cli_parser_paths = "MONO_PATH=$mono_path MONO_GAC_PREFIX=$mono_gac_prefix "; + verbose_print("Will use Mono (/usr/bin/monodis) for CIL parsing."); +} elsif (-x "/usr/bin/ildasm") { + $clr = "pnet"; + $cli_parser = "/usr/share/cli-common/ildasm-monodis"; + verbose_print("Will use Portable.NET (/usr/bin/ildasm) for CIL parsing."); +} else { + error("Could not find a CIL disassembler, aborting."); +} + +{ + local $/=""; + open(FILE, 'debian/control'); + my @filedata = ; + close(FILE); + if (!($filedata[0] =~ /Build-Depends(-Indep)?: .*cli-common-dev \(>= 0\.4\.4\)/)) { + warning("Warning! No Build-Depends(-Indep) on cli-common-dev (>= 0.4.4)!"); + } +} + +if (!defined $cli_version || $cli_version eq "" ) { + warning("Warning! No CLR is installed. (Probably forgot to Build-Depend on cli-virtual-machine.)"); +} else { + if ($clr eq "mono") { + if ($cli_version =~ /(mint|version)\ ([\d\.]+)/) { + $cli_version = "$2"; + } else { + error("Unable to parse Mono version out of \"$cli_version\"."); + } + } elsif ($clr eq "pnet") { + if ($cli_version =~ /ILRUN\ ([\d\.]+)/) { + $cli_version = "$1"; + } else { + error("Unable to parse Portable.NET version out of \"$cli_version\"."); + } + } else { + error("Unable to detect CLR, aborting."); + } +} + + +# Cleaning the paths given on the command line +foreach (@ARGV) { + s#/$##; + s#^/##; +} + +my $fh; + +verbose_print("Loading clilibs..."); +my %clilibdata; +open($fh, "cat /var/lib/dpkg/info/*.clilibs debian/*/DEBIAN/clilibs 2> /dev/null |"); +while (<$fh>) { + /(\S+)\s+(\S+)\s+(\w.*)\n?/; + $clilibdata{"$1/$2"} = $3; +} +close($fh); + + +verbose_print("Loading shlibs..."); +my %shlibdata; +open($fh, "cat /var/lib/dpkg/info/*.shlibs $pwd/debian/shlibs.local $pwd/debian/*/DEBIAN/shlibs 2> /dev/null |"); +while (<$fh>) { + /(\S+)\s+(\S+)\s+(\w.*)\n?/; + my ($soname, $soversion, $dependency); + #chomp; + #my($soname, $soversion, $dependency) = split(/\s+/, $_, 3); + $soname = $1; + $soversion = $2; + $dependency = $3; + $shlibdata{"$soname.so.$soversion"} = $dependency; +} +close($fh); + +our $needs_net_1_0; +our $needs_net_2_0; +our $needs_net_2_1; + +foreach my $package (@{$dh{DOPACKAGES}}) { + my $tmp = tmpdir($package); + my %refs = ( depends => [], + recommends => [], + suggests => [] ); + my $found_exe = 0; + $needs_net_1_0 = 0; + $needs_net_2_0 = 0; + $needs_net_2_1 = 0; + + # for idempotency + delsubstvar($package, "cli:Depends"); + delsubstvar($package, "cli:Suggests"); + delsubstvar($package, "cli:Recommends"); + + # find binaries + find (sub { + return unless -f && !-l && /\.(exe|dll)$/; + my $file = $_; + if (/\.exe$/) { + $found_exe = 1; + } + + verbose_print("Package: $package Assembly: $file"); + + my %shlibRefs = resolveShlibRefs($package, $file); + push(@{$refs{depends}}, @{$shlibRefs{depends}}); + push(@{$refs{recommends}}, @{$shlibRefs{recommends}}); + push(@{$refs{suggests}}, @{$shlibRefs{suggests}}); + + my %clilibRefs = resolveClilibRefs($package, $tmp, $file); + push(@{$refs{depends}}, @{$clilibRefs{depends}}); + push(@{$refs{recommends}}, @{$clilibRefs{recommends}}); + push(@{$refs{suggests}}, @{$clilibRefs{suggests}}); + }, $tmp); + + $refs{depends} = filterDuplicates($package, $refs{depends}); + $refs{recommends} = filterDuplicates($package, $refs{recommends}); + $refs{suggests} = filterDuplicates($package, $refs{suggests}); + + my $vm_ref = ""; + if (!defined($dh{R_FLAG}) && $found_exe) { + if ($clr eq "mono") { + if ($needs_net_2_1) { + $vm_ref = "mono-runtime (>= 1.2.6), "; + } elsif ($needs_net_2_0) { + $vm_ref = "mono-runtime (>= 1.1.8.1), "; + } elsif ($needs_net_1_0) { + $vm_ref = "mono-runtime (>= 1.0), "; + } else { + $vm_ref = "mono-runtime (>= $cli_version), "; + } + } elsif ($clr eq "pnet") { + $vm_ref = "pnet-interpreter (>= $cli_version), "; + } + } + + my $dh_ref = ""; + if (-f "$tmp/usr/share/cli-common/packages.d/$package.installcligac") { + # this package uses late GAC install, thus we need cli-common at package install time + if (-f "debian/cligacpolicy" || -f "debian/$package.cligacpolicy") { + # if this package uses dh_cligacpolicy then we need 0.5.4 for the policy-remove script in .postrm + # and 0.5.6 to get a working .postrm script (tried also to remove on purge) + $dh_ref = "cli-common (>= 0.5.6), "; + } else { + # we still need at least 0.5.1, as older versions silently missed installing policy files + $dh_ref = "cli-common (>= 0.5.1), "; + } + } + $vm_ref .= $dh_ref; + + #$deps .= join(", ", "", + # sort { + # # beautify the sort order, requested by meebey + # my $apkg; + # $a =~ /^\S+/; + # $apkg=$&; + # $b =~ /^\S+/; + # if($apkg eq $&) { + # return -1 if( ($a=~/>=/) && ($b=~/<=/) && ($a=~/<) { + if (/^shlibs:Depends=(.*)\n?/) { + for (split(/\s*,\s*/, $1)) { + delete $packagesFiltered{$_}; + } + } + } + close($fh); + } else { + verbose_print("Could not read $pwd/debian/$package.substvars"); + } + } + + return [ keys %packagesFiltered ]; +} + +sub loadDllMap { + my $filename = shift; + our $dllmapdata = shift; + if (!-f $filename) { + verbose_print("loadDllMap(): DLL map $filename not found, ignoring..."); + return; + } + + use XML::DOM; + my $parser = new XML::DOM::Parser; + my $doc = $parser->parsefile($filename, whitespace => 'strip'); + my $root = $doc->getDocumentElement(); + my @mapentries = $root->getElementsByTagName("dllmap"); + foreach my $mapentry (@mapentries) { + my $dll = $mapentry->getAttribute("dll"); + my $target = $mapentry->getAttribute("target"); + #verbose_print("DLL map: '$dll' target: '$target'"); + $dllmapdata->{$dll} = $target; + } +} + +sub loadOverrides { + my $package = shift; + my $overridedata = shift; + + # load clideps overrides + verbose_print("Loading clideps-override for $package..."); + my $fh; + open($fh, "cat $pwd/debian/$package.clideps-override 2> /dev/null |"); + while (<$fh>) { + /(\S+)\s+(\S+)(?:\s+(\(\S+\s+\S+\)))?\n?/; + my ($type, $package, $version); + $type = $1; + $package = $2; + $version = $3 if defined($3); + if ($version) { + $overridedata->{$package} = $type." ".$version; + } else { + $overridedata->{$package} = $type; + } + } + close($fh); +} + +sub resolveOverride { + my $package = shift; + my $pkgref = shift; + my %ret = ( depends => undef, + recommends => undef, + suggests => undef ); + + my $type = "depends"; + my $newpkgref = $pkgref; + $newpkgref =~ m/(\S+)(?:\s+(\(\S+\s+\S+\)))?/; + my $pkgname = $1; + my $ver = $2; + # hack for libc6, + # for ia64 and alpha the package name is libc6.1, + # for kfreebsd-i386 and kfreebsd-amd64 it is libc0.1 + if ($pkgname =~ m/^libc[06]/) { + $newpkgref = "libc6 $ver | libc6.1 $ver | libc0.1 $ver"; + } + + my %overridedata; + loadOverrides($package, \%overridedata); + if (defined($overridedata{$pkgname})) { + verbose_print("Found clideps-override: $pkgname for: $package"); + + my $override = $overridedata{$pkgname}; + $override =~ m/(\S+)(?:\s+(\(\S+\s+\S+\)))?/; + if ($1 eq "suggests" || + $1 eq "recommends") { + $type = $1; + } elsif ($1 eq "ignores") { + } else { + warning("Warning: unknown override type: $1 in: '$override' for: $package!"); + } + + if (defined($2)) { + $newpkgref = "$pkgname $2"; + } else { + $newpkgref = $pkgref; + } + } + verbose_print("resolved pkgref: $pkgref to $type: $newpkgref"); + $ret{$type} = $newpkgref; + + return %ret; +} + +sub resolveClilibRefs { + my $package = shift; + my $tmp = shift; + my $assembly_filename = shift; + my %ret = ( depends => [], + recommends => [], + suggests => [] ); + + my (undef, $tmpfile) = File::Temp::tempfile("/tmp/".basename($0).".XXXX", UNLINK => 1); + my $command = "LANG=C $cli_parser_paths MONO_GAC_PREFIX=\$MONO_GAC_PREFIX:$tmp/usr $cli_parser --assemblyref $assembly_filename 2>&1 > $tmpfile"; + verbose_print("running CLI parser command: $command"); + + system($command); + if ($?) { + my $output; + { + local *F; + open(F, $tmpfile); + local $/; + $output = ; + close(F); + } + error("cli_parser call failed: '".$command."' rc: $? output: $output"); + return; + } + + my ($ver, $name, $key); + local *F; + open(F, $tmpfile); + while () { + $ver = $1 if /Version=(.*)\n/; + $name = $1 if /Could not find assembly ([^,]+),/; + $name = $1 if /Name=(.*)\n/; + $ver = "$1.$2" if /Major\/Minor:\s*(\d+),(\d+)/; + $ver .= ".$1.$2" if /Build:\s*(\d+),(\d+)/; + + if (/0x\S+:.([ABCDEF0123456789 ]+)\n/ || /Token:\s*(\w+)/) { + $key = $1; + $key =~ s/\ //g; + $key = $ver . "__" . lc($key); + my $compat = "$name/$key"; + if (!defined($clilibdata{$compat})) { + warning("Warning: No Debian dependency data for $name ($key)!"); + } else { + my $pkgref = $clilibdata{$compat}; + my %overriddenRef = resolveOverride($package, $pkgref); + push(@{$ret{depends}}, $overriddenRef{depends}); + push(@{$ret{recommends}}, $overriddenRef{recommends}); + push(@{$ret{suggests}}, $overriddenRef{suggests}); + } + + if ($name eq "mscorlib") { + if ($ver eq "1.0.5000.0") { + $needs_net_1_0 = 1; + } elsif ($ver eq "2.0.3600.0") { + $needs_net_2_0 = 1; + } elsif ($ver eq "2.0.0.0") { + $needs_net_2_0 = 1; + } elsif ($ver eq "2.1.0.0") { + $needs_net_2_1 = 1; + } else { + warning("Warning: Unknown mscorlib version: $ver!"); + } + } + } + } + close(F); + + return %ret; +} + +sub resolveShlibRefs { + my $package = shift; + my $assembly_filename = shift; + my $config_filename = $assembly_filename.".config"; + my %ret = ( depends => [], + recommends => [], + suggests => [] ); + if (-r $config_filename) { + verbose_print("Found DLL map: $config_filename"); + } else { + verbose_print("Found no specific DLL map, but resolving modulerefs anyway"); + } + + # load dll maps + verbose_print("Loading DLL maps for: $assembly_filename..."); + my %dllmapdata; + loadDllMap("/etc/mono/config", \%dllmapdata); + loadDllMap("$pwd/debian/tmp/etc/mono/config", \%dllmapdata); + loadDllMap($config_filename, \%dllmapdata); + + # parse modulerefs + my (undef, $tmpfile) = File::Temp::tempfile("/tmp/".basename($0).".XXXX", UNLINK => 1); + my $command = "LANG=C $cli_parser_paths $cli_parser --moduleref $assembly_filename 2>&1 > $tmpfile"; + + system($command); + if ($?) { + my $output; + { + local *F; + open(F, $tmpfile); + local $/; + $output = ; + close(F); + } + error("cli_parser call failed: '".$command."' rc: $? output: $output"); + return; + } + + local *F; + open(F, $tmpfile); + while () { + my $name = $1 if /\d+:\s+(.*)\n/; + if (!defined($name)) { + next; + } + my $target = $dllmapdata{$name}; + + if (defined($target)) { + $target = basename($target); + verbose_print("Resolved moduleref via DLL map: $name to: $target"); + } elsif (defined($shlibdata{$name})) { + verbose_print("Resolved moduleref via direct match in shlibs"); + } else { + warning("Warning: Could not resolve moduleref: $name for: $assembly_filename!"); + next; + } + + my $pkgref; + if (defined($target) && defined($shlibdata{$target})) { + $pkgref = $shlibdata{$target}; + } elsif (defined($shlibdata{$name})) { + $pkgref = $shlibdata{$name}; + } elsif (defined($target) && defined($shlibdata{$target.".0"})) { + # for DLL maps that have an unversioned library as target + $pkgref = $shlibdata{$target.".0"}; + } else { + warning("Warning: Missing shlibs entry: $target or $name for: $assembly_filename!"); + next; + } + + my %overriddenRef = resolveOverride($package, $pkgref); + push(@{$ret{depends}}, $overriddenRef{depends}); + push(@{$ret{recommends}}, $overriddenRef{recommends}); + push(@{$ret{suggests}}, $overriddenRef{suggests}); + } + close(F); + + return %ret; +} + +=head1 SEE ALSO + +L + +This program is a part of cli-common-dev. + +=head1 AUTHOR + +Mirco Bauer , Eduard Bloch , +partialy based on code from Brendan O'Dea and +Joey Hess . + +=cut diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/dh_clifixperms /tmp/whXnmORr8x/mono-2.4+dfsg/debian/dh_clifixperms --- mono-2.4.0/debian/dh_clifixperms 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/dh_clifixperms 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,70 @@ +#!/usr/bin/perl -w + +=head1 NAME + +dh_clifixperms - fix permissions of files in CLI package build directories + +=cut + +use strict; +use Debian::Debhelper::Dh_Lib; + +=head1 SYNOPSIS + +B [S>] [B<-X>I] + +=head1 DESCRIPTION + +dh_clifixperms is a debhelper program that is responsible for setting +the permissions of files and directories for CLI assemblies and +executables. + +dh_clifixperms makes all files that end in *.dll, *.mdb, *.cs, +*.aspx, and *.config to mode 644 and *.exe to mode 755. + +=head1 OPTIONS + +=over 4 + +=item B<-X>I, B<--exclude> I + +Exclude files that contain "item" anywhere in their filename from having +their permissions changed. You may use this option multiple times to build +up a list of things to exclude. + +=back + +=cut + +init(); + +foreach my $package (@{$dh{DOPACKAGES}}) { + my $tmp=tmpdir($package); + + my $find_options=''; + if (defined($dh{EXCLUDE_FIND}) && $dh{EXCLUDE_FIND} ne '') { + $find_options="! \\( $dh{EXCLUDE_FIND} \\)"; + } + + # Fix the permissions of various CLI-based files + for my $ext (qw(dll mdb cs config aspx)) + { + complex_doit("find $tmp $find_options -name \"*.$ext\" -print0", + "2>/dev/null | xargs -0r chmod 0644"); + } + complex_doit("find $tmp $find_options -name \"*.exe\" -print0", + "2>/dev/null | xargs -0r chmod 0755"); +} + +=head1 SEE ALSO + +L + +This program is a part of cli-common. + +=head1 AUTHOR + +Dylan R. E. Moonfire based on work from Joey Hess +. + +=cut diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/dh_clistrip /tmp/whXnmORr8x/mono-2.4+dfsg/debian/dh_clistrip --- mono-2.4.0/debian/dh_clistrip 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/dh_clistrip 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,105 @@ +#!/usr/bin/perl -w + +=head1 NAME + +dh_clistrip - strips CLI debug symbols from package build directories + +=cut + +use strict; +use File::Find; +use Debian::Debhelper::Dh_Lib; + +=head1 SYNOPSIS + +B [S>] [B<-X>I] [--dbg-package=package] + +=head1 DESCRIPTION + +dh_clistrip is a debhelper program that removes debug symbols from +CLI libraries and applications. + +dh_clistrip deletes all *.exe.mdb and *.dll.mdb files. + +=head1 OPTIONS + +=over 4 + +=item B<-X>I, B<--exclude=>I + +Exclude files that contain "item" anywhere in their filename from being +deleted. You may use this option multiple times to build up a list of things +to exclude. + +=item B<--dbg-package=>I + +Moves the debug symbols to the specified package. + +=back + +=cut + +init(); + +my $pwd = `pwd`; +chomp $pwd; + +# This variable can be used to turn off stripping (see Policy). +if (defined $ENV{DEB_BUILD_OPTIONS} && $ENV{DEB_BUILD_OPTIONS} =~ /nostrip/) { + exit; +} + +foreach my $package (@{$dh{DOPACKAGES}}) { + my $tmp = tmpdir($package); + + my $debug_pkg = ''; + if (defined($dh{DEBUGPACKAGES})) { + $debug_pkg = @{$dh{DEBUGPACKAGES}}[0]; + verbose_print("debug_pkg: $debug_pkg"); + } + + if ($package eq $debug_pkg) { + # skip debug package + next; + } + + # find debug symbols + find (sub { + foreach my $exclude (@{$dh{EXCLUDE}}) { + return if /$exclude/; + } + return unless -f && /\.(exe|dll)\.mdb$/; + + my $file = $_; + my $dir = $File::Find::dir; + + if ($debug_pkg ne '') { + my $debug_dir = $dir; + verbose_print("dir: $dir"); + $debug_dir =~ s!$tmp!!; + verbose_print("debug_dir: $debug_dir"); + $debug_dir = $pwd . "/debian/$debug_pkg/" . $debug_dir; + verbose_print("debug_dir: $debug_dir"); + if (! -d $debug_dir) { + doit("install", "-d", $debug_dir); + } + verbose_print("moving $file to $debug_dir"); + doit("mv", $file, $debug_dir); + } else { + verbose_print("deleting $file"); + doit("rm", $file); + } + }, $tmp); +} + +=head1 SEE ALSO + +L + +This program is a part of cli-common. + +=head1 AUTHOR + +Mirco Bauer + +=cut diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/dh_makeclilibs /tmp/whXnmORr8x/mono-2.4+dfsg/debian/dh_makeclilibs --- mono-2.4.0/debian/dh_makeclilibs 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/dh_makeclilibs 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,305 @@ +#!/usr/bin/perl -w + +=head1 NAME + +dh_makeclilibs - automatically create clilibs file + +=cut + +use strict; +use Debian::Debhelper::Dh_Lib; + +=head1 SYNOPSIS + +B [S>] [B<-r>] [B<-V>I<[dependancies]>] [B<-m>I] [B<-l>I] [B<-X>I] + +=head1 DESCRIPTION + +dh_makeclilibs is a debhelper program that automatically scans for +versioned CIL (.NET) assemblies, and generates a clilibs file for the +libraries it finds. + +By default, dh_makeclilibs scans the .dll files in the package +directories and writes the discovered compatibility data (major/minor, +build, token) to "clilibs" files in the appropriate packages. + +However, if a file like debian/package.clilibs is found, this one will +be installed and no scanning is performed. + +=head1 OPTIONS + +=over 4 + +=item B<-V>, B<-V>I + +=item B<--version-info>, B<--version-info=>I + +By default, the clilibs file generated by this program does not make packages +depend on any particular version of the package containing the assembly. +It may be necessary for you to add some version dependency +information to the clilibs file. If -V is specified with no dependency +information, the current version of the package is plugged into a +dependency that looks like "packagename (>= packageversion)". If -V is +specified with parameters, the parameters can be used to specify the exact +dependency information needed (be sure to include the package name). + +Beware of using -V without any parameters; this is a conservative setting +that always ensures that other packages' shared library dependencies are at +least as tight as they need to be, so that if the maintainer screws up then +they won't break. The flip side is that packages might end up with +dependencies that are too tight and so find it harder to be upgraded. + +=item B<-m>I + +Like -V, but specifies only the version string, the package name comes +from the package that is actually processed. This option is more +flexible if you try to set a range of valid versions for different +assembly packages coming from one source package. + +=item B<-l>I + +Specifies the (expected) version of this package when the compatibility +to the current assemblies will break. + +=item B<-r> + +An experimental option to automaticaly guess the next incompatible +upstream version and insert them (like working with -l and -m options, +see above). Do not expect the guessed values to be always correct - +normally, the usualy assumed version string has the form +generation.major.minor where versions with changes in "minor" are +compatible and "major" versions break with compatibility. + +=item B<-X>I, B<--exclude=>I + +Exclude files that contain "item" anywhere in their filename or directory +from being treated as shared libraries. + +=item B<--internal-mono> + +Uses the Mono runtime in . (used for bootstrapping Mono packages) + +=back + +=head1 EXAMPLES + + dh_makeclilibs + +Assuming this is a package named libfoobar0.9x-cil, generates a clilibs file that +looks something like: + libfoobar 1.0.2345.0_23a12f34 libfoobar0.9x-cil + + dh_makeclilibs -V + +Assuming the current version of the package is 0.93-3, generates a clilibs +file that looks something like: + libfoobar 1.0.2345.0_23a12f34 libfoobar0.9x-cil (>= 0.93-3) + + dh_makeclilibs -V 'libfoobar0.9x-cil (>= 0.92)' + +Generates a clilibs file that looks something like: + libfoobar 1.0.2345.0_23a12f34 libfoobar0.9x-cil (>= 0.92) + +Assuming that your package creates libfoobar-cil and liblafasel-cil, +which are compatible to 0.92 versions but the upstream is going to break +compatibility in the next version, 0.94: + + dh_makeclilibs -m 0.92 -l 0.94 + +Generates clilibs file that looks something like: + + libfoobar 1.0.2345.0_23a12f34 libfoobar-cil (>= 0.92), libfoobar-cil (<< 0.94) + +and + + liblafasel 1.0.2345.0_23a12f34 liblafasel-cil (>= 0.92), liblafasel-cil (<< 0.94) + +=cut + +# gar, debhelper 7.1 defines -V for all scripts already :( +init(options => { +# "V", => \$dh{V_FLAG}, + "r" => \$dh{R_FLAG}, + "m=s" => \$dh{M_PARAMS}, + "l=s" => \$dh{L_PARAMS}, + "internal-mono" => \$dh{INTERNAL_MONO_FLAG}, +}); + +my $clr; +my $cli = '/usr/bin/cli'; +my $cli_version = `$cli --version 2>&1`; +my $cli_parser; +my $sn = 'sn'; + +if (defined($dh{INTERNAL_MONO_FLAG}) || + (defined($ARGV[0]) && $ARGV[0] eq "internal-mono")) { + $clr = "mono"; + my $mono_path = "LD_LIBRARY_PATH=debian/tmp/usr/lib MONO_PATH=debian/tmp/usr/lib/mono/1.0:debian/tmp/usr/lib/mono/2.0"; + $cli_parser = "$mono_path debian/tmp/usr/bin/monodis"; + $sn = "$mono_path debian/tmp/usr/bin/mono debian/tmp/usr/lib/mono/1.0/sn.exe"; + verbose_print("Will use build Mono (debian/tmp/usr/bin/monodis) for CIL parsing."); +} elsif (-x "/usr/bin/monodis") { + $clr = "mono"; + $cli_parser = "/usr/bin/monodis"; + verbose_print("Will use Mono (/usr/bin/monodis) for CIL parsing."); +} elsif (-x "/usr/bin/ildasm") { + $clr = "pnet"; + $cli_parser = "/usr/share/cli-common/ildasm-monodis"; + verbose_print("Will use Portable.NET (/usr/bin/ildasm) for CIL parsing."); +} else { + error("Could not find a CIL disassembler, aborting."); +} + +{ + local $/=""; + open(FILE, 'debian/control'); + my @filedata = ; + close FILE; + if (!($filedata[0] =~ /Build-Depends(-Indep)?: .*cli-common-dev \(>= 0\.4\.4\)/)) { + warning("Warning! No Build-Depends(-Indep) on cli-common-dev (>= 0.4.4)!"); + } +} + +my $fh; +my %shlibdata; + +foreach my $package (@{$dh{DOPACKAGES}}) { + next if is_udeb($package); + + my $tmp = tmpdir($package); + + my %seen; + my $need_ldconfig = 0; + + doit("rm", "-f", "$tmp/DEBIAN/clilibs"); + if (-e "debian/$package.clilibs" ) { + complex_doit("cat debian/$package.clilibs > $tmp/DEBIAN/clilibs"); + } else { + # So, we look for files or links to existing files with names that + # match "*.so*". Matching *.so.* is not good enough because of + # broken crap like db3. And we only look at real files not + # symlinks, so we don't accidentually add clilibs data to -dev + # packages. This may have a few false positives, which is ok, + # because only if we can get a library name and a major number from + # objdump is anything actually added. + my $exclude = ''; + if (defined($dh{EXCLUDE_FIND}) && $dh{EXCLUDE_FIND} ne '') { + $exclude = "! \\( $dh{EXCLUDE_FIND} \\) "; + } + open(FIND, "find $tmp -type f \\( -name '*.dll' \\) $exclude |"); + + dll: + while () { + chomp; + my ($library, $ver, $libfile); + $libfile = $_; + my $sig = `$sn -T $_ 2> /dev/null`; + $sig =~ s/.*key token: (\w+).*/$1/is; + if ($sig=~/\s/) { + warning "$libfile has no valid signature, ignoring"; + next dll; + } + my $dis = `$cli_parser --assembly $libfile 2>&1`; + if ($dis =~ m/Name:\s+(\S+)/) { + $library = $1; + $dis =~ m/Version:\s+(\S+)/; + $ver = $1; + } else { + # completely broken code, we need a mature app not + # depending on assembly loading + # verbose_print("trouble parsing monodis output, components not installed? Fallback to parsing the pure monodis output."); + # $dis = `monodis $libfile 2>&1`; + # $dis =~ /^module (\S+)/is; + # $library = $1; + # $library =~ s/'|"//; + warning("$cli_parser could not open $libfile, maybe some components not installed yet. Using filename to guess the assembly name :("); + $libfile=~ m,/(\d+\.\d+.\d+.\d+)__(\w+)/([^/]+)\.dll$,is; + next dll if (!($1 && $2 && $3)); + $ver=$1; + $sig=$2; + $library=$3; + } + + if (!-d "$tmp/DEBIAN") { + doit("install", "-d", "$tmp/DEBIAN"); + } + my $deps = $package; + + # Call isnative becuase it sets $dh{VERSION} + # as a side effect. + isnative($package); + my $version = $dh{VERSION}; + + # Old compatibility levels include the + # debian revision, while new do not. + if (!compat(3)) { + # Remove debian version, if any. + $version =~ s/-[^-]+$//; + } + + if (defined($dh{M_PARAMS}) && $dh{M_PARAMS} ne '') { + $version = $dh{M_PARAMS}; + } + if ($dh{V_FLAG_SET}) { + if ($dh{V_FLAG} ne '' ) { + $deps = $dh{V_FLAG}; + } else { + $deps = "$package (>= $version)"; + } + } + if (defined($dh{R_FLAG})) { + $version =~ s/-[^-]+$//; + my @uvers = split ( /\./, $version ); + $uvers[1]++; + $deps = "$package (>= $version), $package (<< ".join(".", @uvers).")"; + } + if (defined($dh{M_PARAMS})) { + $deps = "$package (>= ".$dh{M_PARAMS}.")"; + } + if (defined($dh{L_PARAMS})) { + $deps .= ", $package (<< ".$dh{L_PARAMS}.")"; + } + if (defined($library) && + defined($ver) && + defined($deps) && + $library ne '' && + $ver ne '' && + $deps ne '') { + # Prevent duplicate lines from entering the file. + my $line = "$library $ver" . "__$sig $deps"; + + # extra dependencies are to be resolved by dh_clideps, + # don't forward the dependency libs to the apps where it + # does not belong to +# if ( my $extra = extraDeps ($libfile) ) { $line .= ", $extra"; } + if (!$seen{$line}) { + $seen{$line} = 1; + complex_doit("echo '$line' >> $tmp/DEBIAN/clilibs"); + } + } + } + } + close FIND; + + if (-e "$tmp/DEBIAN/clilibs") { + doit("chmod", 644, "$tmp/DEBIAN/clilibs"); + doit("chown", "0:0", "$tmp/DEBIAN/clilibs"); + } +} + +=head1 SEE ALSO + +L + +This program is a part of cli-common-dev. + +=head1 KNOWN BUGS + +Will possibly not work correctly with DH_COMPAT levels 1 and 2. + +=head1 AUTHOR + +Mirco Bauer , Eduard Bloch , +inspired by dh_makeshlibs by Joey Hess + +=cut diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/dh_monoaot /tmp/whXnmORr8x/mono-2.4+dfsg/debian/dh_monoaot --- mono-2.4.0/debian/dh_monoaot 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/dh_monoaot 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,87 @@ +#!/usr/bin/perl -w + +=head1 NAME + +dh_monoaot - generates AOT images for assemblies + +=cut + +use strict; +use File::Find; +use Debian::Debhelper::Dh_Lib; + +=head1 SYNOPSIS + +B [S>] [B<-n>] + +=head1 DESCRIPTION + +dh_monoaot is a debhelper program that is responsible for +generating AOT images at package install time. + +It also automatically generates the postinst and prerm commands needed +to generate AOT images. See L for an +explanation of how this works. + +This is based on L in the cli-common package. + +=head1 OPTIONS + +=over 4 + +=item B<-n>, B<--noscripts> + +Do not modify postinst/prerm scripts. + +=back + +=head1 NOTES + +Note that this command is not idempotent. "dh_clean -k" should be called +between invocations of this command. Otherwise, it may cause multiple +instances of the same text to be added to maintainer scripts. + +=cut + +init(); + +foreach my $package (@{$dh{DOPACKAGES}}) { + my $tmp = tmpdir($package); + my @files; + + # find binaries + find (sub { + return unless -f and /\.(exe|dll)$/; + return unless $File::Find::dir =~ m!^$tmp/usr/lib!; + + my $fullfilename = $File::Find::name; + + my $filename = $fullfilename; + $filename =~ s/^$tmp//; + + verbose_print("fullfilename: $fullfilename"); + verbose_print("filename: $filename"); + push(@files, $filename); + }, $tmp); + + if (! $dh{NOSCRIPTS}) { + foreach my $file (@files) { + autoscript($package, "postinst", "postinst-monoaot", + "s!#FILE#!$file!"); + autoscript($package, "prerm", "prerm-monoaot", + "s!#FILE#!$file.so!"); + } + } +} + +=head1 SEE ALSO + +L + +This program is a part of cli-common-dev. + +=head1 AUTHOR + +Mirco 'meebey' Bauer + +=cut diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/docs /tmp/whXnmORr8x/mono-2.4+dfsg/debian/docs --- mono-2.4.0/debian/docs 2009-05-31 08:36:14.000000000 +0100 +++ mono-2.4+dfsg/debian/docs 1970-01-01 01:00:00.000000000 +0100 @@ -1,2 +0,0 @@ -NEWS -README diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/FirebirdSql.Data.Firebird.dll.config /tmp/whXnmORr8x/mono-2.4+dfsg/debian/FirebirdSql.Data.Firebird.dll.config --- mono-2.4.0/debian/FirebirdSql.Data.Firebird.dll.config 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/FirebirdSql.Data.Firebird.dll.config 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,3 @@ + + + diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/icu-test.cs /tmp/whXnmORr8x/mono-2.4+dfsg/debian/icu-test.cs --- mono-2.4.0/debian/icu-test.cs 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/icu-test.cs 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,11 @@ + +public class MainClass +{ + public static void Main() + { + System.Console.WriteLine("This should output (depending in your locales) something like:"); + System.Console.WriteLine("\"Thursday, 27 May 2004 22:14:01\""); + System.Console.WriteLine("Actual Output:"); + System.Console.WriteLine("\""+System.DateTime.Now.ToString("F")+"\""); + } +} diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/libmono0.install /tmp/whXnmORr8x/mono-2.4+dfsg/debian/libmono0.install --- mono-2.4.0/debian/libmono0.install 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/libmono0.install 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1 @@ +/usr/lib/libmono.so.* diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/libmono0.shlibs.in /tmp/whXnmORr8x/mono-2.4+dfsg/debian/libmono0.shlibs.in --- mono-2.4.0/debian/libmono0.shlibs.in 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/libmono0.shlibs.in 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1 @@ +libmono 0 libmono0 (= _VERSION_) diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/libmono1.0-cil.install /tmp/whXnmORr8x/mono-2.4+dfsg/debian/libmono1.0-cil.install --- mono-2.4.0/debian/libmono1.0-cil.install 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/libmono1.0-cil.install 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,7 @@ +debian/tmp/usr/lib/mono/1.0/Mono.CompilerServices.SymbolWriter.dll +debian/tmp/usr/lib/mono/1.0/Mono.Http.dll +debian/tmp/usr/lib/mono/1.0/OpenSystem.C.dll +debian/tmp/usr/lib/mono/gac/Mono.CompilerServices.SymbolWriter/1.0.5000.0__*/ +debian/tmp/usr/lib/mono/gac/Mono.Http/1.0.5000.0__*/ +debian/tmp/usr/lib/mono/gac/OpenSystem.C/1.0.5000.0__*/ +debian/tmp/usr/lib/mono/gac/mono-service/1.0.5000.0__*/ diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/libmono2.0-cil.install /tmp/whXnmORr8x/mono-2.4+dfsg/debian/libmono2.0-cil.install --- mono-2.4.0/debian/libmono2.0-cil.install 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/libmono2.0-cil.install 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,10 @@ +debian/tmp/usr/lib/mono/2.0/Mono.CompilerServices.SymbolWriter.dll +debian/tmp/usr/lib/mono/2.0/Mono.Http.dll +debian/tmp/usr/lib/mono/2.0/Mono.Web.dll +debian/tmp/usr/lib/mono/2.0/OpenSystem.C.dll +debian/tmp/usr/lib/mono/gac/Mono.CompilerServices.SymbolWriter/2.0.0.0__*/ +debian/tmp/usr/lib/mono/gac/Mono.Http/2.0.0.0__*/ +debian/tmp/usr/lib/mono/gac/Mono.Web/2.0.0.0__*/ +debian/tmp/usr/lib/mono/gac/OpenSystem.C/2.0.0.0__*/ +debian/tmp/usr/lib/mono/gac/mono-service/2.0.0.0__*/ +debian/tmp/usr/lib/pkgconfig/mono.web.pc diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/libmono-accessibility1.0-cil.install /tmp/whXnmORr8x/mono-2.4+dfsg/debian/libmono-accessibility1.0-cil.install --- mono-2.4.0/debian/libmono-accessibility1.0-cil.install 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/libmono-accessibility1.0-cil.install 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/mono/gac/Accessibility/1.0.*/ +debian/tmp/usr/lib/mono/1.0/Accessibility.dll diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/libmono-accessibility2.0-cil.install /tmp/whXnmORr8x/mono-2.4+dfsg/debian/libmono-accessibility2.0-cil.install --- mono-2.4.0/debian/libmono-accessibility2.0-cil.install 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/libmono-accessibility2.0-cil.install 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/mono/gac/Accessibility/2.0.*/ +debian/tmp/usr/lib/mono/2.0/Accessibility.dll diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/libmono-bytefx0.7.6.1-cil.clideps-override /tmp/whXnmORr8x/mono-2.4+dfsg/debian/libmono-bytefx0.7.6.1-cil.clideps-override --- mono-2.4.0/debian/libmono-bytefx0.7.6.1-cil.clideps-override 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/libmono-bytefx0.7.6.1-cil.clideps-override 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1 @@ +suggests libmono-winforms1.0-cil diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/libmono-bytefx0.7.6.1-cil.install /tmp/whXnmORr8x/mono-2.4+dfsg/debian/libmono-bytefx0.7.6.1-cil.install --- mono-2.4.0/debian/libmono-bytefx0.7.6.1-cil.install 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/libmono-bytefx0.7.6.1-cil.install 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/mono/gac/ByteFX.Data/0.7.6.1*/ +debian/tmp/usr/lib/mono/1.0/ByteFX.Data.dll diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/libmono-bytefx0.7.6.2-cil.clideps-override /tmp/whXnmORr8x/mono-2.4+dfsg/debian/libmono-bytefx0.7.6.2-cil.clideps-override --- mono-2.4.0/debian/libmono-bytefx0.7.6.2-cil.clideps-override 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/libmono-bytefx0.7.6.2-cil.clideps-override 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1 @@ +suggests libmono-winforms2.0-cil diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/libmono-bytefx0.7.6.2-cil.install /tmp/whXnmORr8x/mono-2.4+dfsg/debian/libmono-bytefx0.7.6.2-cil.install --- mono-2.4.0/debian/libmono-bytefx0.7.6.2-cil.install 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/libmono-bytefx0.7.6.2-cil.install 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/mono/gac/ByteFX.Data/0.7.6.2*/ +debian/tmp/usr/lib/mono/2.0/ByteFX.Data.dll diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/libmono-c5-1.0-cil.install /tmp/whXnmORr8x/mono-2.4+dfsg/debian/libmono-c5-1.0-cil.install --- mono-2.4.0/debian/libmono-c5-1.0-cil.install 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/libmono-c5-1.0-cil.install 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/mono/gac/Mono.C5/1.0.*/ +debian/tmp/usr/lib/mono/2.0/Mono.C5.dll diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/libmono-cairo1.0-cil.install /tmp/whXnmORr8x/mono-2.4+dfsg/debian/libmono-cairo1.0-cil.install --- mono-2.4.0/debian/libmono-cairo1.0-cil.install 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/libmono-cairo1.0-cil.install 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/mono/gac/Mono.Cairo/1.0.*/ +debian/tmp/usr/lib/mono/1.0/Mono.Cairo.dll diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/libmono-cairo2.0-cil.install /tmp/whXnmORr8x/mono-2.4+dfsg/debian/libmono-cairo2.0-cil.install --- mono-2.4.0/debian/libmono-cairo2.0-cil.install 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/libmono-cairo2.0-cil.install 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,3 @@ +debian/tmp/usr/lib/mono/gac/Mono.Cairo/2.0.*/ +debian/tmp/usr/lib/mono/2.0/Mono.Cairo.dll +debian/tmp/usr/lib/pkgconfig/mono-cairo.pc diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/libmono-cecil0.6.8-cil.debhelper.log /tmp/whXnmORr8x/mono-2.4+dfsg/debian/libmono-cecil0.6.8-cil.debhelper.log --- mono-2.4.0/debian/libmono-cecil0.6.8-cil.debhelper.log 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/libmono-cecil0.6.8-cil.debhelper.log 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1 @@ +dh_installdirs diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/libmono-cecil-private-cil.install /tmp/whXnmORr8x/mono-2.4+dfsg/debian/libmono-cecil-private-cil.install --- mono-2.4.0/debian/libmono-cecil-private-cil.install 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/libmono-cecil-private-cil.install 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,2 @@ +/usr/lib/mono/gac/Mono.Cecil/ +/usr/lib/pkgconfig/cecil.pc diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/libmono-corlib1.0-cil.install /tmp/whXnmORr8x/mono-2.4+dfsg/debian/libmono-corlib1.0-cil.install --- mono-2.4.0/debian/libmono-corlib1.0-cil.install 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/libmono-corlib1.0-cil.install 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1 @@ +debian/tmp/usr/lib/mono/1.0/mscorlib.dll* diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/libmono-corlib2.0-cil.install /tmp/whXnmORr8x/mono-2.4+dfsg/debian/libmono-corlib2.0-cil.install --- mono-2.4.0/debian/libmono-corlib2.0-cil.install 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/libmono-corlib2.0-cil.install 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1 @@ +debian/tmp/usr/lib/mono/2.0/mscorlib.dll* diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/libmono-corlib2.1-cil.install /tmp/whXnmORr8x/mono-2.4+dfsg/debian/libmono-corlib2.1-cil.install --- mono-2.4.0/debian/libmono-corlib2.1-cil.install 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/libmono-corlib2.1-cil.install 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1 @@ +debian/tmp/usr/lib/mono/2.1/mscorlib.dll* diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/libmono-cscompmgd7.0-cil.install /tmp/whXnmORr8x/mono-2.4+dfsg/debian/libmono-cscompmgd7.0-cil.install --- mono-2.4.0/debian/libmono-cscompmgd7.0-cil.install 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/libmono-cscompmgd7.0-cil.install 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/mono/gac/cscompmgd/7.0.*/ +debian/tmp/usr/lib/mono/1.0/cscompmgd.dll diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/libmono-cscompmgd8.0-cil.install /tmp/whXnmORr8x/mono-2.4+dfsg/debian/libmono-cscompmgd8.0-cil.install --- mono-2.4.0/debian/libmono-cscompmgd8.0-cil.install 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/libmono-cscompmgd8.0-cil.install 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/mono/gac/cscompmgd/8.0.*/ +debian/tmp/usr/lib/mono/2.0/cscompmgd.dll diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/libmono-data1.0-cil.install /tmp/whXnmORr8x/mono-2.4+dfsg/debian/libmono-data1.0-cil.install --- mono-2.4.0/debian/libmono-data1.0-cil.install 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/libmono-data1.0-cil.install 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,6 @@ +debian/tmp/usr/lib/mono/1.0/Mono.Data.SybaseClient.dll +debian/tmp/usr/lib/mono/1.0/Mono.Data.TdsClient.dll +debian/tmp/usr/lib/mono/1.0/Mono.Data.dll +debian/tmp/usr/lib/mono/gac/Mono.Data.SybaseClient/1.0.5000.0__*/ +debian/tmp/usr/lib/mono/gac/Mono.Data.TdsClient/1.0.5000.0__*/ +debian/tmp/usr/lib/mono/gac/Mono.Data/1.0.5000.0__*/ diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/libmono-data2.0-cil.install /tmp/whXnmORr8x/mono-2.4+dfsg/debian/libmono-data2.0-cil.install --- mono-2.4.0/debian/libmono-data2.0-cil.install 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/libmono-data2.0-cil.install 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,6 @@ +debian/tmp/usr/lib/mono/2.0/Mono.Data.SybaseClient.dll +debian/tmp/usr/lib/mono/2.0/Mono.Data.TdsClient.dll +debian/tmp/usr/lib/mono/2.0/Mono.Data.dll +debian/tmp/usr/lib/mono/gac/Mono.Data.SybaseClient/2.0.0.0__*/ +debian/tmp/usr/lib/mono/gac/Mono.Data.TdsClient/2.0.0.0__*/ +debian/tmp/usr/lib/mono/gac/Mono.Data/2.0.0.0__*/ diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/libmono-data-tds1.0-cil.install /tmp/whXnmORr8x/mono-2.4+dfsg/debian/libmono-data-tds1.0-cil.install --- mono-2.4.0/debian/libmono-data-tds1.0-cil.install 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/libmono-data-tds1.0-cil.install 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/mono/gac/Mono.Data.Tds/1.0.*/ +debian/tmp/usr/lib/mono/1.0/Mono.Data.Tds.dll diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/libmono-data-tds2.0-cil.install /tmp/whXnmORr8x/mono-2.4+dfsg/debian/libmono-data-tds2.0-cil.install --- mono-2.4.0/debian/libmono-data-tds2.0-cil.install 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/libmono-data-tds2.0-cil.install 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/mono/gac/Mono.Data.Tds/2.0.*/ +debian/tmp/usr/lib/mono/2.0/Mono.Data.Tds.dll diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/libmono-db2-1.0-cil.install /tmp/whXnmORr8x/mono-2.4+dfsg/debian/libmono-db2-1.0-cil.install --- mono-2.4.0/debian/libmono-db2-1.0-cil.install 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/libmono-db2-1.0-cil.install 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/mono/gac/IBM.Data.DB2/1.0.*/ +debian/tmp/usr/lib/mono/1.0/IBM.Data.DB2.dll diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/libmono-dev.install /tmp/whXnmORr8x/mono-2.4+dfsg/debian/libmono-dev.install --- mono-2.4.0/debian/libmono-dev.install 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/libmono-dev.install 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,4 @@ +debian/tmp/usr/lib/libmono.so +debian/tmp/usr/lib/libmono.a +debian/tmp/usr/lib/pkgconfig/mono.pc +debian/tmp/usr/include/ diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/libmono-firebirdsql1.7-cil.install /tmp/whXnmORr8x/mono-2.4+dfsg/debian/libmono-firebirdsql1.7-cil.install --- mono-2.4.0/debian/libmono-firebirdsql1.7-cil.install 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/libmono-firebirdsql1.7-cil.install 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/mono/gac/FirebirdSql.Data.Firebird/1.7.*/ +debian/tmp/usr/lib/mono/2.0/FirebirdSql.Data.Firebird.dll diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/libmono-getoptions1.0-cil.install /tmp/whXnmORr8x/mono-2.4+dfsg/debian/libmono-getoptions1.0-cil.install --- mono-2.4.0/debian/libmono-getoptions1.0-cil.install 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/libmono-getoptions1.0-cil.install 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/mono/1.0/Mono.GetOptions.dll +debian/tmp/usr/lib/mono/gac/Mono.GetOptions/1.0.5000.0__*/ diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/libmono-getoptions2.0-cil.install /tmp/whXnmORr8x/mono-2.4+dfsg/debian/libmono-getoptions2.0-cil.install --- mono-2.4.0/debian/libmono-getoptions2.0-cil.install 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/libmono-getoptions2.0-cil.install 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/mono/2.0/Mono.GetOptions.dll +debian/tmp/usr/lib/mono/gac/Mono.GetOptions/2.0.0.0__*/ diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/libmono-i18n1.0-cil.install /tmp/whXnmORr8x/mono-2.4+dfsg/debian/libmono-i18n1.0-cil.install --- mono-2.4.0/debian/libmono-i18n1.0-cil.install 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/libmono-i18n1.0-cil.install 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,8 @@ +/usr/lib/mono/gac/I18N.CJK/1.0.*/ +/usr/lib/mono/gac/I18N.MidEast/1.0.*/ +/usr/lib/mono/gac/I18N.Other/1.0.*/ +/usr/lib/mono/gac/I18N.Rare/1.0.*/ +/usr/lib/mono/1.0/I18N.CJK.dll +/usr/lib/mono/1.0/I18N.MidEast.dll +/usr/lib/mono/1.0/I18N.Other.dll +/usr/lib/mono/1.0/I18N.Rare.dll diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/libmono-i18n2.0-cil.install /tmp/whXnmORr8x/mono-2.4+dfsg/debian/libmono-i18n2.0-cil.install --- mono-2.4.0/debian/libmono-i18n2.0-cil.install 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/libmono-i18n2.0-cil.install 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,8 @@ +/usr/lib/mono/gac/I18N.CJK/2.0.*/ +/usr/lib/mono/gac/I18N.MidEast/2.0.*/ +/usr/lib/mono/gac/I18N.Other/2.0.*/ +/usr/lib/mono/gac/I18N.Rare/2.0.*/ +/usr/lib/mono/2.0/I18N.CJK.dll +/usr/lib/mono/2.0/I18N.MidEast.dll +/usr/lib/mono/2.0/I18N.Other.dll +/usr/lib/mono/2.0/I18N.Rare.dll diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/libmono-i18n-west1.0-cil.install /tmp/whXnmORr8x/mono-2.4+dfsg/debian/libmono-i18n-west1.0-cil.install --- mono-2.4.0/debian/libmono-i18n-west1.0-cil.install 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/libmono-i18n-west1.0-cil.install 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,4 @@ +/usr/lib/mono/gac/I18N/1.0.*/ +/usr/lib/mono/gac/I18N.West/1.0.*/ +/usr/lib/mono/1.0/I18N.dll +/usr/lib/mono/1.0/I18N.West.dll diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/libmono-i18n-west2.0-cil.install /tmp/whXnmORr8x/mono-2.4+dfsg/debian/libmono-i18n-west2.0-cil.install --- mono-2.4.0/debian/libmono-i18n-west2.0-cil.install 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/libmono-i18n-west2.0-cil.install 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,4 @@ +/usr/lib/mono/gac/I18N/2.0.*/ +/usr/lib/mono/gac/I18N.West/2.0.*/ +/usr/lib/mono/2.0/I18N.dll +/usr/lib/mono/2.0/I18N.West.dll diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/libmono-ldap1.0-cil.install /tmp/whXnmORr8x/mono-2.4+dfsg/debian/libmono-ldap1.0-cil.install --- mono-2.4.0/debian/libmono-ldap1.0-cil.install 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/libmono-ldap1.0-cil.install 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/mono/gac/Novell.Directory.Ldap/1.0.*/ +debian/tmp/usr/lib/mono/1.0/Novell.Directory.Ldap.dll diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/libmono-ldap2.0-cil.install /tmp/whXnmORr8x/mono-2.4+dfsg/debian/libmono-ldap2.0-cil.install --- mono-2.4.0/debian/libmono-ldap2.0-cil.install 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/libmono-ldap2.0-cil.install 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/mono/gac/Novell.Directory.Ldap/2.0.*/ +debian/tmp/usr/lib/mono/2.0/Novell.Directory.Ldap.dll diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/libmono-management2.0-cil.install /tmp/whXnmORr8x/mono-2.4+dfsg/debian/libmono-management2.0-cil.install --- mono-2.4.0/debian/libmono-management2.0-cil.install 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/libmono-management2.0-cil.install 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,2 @@ +/usr/lib/mono/gac/Mono.Management/2.0.0.0__*/ +/usr/lib/mono/2.0/Mono.Management.dll diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/libmono-messaging2.0-cil.install /tmp/whXnmORr8x/mono-2.4+dfsg/debian/libmono-messaging2.0-cil.install --- mono-2.4.0/debian/libmono-messaging2.0-cil.install 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/libmono-messaging2.0-cil.install 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,2 @@ +/usr/lib/mono/gac/Mono.Messaging/2.0.0.0__*/ +/usr/lib/mono/2.0/Mono.Messaging.dll diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/libmono-microsoft7.0-cil.install /tmp/whXnmORr8x/mono-2.4+dfsg/debian/libmono-microsoft7.0-cil.install --- mono-2.4.0/debian/libmono-microsoft7.0-cil.install 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/libmono-microsoft7.0-cil.install 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,6 @@ +debian/tmp/usr/lib/mono/gac/Microsoft.JScript/7.0.*/ +debian/tmp/usr/lib/mono/gac/Microsoft.VisualC/7.0.*/ +debian/tmp/usr/lib/mono/gac/Microsoft.Vsa/7.0.*/ +debian/tmp/usr/lib/mono/1.0/Microsoft.JScript.dll +debian/tmp/usr/lib/mono/1.0/Microsoft.VisualC.dll +debian/tmp/usr/lib/mono/1.0/Microsoft.Vsa.dll diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/libmono-microsoft8.0-cil.install /tmp/whXnmORr8x/mono-2.4+dfsg/debian/libmono-microsoft8.0-cil.install --- mono-2.4.0/debian/libmono-microsoft8.0-cil.install 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/libmono-microsoft8.0-cil.install 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,6 @@ +debian/tmp/usr/lib/mono/gac/Microsoft.JScript/8.0.*/ +debian/tmp/usr/lib/mono/gac/Microsoft.VisualC/8.0.*/ +debian/tmp/usr/lib/mono/gac/Microsoft.Vsa/8.0.*/ +debian/tmp/usr/lib/mono/2.0/Microsoft.JScript.dll +debian/tmp/usr/lib/mono/2.0/Microsoft.VisualC.dll +debian/tmp/usr/lib/mono/2.0/Microsoft.Vsa.dll diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/libmono-microsoft-build2.0-cil.install /tmp/whXnmORr8x/mono-2.4+dfsg/debian/libmono-microsoft-build2.0-cil.install --- mono-2.4.0/debian/libmono-microsoft-build2.0-cil.install 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/libmono-microsoft-build2.0-cil.install 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/mono/gac/Microsoft.Build.*/2.0.*/ +debian/tmp/usr/lib/mono/2.0/Microsoft.Build.*.dll diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/libmono-npgsql1.0-cil.install /tmp/whXnmORr8x/mono-2.4+dfsg/debian/libmono-npgsql1.0-cil.install --- mono-2.4.0/debian/libmono-npgsql1.0-cil.install 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/libmono-npgsql1.0-cil.install 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/mono/gac/Npgsql/1.0.*/ +debian/tmp/usr/lib/mono/1.0/Npgsql.dll diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/libmono-npgsql2.0-cil.install /tmp/whXnmORr8x/mono-2.4+dfsg/debian/libmono-npgsql2.0-cil.install --- mono-2.4.0/debian/libmono-npgsql2.0-cil.install 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/libmono-npgsql2.0-cil.install 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/mono/gac/Npgsql/2.0.*/ +debian/tmp/usr/lib/mono/2.0/Npgsql.dll diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/libmono-nunit2.4-cil.links /tmp/whXnmORr8x/mono-2.4+dfsg/debian/libmono-nunit2.4-cil.links --- mono-2.4.0/debian/libmono-nunit2.4-cil.links 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/libmono-nunit2.4-cil.links 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1 @@ +usr/lib/pkgconfig/nunit.pc usr/lib/pkgconfig/mono-nunit.pc diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/libmono-oracle1.0-cil.install /tmp/whXnmORr8x/mono-2.4+dfsg/debian/libmono-oracle1.0-cil.install --- mono-2.4.0/debian/libmono-oracle1.0-cil.install 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/libmono-oracle1.0-cil.install 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/mono/gac/System.Data.OracleClient/1.0.*/ +debian/tmp/usr/lib/mono/1.0/System.Data.OracleClient.dll diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/libmono-oracle2.0-cil.install /tmp/whXnmORr8x/mono-2.4+dfsg/debian/libmono-oracle2.0-cil.install --- mono-2.4.0/debian/libmono-oracle2.0-cil.install 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/libmono-oracle2.0-cil.install 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/mono/gac/System.Data.OracleClient/2.0.*/ +debian/tmp/usr/lib/mono/2.0/System.Data.OracleClient.dll diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/libmono-peapi1.0-cil.install /tmp/whXnmORr8x/mono-2.4+dfsg/debian/libmono-peapi1.0-cil.install --- mono-2.4.0/debian/libmono-peapi1.0-cil.install 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/libmono-peapi1.0-cil.install 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/mono/gac/PEAPI/1.0.*/ +debian/tmp/usr/lib/mono/1.0/PEAPI.dll diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/libmono-peapi2.0-cil.install /tmp/whXnmORr8x/mono-2.4+dfsg/debian/libmono-peapi2.0-cil.install --- mono-2.4.0/debian/libmono-peapi2.0-cil.install 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/libmono-peapi2.0-cil.install 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/mono/gac/PEAPI/2.0.*/ +debian/tmp/usr/lib/mono/2.0/PEAPI.dll diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/libmono-posix1.0-cil.install /tmp/whXnmORr8x/mono-2.4+dfsg/debian/libmono-posix1.0-cil.install --- mono-2.4.0/debian/libmono-posix1.0-cil.install 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/libmono-posix1.0-cil.install 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/mono/1.0/Mono.Posix.dll +debian/tmp/usr/lib/mono/gac/Mono.Posix/1.0.5000.0__*/ diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/libmono-posix2.0-cil.install /tmp/whXnmORr8x/mono-2.4+dfsg/debian/libmono-posix2.0-cil.install --- mono-2.4.0/debian/libmono-posix2.0-cil.install 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/libmono-posix2.0-cil.install 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/mono/2.0/Mono.Posix.dll +debian/tmp/usr/lib/mono/gac/Mono.Posix/2.0.0.0__*/ diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/libmono-relaxng1.0-cil.install /tmp/whXnmORr8x/mono-2.4+dfsg/debian/libmono-relaxng1.0-cil.install --- mono-2.4.0/debian/libmono-relaxng1.0-cil.install 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/libmono-relaxng1.0-cil.install 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/mono/gac/Commons.Xml.Relaxng/1.0.*/ +debian/tmp/usr/lib/mono/1.0/Commons.Xml.Relaxng.dll diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/libmono-relaxng2.0-cil.install /tmp/whXnmORr8x/mono-2.4+dfsg/debian/libmono-relaxng2.0-cil.install --- mono-2.4.0/debian/libmono-relaxng2.0-cil.install 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/libmono-relaxng2.0-cil.install 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/mono/gac/Commons.Xml.Relaxng/2.0.*/ +debian/tmp/usr/lib/mono/2.0/Commons.Xml.Relaxng.dll diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/libmono-security1.0-cil.install /tmp/whXnmORr8x/mono-2.4+dfsg/debian/libmono-security1.0-cil.install --- mono-2.4.0/debian/libmono-security1.0-cil.install 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/libmono-security1.0-cil.install 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/mono/gac/Mono.Security/1.0.*/ +debian/tmp/usr/lib/mono/1.0/Mono.Security.dll diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/libmono-security2.0-cil.install /tmp/whXnmORr8x/mono-2.4+dfsg/debian/libmono-security2.0-cil.install --- mono-2.4.0/debian/libmono-security2.0-cil.install 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/libmono-security2.0-cil.install 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/mono/gac/Mono.Security/2.0.*/ +debian/tmp/usr/lib/mono/2.0/Mono.Security.dll diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/libmono-sharpzip0.6-cil.install /tmp/whXnmORr8x/mono-2.4+dfsg/debian/libmono-sharpzip0.6-cil.install --- mono-2.4.0/debian/libmono-sharpzip0.6-cil.install 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/libmono-sharpzip0.6-cil.install 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/mono/gac/ICSharpCode.SharpZipLib/0.6.*/ +debian/tmp/usr/lib/mono/compat-1.0/ICSharpCode.SharpZipLib.dll diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/libmono-sharpzip0.84-cil.install /tmp/whXnmORr8x/mono-2.4+dfsg/debian/libmono-sharpzip0.84-cil.install --- mono-2.4.0/debian/libmono-sharpzip0.84-cil.install 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/libmono-sharpzip0.84-cil.install 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/mono/gac/ICSharpCode.SharpZipLib/0.84.*/ +debian/tmp/usr/lib/mono/1.0/ICSharpCode.SharpZipLib.dll diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/libmono-sharpzip2.6-cil.install /tmp/whXnmORr8x/mono-2.4+dfsg/debian/libmono-sharpzip2.6-cil.install --- mono-2.4.0/debian/libmono-sharpzip2.6-cil.install 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/libmono-sharpzip2.6-cil.install 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/mono/gac/ICSharpCode.SharpZipLib/2.6.*/ +debian/tmp/usr/lib/mono/compat-2.0/ICSharpCode.SharpZipLib.dll diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/libmono-sharpzip2.84-cil.install /tmp/whXnmORr8x/mono-2.4+dfsg/debian/libmono-sharpzip2.84-cil.install --- mono-2.4.0/debian/libmono-sharpzip2.84-cil.install 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/libmono-sharpzip2.84-cil.install 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/mono/gac/ICSharpCode.SharpZipLib/2.84.*/ +debian/tmp/usr/lib/mono/2.0/ICSharpCode.SharpZipLib.dll diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/libmono-simd2.0-cil.install /tmp/whXnmORr8x/mono-2.4+dfsg/debian/libmono-simd2.0-cil.install --- mono-2.4.0/debian/libmono-simd2.0-cil.install 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/libmono-simd2.0-cil.install 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1 @@ +/usr/lib/mono/gac/Mono.Simd/2.0.0.0__*/ diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/libmono-sqlite1.0-cil.install /tmp/whXnmORr8x/mono-2.4+dfsg/debian/libmono-sqlite1.0-cil.install --- mono-2.4.0/debian/libmono-sqlite1.0-cil.install 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/libmono-sqlite1.0-cil.install 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,4 @@ +debian/tmp/usr/lib/mono/gac/Mono.Data.Sqlite/1.0.*/ +debian/tmp/usr/lib/mono/gac/Mono.Data.SqliteClient/1.0.*/ +debian/tmp/usr/lib/mono/1.0/Mono.Data.Sqlite.dll +debian/tmp/usr/lib/mono/1.0/Mono.Data.SqliteClient.dll diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/libmono-sqlite2.0-cil.install /tmp/whXnmORr8x/mono-2.4+dfsg/debian/libmono-sqlite2.0-cil.install --- mono-2.4.0/debian/libmono-sqlite2.0-cil.install 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/libmono-sqlite2.0-cil.install 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,4 @@ +debian/tmp/usr/lib/mono/gac/Mono.Data.Sqlite/2.0.*/ +debian/tmp/usr/lib/mono/gac/Mono.Data.SqliteClient/2.0.*/ +debian/tmp/usr/lib/mono/2.0/Mono.Data.Sqlite.dll +debian/tmp/usr/lib/mono/2.0/Mono.Data.SqliteClient.dll diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/libmono-system1.0-cil.clideps-override /tmp/whXnmORr8x/mono-2.4+dfsg/debian/libmono-system1.0-cil.clideps-override --- mono-2.4.0/debian/libmono-system1.0-cil.clideps-override 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/libmono-system1.0-cil.clideps-override 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,6 @@ +suggests libfam0 +suggests libgamin0 +suggests libx11-6 +suggests libcups2 +suggests libgdiplus +suggests libmono-winforms1.0-cil diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/libmono-system1.0-cil.install /tmp/whXnmORr8x/mono-2.4+dfsg/debian/libmono-system1.0-cil.install --- mono-2.4.0/debian/libmono-system1.0-cil.install 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/libmono-system1.0-cil.install 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,18 @@ +debian/tmp/usr/lib/mono/1.0/CustomMarshalers.dll +debian/tmp/usr/lib/mono/1.0/System.Configuration.Install.dll +debian/tmp/usr/lib/mono/1.0/System.Drawing.dll +debian/tmp/usr/lib/mono/1.0/System.EnterpriseServices.dll +debian/tmp/usr/lib/mono/1.0/System.Management.dll +debian/tmp/usr/lib/mono/1.0/System.Security.dll +debian/tmp/usr/lib/mono/1.0/System.ServiceProcess.dll +debian/tmp/usr/lib/mono/1.0/System.Xml.dll +debian/tmp/usr/lib/mono/1.0/System.dll +debian/tmp/usr/lib/mono/gac/CustomMarshalers/1.0.5000.0__*/ +debian/tmp/usr/lib/mono/gac/System.Configuration.Install/1.0.5000.0__*/ +debian/tmp/usr/lib/mono/gac/System.Drawing/1.0.5000.0__*/ +debian/tmp/usr/lib/mono/gac/System.EnterpriseServices/1.0.5000.0__*/ +debian/tmp/usr/lib/mono/gac/System.Management/1.0.5000.0__*/ +debian/tmp/usr/lib/mono/gac/System.Security/1.0.5000.0__*/ +debian/tmp/usr/lib/mono/gac/System.ServiceProcess/1.0.5000.0__*/ +debian/tmp/usr/lib/mono/gac/System.Xml/1.0.5000.0__*/ +debian/tmp/usr/lib/mono/gac/System/1.0.5000.0__*/ diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/libmono-system2.0-cil.clideps-override /tmp/whXnmORr8x/mono-2.4+dfsg/debian/libmono-system2.0-cil.clideps-override --- mono-2.4.0/debian/libmono-system2.0-cil.clideps-override 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/libmono-system2.0-cil.clideps-override 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,7 @@ +suggests libfam0 +suggests libgamin0 +suggests libx11-6 +suggests libasound2 +suggests libcups2 +suggests libgdiplus +suggests libmono-winforms2.0-cil diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/libmono-system2.0-cil.install /tmp/whXnmORr8x/mono-2.4+dfsg/debian/libmono-system2.0-cil.install --- mono-2.4.0/debian/libmono-system2.0-cil.install 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/libmono-system2.0-cil.install 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,26 @@ +debian/tmp/usr/lib/mono/2.0/CustomMarshalers.dll +debian/tmp/usr/lib/mono/2.0/System.Configuration.Install.dll +debian/tmp/usr/lib/mono/2.0/System.Configuration.dll +debian/tmp/usr/lib/mono/2.0/System.Core.dll +debian/tmp/usr/lib/mono/2.0/System.Drawing.dll +debian/tmp/usr/lib/mono/2.0/System.EnterpriseServices.dll +debian/tmp/usr/lib/mono/2.0/System.Management.dll +debian/tmp/usr/lib/mono/2.0/System.Security.dll +debian/tmp/usr/lib/mono/2.0/System.ServiceProcess.dll +debian/tmp/usr/lib/mono/2.0/System.Transactions.dll +debian/tmp/usr/lib/mono/2.0/System.Xml.dll +debian/tmp/usr/lib/mono/2.0/System.Xml.Linq.dll +debian/tmp/usr/lib/mono/2.0/System.dll +debian/tmp/usr/lib/mono/gac/CustomMarshalers/2.0.0.0__*/ +debian/tmp/usr/lib/mono/gac/System.Configuration.Install/2.0.0.0__*/ +debian/tmp/usr/lib/mono/gac/System.Configuration/2.0.0.0__*/ +debian/tmp/usr/lib/mono/gac/System.Core/3.5.0.0__*/ +debian/tmp/usr/lib/mono/gac/System.Drawing/2.0.0.0__*/ +debian/tmp/usr/lib/mono/gac/System.EnterpriseServices/2.0.0.0__*/ +debian/tmp/usr/lib/mono/gac/System.Management/2.0.0.0__*/ +debian/tmp/usr/lib/mono/gac/System.Security/2.0.0.0__*/ +debian/tmp/usr/lib/mono/gac/System.ServiceProcess/2.0.0.0__*/ +debian/tmp/usr/lib/mono/gac/System.Transactions/2.0.0.0__*/ +debian/tmp/usr/lib/mono/gac/System.Xml/2.0.0.0__*/ +debian/tmp/usr/lib/mono/gac/System.Xml.Linq/3.5.0.0__*/ +debian/tmp/usr/lib/mono/gac/System/2.0.0.0__*/ diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/libmono-system2.1-cil.install /tmp/whXnmORr8x/mono-2.4+dfsg/debian/libmono-system2.1-cil.install --- mono-2.4.0/debian/libmono-system2.1-cil.install 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/libmono-system2.1-cil.install 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,18 @@ +debian/tmp/usr/lib/mono/gac/Mono.CompilerServices.SymbolWriter/2.0.5.0__*/ +debian/tmp/usr/lib/mono/gac/System/2.0.5.0__*/ +debian/tmp/usr/lib/mono/gac/System.Core/2.0.5.0__*/ +debian/tmp/usr/lib/mono/gac/System.Net/2.0.5.0__*/ +debian/tmp/usr/lib/mono/gac/System.Runtime.Serialization/2.0.5.0__*/ +debian/tmp/usr/lib/mono/gac/System.ServiceModel/2.0.5.0__*/ +debian/tmp/usr/lib/mono/gac/System.ServiceModel.Web/2.0.5.0__*/ +debian/tmp/usr/lib/mono/gac/System.Xml/2.0.5.0__*/ +debian/tmp/usr/lib/mono/gac/System.Xml.Linq/2.0.5.0__*/ +debian/tmp/usr/lib/mono/2.1/Mono.CompilerServices.SymbolWriter.dll +debian/tmp/usr/lib/mono/2.1/System.dll +debian/tmp/usr/lib/mono/2.1/System.Core.dll +debian/tmp/usr/lib/mono/2.1/System.Net.dll +debian/tmp/usr/lib/mono/2.1/System.Runtime.Serialization.dll +debian/tmp/usr/lib/mono/2.1/System.ServiceModel.dll +debian/tmp/usr/lib/mono/2.1/System.ServiceModel.Web.dll +debian/tmp/usr/lib/mono/2.1/System.Xml.dll +debian/tmp/usr/lib/mono/2.1/System.Xml.Linq.dll diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/libmono-system-data1.0-cil.clideps-override /tmp/whXnmORr8x/mono-2.4+dfsg/debian/libmono-system-data1.0-cil.clideps-override --- mono-2.4.0/debian/libmono-system-data1.0-cil.clideps-override 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/libmono-system-data1.0-cil.clideps-override 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,2 @@ +suggests libgda2-3 +suggests libglib2.0-0 diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/libmono-system-data1.0-cil.install /tmp/whXnmORr8x/mono-2.4+dfsg/debian/libmono-system-data1.0-cil.install --- mono-2.4.0/debian/libmono-system-data1.0-cil.install 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/libmono-system-data1.0-cil.install 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/mono/gac/System.Data/1.0.*/ +debian/tmp/usr/lib/mono/1.0/System.Data.dll diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/libmono-system-data2.0-cil.clideps-override /tmp/whXnmORr8x/mono-2.4+dfsg/debian/libmono-system-data2.0-cil.clideps-override --- mono-2.4.0/debian/libmono-system-data2.0-cil.clideps-override 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/libmono-system-data2.0-cil.clideps-override 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,2 @@ +suggests libgda2-3 +suggests libglib2.0-0 diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/libmono-system-data2.0-cil.install /tmp/whXnmORr8x/mono-2.4+dfsg/debian/libmono-system-data2.0-cil.install --- mono-2.4.0/debian/libmono-system-data2.0-cil.install 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/libmono-system-data2.0-cil.install 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,6 @@ +debian/tmp/usr/lib/mono/gac/System.Data/2.0.0.0__*/ +debian/tmp/usr/lib/mono/gac/System.Data.DataSetExtensions/3.5.0.0__*/ +debian/tmp/usr/lib/mono/gac/System.Data.Linq/3.5.0.0__*/ +debian/tmp/usr/lib/mono/2.0/System.Data.dll +debian/tmp/usr/lib/mono/2.0/System.Data.DataSetExtensions.dll +debian/tmp/usr/lib/mono/2.0/System.Data.Linq.dll diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/libmono-system-ldap1.0-cil.install /tmp/whXnmORr8x/mono-2.4+dfsg/debian/libmono-system-ldap1.0-cil.install --- mono-2.4.0/debian/libmono-system-ldap1.0-cil.install 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/libmono-system-ldap1.0-cil.install 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/mono/gac/System.DirectoryServices/1.0.*/ +debian/tmp/usr/lib/mono/1.0/System.DirectoryServices.dll diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/libmono-system-ldap2.0-cil.install /tmp/whXnmORr8x/mono-2.4+dfsg/debian/libmono-system-ldap2.0-cil.install --- mono-2.4.0/debian/libmono-system-ldap2.0-cil.install 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/libmono-system-ldap2.0-cil.install 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/mono/gac/System.DirectoryServices/2.0.*/ +debian/tmp/usr/lib/mono/2.0/System.DirectoryServices.dll diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/libmono-system-messaging1.0-cil.clideps-override /tmp/whXnmORr8x/mono-2.4+dfsg/debian/libmono-system-messaging1.0-cil.clideps-override --- mono-2.4.0/debian/libmono-system-messaging1.0-cil.clideps-override 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/libmono-system-messaging1.0-cil.clideps-override 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1 @@ +suggests libmono-winforms1.0-cil diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/libmono-system-messaging1.0-cil.install /tmp/whXnmORr8x/mono-2.4+dfsg/debian/libmono-system-messaging1.0-cil.install --- mono-2.4.0/debian/libmono-system-messaging1.0-cil.install 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/libmono-system-messaging1.0-cil.install 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/mono/gac/System.Messaging/1.0.*/ +debian/tmp/usr/lib/mono/1.0/System.Messaging.dll diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/libmono-system-messaging2.0-cil.clideps-override /tmp/whXnmORr8x/mono-2.4+dfsg/debian/libmono-system-messaging2.0-cil.clideps-override --- mono-2.4.0/debian/libmono-system-messaging2.0-cil.clideps-override 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/libmono-system-messaging2.0-cil.clideps-override 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1 @@ +suggests libmono-winforms2.0-cil diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/libmono-system-messaging2.0-cil.install /tmp/whXnmORr8x/mono-2.4+dfsg/debian/libmono-system-messaging2.0-cil.install --- mono-2.4.0/debian/libmono-system-messaging2.0-cil.install 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/libmono-system-messaging2.0-cil.install 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/mono/gac/System.Messaging/2.0.*/ +debian/tmp/usr/lib/mono/2.0/System.Messaging.dll diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/libmono-system-runtime1.0-cil.install /tmp/whXnmORr8x/mono-2.4+dfsg/debian/libmono-system-runtime1.0-cil.install --- mono-2.4.0/debian/libmono-system-runtime1.0-cil.install 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/libmono-system-runtime1.0-cil.install 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,4 @@ +/usr/lib/mono/gac/System.Runtime.Remoting/1.0.*__*/ +/usr/lib/mono/gac/System.Runtime.Serialization.Formatters.Soap/1.0.*__*/ +/usr/lib/mono/1.0/System.Runtime.Remoting.dll +/usr/lib/mono/1.0/System.Runtime.Serialization.Formatters.Soap.dll diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/libmono-system-runtime2.0-cil.install /tmp/whXnmORr8x/mono-2.4+dfsg/debian/libmono-system-runtime2.0-cil.install --- mono-2.4.0/debian/libmono-system-runtime2.0-cil.install 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/libmono-system-runtime2.0-cil.install 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,4 @@ +/usr/lib/mono/gac/System.Runtime.Remoting/2.0.0.0__*/ +/usr/lib/mono/gac/System.Runtime.Serialization.Formatters.Soap/2.0.0.0__*/ +/usr/lib/mono/2.0/System.Runtime.Remoting.dll +/usr/lib/mono/2.0/System.Runtime.Serialization.Formatters.Soap.dll diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/libmono-system-web1.0-cil.install /tmp/whXnmORr8x/mono-2.4+dfsg/debian/libmono-system-web1.0-cil.install --- mono-2.4.0/debian/libmono-system-web1.0-cil.install 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/libmono-system-web1.0-cil.install 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,4 @@ +debian/tmp/usr/lib/mono/gac/System.Web/1.0.*/ +debian/tmp/usr/lib/mono/gac/System.Web.Services/1.0.*/ +debian/tmp/usr/lib/mono/1.0/System.Web.dll +debian/tmp/usr/lib/mono/1.0/System.Web.Services.dll diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/libmono-system-web2.0-cil.clideps-override /tmp/whXnmORr8x/mono-2.4+dfsg/debian/libmono-system-web2.0-cil.clideps-override --- mono-2.4.0/debian/libmono-system-web2.0-cil.clideps-override 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/libmono-system-web2.0-cil.clideps-override 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1 @@ +suggests libmono-winforms2.0-cil diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/libmono-system-web2.0-cil.install /tmp/whXnmORr8x/mono-2.4+dfsg/debian/libmono-system-web2.0-cil.install --- mono-2.4.0/debian/libmono-system-web2.0-cil.install 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/libmono-system-web2.0-cil.install 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,20 @@ +debian/tmp/usr/lib/mono/gac/System.Web/2.0.0.0__*/ +debian/tmp/usr/lib/mono/gac/System.Web.Extensions/1.0.61025.0__*/ +debian/tmp/usr/lib/mono/gac/System.Web.Extensions/3.5.0.0__*/ +debian/tmp/usr/lib/mono/gac/System.Web.Extensions.Design/1.0.61025.0__*/ +debian/tmp/usr/lib/mono/gac/System.Web.Extensions.Design/3.5.0.0__*/ +debian/tmp/usr/lib/mono/gac/System.Web.Services/2.0.0.0__*/ +debian/tmp/usr/lib/mono/gac/System.ComponentModel.DataAnnotations/3.5.0.0__*/ +debian/tmp/usr/lib/mono/gac/System.Web.Abstractions/3.5.0.0__*/ +debian/tmp/usr/lib/mono/gac/System.Web.DynamicData/3.5.0.0__*/ +debian/tmp/usr/lib/mono/gac/System.Web.Routing/3.5.0.0__*/ +debian/tmp/usr/lib/mono/2.0/System.Web.dll +debian/tmp/usr/lib/mono/2.0/System.Web.Extensions.dll +debian/tmp/usr/lib/mono/2.0/System.Web.Extensions.Design.dll +debian/tmp/usr/lib/mono/2.0/System.Web.Services.dll +debian/tmp/usr/lib/mono/2.0/System.ComponentModel.DataAnnotations.dll +debian/tmp/usr/lib/mono/2.0/System.Web.Abstractions.dll +debian/tmp/usr/lib/mono/2.0/System.Web.DynamicData.dll +debian/tmp/usr/lib/mono/2.0/System.Web.Routing.dll +debian/tmp/usr/lib/pkgconfig/system.web.extensions_1.0.pc +debian/tmp/usr/lib/pkgconfig/system.web.extensions.design_1.0.pc diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/libmono-wcf3.0-cil.install /tmp/whXnmORr8x/mono-2.4+dfsg/debian/libmono-wcf3.0-cil.install --- mono-2.4.0/debian/libmono-wcf3.0-cil.install 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/libmono-wcf3.0-cil.install 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,11 @@ +/usr/lib/mono/gac/System.IdentityModel.Selectors/3.0.0.0__*/ +/usr/lib/mono/gac/System.IdentityModel/3.0.0.0__*/ +/usr/lib/mono/gac/System.Runtime.Serialization/3.0.0.0__*/ +/usr/lib/mono/gac/System.ServiceModel.Web/3.0.0.0__*/ +/usr/lib/mono/gac/System.ServiceModel/3.0.0.0__*/ +/usr/lib/mono/2.0/System.IdentityModel.Selectors.dll +/usr/lib/mono/2.0/System.Runtime.Serialization.dll +/usr/lib/mono/2.0/System.ServiceModel.Web.dll +/usr/lib/mono/2.0/System.ServiceModel.dll +/usr/lib/mono/2.0/System.Runtime.Serialization.dll +/usr/lib/pkgconfig/wcf.pc diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/libmono-webbrowser0.5-cil.install /tmp/whXnmORr8x/mono-2.4+dfsg/debian/libmono-webbrowser0.5-cil.install --- mono-2.4.0/debian/libmono-webbrowser0.5-cil.install 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/libmono-webbrowser0.5-cil.install 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/mono/gac/Mono.WebBrowser/0.5.0.0__*/ +debian/tmp/usr/lib/mono/2.0/Mono.WebBrowser.dll diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/libmono-winforms1.0-cil.clideps-override /tmp/whXnmORr8x/mono-2.4+dfsg/debian/libmono-winforms1.0-cil.clideps-override --- mono-2.4.0/debian/libmono-winforms1.0-cil.clideps-override 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/libmono-winforms1.0-cil.clideps-override 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,4 @@ +suggests libgtk2.0-0 +suggests libgnomeui-0 +suggests librsvg2-2 +suggests libglib2.0-0 diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/libmono-winforms1.0-cil.install /tmp/whXnmORr8x/mono-2.4+dfsg/debian/libmono-winforms1.0-cil.install --- mono-2.4.0/debian/libmono-winforms1.0-cil.install 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/libmono-winforms1.0-cil.install 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,6 @@ +debian/tmp/usr/lib/mono/gac/System.Windows.Forms/1.0.*/ +debian/tmp/usr/lib/mono/gac/System.Drawing.Design/1.0.*/ +debian/tmp/usr/lib/mono/gac/System.Design/1.0.*/ +debian/tmp/usr/lib/mono/1.0/System.Windows.Forms.dll +debian/tmp/usr/lib/mono/1.0/System.Drawing.Design.dll +debian/tmp/usr/lib/mono/1.0/System.Design.dll diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/libmono-winforms2.0-cil.clideps-override /tmp/whXnmORr8x/mono-2.4+dfsg/debian/libmono-winforms2.0-cil.clideps-override --- mono-2.4.0/debian/libmono-winforms2.0-cil.clideps-override 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/libmono-winforms2.0-cil.clideps-override 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,4 @@ +suggests libgtk2.0-0 +suggests libgnomeui-0 +suggests librsvg2-2 +suggests libglib2.0-0 diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/libmono-winforms2.0-cil.install /tmp/whXnmORr8x/mono-2.4+dfsg/debian/libmono-winforms2.0-cil.install --- mono-2.4.0/debian/libmono-winforms2.0-cil.install 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/libmono-winforms2.0-cil.install 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,6 @@ +debian/tmp/usr/lib/mono/gac/System.Windows.Forms/2.0.*/ +debian/tmp/usr/lib/mono/gac/System.Drawing.Design/2.0.*/ +debian/tmp/usr/lib/mono/gac/System.Design/2.0.*/ +debian/tmp/usr/lib/mono/2.0/System.Windows.Forms.dll +debian/tmp/usr/lib/mono/2.0/System.Drawing.Design.dll +debian/tmp/usr/lib/mono/2.0/System.Design.dll diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/man/caspol.1 /tmp/whXnmORr8x/mono-2.4+dfsg/debian/man/caspol.1 --- mono-2.4.0/debian/man/caspol.1 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/man/caspol.1 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,11 @@ +.TH UNDOCUMENTED 1 "January 15th, 2004" "Debian GNU/Linux" "Mono Manual" +.SH NAME +undocumented \- No manpage for this program. +.SH DESCRIPTION +This +.B program +does not have a manpage. Run this command with the +.B help +switch to see what it does. For further information, refer to the .NET +documentation from the Mono project, located on +.B http://www.go-mono.com/docs/ diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/man/cli-wrapper.1 /tmp/whXnmORr8x/mono-2.4+dfsg/debian/man/cli-wrapper.1 --- mono-2.4.0/debian/man/cli-wrapper.1 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/man/cli-wrapper.1 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,11 @@ +.TH UNDOCUMENTED 1 "January 15th, 2004" "Debian GNU/Linux" "Mono Manual" +.SH NAME +undocumented \- No manpage for this program. +.SH DESCRIPTION +This +.B program +does not have a manpage. Run this command with the +.B help +switch to see what it does. For further information, refer to the .NET +documentation from the Mono project, located on +.B http://www.go-mono.com/docs/ diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/man/mjs.1 /tmp/whXnmORr8x/mono-2.4+dfsg/debian/man/mjs.1 --- mono-2.4.0/debian/man/mjs.1 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/man/mjs.1 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,11 @@ +.TH UNDOCUMENTED 1 "January 15th, 2004" "Debian GNU/Linux" "Mono Manual" +.SH NAME +undocumented \- No manpage for this program. +.SH DESCRIPTION +This +.B program +does not have a manpage. Run this command with the +.B help +switch to see what it does. For further information, refer to the .NET +documentation from the Mono project, located on +.B http://www.go-mono.com/docs/ diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/man/mono-find-provides.1 /tmp/whXnmORr8x/mono-2.4+dfsg/debian/man/mono-find-provides.1 --- mono-2.4.0/debian/man/mono-find-provides.1 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/man/mono-find-provides.1 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,11 @@ +.TH UNDOCUMENTED 1 "January 15th, 2004" "Debian GNU/Linux" "Mono Manual" +.SH NAME +undocumented \- No manpage for this program. +.SH DESCRIPTION +This +.B program +does not have a manpage. Run this command with the +.B help +switch to see what it does. For further information, refer to the .NET +documentation from the Mono project, located on +.B http://www.go-mono.com/docs/ diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/man/mono-find-requires.1 /tmp/whXnmORr8x/mono-2.4+dfsg/debian/man/mono-find-requires.1 --- mono-2.4.0/debian/man/mono-find-requires.1 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/man/mono-find-requires.1 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,11 @@ +.TH UNDOCUMENTED 1 "January 15th, 2004" "Debian GNU/Linux" "Mono Manual" +.SH NAME +undocumented \- No manpage for this program. +.SH DESCRIPTION +This +.B program +does not have a manpage. Run this command with the +.B help +switch to see what it does. For further information, refer to the .NET +documentation from the Mono project, located on +.B http://www.go-mono.com/docs/ diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/man/monograph.1 /tmp/whXnmORr8x/mono-2.4+dfsg/debian/man/monograph.1 --- mono-2.4.0/debian/man/monograph.1 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/man/monograph.1 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,11 @@ +.TH UNDOCUMENTED 1 "January 15th, 2004" "Debian GNU/Linux" "Mono Manual" +.SH NAME +undocumented \- No manpage for this program. +.SH DESCRIPTION +This +.B program +does not have a manpage. Run this command with the +.B help +switch to see what it does. For further information, refer to the .NET +documentation from the Mono project, located on +.B http://www.go-mono.com/docs/ diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/man/pedump.1 /tmp/whXnmORr8x/mono-2.4+dfsg/debian/man/pedump.1 --- mono-2.4.0/debian/man/pedump.1 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/man/pedump.1 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,11 @@ +.TH UNDOCUMENTED 1 "January 15th, 2004" "Debian GNU/Linux" "Mono Manual" +.SH NAME +undocumented \- No manpage for this program. +.SH DESCRIPTION +This +.B program +does not have a manpage. Run this command with the +.B help +switch to see what it does. For further information, refer to the .NET +documentation from the Mono project, located on +.B http://www.go-mono.com/docs/ diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/man/xbuild.1 /tmp/whXnmORr8x/mono-2.4+dfsg/debian/man/xbuild.1 --- mono-2.4.0/debian/man/xbuild.1 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/man/xbuild.1 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,11 @@ +.TH UNDOCUMENTED 1 "January 15th, 2004" "Debian GNU/Linux" "Mono Manual" +.SH NAME +undocumented \- No manpage for this program. +.SH DESCRIPTION +This +.B program +does not have a manpage. Run this command with the +.B help +switch to see what it does. For further information, refer to the .NET +documentation from the Mono project, located on +.B http://www.go-mono.com/docs/ diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/mono-1.0-devel.install /tmp/whXnmORr8x/mono-2.4+dfsg/debian/mono-1.0-devel.install --- mono-2.4.0/debian/mono-1.0-devel.install 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/mono-1.0-devel.install 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,17 @@ +debian/tmp/usr/bin/al1 +debian/tmp/usr/bin/genxs1 +debian/tmp/usr/bin/ilasm1 +debian/tmp/usr/bin/mkbundle1 +debian/tmp/usr/bin/monop1 +debian/tmp/usr/bin/resgen1 +debian/tmp/usr/bin/wsdl1 +debian/tmp/usr/bin/xsd1 +debian/tmp/usr/lib/mono/1.0/al.exe +debian/tmp/usr/lib/mono/1.0/genxs.exe +debian/tmp/usr/lib/mono/1.0/ilasm.exe +debian/tmp/usr/lib/mono/1.0/installutil.exe +debian/tmp/usr/lib/mono/1.0/mkbundle.exe +debian/tmp/usr/lib/mono/1.0/monop.exe +debian/tmp/usr/lib/mono/1.0/resgen.exe +debian/tmp/usr/lib/mono/1.0/wsdl.exe +debian/tmp/usr/lib/mono/1.0/xsd.exe diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/mono-1.0-devel.manpages /tmp/whXnmORr8x/mono-2.4+dfsg/debian/mono-1.0-devel.manpages --- mono-2.4.0/debian/mono-1.0-devel.manpages 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/mono-1.0-devel.manpages 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,8 @@ +debian/tmp/usr/share/man/man1/al1.1 +debian/tmp/usr/share/man/man1/genxs1.1 +debian/tmp/usr/share/man/man1/ilasm1.1 +debian/tmp/usr/share/man/man1/mkbundle1.1 +debian/tmp/usr/share/man/man1/monop1.1 +debian/tmp/usr/share/man/man1/resgen1.1 +debian/tmp/usr/share/man/man1/wsdl1.1 +debian/tmp/usr/share/man/man1/xsd1.1 diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/mono-1.0-gac.install /tmp/whXnmORr8x/mono-2.4+dfsg/debian/mono-1.0-gac.install --- mono-2.4.0/debian/mono-1.0-gac.install 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/mono-1.0-gac.install 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,2 @@ +debian/tmp/usr/bin/gacutil1 +debian/tmp/usr/lib/mono/1.0/gacutil.exe diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/mono-1.0-gac.manpages /tmp/whXnmORr8x/mono-2.4+dfsg/debian/mono-1.0-gac.manpages --- mono-2.4.0/debian/mono-1.0-gac.manpages 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/mono-1.0-gac.manpages 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1 @@ +debian/tmp/usr/share/man/man1/gacutil1.1 diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/mono-1.0-service.install /tmp/whXnmORr8x/mono-2.4+dfsg/debian/mono-1.0-service.install --- mono-2.4.0/debian/mono-1.0-service.install 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/mono-1.0-service.install 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,2 @@ +debian/tmp/usr/bin/mono-service +debian/tmp/usr/lib/mono/1.0/mono-service.exe* diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/mono-1.0-service.manpages /tmp/whXnmORr8x/mono-2.4+dfsg/debian/mono-1.0-service.manpages --- mono-2.4.0/debian/mono-1.0-service.manpages 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/mono-1.0-service.manpages 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1 @@ +debian/tmp/usr/share/man/man1/mono-service.1 diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/mono-2.0-devel.install /tmp/whXnmORr8x/mono-2.4+dfsg/debian/mono-2.0-devel.install --- mono-2.4.0/debian/mono-2.0-devel.install 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/mono-2.0-devel.install 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,24 @@ +debian/tmp/etc/mono/mconfig +debian/tmp/usr/bin/al2 +debian/tmp/usr/bin/genxs2 +debian/tmp/usr/bin/httpcfg +debian/tmp/usr/bin/ilasm2 +debian/tmp/usr/bin/mconfig +debian/tmp/usr/bin/mkbundle2 +debian/tmp/usr/bin/monop2 +debian/tmp/usr/bin/resgen2 +debian/tmp/usr/bin/sgen +debian/tmp/usr/bin/wsdl2 +debian/tmp/usr/bin/xsd2 +debian/tmp/usr/lib/mono/2.0/al.exe +debian/tmp/usr/lib/mono/2.0/genxs.exe +debian/tmp/usr/lib/mono/2.0/httpcfg.exe +debian/tmp/usr/lib/mono/2.0/ilasm.exe +debian/tmp/usr/lib/mono/2.0/installutil.exe +debian/tmp/usr/lib/mono/2.0/mconfig.exe +debian/tmp/usr/lib/mono/2.0/mkbundle.exe +debian/tmp/usr/lib/mono/2.0/monop.exe +debian/tmp/usr/lib/mono/2.0/resgen.exe +debian/tmp/usr/lib/mono/2.0/sgen.exe +debian/tmp/usr/lib/mono/2.0/wsdl.exe +debian/tmp/usr/lib/mono/2.0/xsd.exe diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/mono-2.0-devel.manpages /tmp/whXnmORr8x/mono-2.4+dfsg/debian/mono-2.0-devel.manpages --- mono-2.4.0/debian/mono-2.0-devel.manpages 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/mono-2.0-devel.manpages 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,11 @@ +debian/tmp/usr/share/man/man1/al2.1 +debian/tmp/usr/share/man/man1/genxs2.1 +debian/tmp/usr/share/man/man1/httpcfg.1 +debian/tmp/usr/share/man/man1/ilasm2.1 +debian/tmp/usr/share/man/man1/mconfig.1 +debian/tmp/usr/share/man/man1/mkbundle2.1 +debian/tmp/usr/share/man/man1/monop2.1 +debian/tmp/usr/share/man/man1/resgen2.1 +debian/tmp/usr/share/man/man1/sgen.1 +debian/tmp/usr/share/man/man1/wsdl2.1 +debian/tmp/usr/share/man/man1/xsd2.1 diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/mono-2.0-gac.install /tmp/whXnmORr8x/mono-2.4+dfsg/debian/mono-2.0-gac.install --- mono-2.4.0/debian/mono-2.0-gac.install 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/mono-2.0-gac.install 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,2 @@ +debian/tmp/usr/bin/gacutil2 +debian/tmp/usr/lib/mono/2.0/gacutil.exe diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/mono-2.0-gac.manpages /tmp/whXnmORr8x/mono-2.4+dfsg/debian/mono-2.0-gac.manpages --- mono-2.4.0/debian/mono-2.0-gac.manpages 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/mono-2.0-gac.manpages 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1 @@ +debian/tmp/usr/share/man/man1/gacutil2.1 diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/mono-2.0-service.install /tmp/whXnmORr8x/mono-2.4+dfsg/debian/mono-2.0-service.install --- mono-2.4.0/debian/mono-2.0-service.install 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/mono-2.0-service.install 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,2 @@ +debian/tmp/usr/bin/mono-service2 +debian/tmp/usr/lib/mono/2.0/mono-service.exe* diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/mono-2.0-service.manpages /tmp/whXnmORr8x/mono-2.4+dfsg/debian/mono-2.0-service.manpages --- mono-2.4.0/debian/mono-2.0-service.manpages 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/mono-2.0-service.manpages 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1 @@ +debian/tmp/usr/share/man/man1/mono-service2.1 diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/mono-aot-bootstrap /tmp/whXnmORr8x/mono-2.4+dfsg/debian/mono-aot-bootstrap --- mono-2.4.0/debian/mono-aot-bootstrap 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/mono-aot-bootstrap 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,5 @@ +#!/bin/sh + +MCS_DIR=mcs/class/lib + +find $MCS_DIR -name "*.exe" -or -name "*.dll" -exec runtime/mono-wrapper --aot {} \; diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/mono-aot-wrapper /tmp/whXnmORr8x/mono-2.4+dfsg/debian/mono-aot-wrapper --- mono-2.4.0/debian/mono-aot-wrapper 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/mono-aot-wrapper 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,66 @@ +#!/bin/sh + +# Description: This wrapper script pre-compiles (AOT) the passed assembly +# before executing it, and AOTs new assemblies in build output +# directory. + +export MONO_PATH + +DEBIAN_DIR=$(dirname $0) +#MONO_DIR=$DEBIAN_DIR/.. +MONO_DIR=${DEBIAN_DIR/%\/debian} +ASSEMBLY=$1 + +#case $ASSEMBLY in +# *.dll | *.exe) +# if [ -f $ASSEMBLY -a ! -f "$ASSEMBLY.so" ]; then +# $MONO_DIR/runtime/mono-wrapper --aot $ASSEMBLY +# fi +# ;; +#esac + +$MONO_DIR/runtime/mono-wrapper "$@" + +ASSEMBLIES_DIR=$MONO_DIR/mcs/class/lib +ASSEMBLIES=$(find $ASSEMBLIES_DIR -name "*.dll" -or -name "*.exe") +for ASSEMBLY in $ASSEMBLIES; do + ASSEMBLY_DIR=$(dirname $ASSEMBLY) + ASSEMBLY_NAME=$(basename $ASSEMBLY) + if [ ! -f "$ASSEMBLY.so" ]; then + #if [ "$ASSEMBLY_DIR" = "$ASSEMBLIES_DIR/net_2_0" ] || + # [ "$ASSEMBLY_DIR" = "$ASSEMBLIES_DIR/net_2_1" ] || + # [ "$ASSEMBLY_DIR" = "$ASSEMBLIES_DIR/net_2_1_tuned" ]; then + # # AOT for 2.0/2.1 is buggy and likes to crash + # true + #elif [ "$ASSEMBLY_DIR" = "$ASSEMBLIES_DIR/net_2_0_bootstrap" ]; then + # # AOT for 2.0 runtime libs seems to work though + # $MONO_DIR/runtime/mono-wrapper --aot -O=all $ASSEMBLY + #else + # $MONO_DIR/runtime/mono-wrapper --aot -O=all $ASSEMBLY + #fi + + # only AOT basic / 1.0 bootstrap / 2.0 bootstrap + if [ "$ASSEMBLY_DIR" = "$ASSEMBLIES_DIR/basic" ] || + [ "$ASSEMBLY_DIR" = "$ASSEMBLIES_DIR/net_1_1_bootstrap" ] || + [ "$ASSEMBLY_DIR" = "$ASSEMBLIES_DIR/net_2_0_bootstrap" ]; then + $MONO_DIR/runtime/mono-wrapper --aot -O=all $ASSEMBLY + fi + + # always AOT libs used by the compilers + if [ "$ASSEMBLY_DIR" = "$ASSEMBLIES_DIR/default" ]; then + if [ "$ASSEMBLY_NAME" = "mscorlib.dll" ] || + [ "$ASSEMBLY_NAME" = "System.dll" ] || + [ "$ASSEMBLY_NAME" = "System.Xml.dll" ]; then + $MONO_DIR/runtime/mono-wrapper --aot -O=all $ASSEMBLY + fi + fi + #elif [ "$ASSEMBLY_DIR" = "$ASSEMBLIES_DIR/net_2_0" ] || + # [ "$ASSEMBLY_DIR" = "$ASSEMBLIES_DIR/net_2_1" ]; then + # if [ "$ASSEMBLY_NAME" = "mscorlib.dll" ] || + # [ "$ASSEMBLY_NAME" = "System.dll" ] || + # [ "$ASSEMBLY_NAME" = "System.Xml.dll" ]; then + # MONO_PATH=$MONO_DIR/class/lib/net_2_0:$MONO_PATH $MONO_DIR/runtime/mono-wrapper --aot -O=all $ASSEMBLY + # fi + #fi + fi +done diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/mono-api-check /tmp/whXnmORr8x/mono-2.4+dfsg/debian/mono-api-check --- mono-2.4.0/debian/mono-api-check 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/mono-api-check 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,198 @@ +#!/bin/bash + +NAME=$(basename $0) +MONO_API_INFO1="/usr/lib/mono/1.0/mono-api-info.exe" +MONO_API_INFO2="/usr/lib/mono/2.0/mono-api-info.exe" +MONO_API_DIFF="/usr/lib/mono/1.0/mono-api-diff.exe" + +RUNTIME_VERSION=1 +if [ "$1" = "-2" ]; then + if [ ! -x $MONO_API_INFO2 ]; then + echo "Error: $MONO_API_INFO2 does not exist, you need to install the mono-gmcs package" + exit 1 + fi + MONO_API_INFO=$MONO_API_INFO2 + RUNTIME_VERSION=2 + shift +else + MONO_API_INFO=$MONO_API_INFO1 +fi + +KEEP=0 +if [ "$1" = "-k" ]; then + KEEP=1 + shift +fi + +if [ $# -lt 2 ]; then + echo "usage: $NAME [-2] [-k] old.dll new.dll" + exit 1 +fi + +if [ ! -r $1 ]; then + echo "Error: $1 does not exist or is not readable" + exit 1 +fi + +if [ ! -r $2 ]; then + echo "Error: $2 does not exist or is not readable" + exit 1 +fi + +if ! [ "$1" = "${1%.deb}" ]; then + DEB_TMP_DIR1=/tmp/$NAME-$$-$RANDOM + DEB_TMP_DIR2=/tmp/$NAME-$$-$RANDOM + + mkdir $DEB_TMP_DIR1 + if [ $? != 0 ]; then + echo "Error: could not create: $DEB_TMP_DIR1" + exit 1 + fi + + mkdir $DEB_TMP_DIR2 + if [ $? != 0 ]; then + echo "Error: could not create: $DEB_TMP_DIR2" + exit 1 + fi + + dpkg -x $1 $DEB_TMP_DIR1 + if [ $? != 0 ]; then + echo "Error: could extract: $1" + exit 1 + fi + + dpkg -x $2 $DEB_TMP_DIR2 + if [ $? != 0 ]; then + echo "Error: could extract: $2" + exit 1 + fi + + DLLS=$(find $DEB_TMP_DIR1 -type f -name "*.dll") + for DLL1 in $DLLS; do + FILE=${DLL1#$DEB_TMP_DIR1/} + DLL2=$DEB_TMP_DIR2/$FILE + #echo $DLL1 + #echo $DLL2 + + if [ $RUNTIME_VERSION = 2 ]; then + RUNTIME_VERSION_PARAM="-2" + fi + if [ $KEEP = 1 ]; then + KEEP_PARAM="-k" + fi + echo -e "Library:\t\t/$FILE" + $0 $RUNTIME_VERSION_PARAM $KEEP_PARAM $DLL1 $DLL2 + echo + done + + rm -rf $DEB_TMP_DIR1 + rm -rf $DEB_TMP_DIR2 + + exit 0 +fi + +if ! [ "$1" = "${1%.changes}" ]; then + DEB_DIR1=$(dirname $1) + DEB_DIR2=$(dirname $2) + DEBS=$(grep ".deb$" $2 | cut -d ' ' -f 6) + for DEB in $DEBS; do + PKG_VERSION2=$(dpkg -I $DEB_DIR2/$DEB | grep Version: | cut -d ':' -f 2 | sed -e 's/^ *//') + break + done + + DEBS=$(grep ".deb$" $1 | cut -d ' ' -f 6) + for DEB1 in $DEBS; do + PKG_NAME=$(dpkg -I $DEB_DIR1/$DEB1 | grep Package: | cut -d ':' -f 2 | sed -e 's/^ *//') + PKG_ARCH=$(dpkg -I $DEB_DIR1/$DEB1 | grep Architecture: | cut -d ':' -f 2 | sed -e 's/^ *//') + DEB2=$DEB_DIR2/${PKG_NAME}_${PKG_VERSION2}_${PKG_ARCH}.deb + + if [ $RUNTIME_VERSION = 2 ]; then + RUNTIME_VERSION_PARAM="-2" + fi + if [ $KEEP = 1 ]; then + KEEP_PARAM="-k" + fi + echo -e "Package:\t\t$PKG_NAME" + echo "------------------------------------------------------" + $0 $RUNTIME_VERSION_PARAM $KEEP_PARAM $DEB1 $DEB2 + echo + done + + exit 0 +fi + +ASM_NAME=$(basename $1) +API_OLD=$(tempfile --suffix=_$ASM_NAME.api-old) +API_NEW=$(tempfile --suffix=_$ASM_NAME.api-new) +API_DIFF=$(tempfile --suffix=_$ASM_NAME.api-diff) + +/usr/bin/cli ${MONO_API_INFO} "$1" > ${API_OLD} 2> /dev/null +if [ $? != 0 ]; then + echo "Error: ${MONO_API_INFO} on $1 failed!" + exit 1 +fi +/usr/bin/cli ${MONO_API_INFO} "$2" > ${API_NEW} 2> /dev/null +if [ $? != 0 ]; then + echo "Error: ${MONO_API_INFO} on $2 failed!" + exit 1 +fi +/usr/bin/cli ${MONO_API_DIFF} ${API_OLD} ${API_NEW} > ${API_DIFF} 2> /dev/null +if [ $? != 0 ]; then + echo "Error: ${MONO_API_DIFF} failed!" + exit 1 +fi + +version_changed=0 +grep -q 'Assembly version not equal: ' ${API_DIFF} +if [ $? = 0 ]; then + version_changed=1 +fi + +name=$(head -n3 ${API_DIFF} | tail -n1 | sed 's;\ ;\n;g' | grep ^name | cut -d\= -f2 | sed 's;\";;g') +missing_total=$(head -n3 ${API_DIFF} | tail -n1 | sed 's;\ ;\n;g' | grep ^missing_total | cut -d\= -f2 | sed 's;\";;g') +extra_total=$(head -n3 ${API_DIFF} | tail -n1 | sed 's;\ ;\n;g' | grep ^extra_total | cut -d\= -f2 | sed 's;\";;g') + +if [ -z $missing_total ]; then + missing_total=0 +fi +if [ -z $extra_total ]; then + extra_total=0 +fi + +echo "CLI API Check" +echo -e "Assembly Name:\t\t$name" +echo -e "Missing Interfaces:\t$missing_total" +echo -e "Additional Interfaces:\t$extra_total" + +if [ $missing_total ] +then + if [ $missing_total -gt 0 ] + then + echo + echo "The two assemblies you compared are NOT API compatible!" + echo "You must use a new package name!" + fi +fi + +if [ $extra_total ] +then + if [ $extra_total -gt 0 ] + then + echo + echo "The new assembly has additional interfaces. You must raise" + echo "the minimal version in clilibs!" + fi +fi + +if [ $version_changed = 1 ]; then + echo + echo "The assembly versions do NOT MATCH!" + echo "If they are API compatible you MUST generate and install a GAC policy file!" +fi + +rm -f ${API_OLD} ${API_NEW} +if [ $KEEP = 1 ]; then + echo "API diff file: ${API_DIFF}" +else + rm -f ${API_OLD} ${API_NEW} +fi diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/Mono.Cairo.dll.config /tmp/whXnmORr8x/mono-2.4+dfsg/debian/Mono.Cairo.dll.config --- mono-2.4.0/debian/Mono.Cairo.dll.config 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/Mono.Cairo.dll.config 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,3 @@ + + + diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/mono-csharp-shell.install /tmp/whXnmORr8x/mono-2.4+dfsg/debian/mono-csharp-shell.install --- mono-2.4.0/debian/mono-csharp-shell.install 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/mono-csharp-shell.install 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,4 @@ +/usr/bin/csharp +/usr/lib/mono/2.0/csharp.exe* +/usr/lib/mono/2.0/Mono.CSharp.dll +/usr/lib/mono/gac/Mono.CSharp/ diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/mono-csharp-shell.manpages /tmp/whXnmORr8x/mono-2.4+dfsg/debian/mono-csharp-shell.manpages --- mono-2.4.0/debian/mono-csharp-shell.manpages 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/mono-csharp-shell.manpages 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1 @@ +debian/tmp/usr/share/man/man1/csharp.1 diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/Mono.Data.SqliteClient.dll.config /tmp/whXnmORr8x/mono-2.4+dfsg/debian/Mono.Data.SqliteClient.dll.config --- mono-2.4.0/debian/Mono.Data.SqliteClient.dll.config 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/Mono.Data.SqliteClient.dll.config 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,4 @@ + + + + diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/Mono.Data.Sqlite.dll.config /tmp/whXnmORr8x/mono-2.4+dfsg/debian/Mono.Data.Sqlite.dll.config --- mono-2.4.0/debian/Mono.Data.Sqlite.dll.config 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/Mono.Data.Sqlite.dll.config 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,4 @@ + + + + diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/mono-devel.install /tmp/whXnmORr8x/mono-2.4+dfsg/debian/mono-devel.install --- mono-2.4.0/debian/mono-devel.install 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/mono-devel.install 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,68 @@ +debian/tmp/usr/bin/al +debian/tmp/usr/bin/caspol +debian/tmp/usr/bin/cert2spc +debian/tmp/usr/bin/certmgr +debian/tmp/usr/bin/chktrust +debian/tmp/usr/bin/cilc +debian/tmp/usr/bin/disco +debian/tmp/usr/bin/dtd2xsd +debian/tmp/usr/bin/dtd2rng +debian/tmp/usr/bin/genxs +debian/tmp/usr/bin/gmcs +debian/tmp/usr/bin/ilasm +debian/tmp/usr/bin/installvst +debian/tmp/usr/bin/macpack +debian/tmp/usr/bin/mcs +debian/tmp/usr/bin/mkbundle +debian/tmp/usr/bin/mono-api-info +debian/tmp/usr/bin/mono-cil-strip +debian/tmp/usr/bin/mono-shlib-cop +debian/tmp/usr/bin/mono-xmltool +debian/tmp/usr/bin/monop +debian/tmp/usr/bin/monolinker +debian/tmp/usr/bin/mozroots +debian/tmp/usr/bin/permview +debian/tmp/usr/bin/resgen +debian/tmp/usr/bin/secutil +debian/tmp/usr/bin/setreg +debian/tmp/usr/bin/signcode +debian/tmp/usr/bin/sn +debian/tmp/usr/bin/soapsuds +debian/tmp/usr/bin/sqlsharp +debian/tmp/usr/bin/wsdl +debian/tmp/usr/bin/xsd +debian/tmp/usr/lib/mono/1.0/browsercaps-updater.exe +debian/tmp/usr/lib/mono/1.0/caspol.exe +debian/tmp/usr/lib/mono/1.0/cert2spc.exe +debian/tmp/usr/lib/mono/1.0/certmgr.exe +debian/tmp/usr/lib/mono/1.0/chktrust.exe +debian/tmp/usr/lib/mono/1.0/cilc.exe +debian/tmp/usr/lib/mono/1.0/culevel.exe +debian/tmp/usr/lib/mono/1.0/disco.exe +debian/tmp/usr/lib/mono/1.0/dtd2rng.exe +debian/tmp/usr/lib/mono/1.0/dtd2xsd.exe +debian/tmp/usr/lib/mono/1.0/ictool.exe +debian/tmp/usr/lib/mono/1.0/installvst.exe +debian/tmp/usr/lib/mono/1.0/macpack.exe +debian/tmp/usr/lib/mono/1.0/makecert.exe +debian/tmp/usr/lib/mono/1.0/mono-xmltool.exe +debian/tmp/usr/lib/mono/1.0/mozroots.exe +debian/tmp/usr/lib/mono/1.0/secutil.exe +debian/tmp/usr/lib/mono/1.0/setreg.exe +debian/tmp/usr/lib/mono/1.0/signcode.exe +debian/tmp/usr/lib/mono/1.0/sn.exe +debian/tmp/usr/lib/mono/1.0/soapsuds.exe +debian/tmp/usr/lib/mono/2.0/permview.exe +debian/tmp/usr/lib/mono/2.0/monolinker.exe +debian/tmp/usr/lib/mono/2.0/mono-api-info.exe +debian/tmp/usr/lib/mono/2.0/mono-cil-strip.exe +debian/tmp/usr/lib/mono/2.0/mono-shlib-cop.exe* +debian/tmp/usr/lib/mono/2.0/sqlsharp.exe +debian/tmp/usr/lib/mono-source-libs/getline.cs +debian/tmp/usr/lib/mono-source-libs/Options.cs +debian/tmp/usr/lib/pkgconfig/dotnet.pc +debian/tmp/usr/lib/pkgconfig/dotnet35.pc +debian/tmp/usr/lib/pkgconfig/mono-lineeditor.pc +debian/tmp/usr/lib/pkgconfig/mono-options.pc +debian/tmp/usr/share/locale/*/LC_MESSAGES/mcs.mo +debian/mono-api-check /usr/bin/ diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/mono-devel.links /tmp/whXnmORr8x/mono-2.4+dfsg/debian/mono-devel.links --- mono-2.4.0/debian/mono-devel.links 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/mono-devel.links 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1 @@ +usr/bin/gmcs usr/bin/csc diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/mono-devel.manpages /tmp/whXnmORr8x/mono-2.4+dfsg/debian/mono-devel.manpages --- mono-2.4.0/debian/mono-devel.manpages 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/mono-devel.manpages 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,31 @@ +debian/tmp/usr/share/man/man1/al.1 +debian/man/caspol.1 +debian/tmp/usr/share/man/man1/cert2spc.1 +debian/tmp/usr/share/man/man1/certmgr.1 +debian/tmp/usr/share/man/man1/chktrust.1 +debian/tmp/usr/share/man/man1/cilc.1 +debian/tmp/usr/share/man/man1/disco.1 +debian/tmp/usr/share/man/man1/dtd2xsd.1 +debian/tmp/usr/share/man/man1/genxs.1 +debian/tmp/usr/share/man/man1/gmcs.1 +debian/tmp/usr/share/man/man1/ilasm.1 +debian/tmp/usr/share/man/man1/macpack.1 +debian/tmp/usr/share/man/man1/makecert.1 +debian/tmp/usr/share/man/man1/mcs.1 +debian/tmp/usr/share/man/man1/mkbundle.1 +debian/tmp/usr/share/man/man1/mono-cil-strip.1 +debian/tmp/usr/share/man/man1/mono-shlib-cop.1 +debian/tmp/usr/share/man/man1/mono-xmltool.1 +debian/tmp/usr/share/man/man1/monolinker.1 +debian/tmp/usr/share/man/man1/monop.1 +debian/tmp/usr/share/man/man1/mozroots.1 +debian/tmp/usr/share/man/man1/permview.1 +debian/tmp/usr/share/man/man1/resgen.1 +debian/tmp/usr/share/man/man1/secutil.1 +debian/tmp/usr/share/man/man1/setreg.1 +debian/tmp/usr/share/man/man1/signcode.1 +debian/tmp/usr/share/man/man1/sn.1 +debian/tmp/usr/share/man/man1/soapsuds.1 +debian/tmp/usr/share/man/man1/sqlsharp.1 +debian/tmp/usr/share/man/man1/wsdl.1 +debian/tmp/usr/share/man/man1/xsd.1 diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/mono-devel.postinst /tmp/whXnmORr8x/mono-2.4+dfsg/debian/mono-devel.postinst --- mono-2.4.0/debian/mono-devel.postinst 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/mono-devel.postinst 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,20 @@ +#!/bin/sh +set -e + +update-alternatives \ + --install /usr/bin/cli-csc c-sharp-compiler /usr/bin/csc 10 \ + --slave /usr/share/man/man1/cli-csc.1.gz cli-csc.1.gz /usr/share/man/man1/csc.1.gz + +update-alternatives \ + --install /usr/bin/cli-resgen resource-file-generator /usr/bin/resgen 10 \ + --slave /usr/share/man/man1/cli-resgen.1.gz cli-resgen.1.gz /usr/share/man/man1/resgen.1.gz + +update-alternatives \ + --install /usr/bin/cli-al assembly-linker /usr/bin/al 10 \ + --slave /usr/share/man/man1/cli-al.1.gz cli-al.1.gz /usr/share/man/man1/al.1.gz + +update-alternatives \ + --install /usr/bin/cli-sn strong-name-tool /usr/bin/sn 10 \ + --slave /usr/share/man/man1/cli-sn.1.gz cli-sn.1.gz /usr/share/man/man1/sn.1.gz + +#DEBHELPER# diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/mono-devel.prerm /tmp/whXnmORr8x/mono-2.4+dfsg/debian/mono-devel.prerm --- mono-2.4.0/debian/mono-devel.prerm 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/mono-devel.prerm 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,10 @@ +#!/bin/sh -e + +if [ "$1" = remove ]; then + update-alternatives --remove c-sharp-compiler /usr/bin/csc + update-alternatives --remove resource-file-generator /usr/bin/resgen + update-alternatives --remove assembly-linker /usr/bin/al + update-alternatives --remove strong-name-tool /usr/bin/sn +fi + +#DEBHELPER# diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/monodoc-base.dirs /tmp/whXnmORr8x/mono-2.4+dfsg/debian/monodoc-base.dirs --- mono-2.4.0/debian/monodoc-base.dirs 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/monodoc-base.dirs 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1 @@ +usr/bin/ diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/monodoc-base.install /tmp/whXnmORr8x/mono-2.4+dfsg/debian/monodoc-base.install --- mono-2.4.0/debian/monodoc-base.install 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/monodoc-base.install 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,17 @@ +/usr/bin/mdassembler +/usr/bin/mdoc +/usr/bin/mdoc-assemble +/usr/bin/mdoc-export-html +/usr/bin/mdoc-export-msxdoc +/usr/bin/mdoc-update +/usr/bin/mdoc-validate +/usr/bin/mdvalidater +/usr/bin/mod +/usr/bin/monodocer +/usr/bin/monodocs2html +/usr/bin/monodocs2slashdoc +/usr/lib/mono/1.0/mod.exe +/usr/lib/mono/2.0/mdoc.exe +/usr/lib/mono/gac/monodoc/ +/usr/lib/mono/monodoc/monodoc.dll +/usr/lib/pkgconfig/monodoc.pc diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/monodoc-base.manpages /tmp/whXnmORr8x/mono-2.4+dfsg/debian/monodoc-base.manpages --- mono-2.4.0/debian/monodoc-base.manpages 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/monodoc-base.manpages 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,11 @@ +debian/tmp/usr/share/man/man1/mdassembler.1 +debian/tmp/usr/share/man/man1/mdoc.1 +debian/tmp/usr/share/man/man1/mdoc-assemble.1 +debian/tmp/usr/share/man/man1/mdoc-export-html.1 +debian/tmp/usr/share/man/man1/mdoc-export-msxdoc.1 +debian/tmp/usr/share/man/man1/mdoc-update.1 +debian/tmp/usr/share/man/man1/mdoc-validate.1 +debian/tmp/usr/share/man/man1/mdvalidater.1 +debian/tmp/usr/share/man/man1/monodocer.1 +debian/tmp/usr/share/man/man1/monodocs2html.1 +debian/tmp/usr/share/man/man5/mdoc.5 diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/monodoc-manual.install /tmp/whXnmORr8x/mono-2.4+dfsg/debian/monodoc-manual.install --- mono-2.4.0/debian/monodoc-manual.install 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/monodoc-manual.install 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,4 @@ +debian/tmp/usr/lib/monodoc/monodoc.xml +debian/tmp/usr/lib/monodoc/sources/*.source +debian/tmp/usr/lib/monodoc/sources/*.tree +debian/tmp/usr/lib/monodoc/sources/*.zip diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/mono-gac.dirs /tmp/whXnmORr8x/mono-2.4+dfsg/debian/mono-gac.dirs --- mono-2.4.0/debian/mono-gac.dirs 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/mono-gac.dirs 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1 @@ +usr/share/cli-common/runtimes.d diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/mono-gac.install /tmp/whXnmORr8x/mono-2.4+dfsg/debian/mono-gac.install --- mono-2.4.0/debian/mono-gac.install 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/mono-gac.install 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1 @@ +debian/tmp/usr/bin/gacutil diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/mono-gac.manpages /tmp/whXnmORr8x/mono-2.4+dfsg/debian/mono-gac.manpages --- mono-2.4.0/debian/mono-gac.manpages 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/mono-gac.manpages 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1 @@ +debian/tmp/usr/share/man/man1/gacutil.1 diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/mono-gac.postinst /tmp/whXnmORr8x/mono-2.4+dfsg/debian/mono-gac.postinst --- mono-2.4.0/debian/mono-gac.postinst 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/mono-gac.postinst 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,13 @@ +#!/bin/sh -e + +# Install the GAC +if [ -x /usr/share/cli-common/gac-install ]; then + /usr/share/cli-common/gac-install mono +fi + +# Update the alternatives +update-alternatives \ + --install /usr/bin/cli-gacutil global-assembly-cache-tool /usr/bin/gacutil 10 \ + --slave /usr/share/man/man1/cli-gacutil.1.gz cli-gacutil.1.gz /usr/share/man/man1/gacutil.1.gz + +#DEBHELPER# diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/mono-gac.prerm /tmp/whXnmORr8x/mono-2.4+dfsg/debian/mono-gac.prerm --- mono-2.4.0/debian/mono-gac.prerm 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/mono-gac.prerm 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,12 @@ +#!/bin/sh -e + +if [ "$1" = remove ]; then + update-alternatives --remove global-assembly-cache-tool /usr/bin/gacutil + + # Remove the GAC + if [ -x /usr/share/cli-common/gac-remove ]; then + /usr/share/cli-common/gac-remove mono + fi +fi + +#DEBHELPER# diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/mono-gmcs.install /tmp/whXnmORr8x/mono-2.4+dfsg/debian/mono-gmcs.install --- mono-2.4.0/debian/mono-gmcs.install 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/mono-gmcs.install 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,2 @@ +debian/tmp/usr/bin/gmcs2 +debian/tmp/usr/lib/mono/2.0/gmcs.exe* diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/mono-gmcs.manpages /tmp/whXnmORr8x/mono-2.4+dfsg/debian/mono-gmcs.manpages --- mono-2.4.0/debian/mono-gmcs.manpages 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/mono-gmcs.manpages 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1 @@ +debian/tmp/usr/share/man/man1/gmcs2.1 diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/mono.install /tmp/whXnmORr8x/mono-2.4+dfsg/debian/mono.install --- mono-2.4.0/debian/mono.install 2009-05-31 08:36:14.000000000 +0100 +++ mono-2.4+dfsg/debian/mono.install 1970-01-01 01:00:00.000000000 +0100 @@ -1 +0,0 @@ -* / \ No newline at end of file diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/mono-jay.docs /tmp/whXnmORr8x/mono-2.4+dfsg/debian/mono-jay.docs --- mono-2.4.0/debian/mono-jay.docs 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/mono-jay.docs 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,5 @@ +debian/tmp/usr/share/jay/ACKNOWLEDGEMENTS +debian/tmp/usr/share/jay/NEW_FEATURES +debian/tmp/usr/share/jay/NOTES +debian/tmp/usr/share/jay/README +debian/tmp/usr/share/jay/README.jay diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/mono-jay.install /tmp/whXnmORr8x/mono-2.4+dfsg/debian/mono-jay.install --- mono-2.4.0/debian/mono-jay.install 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/mono-jay.install 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1 @@ +debian/tmp/usr/bin/jay diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/mono-jay.manpages /tmp/whXnmORr8x/mono-2.4+dfsg/debian/mono-jay.manpages --- mono-2.4.0/debian/mono-jay.manpages 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/mono-jay.manpages 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1 @@ +debian/tmp/usr/share/man/man1/jay.1 diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/mono-mcs.dirs /tmp/whXnmORr8x/mono-2.4+dfsg/debian/mono-mcs.dirs --- mono-2.4.0/debian/mono-mcs.dirs 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/mono-mcs.dirs 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,2 @@ +usr/bin +usr/lib/mono/1.0 diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/mono-mcs.install /tmp/whXnmORr8x/mono-2.4+dfsg/debian/mono-mcs.install --- mono-2.4.0/debian/mono-mcs.install 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/mono-mcs.install 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,2 @@ +debian/tmp/usr/bin/mcs1 +debian/tmp/usr/lib/mono/1.0/mcs.exe* diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/mono-mcs.manpages /tmp/whXnmORr8x/mono-2.4+dfsg/debian/mono-mcs.manpages --- mono-2.4.0/debian/mono-mcs.manpages 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/mono-mcs.manpages 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1 @@ +debian/tmp/usr/share/man/man1/mcs1.1 diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/mono-mjs.install /tmp/whXnmORr8x/mono-2.4+dfsg/debian/mono-mjs.install --- mono-2.4.0/debian/mono-mjs.install 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/mono-mjs.install 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,2 @@ +debian/tmp/usr/bin/mjs +debian/tmp/usr/lib/mono/1.0/mjs.exe* diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/mono-mjs.manpages /tmp/whXnmORr8x/mono-2.4+dfsg/debian/mono-mjs.manpages --- mono-2.4.0/debian/mono-mjs.manpages 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/mono-mjs.manpages 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1 @@ +debian/man/mjs.1 diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/mono.postinst /tmp/whXnmORr8x/mono-2.4+dfsg/debian/mono.postinst --- mono-2.4.0/debian/mono.postinst 2009-05-31 08:36:14.000000000 +0100 +++ mono-2.4+dfsg/debian/mono.postinst 1970-01-01 01:00:00.000000000 +0100 @@ -1,57 +0,0 @@ -#!/bin/sh -e - -if [ configure = "$1" ] && [ -x /usr/sbin/update-binfmts ]; then - /usr/sbin/update-binfmts --import cli -fi - -if [ configure = "$1" ] && [ -d /usr/share/dotnet/mono/ ] && [ -L /usr/share/dotnet/mono ]; then - rm /usr/share/dotnet/mono -fi - -update-alternatives \ - --install /usr/bin/cli-csc c-sharp-compiler /usr/bin/gmcs 10 \ - --slave /usr/share/man/man1/cli-csc.1.gz cli-csc.1.gz /usr/share/man/man1/mcs.1.gz - -update-alternatives \ - --install /usr/bin/cli-csc csc /usr/bin/gmcs 10 \ - --slave /usr/share/man/man1/cli-csc.1.gz csc.1.gz /usr/share/man/man1/mcs.1.gz - -update-alternatives \ - --install /usr/bin/cli-resgen resource-file-generator /usr/bin/resgen 10 \ - --slave /usr/share/man/man1/cli-resgen.1.gz cli-resgen.1.gz /usr/share/man/man1/resgen.1.gz - -update-alternatives \ - --install /usr/bin/cli-al assembly-linker /usr/bin/al 10 \ - --slave /usr/share/man/man1/cli-al.1.gz cli-al.1.gz /usr/share/man/man1/al.1.gz - -update-alternatives \ - --install /usr/bin/cli-sn strong-name-tool /usr/bin/sn 10 \ - --slave /usr/share/man/man1/cli-sn.1.gz cli-sn.1.gz /usr/share/man/man1/sn.1.gz - -# Is this necessary? The GAC is packaged. -# Install the GAC -#if [ -x /usr/share/cli-common/gac-install ]; then -# /usr/share/cli-common/gac-install mono -#fi - -# Update the alternatives -update-alternatives \ - --install /usr/bin/cli-gacutil global-assembly-cache-tool /usr/bin/gacutil 10 \ - --slave /usr/share/man/man1/cli-gacutil.1.gz cli-gacutil.1.gz /usr/share/man/man1/gacutil.1.gz - -# if we're configuring, /usr/share/doc/mono-jit is a directory, -# and isn't a symlink, replace it with a symlink to mono-common -if test "$1" = "configure" && test -d /usr/share/doc/mono-jit && ! test -h /usr/share/doc/mono-jit ; then - rm -Rf /usr/share/doc/mono-jit - ln -s mono /usr/share/doc/mono-jit -fi - -update-alternatives \ - --install /usr/bin/cli cli /usr/bin/mono 10 \ - --slave /usr/share/man/man1/cli.1.gz cli.1.gz /usr/share/man/man1/mono.1.gz - -update-alternatives \ - --install /usr/bin/cli-ildasm cil-disassembler /usr/bin/monodis 10 \ - --slave /usr/share/man/man1/cli-ildasm.1.gz cli-ildasm.1.gz /usr/share/man/man1/monodis.1.gz - -#DEBHELPER# \ No newline at end of file diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/mono.prerm /tmp/whXnmORr8x/mono-2.4+dfsg/debian/mono.prerm --- mono-2.4.0/debian/mono.prerm 2009-05-31 08:36:14.000000000 +0100 +++ mono-2.4+dfsg/debian/mono.prerm 1970-01-01 01:00:00.000000000 +0100 @@ -1,33 +0,0 @@ -#!/bin/sh -e - -if [ remove = "$1" ] && [ -x /usr/sbin/update-binfmts ]; then - /usr/sbin/update-binfmts --package mono --remove cli /usr/bin/cli -fi - -if [ "$1" = remove ]; then - update-alternatives --remove c-sharp-compiler /usr/bin/gmcs - update-alternatives --remove csc /usr/bin/gmcs - update-alternatives --remove resource-file-generator /usr/bin/resgen - update-alternatives --remove assembly-linker /usr/bin/al - update-alternatives --remove strong-name-tool /usr/bin/sn -fi - -if [ "$1" = remove ]; then - update-alternatives --remove global-assembly-cache-tool /usr/bin/gacutil - - # Remove the GAC - # Again, is this necessary? - if [ -x /usr/share/cli-common/gac-remove ]; then - /usr/share/cli-common/gac-remove mono || true - fi -fi - -if [ "$1" = remove ]; then - update-alternatives --remove cli /usr/bin/mono -fi - -if [ "$1" = remove ]; then - update-alternatives --remove cil-disassembler /usr/bin/monodis -fi - -#DEBHELPER# \ No newline at end of file diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/mono-runtime.dirs /tmp/whXnmORr8x/mono-2.4+dfsg/debian/mono-runtime.dirs --- mono-2.4.0/debian/mono-runtime.dirs 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/mono-runtime.dirs 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,3 @@ +usr/bin +usr/share/binfmts +usr/share/dotnet diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/mono-runtime.docs /tmp/whXnmORr8x/mono-2.4+dfsg/debian/mono-runtime.docs --- mono-2.4.0/debian/mono-runtime.docs 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/mono-runtime.docs 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,4 @@ +README +AUTHORS +NEWS +debian/changelog.1 diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/mono-runtime.install /tmp/whXnmORr8x/mono-2.4+dfsg/debian/mono-runtime.install --- mono-2.4.0/debian/mono-runtime.install 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/mono-runtime.install 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,9 @@ +/usr/bin/mono +/etc/mono/browscap.ini +/etc/mono/config +/etc/mono/1.0/ +/etc/mono/2.0/ +/usr/share/mono-1.0/mono/cil/cil-opcodes.xml +/usr/lib/libmono-*.so.* +/usr/lib/libMonoPosixHelper.so +/usr/lib/libMonoSupportW.so diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/mono-runtime.manpages /tmp/whXnmORr8x/mono-2.4+dfsg/debian/mono-runtime.manpages --- mono-2.4.0/debian/mono-runtime.manpages 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/mono-runtime.manpages 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,3 @@ +debian/tmp/usr/share/man/man1/mono.1 +debian/tmp/usr/share/man/man5/mono-config.5 +debian/man/cli-wrapper.1 diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/mono-runtime.NEWS /tmp/whXnmORr8x/mono-2.4+dfsg/debian/mono-runtime.NEWS --- mono-2.4.0/debian/mono-runtime.NEWS 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/mono-runtime.NEWS 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,108 @@ +mono (2.4-1) unstable; urgency=low + + * Mono 2.4 ships a lot of goodies: + + SIMD support in Mono. + + No expensive polls in the threading implementation any longer. + + Speed-up garbarge collection on multi-core systems. + + Optimized XPath (using 15% less memory). + + Faster DateTime.TryParse implementation (by not using try/catch). + + Support for precompiled ASP.NET pages. + * Complete Announcement of Mono 2.4 (vs Mono 2.2): + http://www.mono-project.com/Release_Notes_Mono_2.4 + + * Mono 2.2 also ships with lovely things: + + The tree-based code generation engine in the JIT was replaced with the + Linear IL engine, which allows better optimizations. + + Generic sharing is now used in all cases (reduces memory usage). + + Generic sharing is now supported on ARM. + + Support of full Ahead of Time Compilation. + + New PerformanceCounters implementation that allows to monitor the runtime + internals. Including the GUI tool "mperfmon" to view them. + + Interactive shell called "csharp" that allows to execute C# + expressions inside a shell. There is also a GUI version available + called "gsharp". + + Live Inspection. You can attach using the csharp shell to a + running process and run code inside to debug things. + + The C# compiler will now optimize empty strings ("") away with + String.Empty (which reduces memory usage). + + The Regular Expressions engine has been rewritten being more efficient. + At the same time compiled regex are also supported now. + + ASP.NET supports now new routing handlers needed by ASP.NET MVC. + + In the WinForms implementation were almost 200 bugs fixed (since Mono 2.0) + * Complete Announcement of Mono 2.2 (vs Mono 2.0): + http://www.mono-project.com/Release_Notes_Mono_2.2 + + * Mono 2.0 shipped with: + + A console debugger (mdb) part of the mono-debugger package. + + WinForms 2.0 API is complete. + + WinForms's WebBrowser was implemented using Mozilla's Gecko HTML + rendering engine. + + WinForms now supports international keyboard input through XIM. + + Performance of locking (used by threading) was significally improved. + + New debug parameter "--debug=cast" which print outs the types in for + InvalidCastException. + + The C# compiler supports now expression trees (for LINQ) which completes + the C# 3.0 support. + + The C# compiler is now dual-licensed under MIT/X11 and GPLv2 (only). + + LINQ and LINQ to XML are now complete. + + Big Arrays for 64bit architectures are now support (but have to be + compiled using the --enable-big-arrays configure switch) + * Complete Announcement of Mono 2.0: + http://www.mono-project.com/Release_Notes_Mono_2.0 + + -- Mirco Bauer Fri, 10 Apr 2009 00:58:39 +0200 + +mono (1.2.2.1-1) unstable; urgency=low + + * Here we go, Mono 1.2 is now official stable and released! + + * Mono 1.2 brings a lot of new features in: + - The C# 2.0 compiler is now stable, and the ECMA standard was updated, so + it's safe to use C# 2.0 (gmcs) now. _But_ the 2.0 API is not complete, thus + there are classes/methods still missing. + - Mono is now officially supported on the following architectures: + + 32bit: i386, powerpc, arm, s390, sparc. + + 64bit: amd64, s390x, ia64. + The debian packages are available for: i386, powerpc arm, amd64 and ia64. + Packages for s390, s390x, sparc and kfreebsd-i386 are under review, when + the ports are prooved to be stable enough, we will include them. + - Complete System.Windows.Forms 1.1 API + This version is not using wine! SWF runs natively on Linux (X11 driver) + using an own implementation (libgdiplus). + - File System Watching API now supports inotify. + + * Complete Announcement of Mono 1.2 (vs Mono 1.0): + http://www.go-mono.com/archive/1.2/ + + * Announcement of Mono 1.2.1: + http://www.go-mono.com/archive/1.2.1/ + + * Announcement of Mono 1.2.2: + http://www.go-mono.com/archive/1.2.2/ + + -- Debian Mono Group Wed, 6 Nov 2006 23:00:28 +0200 + +mono (0.96-1) unstable; urgency=low + + * It has been quite a while since the last Mono release in Debian and + we feel that it's time to announce few things changed in the + meantime: + + - dependencies management and debhelper integration - the new + mono-utils package contains scripts to create and manage dependencies + between the .NET library packages. They work in a similar way to the + .shlibs system in Debian. For more details, see dh_makenetlibs(1), + dh_netdeps(1) and monodoc's rules file as example. + Another script available now is dh_installxsp which will install + snippets of configuration files for XSP packages (HTML/ASP.NET server + and Apache module). + + - the GAC - except of mscorlib.dll, all DLLs are moved into + /usr/share/dotnet hierarchy and are now loaded using the GAC (Global + Assembly Cache) method. This also makes sane versioning possible, + similar to SONAME handling on native shared libraries. + + - see README.Debian for further details about changes and the current + .NET Debian policy + + -- Debian Mono Group Sat, 19 Jun 2004 14:39:08 +0200 diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/mono-runtime.postinst /tmp/whXnmORr8x/mono-2.4+dfsg/debian/mono-runtime.postinst --- mono-2.4.0/debian/mono-runtime.postinst 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/mono-runtime.postinst 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,23 @@ +#!/bin/sh -e + +# if we're configuring, /usr/share/doc/mono-jit is a directory, +# and isn't a symlink, replace it with a symlink to mono-common +if test "$1" = "configure" && test -d /usr/share/doc/mono-jit && ! test -h /usr/share/doc/mono-jit ; then + rmdir /usr/share/doc/mono-jit + ln -s mono-common /usr/share/doc/mono-jit +fi + +update-alternatives \ + --install /usr/bin/cli cli /usr/bin/mono 10 \ + --slave /usr/share/man/man1/cli.1.gz cli.1.gz /usr/share/man/man1/mono.1.gz + +if [ configure = "$1" ] && [ -x /usr/sbin/update-binfmts ]; then + update-binfmts --import cli +fi + +if [ configure = "$1" ] && [ -d /usr/share/dotnet/mono/ ] && [ -L /usr/share/dotnet/mono ]; then + # it's a symlink + rm /usr/share/dotnet/mono +fi + +#DEBHELPER# diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/mono-runtime.prerm /tmp/whXnmORr8x/mono-2.4+dfsg/debian/mono-runtime.prerm --- mono-2.4.0/debian/mono-runtime.prerm 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/mono-runtime.prerm 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,11 @@ +#!/bin/sh -e + +if [ "$1" = remove ] && [ -x /usr/sbin/update-binfmts ]; then + update-binfmts --package mono-runtime --remove cli /usr/bin/cli +fi + +if [ "$1" = remove ]; then + update-alternatives --remove cli /usr/bin/mono +fi + +#DEBHELPER# diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/mono-smcs.install /tmp/whXnmORr8x/mono-2.4+dfsg/debian/mono-smcs.install --- mono-2.4.0/debian/mono-smcs.install 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/mono-smcs.install 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,3 @@ +debian/tmp/usr/bin/smcs +debian/tmp/usr/lib/mono/2.1/smcs.exe* +debian/tmp/usr/lib/pkgconfig/smcs.pc diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/mono-smcs.manpages /tmp/whXnmORr8x/mono-2.4+dfsg/debian/mono-smcs.manpages --- mono-2.4.0/debian/mono-smcs.manpages 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/mono-smcs.manpages 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1 @@ +debian/tmp/usr/share/man/man1/smcs.1 diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/mono-utils.install /tmp/whXnmORr8x/mono-2.4+dfsg/debian/mono-utils.install --- mono-2.4.0/debian/mono-utils.install 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/mono-utils.install 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,5 @@ +debian/tmp/usr/bin/pedump +debian/tmp/usr/bin/monodis /usr/bin/ +debian/tmp/usr/bin/monograph +debian/tmp/usr/bin/mono-find-provides +debian/tmp/usr/bin/mono-find-requires diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/mono-utils.manpages /tmp/whXnmORr8x/mono-2.4+dfsg/debian/mono-utils.manpages --- mono-2.4.0/debian/mono-utils.manpages 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/mono-utils.manpages 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,5 @@ +debian/man/pedump.1 +debian/man/monograph.1 +debian/man/mono-find-provides.1 +debian/man/mono-find-requires.1 +debian/tmp/usr/share/man/man1/monodis.1 diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/mono-utils.postinst /tmp/whXnmORr8x/mono-2.4+dfsg/debian/mono-utils.postinst --- mono-2.4.0/debian/mono-utils.postinst 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/mono-utils.postinst 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,7 @@ +#!/bin/sh -e + +update-alternatives \ + --install /usr/bin/cli-ildasm cil-disassembler /usr/bin/monodis 10 \ + --slave /usr/share/man/man1/cli-ildasm.1.gz cli-ildasm.1.gz /usr/share/man/man1/monodis.1.gz + +#DEBHELPER# diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/mono-utils.prerm /tmp/whXnmORr8x/mono-2.4+dfsg/debian/mono-utils.prerm --- mono-2.4.0/debian/mono-utils.prerm 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/mono-utils.prerm 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,7 @@ +#!/bin/sh -e + +if [ "$1" = remove ]; then + update-alternatives --remove cil-disassembler /usr/bin/monodis +fi + +#DEBHELPER# diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/mono-xbuild.install /tmp/whXnmORr8x/mono-2.4+dfsg/debian/mono-xbuild.install --- mono-2.4.0/debian/mono-xbuild.install 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/mono-xbuild.install 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,9 @@ +debian/tmp/usr/bin/xbuild +debian/tmp/usr/lib/mono/2.0/xbuild.exe* +debian/tmp/usr/lib/mono/2.0/xbuild.rsp +debian/tmp/usr/lib/mono/2.0/Microsoft.Build.xsd +debian/tmp/usr/lib/mono/2.0/Microsoft.CSharp.targets +debian/tmp/usr/lib/mono/2.0/Microsoft.Common.tasks +debian/tmp/usr/lib/mono/2.0/Microsoft.Common.targets +debian/tmp/usr/lib/mono/2.0/Microsoft.VisualBasic.targets +debian/tmp/usr/lib/mono/2.0/MSBuild/ diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/mono-xbuild.manpages /tmp/whXnmORr8x/mono-2.4+dfsg/debian/mono-xbuild.manpages --- mono-2.4.0/debian/mono-xbuild.manpages 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/mono-xbuild.manpages 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1 @@ +debian/man/xbuild.1 diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/patches/00list /tmp/whXnmORr8x/mono-2.4+dfsg/debian/patches/00list --- mono-2.4.0/debian/patches/00list 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/patches/00list 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,23 @@ +debian_version +armel_fix_configure_fpu_check +kfreebsd_support +console-no-utf8-bom +firebird-fbclient +fix-mono.pc.in +fix-mono-cairo.pc.in +fix_BigInteger_overflow_CVE-2007-5197 +fix_implicit_pointer_conversions +fix_NetworkInterface_endless_loop +fix_null_funcptr_marshalling_r127347 +fix_recursive_unmanaged_types +fix_mono-api-info_build +fix_csharplib_build +fix_mdoc_build +fix_tuner_build +disable_building_convert.exe +disable_building_RabbitMQ.Client.dll +build_cecil_as_2.0 +build_firebirdsql_as_2.0 +build_linker_tuner_cil-strip_as_2.0 +build_permview_as_2.0 +build_genxs_2.0 diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/patches/armel_fix_configure_fpu_check.dpatch /tmp/whXnmORr8x/mono-2.4+dfsg/debian/patches/armel_fix_configure_fpu_check.dpatch --- mono-2.4.0/debian/patches/armel_fix_configure_fpu_check.dpatch 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/patches/armel_fix_configure_fpu_check.dpatch 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,39 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## armel_fix_configure_fpu_check.dpatch by Riku Voipio +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad mono-2.0.1~/configure.in mono-2.0.1/configure.in +--- mono-2.0.1~/configure.in 2008-10-20 19:29:46.000000000 +0200 ++++ mono-2.0.1/configure.in 2008-11-23 16:08:54.000000000 +0100 +@@ -2059,15 +2059,24 @@ + ]) + fi + +-if test ${TARGET} = ARM && test x$cross_compiling = xno && test x$enable_mcs_build != xno; then ++AC_ARG_WITH(fpu, [ --with-fpu=FPA,VFP,NONE Select fpu to use on arm],[fpu=$withval]) ++ ++if test ${TARGET} = ARM; then + dnl ****************************************** + dnl *** Check to see what FPU is available *** + dnl ****************************************** + AC_MSG_CHECKING(which FPU to use) + +- AC_TRY_COMPILE([], [ +- __asm__ ("ldfd f0, [r0]"); +- ], fpu=FPA, fpu=NONE) ++ if test "x$fpu" = "x"; then ++ ++ AC_TRY_COMPILE([], [ ++ __asm__ ("ldfd f0, [r0]"); ++ ], fpu=FPA, [ ++ AC_TRY_COMPILE([], [ ++ __asm__ ("fldd d0, [r0]"); ++ ], fpu=VFP, fpu=NONE) ++ ]) ++ fi + + AC_MSG_RESULT($fpu) + CPPFLAGS="$CPPFLAGS -DARM_FPU_$fpu=1" diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/patches/build_cecil_as_2.0.dpatch /tmp/whXnmORr8x/mono-2.4+dfsg/debian/patches/build_cecil_as_2.0.dpatch --- mono-2.4.0/debian/patches/build_cecil_as_2.0.dpatch 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/patches/build_cecil_as_2.0.dpatch 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,43 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## build_cecil_as_2.0.dpatch by Mirco Bauer +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad mono-2.4+dfsg~/mcs/class/Makefile mono-2.4+dfsg/mcs/class/Makefile +--- mono-2.4+dfsg~/mcs/class/Makefile 2009-05-20 00:07:08.000000000 +0200 ++++ mono-2.4+dfsg/mcs/class/Makefile 2009-05-20 00:12:20.000000000 +0200 +@@ -93,9 +93,7 @@ + OpenSystem.C + + net_1_1_dirs := \ +- FirebirdSql.Data.Firebird \ +- Mono.Cecil \ +- Mono.Cecil.Mdb \ ++ FirebirdSql.Data.Firebird + + net_2_0_dirs := \ + Microsoft.Build.Framework \ +@@ -121,7 +119,9 @@ + System.ServiceModel.Web \ + Mono.Management \ + Mono.Options \ +- Mono.Simd ++ Mono.Simd \ ++ Mono.Cecil \ ++ Mono.Cecil.Mdb + + net_2_1_dirs := \ + corlib \ +diff -urNad mono-2.4+dfsg~/mcs/class/Mono.Cecil/Makefile mono-2.4+dfsg/mcs/class/Mono.Cecil/Makefile +--- mono-2.4+dfsg~/mcs/class/Mono.Cecil/Makefile 2009-02-14 00:51:37.000000000 +0100 ++++ mono-2.4+dfsg/mcs/class/Mono.Cecil/Makefile 2009-05-20 00:11:27.000000000 +0200 +@@ -9,7 +9,7 @@ + + NO_TEST = yes + +-ifneq (net_1_1, $(PROFILE)) ++ifneq (net_2_0, $(PROFILE)) + NO_INSTALL = yes + endif diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/patches/build_firebirdsql_as_2.0.dpatch /tmp/whXnmORr8x/mono-2.4+dfsg/debian/patches/build_firebirdsql_as_2.0.dpatch --- mono-2.4.0/debian/patches/build_firebirdsql_as_2.0.dpatch 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/patches/build_firebirdsql_as_2.0.dpatch 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,30 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## build_firebirdsql_as_2.0.dpatch by Mirco Bauer +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad mono-2.4+dfsg~/mcs/class/Makefile mono-2.4+dfsg/mcs/class/Makefile +--- mono-2.4+dfsg~/mcs/class/Makefile 2009-05-20 00:18:11.000000000 +0200 ++++ mono-2.4+dfsg/mcs/class/Makefile 2009-05-20 00:20:55.000000000 +0200 +@@ -90,8 +90,7 @@ + CustomMarshalers \ + OpenSystem.C + +-net_1_1_dirs := \ +- FirebirdSql.Data.Firebird ++net_1_1_dirs := + + net_2_0_dirs := \ + Microsoft.Build.Framework \ +@@ -119,7 +118,8 @@ + Mono.Options \ + Mono.Simd \ + Mono.Cecil \ +- Mono.Cecil.Mdb ++ Mono.Cecil.Mdb \ ++ FirebirdSql.Data.Firebird + + net_2_1_dirs := \ + corlib \ diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/patches/build_genxs_2.0.dpatch /tmp/whXnmORr8x/mono-2.4+dfsg/debian/patches/build_genxs_2.0.dpatch --- mono-2.4.0/debian/patches/build_genxs_2.0.dpatch 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/patches/build_genxs_2.0.dpatch 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,39 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## build_genxs_2.0.dpatch by Mirco Bauer +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad mono-2.4+dfsg~/mcs/tools/Makefile mono-2.4+dfsg/mcs/tools/Makefile +--- mono-2.4+dfsg~/mcs/tools/Makefile 2009-05-21 13:52:09.000000000 +0200 ++++ mono-2.4+dfsg/mcs/tools/Makefile 2009-05-21 13:52:35.000000000 +0200 +@@ -35,6 +35,7 @@ + csharp \ + mono-xsd \ + wsdl \ ++ genxs \ + compiler-tester \ + monop \ + xbuild \ +diff -urNad mono-2.4+dfsg~/mcs/tools/genxs/Makefile mono-2.4+dfsg/mcs/tools/genxs/Makefile +--- mono-2.4+dfsg~/mcs/tools/genxs/Makefile 2009-05-21 13:52:08.000000000 +0200 ++++ mono-2.4+dfsg/mcs/tools/genxs/Makefile 2009-05-21 13:52:35.000000000 +0200 +@@ -5,4 +5,6 @@ + LOCAL_MCS_FLAGS = -r:System.Xml.dll + PROGRAM = $(topdir)/class/lib/$(PROFILE)/genxs.exe + ++CLEAN_FILES = *.exe *.mdb ++ + include ../../build/executable.make +diff -urNad mono-2.4+dfsg~/scripts/Makefile.am mono-2.4+dfsg/scripts/Makefile.am +--- mono-2.4+dfsg~/scripts/Makefile.am 2009-02-14 00:32:38.000000000 +0100 ++++ mono-2.4+dfsg/scripts/Makefile.am 2009-05-21 13:54:16.000000000 +0200 +@@ -83,6 +83,7 @@ + + scripts_2_0 = \ + al2$(SCRIPT_SUFFIX) \ ++ genxs2$(SCRIPT_SUFFIX) \ + csharp$(SCRIPT_SUFFIX) \ + gacutil2$(SCRIPT_SUFFIX) \ + gmcs$(SCRIPT_SUFFIX) \ diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/patches/build_linker_tuner_cil-strip_as_2.0.dpatch /tmp/whXnmORr8x/mono-2.4+dfsg/debian/patches/build_linker_tuner_cil-strip_as_2.0.dpatch --- mono-2.4.0/debian/patches/build_linker_tuner_cil-strip_as_2.0.dpatch 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/patches/build_linker_tuner_cil-strip_as_2.0.dpatch 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,30 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## build_tuner_as_2.0.dpatch by Mirco Bauer +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad mono-2.4+dfsg~/mcs/tools/Makefile mono-2.4+dfsg/mcs/tools/Makefile +--- mono-2.4+dfsg~/mcs/tools/Makefile 2009-05-21 14:56:19.000000000 +0200 ++++ mono-2.4+dfsg/mcs/tools/Makefile 2009-05-21 14:57:08.000000000 +0200 +@@ -14,9 +14,6 @@ + browsercaps-updater \ + monop \ + gacutil \ +- linker \ +- tuner \ +- cil-strip \ + resgen \ + macpack \ + mkbundle \ +@@ -53,6 +50,9 @@ + nunitreport \ + sqlsharp \ + gacutil \ ++ linker \ ++ tuner \ ++ cil-strip \ + csharplib + + net_2_1_dirs := \ diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/patches/build_permview_as_2.0.dpatch /tmp/whXnmORr8x/mono-2.4+dfsg/debian/patches/build_permview_as_2.0.dpatch --- mono-2.4.0/debian/patches/build_permview_as_2.0.dpatch 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/patches/build_permview_as_2.0.dpatch 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,21 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## build_permview_as_2.0.dpatch by Mirco Bauer +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad mono-2.4+dfsg~/mcs/tools/security/Makefile mono-2.4+dfsg/mcs/tools/security/Makefile +--- mono-2.4+dfsg~/mcs/tools/security/Makefile 2009-02-14 00:36:30.000000000 +0100 ++++ mono-2.4+dfsg/mcs/tools/security/Makefile 2009-05-21 01:31:11.000000000 +0200 +@@ -6,8 +6,8 @@ + LOCAL_MCS_FLAGS = /lib:$(topdir)/class/lib/$(PROFILE) -r:Mono.Security.dll + + SECURITY_PROGRAMS = secutil.exe cert2spc.exe sn.exe makecert.exe chktrust.exe \ +- signcode.exe setreg.exe certmgr.exe caspol.exe permview.exe mozroots.exe +-SECURITY_PROGRAMS_2_0 = httpcfg.exe ++ signcode.exe setreg.exe certmgr.exe caspol.exe mozroots.exe ++SECURITY_PROGRAMS_2_0 = httpcfg.exe permview.exe + + HELPER_SOURCES = AssemblyInfo.cs $(topdir)/build/common/Consts.cs + SN_SOURCES = sn.cs StrongNameManager.cs $(HELPER_SOURCES) diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/patches/console-no-utf8-bom.dpatch /tmp/whXnmORr8x/mono-2.4+dfsg/debian/patches/console-no-utf8-bom.dpatch --- mono-2.4.0/debian/patches/console-no-utf8-bom.dpatch 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/patches/console-no-utf8-bom.dpatch 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,16 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run + +@DPATCH@ + +--- trunk/mcs/class/corlib/System/Console.cs.old 2006-08-29 18:21:12.473936000 +0200 ++++ trunk/mcs/class/corlib/System/Console.cs 2006-08-29 18:23:46.607568750 +0200 +@@ -97,8 +97,7 @@ + int code_page = 0; + Encoding.InternalCodePage (ref code_page); + +- if (code_page != -1 && ((code_page & 0x0fffffff) == 3 // UTF8Encoding.UTF8_CODE_PAGE +- || ((code_page & 0x10000000) != 0))) ++ if (code_page == UTF8Encoding.UTF8_CODE_PAGE || ((code_page & 0x10000000) != 0)) + inputEncoding = outputEncoding = Encoding.UTF8Unmarked; + else + inputEncoding = outputEncoding = Encoding.Default; diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/patches/debian_version.dpatch /tmp/whXnmORr8x/mono-2.4+dfsg/debian/patches/debian_version.dpatch --- mono-2.4.0/debian/patches/debian_version.dpatch 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/patches/debian_version.dpatch 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,28 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## debian_version.dpatch by Mirco Bauer +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad mono-2.4+dfsg~/mono/mini/Makefile.am mono-2.4+dfsg/mono/mini/Makefile.am +--- mono-2.4+dfsg~/mono/mini/Makefile.am 2009-04-18 00:54:50.000000000 +0200 ++++ mono-2.4+dfsg/mono/mini/Makefile.am 2009-04-18 01:03:46.000000000 +0200 +@@ -83,7 +83,7 @@ + # We build this after libmono was built so it contains the date when the final + # link was done + buildver.h: libmono-static.la +- @echo "const char *build_date = \"`date`\";" > buildver.h ++ @echo "const char *build_date;" > buildver.h + + main.$(OBJEXT): buildver.h + +@@ -534,7 +534,7 @@ + echo "#define FULL_VERSION \"$$branch r$$version\""; \ + ); \ + else \ +- echo "#define FULL_VERSION \"tarball\""; \ ++ echo "#define FULL_VERSION \"Debian $$(dpkg-parsechangelog -l$(top_srcdir)/debian/changelog | grep ^Vers | cut -d\ -f2)\""; \ + fi > version.h + + # Utility target for patching libtool to speed up linking diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/patches/disable_building_convert.exe.dpatch /tmp/whXnmORr8x/mono-2.4+dfsg/debian/patches/disable_building_convert.exe.dpatch --- mono-2.4.0/debian/patches/disable_building_convert.exe.dpatch 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/patches/disable_building_convert.exe.dpatch 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,38 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## disable_building_convert.exe.dpatch by Mirco Bauer +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad mono-2.4+dfsg~/Makefile.am mono-2.4+dfsg/Makefile.am +--- mono-2.4+dfsg~/Makefile.am 2009-02-14 00:34:54.000000000 +0100 ++++ mono-2.4+dfsg/Makefile.am 2009-04-11 04:18:32.000000000 +0200 +@@ -1,7 +1,7 @@ + AUTOMAKE_OPTIONS = foreign + ACLOCAL_AMFLAGS = -I . + +-SUBDIRS = po $(libgc_dir) $(eglib_dir) mono $(ikvm_native_dir) support data runtime scripts man samples web msvc docs ++SUBDIRS = po $(libgc_dir) $(eglib_dir) mono $(ikvm_native_dir) support data runtime scripts man samples web msvc + + # Keep in sync with SUBDIRS + ## 'tools' is not normally built +diff -urNad mono-2.4+dfsg~/docs/Makefile.am mono-2.4+dfsg/docs/Makefile.am +--- mono-2.4+dfsg~/docs/Makefile.am 2009-02-14 00:32:42.000000000 +0100 ++++ mono-2.4+dfsg/docs/Makefile.am 2009-04-11 04:15:52.000000000 +0200 +@@ -97,14 +97,10 @@ + mono-file-formats.tree: docs.make Makefile.am $(srcdir)/deploy/.stamp + cd $(srcdir) && $(MAKE) -f docs.make topdir=$(mcs_topdir_from_srcdir) $@ + +-$(srcdir)/deploy/.stamp: convert.exe Makefile.am ++$(srcdir)/deploy/.stamp: Makefile.am + $(mkdir_p) $(srcdir)/html + runtimedir=`cd ../runtime && pwd`; export runtimedir; \ + cd $(srcdir) && MONO_PATH=$(mcs_topdir_from_srcdir)/class/lib/net_2_0 perl ./exdoc -h . ../mono/*/*.c + touch $@ + + extract: $(srcdir)/deploy/.stamp +- +-convert.exe: convert.cs AgilityPack.dll +- cd $(srcdir) && $(MAKE) -f docs.make topdir=$(mcs_topdir_from_srcdir) convert.exe +- diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/patches/disable_building_RabbitMQ.Client.dll.dpatch /tmp/whXnmORr8x/mono-2.4+dfsg/debian/patches/disable_building_RabbitMQ.Client.dll.dpatch --- mono-2.4.0/debian/patches/disable_building_RabbitMQ.Client.dll.dpatch 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/patches/disable_building_RabbitMQ.Client.dll.dpatch 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,21 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## disable_building_RabbitMQ.Client.dll.dpatch by Mirco Bauer +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad mono-2.4+dfsg~/mcs/class/Makefile mono-2.4+dfsg/mcs/class/Makefile +--- mono-2.4+dfsg~/mcs/class/Makefile 2009-02-14 00:56:37.000000000 +0100 ++++ mono-2.4+dfsg/mcs/class/Makefile 2009-05-08 23:56:11.000000000 +0200 +@@ -77,10 +77,8 @@ + Novell.Directory.Ldap \ + Mono.Security.Win32 \ + System.DirectoryServices \ +- RabbitMQ.Client \ + Mono.Messaging \ + System.Messaging \ +- Mono.Messaging.RabbitMQ \ + System.ServiceProcess \ + System.Drawing.Design \ + System.Design \ diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/patches/firebird-fbclient.dpatch /tmp/whXnmORr8x/mono-2.4+dfsg/debian/patches/firebird-fbclient.dpatch --- mono-2.4.0/debian/patches/firebird-fbclient.dpatch 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/patches/firebird-fbclient.dpatch 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,15 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run + +@DPATCH@ + +--- mono/mcs/class/FirebirdSql.Data.Firebird/Makefile.old 2007-02-26 23:06:40.510241854 +0100 ++++ mono/mcs/class/FirebirdSql.Data.Firebird/Makefile 2007-02-26 23:07:08.607843047 +0100 +@@ -8,7 +8,7 @@ + LIB_DEFINE_FLAGS = + + ifeq ($(PLATFORM), linux) +-LIB_DEFINE_FLAGS = /d:LINUX ++LIB_DEFINE_FLAGS = /d:LINUX /d:FBCLIENT + endif + + LIB_MCS_FLAGS = \ diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/patches/fix_BigInteger_overflow_CVE-2007-5197.dpatch /tmp/whXnmORr8x/mono-2.4+dfsg/debian/patches/fix_BigInteger_overflow_CVE-2007-5197.dpatch --- mono-2.4.0/debian/patches/fix_BigInteger_overflow_CVE-2007-5197.dpatch 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/patches/fix_BigInteger_overflow_CVE-2007-5197.dpatch 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,31 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## fix_BigInteger_overflow_CVE-2007-5197.dpatch by Mirco Bauer +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad mono-1.2.2.1~/mcs/class/Mono.Security/Mono.Math/BigInteger.cs mono-1.2.2.1/mcs/class/Mono.Security/Mono.Math/BigInteger.cs +--- mono-1.2.2.1~/mcs/class/Mono.Security/Mono.Math/BigInteger.cs 2006-04-14 19:51:24.000000000 +0200 ++++ mono-1.2.2.1/mcs/class/Mono.Security/Mono.Math/BigInteger.cs 2007-10-28 22:42:47.000000000 +0100 +@@ -1574,7 +1574,7 @@ + uint j = 1; + + // Multiply and add +- for (; j < m.length; j++) { ++ for (; j < m.length && j < A.length; j++) { + c += (ulong)u_i * (ulong)*(mP++) + *(aSP++); + *(aDP++) = (uint)c; + c >>= 32; +diff -urNad mono-1.2.2.1~/mcs/class/corlib/Mono.Math/BigInteger.cs mono-1.2.2.1/mcs/class/corlib/Mono.Math/BigInteger.cs +--- mono-1.2.2.1~/mcs/class/corlib/Mono.Math/BigInteger.cs 2006-04-14 19:50:35.000000000 +0200 ++++ mono-1.2.2.1/mcs/class/corlib/Mono.Math/BigInteger.cs 2007-10-28 22:42:15.000000000 +0100 +@@ -1574,7 +1574,7 @@ + uint j = 1; + + // Multiply and add +- for (; j < m.length; j++) { ++ for (; j < m.length && j < A.length; j++) { + c += (ulong)u_i * (ulong)*(mP++) + *(aSP++); + *(aDP++) = (uint)c; + c >>= 32; diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/patches/fix_csharplib_build.dpatch /tmp/whXnmORr8x/mono-2.4+dfsg/debian/patches/fix_csharplib_build.dpatch --- mono-2.4.0/debian/patches/fix_csharplib_build.dpatch 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/patches/fix_csharplib_build.dpatch 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,19 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## fix_csharplib_build.dpatch by Mirco Bauer +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad mono-2.4+dfsg~/mcs/tools/csharplib/Makefile mono-2.4+dfsg/mcs/tools/csharplib/Makefile +--- mono-2.4+dfsg~/mcs/tools/csharplib/Makefile 2009-02-14 00:36:12.000000000 +0100 ++++ mono-2.4+dfsg/mcs/tools/csharplib/Makefile 2009-05-21 04:26:27.000000000 +0200 +@@ -2,7 +2,7 @@ + SUBDIRS = + include ../../build/rules.make + +-LINKER = $(topdir)/class/lib/net_1_1/monolinker.exe ++LINKER = $(topdir)/class/lib/net_2_0/monolinker.exe + + LOCAL_MCS_FLAGS = -d:GMCS_SOURCE -d:NET_1_1 -d:NET_2_0 -r:System -r:System.Xml + diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/patches/fix_implicit_pointer_conversions.dpatch /tmp/whXnmORr8x/mono-2.4+dfsg/debian/patches/fix_implicit_pointer_conversions.dpatch --- mono-2.4.0/debian/patches/fix_implicit_pointer_conversions.dpatch 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/patches/fix_implicit_pointer_conversions.dpatch 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,18 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## fix_implicit_pointer_conversions.dpatch by Mirco Bauer +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad mono-1.2.6~/mono/metadata/security.c mono-1.2.6/mono/metadata/security.c +--- mono-1.2.6~/mono/metadata/security.c 2007-11-08 23:07:19.000000000 +0100 ++++ mono-1.2.6/mono/metadata/security.c 2007-12-24 15:54:02.000000000 +0100 +@@ -12,6 +12,7 @@ + #endif + + #include ++#include + #include + #include + #include diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/patches/fix_mdoc_build.dpatch /tmp/whXnmORr8x/mono-2.4+dfsg/debian/patches/fix_mdoc_build.dpatch --- mono-2.4.0/debian/patches/fix_mdoc_build.dpatch 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/patches/fix_mdoc_build.dpatch 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,19 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## fix_mdoc_build.dpatch by Mirco Bauer +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad mono-2.4+dfsg~/mcs/tools/mdoc/Makefile mono-2.4+dfsg/mcs/tools/mdoc/Makefile +--- mono-2.4+dfsg~/mcs/tools/mdoc/Makefile 2009-02-14 00:36:16.000000000 +0100 ++++ mono-2.4+dfsg/mcs/tools/mdoc/Makefile 2009-05-21 04:06:40.000000000 +0200 +@@ -11,7 +11,7 @@ + /resource:Resources/overview.xsl,overview.xsl \ + /resource:Resources/stylesheet.xsl,stylesheet.xsl \ + /r:$(topdir)/class/lib/net_1_1/monodoc.dll \ +- /r:$(topdir)/class/lib/net_1_1/Mono.Cecil.dll ++ /r:Mono.Cecil.dll + + MONODOC_RESOURCES = \ + ../monodoc/Resources/mdoc-html-utils.xsl \ diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/patches/fix_mono-api-info_build.dpatch /tmp/whXnmORr8x/mono-2.4+dfsg/debian/patches/fix_mono-api-info_build.dpatch --- mono-2.4.0/debian/patches/fix_mono-api-info_build.dpatch 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/patches/fix_mono-api-info_build.dpatch 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,19 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## fix_mono-api-info_build.dpatch by Mirco Bauer +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad mono-2.4+dfsg~/mcs/tools/corcompare/Makefile mono-2.4+dfsg/mcs/tools/corcompare/Makefile +--- mono-2.4+dfsg~/mcs/tools/corcompare/Makefile 2009-02-14 00:36:21.000000000 +0100 ++++ mono-2.4+dfsg/mcs/tools/corcompare/Makefile 2009-05-21 03:22:29.000000000 +0200 +@@ -4,7 +4,7 @@ + + ALL_PROGRAMS = mono-api-info.exe + +-CECIL = ../../class/lib/net_1_1/Mono.Cecil.dll ++CECIL = Mono.Cecil.dll + + COMMON_SOURCES = \ + AssemblyResolver.cs \ diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/patches/fix-mono-cairo.pc.in.dpatch /tmp/whXnmORr8x/mono-2.4+dfsg/debian/patches/fix-mono-cairo.pc.in.dpatch --- mono-2.4.0/debian/patches/fix-mono-cairo.pc.in.dpatch 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/patches/fix-mono-cairo.pc.in.dpatch 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,23 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## fix-mono-cairo.pc.in.dpatch by Mirco Bauer +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad mono-2.4+dfsg~/data/mono-cairo.pc.in mono-2.4+dfsg/data/mono-cairo.pc.in +--- mono-2.4+dfsg~/data/mono-cairo.pc.in 2009-05-13 01:15:53.000000000 +0200 ++++ mono-2.4+dfsg/data/mono-cairo.pc.in 2009-05-13 01:20:26.000000000 +0200 +@@ -1,9 +1,9 @@ +-prefix=${pcfiledir}/../.. +-exec_prefix=${pcfiledir}/../.. ++prefix=@prefix@ ++exec_prefix=${prefix} + libdir=${prefix}/@reloc_libdir@ + includedir=${prefix}/include + + Name: Mono.Cairo + Description: Cairo bindings for Mono + Version: @VERSION@ +-Libs: -r:${prefix}/lib/mono/1.0/Mono.Cairo.dll ++Libs: -r:${prefix}/lib/mono/2.0/Mono.Cairo.dll diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/patches/fix-mono.pc.in.dpatch /tmp/whXnmORr8x/mono-2.4+dfsg/debian/patches/fix-mono.pc.in.dpatch --- mono-2.4.0/debian/patches/fix-mono.pc.in.dpatch 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/patches/fix-mono.pc.in.dpatch 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,18 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## fix-mono.pc.in.dpatch by Mirco Bauer +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad mono-1.2.6~/data/mono.pc.in mono-1.2.6/data/mono.pc.in +--- mono-1.2.6~/data/mono.pc.in 2007-11-08 23:07:46.000000000 +0100 ++++ mono-1.2.6/data/mono.pc.in 2007-12-16 15:50:02.000000000 +0100 +@@ -1,5 +1,5 @@ +-prefix=${pcfiledir}/../.. +-exec_prefix=${pcfiledir}/../.. ++prefix=@prefix@ ++exec_prefix=${prefix} + libdir=${prefix}/@reloc_libdir@ + includedir=${prefix}/include/mono-@API_VER@ + sysconfdir=@sysconfdir@ diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/patches/fix_NetworkInterface_endless_loop.dpatch /tmp/whXnmORr8x/mono-2.4+dfsg/debian/patches/fix_NetworkInterface_endless_loop.dpatch --- mono-2.4.0/debian/patches/fix_NetworkInterface_endless_loop.dpatch 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/patches/fix_NetworkInterface_endless_loop.dpatch 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,18 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## fix_NetworkInterface_endless_loop.dpatch by Mirco Bauer +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad mono-2.4+dfsg~/mcs/class/System/System.Net.NetworkInformation/NetworkInterface.cs mono-2.4+dfsg/mcs/class/System/System.Net.NetworkInformation/NetworkInterface.cs +--- mono-2.4+dfsg~/mcs/class/System/System.Net.NetworkInformation/NetworkInterface.cs 2009-04-11 02:30:06.000000000 +0200 ++++ mono-2.4+dfsg/mcs/class/System/System.Net.NetworkInformation/NetworkInterface.cs 2009-04-11 02:37:01.000000000 +0200 +@@ -183,6 +183,7 @@ + if (((int)sockaddrll.sll_halen) > sockaddrll.sll_addr.Length){ + Console.Error.WriteLine ("Got a bad hardware address length for an AF_PACKET {0} {1}", + sockaddrll.sll_halen, sockaddrll.sll_addr.Length); ++ next = addr.ifa_next; + continue; + } + diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/patches/fix_null_funcptr_marshalling_r127347.dpatch /tmp/whXnmORr8x/mono-2.4+dfsg/debian/patches/fix_null_funcptr_marshalling_r127347.dpatch --- mono-2.4.0/debian/patches/fix_null_funcptr_marshalling_r127347.dpatch 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/patches/fix_null_funcptr_marshalling_r127347.dpatch 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,18 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run + +@DPATCH@ + +--- mono/mono/metadata/marshal.c 2009-02-18 23:10:16 UTC (rev 127346) ++++ mono/mono/metadata/marshal.c 2009-02-18 23:12:09 UTC (rev 127347) +@@ -383,6 +383,9 @@ + #endif + MonoDelegate *d; + ++ if (ftn == NULL) ++ return NULL; ++ + mono_marshal_lock (); + if (delegate_hash_table == NULL) + delegate_hash_table = delegate_hash_table_new (); + + diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/patches/fix_recursive_unmanaged_types.dpatch /tmp/whXnmORr8x/mono-2.4+dfsg/debian/patches/fix_recursive_unmanaged_types.dpatch --- mono-2.4.0/debian/patches/fix_recursive_unmanaged_types.dpatch 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/patches/fix_recursive_unmanaged_types.dpatch 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,52 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## fix_recursive_unmanaged_types.dpatch by Mirco Bauer +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Patch takes from upstream's SVN, revision 132861 +## DP: 2009-04-28 Marek Safar +## DP: A fix for bug #495112 +## DP: * class.cs (IsUnmanagedType): Handle recursive unmanaged types using +## DP: local cache. + +@DPATCH@ +diff -urNad mono-2.4+dfsg~/mcs/mcs/class.cs mono-2.4+dfsg/mcs/mcs/class.cs +--- mono-2.4+dfsg~/mcs/mcs/class.cs 2009-03-09 17:52:16.000000000 +0100 ++++ mono-2.4+dfsg/mcs/mcs/class.cs 2009-05-19 00:10:18.000000000 +0200 +@@ -2914,6 +2914,9 @@ + } + + public sealed class Struct : ClassOrStruct { ++ ++ bool is_unmanaged, has_unmanaged_check_done; ++ + // + // Modifiers allowed in a struct declaration + // +@@ -2973,6 +2976,11 @@ + if (requires_delayed_unmanagedtype_check) + return true; + ++ if (has_unmanaged_check_done) ++ return is_unmanaged; ++ ++ has_unmanaged_check_done = true; ++ + foreach (FieldBase f in fields) { + if ((f.ModFlags & Modifiers.STATIC) != 0) + continue; +@@ -2981,6 +2989,7 @@ + // struct S { S* s; } + Type mt = f.MemberType; + if (mt == null) { ++ has_unmanaged_check_done = false; + requires_delayed_unmanagedtype_check = true; + return true; + } +@@ -2997,6 +3006,7 @@ + return false; + } + ++ is_unmanaged = true; + return true; + } + diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/patches/fix_tuner_build.dpatch /tmp/whXnmORr8x/mono-2.4+dfsg/debian/patches/fix_tuner_build.dpatch --- mono-2.4.0/debian/patches/fix_tuner_build.dpatch 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/patches/fix_tuner_build.dpatch 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,19 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## fix_tuner_build.dpatch by Mirco Bauer +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad mono-2.4+dfsg~/mcs/tools/tuner/Makefile mono-2.4+dfsg/mcs/tools/tuner/Makefile +--- mono-2.4+dfsg~/mcs/tools/tuner/Makefile 2009-02-14 00:36:21.000000000 +0100 ++++ mono-2.4+dfsg/mcs/tools/tuner/Makefile 2009-05-21 04:28:34.000000000 +0200 +@@ -2,7 +2,7 @@ + SUBDIRS = + include ../../build/rules.make + +-LINKER = $(topdir)/class/lib/net_1_1/monolinker.exe ++LINKER = $(topdir)/class/lib/net_2_0/monolinker.exe + + LOCAL_MCS_FLAGS = -r:System.Xml.dll -r:$(LINKER) -r:Mono.Cecil.dll + diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/patches/kfreebsd_support.dpatch /tmp/whXnmORr8x/mono-2.4+dfsg/debian/patches/kfreebsd_support.dpatch --- mono-2.4.0/debian/patches/kfreebsd_support.dpatch 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/patches/kfreebsd_support.dpatch 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,204 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## +## +## All lines beginning with ## DP:' are a description of the patch. +## DP: kfreebsd support - mainly backport of gc 6.8 + +@DPATCH@ +diff -urNad mono-2.4+dfsg~/configure.in mono-2.4+dfsg/configure.in +--- mono-2.4+dfsg~/configure.in 2009-04-11 03:00:41.000000000 +0200 ++++ mono-2.4+dfsg/configure.in 2009-04-11 03:02:23.000000000 +0200 +@@ -98,6 +98,16 @@ + libgc_threads=pthreads + with_sigaltstack=no + ;; ++ *-*-kfreebsd*-gnu) ++ platform_win32=no ++ CPPFLAGS="$CPPFLAGS -DGC_FREEBSD_THREADS -D_GNU_SOURCE -D_REENTRANT -DUSE_MMAP -DUSE_MUNMAP -DTHREAD_LOCAL_ALLOC -pthread" ++ libmono_cflags="-D_REENTRANT -DTHREAD_LOCAL_ALLOC -pthread" ++ libmono_ldflags="-lpthread -pthread" ++ libdl="-ldl" ++ libgc_threads=pthreads ++ need_link_unlink=yes ++ with_sigaltstack=no ++ ;; + *-*-*freebsd*) + platform_win32=no + if test "x$PTHREAD_CFLAGS" = "x"; then +@@ -2011,6 +2021,11 @@ + LIBC="libc.so.12" + INTL="libintl.so.0" + ;; ++ *-*-kfreebsd*-gnu) ++ LIBC="libc.so.0.1" ++ INTL="libc.so.0.1" ++ X11="libX11.so.6" ++ ;; + *-*-*freebsd*) + LIBC="libc.so" + INTL="libintl.so" +diff -urNad mono-2.4+dfsg~/libgc/configure.in mono-2.4+dfsg/libgc/configure.in +--- mono-2.4+dfsg~/libgc/configure.in 2009-04-11 03:00:20.000000000 +0200 ++++ mono-2.4+dfsg/libgc/configure.in 2009-04-11 03:00:52.000000000 +0200 +@@ -112,6 +112,17 @@ + AC_DEFINE(THREAD_LOCAL_ALLOC) + THREADDLLIBS="-lpthread -lrt" + ;; ++ *-*-kfreebsd*-gnu) ++ AC_DEFINE(GC_FREEBSD_THREADS) ++ INCLUDES="$INCLUDES -pthread" ++ THREADDLLIBS=-pthread ++ AC_DEFINE(_REENTRANT) ++ if test "${enable_parallel_mark}" = yes; then ++ AC_DEFINE(PARALLEL_MARK) ++ fi ++ AC_DEFINE(THREAD_LOCAL_ALLOC) ++ AC_DEFINE(USE_COMPILER_TLS) ++ ;; + *-*-freebsd*) + AC_DEFINE(GC_FREEBSD_THREADS) + if test "x$PTHREAD_CFLAGS" != "x"; then +diff -urNad mono-2.4+dfsg~/libgc/dyn_load.c mono-2.4+dfsg/libgc/dyn_load.c +--- mono-2.4+dfsg~/libgc/dyn_load.c 2009-04-11 03:00:20.000000000 +0200 ++++ mono-2.4+dfsg/libgc/dyn_load.c 2009-04-11 03:00:52.000000000 +0200 +@@ -26,7 +26,7 @@ + * None of this is safe with dlclose and incremental collection. + * But then not much of anything is safe in the presence of dlclose. + */ +-#if defined(__linux__) && !defined(_GNU_SOURCE) ++#if (defined(__linux__) || defined(__GLIBC__)) && !defined(_GNU_SOURCE) + /* Can't test LINUX, since this must be define before other includes */ + # define _GNU_SOURCE + #endif +@@ -386,7 +386,7 @@ + /* For glibc 2.2.4+. Unfortunately, it doesn't work for older */ + /* versions. Thanks to Jakub Jelinek for most of the code. */ + +-# if defined(LINUX) /* Are others OK here, too? */ \ ++# if (defined(LINUX) || defined (__GLIBC__)) /* Are others OK here, too? */ \ + && (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2) \ + || (__GLIBC__ == 2 && __GLIBC_MINOR__ == 2 && defined(DT_CONFIG))) + +diff -urNad mono-2.4+dfsg~/libgc/include/gc.h mono-2.4+dfsg/libgc/include/gc.h +--- mono-2.4+dfsg~/libgc/include/gc.h 2009-04-11 03:00:20.000000000 +0200 ++++ mono-2.4+dfsg/libgc/include/gc.h 2009-04-11 03:00:52.000000000 +0200 +@@ -488,7 +488,7 @@ + # define GC_RETURN_ADDR (GC_word)__return_address + #endif + +-#ifdef __linux__ ++#if defined(__linux__) || defined(__GLIBC__) + # include + # if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1 || __GLIBC__ > 2) \ + && !defined(__ia64__) +diff -urNad mono-2.4+dfsg~/libgc/include/private/gcconfig.h mono-2.4+dfsg/libgc/include/private/gcconfig.h +--- mono-2.4+dfsg~/libgc/include/private/gcconfig.h 2009-04-11 03:00:20.000000000 +0200 ++++ mono-2.4+dfsg/libgc/include/private/gcconfig.h 2009-04-11 03:00:52.000000000 +0200 +@@ -55,7 +55,7 @@ + # endif + + /* And one for FreeBSD: */ +-# if defined(__FreeBSD__) && !defined(FREEBSD) ++# if (defined(__FreeBSD__) || defined(__FreeBSD_kernel__)) && !defined(FREEBSD) + # define FREEBSD + # endif + +@@ -1291,8 +1291,15 @@ + # ifndef GC_FREEBSD_THREADS + # define MPROTECT_VDB + # endif +-# define SIG_SUSPEND SIGTSTP +-# define SIG_THR_RESTART SIGCONT ++# ifdef __GLIBC__ ++# define SIG_SUSPEND (32+6) ++# define SIG_THR_RESTART (32+5) ++ extern int _end[]; ++# define DATAEND (_end) ++# else ++# define SIG_SUSPEND SIGTSTP ++# define SIG_THR_RESTART SIGCONT ++# endif + # define FREEBSD_STACKBOTTOM + # ifdef __ELF__ + # define DYNAMIC_LOADING +@@ -2032,6 +2039,28 @@ + extern char * GC_FreeBSDGetDataStart(); + # define DATASTART GC_FreeBSDGetDataStart(0x1000, &etext) + # endif ++# ifdef FREEBSD ++# define OS_TYPE "FREEBSD" ++# ifndef GC_FREEBSD_THREADS ++# define MPROTECT_VDB ++# endif ++# ifdef __GLIBC__ ++# define SIG_SUSPEND (32+6) ++# define SIG_THR_RESTART (32+5) ++ extern int _end[]; ++# define DATAEND (_end) ++# else ++# define SIG_SUSPEND SIGUSR1 ++# define SIG_THR_RESTART SIGUSR2 ++# endif ++# define FREEBSD_STACKBOTTOM ++# ifdef __ELF__ ++# define DYNAMIC_LOADING ++# endif ++ extern char etext[]; ++ extern char * GC_FreeBSDGetDataStart(); ++# define DATASTART GC_FreeBSDGetDataStart(0x1000, &etext) ++# endif + # ifdef NETBSD + # define OS_TYPE "NETBSD" + # ifdef __ELF__ +@@ -2103,7 +2132,7 @@ + # define SUNOS5SIGS + # endif + +-# if defined(FREEBSD) && (__FreeBSD__ >= 4) ++# if defined(FREEBSD) && ((__FreeBSD__ >= 4) || (__FreeBSD_kernel__ >= 4)) + # define SUNOS5SIGS + # endif + +@@ -2166,7 +2195,7 @@ + # define CACHE_LINE_SIZE 32 /* Wild guess */ + # endif + +-# ifdef LINUX ++# if defined(LINUX) || defined(__GLIBC__) + # define REGISTER_LIBRARIES_EARLY + /* We sometimes use dl_iterate_phdr, which may acquire an internal */ + /* lock. This isn't safe after the world has stopped. So we must */ +@@ -2247,7 +2276,7 @@ + #if defined(SPARC) + # define CAN_SAVE_CALL_ARGS + #endif +-#if (defined(I386) || defined(X86_64)) && defined(LINUX) ++#if (defined(I386) || defined(X86_64)) && (defined(LINUX) || defined(__GLIBC__)) + /* SAVE_CALL_CHAIN is supported if the code is compiled to save */ + /* frame pointers by default, i.e. no -fomit-frame-pointer flag. */ + # define CAN_SAVE_CALL_ARGS +diff -urNad mono-2.4+dfsg~/mono/mini/exceptions-amd64.c mono-2.4+dfsg/mono/mini/exceptions-amd64.c +--- mono-2.4+dfsg~/mono/mini/exceptions-amd64.c 2009-04-11 03:00:20.000000000 +0200 ++++ mono-2.4+dfsg/mono/mini/exceptions-amd64.c 2009-04-11 03:00:52.000000000 +0200 +@@ -740,7 +740,7 @@ + static inline guint64* + gregs_from_ucontext (ucontext_t *ctx) + { +-#ifdef __FreeBSD__ ++#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) + guint64 *gregs = (guint64 *) &ctx->uc_mcontext; + #else + guint64 *gregs = (guint64 *) &ctx->uc_mcontext.gregs; +diff -urNad mono-2.4+dfsg~/mono/mini/mini-amd64.h mono-2.4+dfsg/mono/mini/mini-amd64.h +--- mono-2.4+dfsg~/mono/mini/mini-amd64.h 2009-04-11 03:00:20.000000000 +0200 ++++ mono-2.4+dfsg/mono/mini/mini-amd64.h 2009-04-11 03:00:52.000000000 +0200 +@@ -245,8 +245,7 @@ + + #define MONO_ARCH_NOMAP32BIT + +-#elif defined (__FreeBSD__) +- ++#elif defined (__FreeBSD__) || defined(__FreeBSD_kernel__) + #define REG_RAX 7 + #define REG_RCX 4 + #define REG_RDX 3 diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/postinst-monoaot /tmp/whXnmORr8x/mono-2.4+dfsg/debian/postinst-monoaot --- mono-2.4.0/debian/postinst-monoaot 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/postinst-monoaot 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,4 @@ +if [ "$1" = "configure" ] +then + /usr/bin/mono --aot -O=all,shared #FILE# > /dev/null 2>&1 +fi diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/preinst.ubuntu /tmp/whXnmORr8x/mono-2.4+dfsg/debian/preinst.ubuntu --- mono-2.4.0/debian/preinst.ubuntu 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/preinst.ubuntu 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,6 @@ +# revert Ubuntu doc dir symlinking to Debian style +if [ "$1" = "upgrade" ] + then if dpkg --compare-versions $2 lt 2.4 && [ -L /usr/share/doc/#PACKAGENAME# ] + then rm -fr /usr/share/doc/#PACKAGENAME# + fi +fi diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/prerm-monoaot /tmp/whXnmORr8x/mono-2.4+dfsg/debian/prerm-monoaot --- mono-2.4.0/debian/prerm-monoaot 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/prerm-monoaot 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1 @@ +rm -f #FILE# diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/prj2make-sharp.install /tmp/whXnmORr8x/mono-2.4+dfsg/debian/prj2make-sharp.install --- mono-2.4.0/debian/prj2make-sharp.install 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/prj2make-sharp.install 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,2 @@ +debian/tmp/usr/bin/prj2make +debian/tmp/usr/lib/mono/1.0/prj2make.exe* diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/prj2make-sharp.manpages /tmp/whXnmORr8x/mono-2.4+dfsg/debian/prj2make-sharp.manpages --- mono-2.4.0/debian/prj2make-sharp.manpages 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/prj2make-sharp.manpages 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1 @@ +debian/tmp/usr/share/man/man1/prj2make.1 diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/README.Debian /tmp/whXnmORr8x/mono-2.4+dfsg/debian/README.Debian --- mono-2.4.0/debian/README.Debian 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/README.Debian 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,107 @@ +Mono for Debian +--------------- + +1. Documentation can be found in the separated monodoc packages. + +2. Supported Processor Architectures for Mono 1.1.x (current) + JIT: + Linux/x86 + Linux/AMD64 + Linux/PPC + Linux/S390 (not functional) + Linux/ARM + Solaris/SPARC + + Interpreter (deprecated/unmaintained): + - + + Supported Processor Architectures for Mono 1.0.x (old) + JIT: + Linux/x86 + Linux/PPC + MacOS/PPC + + Interpreter (deprecated/unmaintained): + Linux/x86 + Linux/PPC + HP-UX/HPPA + S390 + StrongARM + Solaris/SPARC + Solaris/SPARC v9 + +3. Typical problems: +3a. Purge your ~/.wapi directory if you see messages like: + + ** (/tmp/hello.exe:23770): WARNING **: Shared memory sanity check + failed. + + ** (/tmp/hello.exe:23770): WARNING **: Failed to attach shared memory! + Falling back to non-shared handles + + Reason: + 02:00:00 < totte> .wapi is the shared memory file folder used to handle process.start and someother functions for our IO lib +3b. Question: + Mono does not work for me (wrong version of mscorlib reported) or + monodevelop breaks on start (MonoDevelop.Core.dll has incorrect + version...) + Answer: + Most likely you have compiled some old Mono version before and have + a funny mixture of upstream and Debian files in different versions. + Make sure that /usr/local does not appear in the output of the + following commands and remove the particular files in /usr/local/...: + + which mono + which mint + ldd $(which mono) + ls /usr/local/lib/Mono*dll + ls /usr/local/lib/System*dll + ls /usr/local/lib/I18*dll + (and maybe most other dll files there) + +4. (for developers) + The main coordination site of the maintainers is on + http://pkg-mono.alioth.debian.org/, more details can be found there. + CLI Policy for packaging Mono libraries/applications can be found on + http://pkg-mono.alioth.debian.org/cli-policy/ + An offline version is in /usr/share/doc/cli-common/ of the the cli-common package. + +----------------------------------------------------------------------------- + +PS: Some comparisons (not real benchmarks!), testing different +invocation methods: + + The "native" method via exec, binfmt_misc, binfmpt-support (Perl + script), binfmt-detector-cli: + +time for x in `seq 1000` ; do ./hello.exe > /dev/null; done + +real 3m2.969s +user 2m8.060s +sys 0m14.540s + + The shell wrapper method using mono: + +time for x in `seq 1000` ; do ./hello.sh > /dev/null; done + +real 2m43.146s +user 1m45.990s +sys 0m11.140s + + Using "cli-wrapper" with a symlink: + +time for x in `seq 1000` ; do ./hello > /dev/null; done + +real 2m23.958s +user 1m32.720s +sys 0m9.640s + + The "interpreter" method using mono: + +time for x in `seq 1000` ; do /usr/bin/cli ./hello.exe > /dev/null; done + +real 2m23.699s +user 1m33.140s +sys 0m8.920s + + Eduard Bloch -- Sat, 19 Jun 2004 02:28:40 +0200 diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/README.source /tmp/whXnmORr8x/mono-2.4+dfsg/debian/README.source --- mono-2.4.0/debian/README.source 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/README.source 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,27 @@ +The upstream tarball for this application has been altered to remove +(unneeded) binary-only components. The list of files removed is as follows: + + docs/AgilityPack.dll + +Also the specification and auto-generated code of the RabbitMQ library found +in: mcs/class/RabbitMQ.Client/docs/specs/* had to be removed as those are +licensed under non-DFSG-free terms. Because of the removed files the RabbitMQ +library can no longer be build and had to be disabled in the build process. +The resulting binary packages are not containing RabbitMQ.Client.dll nor +Mono.Messaging.RabbitMQ.dll for that reason. + +To create your own copy of this modified tarball, use the "get-orig-source" +target of the debian/rules makefile. + +The compiler needs to bootstrap using the pre-build binary +mcs/class/lib/monolite/mcs.exe, which requires +mcs/class/lib/monolite/mscorlib.dll, +mcs/class/lib/monolite/System.dll and +mcs/class/lib/monolite/System.Xml.dll in order to operate. + +These binaries are used to compile the code in mcs/mcs/*, mcs/class/corlib/*, +mcs/class/System/* and mcs/class/System.XML/*, which in turn, produce their +own mcs.exe, mscorlib.dll, System.dll and System.Xml.dll. + +Only the resulting binaries are included in packages - not the versions +used for bootstrapping. diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/rules /tmp/whXnmORr8x/mono-2.4+dfsg/debian/rules --- mono-2.4.0/debian/rules 2009-05-31 08:36:14.000000000 +0100 +++ mono-2.4+dfsg/debian/rules 2009-05-31 08:36:21.000000000 +0100 @@ -1,125 +1,428 @@ #!/usr/bin/make -f -# -*- makefile -*- -# Sample debian/rules that uses debhelper. -# This file was originally written by Joey Hess and Craig Small. -# As a special exception, when this file is copied by dh-make into a -# dh-make output file, you may use that output file without restriction. -# This special exception was added by Craig Small in version 0.37 of dh-make. -# Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 +export MONO_SHARED_DIR=$(CURDIR) +# Assume Debian behaviour by default. +DISTRO = $(shell lsb_release -si) -# These are used for cross-compiling and for saving the configure script -# from having to guess our platform (since we know it already) -DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) -DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) -ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE)) -CROSS= --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE) +MAKEFILE = $(firstword $(MAKEFILE_LIST)) +DEBIAN_DIR = $(dir $(MAKEFILE)) +SOURCE_DIR = $(DEBIAN_DIR)/.. + +VERSION = $(shell dpkg-parsechangelog -l$(DEBIAN_DIR)/changelog | grep ^Vers | cut -d\ -f2) +UPVERSION = $(shell echo $(VERSION) | sed 's,-.*,,' | sed 's,+dfsg.*,,') +NEXT_UPVERSION = $(shell perl -e '$$_=pop; s/(\d+)$$/$$1+1/e; print' $(UPVERSION)) +DEB_SOURCE_NAME = $(shell dpkg-parsechangelog -l$(DEBIAN_DIR)/changelog | grep ^Source | cut -d" " -f2) + +RUN_MONO = LD_LIBRARY_PATH=debian/tmp/usr/lib MONO_PATH=debian/tmp/usr/lib/mono/2.0 debian/tmp/usr/bin/mono +DH_INTERNAL_MONO_PARAM = --internal-mono +ifeq ($(shell dpkg --compare-versions $$(dpkg-query -f '$${Version}' -W debhelper) lt 7.1; echo $$?), 0) + DH_INTERNAL_MONO_PARAM = internal-mono +endif + +DEB_BUILD_ARCH := $(shell dpkg-architecture -qDEB_BUILD_ARCH) +DEB_HOST_ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH) +DEB_BUILD_GNU_TYPE := $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) +DEB_HOST_GNU_TYPE := $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) + +ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE)) + CONF_FLAGS += --build $(DEB_HOST_GNU_TYPE) else -CROSS= --build $(DEB_BUILD_GNU_TYPE) + CONF_FLAGS += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE) endif -# This is required for running the installed Mono setup to build *.cs -# files during the package building process. -RUN_MONO = LD_LIBRARY_PATH=debian/mono/usr/lib MONO_PATH=debian/mono/usr/lib/mono/1.0:debian/mono/usr/lib/mono/2.0 debian/mono/usr/bin/mono +ifeq ($(DEB_BUILD_ARCH_OS), kfreebsd) + CONF_FLAGS += --enable-minimal=aot +endif -config.status: configure - dh_testdir - # Add here commands to configure the package. -ifneq "$(wildcard /usr/share/misc/config.sub)" "" - cp -f /usr/share/misc/config.sub config.sub +ifeq ($(DEB_BUILD_ARCH), i386) + CONF_FLAGS += --with-sigaltstack=yes +else ifeq ($(DEB_BUILD_ARCH), amd64) + CONF_FLAGS += --with-sigaltstack=yes +else + CONF_FLAGS += --with-sigaltstack=no endif -ifneq "$(wildcard /usr/share/misc/config.guess)" "" - cp -f /usr/share/misc/config.guess config.guess + +ifeq ($(DEB_BUILD_ARCH), arm) + CONF_FLAGS += --with-tls=pthread +else ifeq ($(DEB_BUILD_ARCH), armeb) + CONF_FLAGS += --with-tls=pthread +else ifeq ($(DEB_BUILD_ARCH), armel) + CONF_FLAGS += --with-tls=pthread --with-fpu=NONE +else + CONF_FLAGS += --with-tls=__thread endif - ./configure $(CROSS) --prefix=/usr --mandir=/usr/share/man \ - --infodir=/usr/share/info CFLAGS="$(CFLAGS)" \ - --enable-quiet-build=no -build: build-stamp +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 -g +else + CFLAGS += -O2 -g +endif + +CONFIGURE = CFLAGS="$(CFLAGS)" \ + ./configure $(CONF_FLAGS) --prefix=/usr \ + --mandir=\$${prefix}/share/man \ + --infodir=\$${prefix}/share/info --sysconfdir=/etc \ + --with-jit=yes --with-ikvm-native=no --with-preview=yes \ + --with-libgdiplus=installed --with-x=yes \ + --with-moonlight=no \ + --enable-quiet-build=no + +# Mono's build system doesn't like -j > 1 +MAKE_FLAGS += -j1 +export MAKEFLAGS=$(MAKE_FLAGS) + +ifeq ($(DEB_BUILD_ARCH), i386) +# MAKE_FLAGS += RUNTIME=$(CURDIR)/debian/mono-aot-wrapper +endif + +# Include dpatch stuff. +include /usr/share/dpatch/dpatch.make + +autoreconf: patch autoreconf-stamp +autoreconf-stamp: + autoreconf -f -i -s + touch $@ + +configure-arch: configure-arch-stamp +configure-arch-stamp: autoreconf + dh_testdir + $(CONFIGURE) --disable-mcs-build + touch $@ -build-stamp: config.status +configure-indep: patch configure-indep-stamp +configure-indep-stamp: autoreconf dh_testdir + $(CONFIGURE) + touch $@ - # Add here commands to compile the package. - $(MAKE) +build: build-arch +build-all: build-arch build-indep +build-arch: configure-arch build-arch-stamp +build-arch-stamp: + dh_testdir + LC_ALL=C $(MAKE) $(MAKE_FLAGS) EXTERNAL_MCS=false EXTERNAL_MONO=false + cd mcs/jay && \ + $(MAKE) cd debian/detector && \ $(MAKE) + #debian/mono-aot-bootstrap + touch $@ - #docbook-to-man debian/mono.sgml > mono.1 - +build-indep: configure-indep build-indep-stamp +build-indep-stamp: + dh_testdir + LC_ALL=C $(MAKE) $(MAKE_FLAGS) EXTERNAL_MCS=false EXTERNAL_MONO=false + chmod +x debian/dh_makeclilibs \ + debian/dh_clideps \ + debian/dh_clistrip \ + debian/dh_clifixperms \ + debian/dh_monoaot touch $@ -clean: +clean: clean-patched unpatch +clean-patched: + echo "distro is $(DISTRO)" dh_testdir dh_testroot - rm -f build-stamp - - # Add here commands to clean up after the build process. [ ! -f Makefile ] || $(MAKE) distclean - rm -f config.sub config.guess + # distclean misses stuff + find -name "*.mdb" -delete + # AOT stuff we created using mono-aot-wrapper/mono-aot-bootstrap + find mcs/class/lib -name "*.so" -delete + -cd debian/detector && $(MAKE) clean + rm -f debian/MonoGetAssemblyName.exe + rm -rf $(MONO_SHARED_DIR)/.wapi + + rm -f mcs/class/lib/default/mono-api-info.exe \ + mcs/class/lib/net_2_0/mono-api-info.exe \ + mcs/class/Managed.Windows.Forms/resources/*.resources \ + mcs/class/Mono.Data.Sqlite/resources/SR.resources \ + mcs/class/Novell.Directory.Ldap/Novell.Directory.Ldap.Utilclass/ResultCodeMessages.resources \ + mcs/class/System.Web/resources/TranslationResources.resources + + # clean stuff handled by autoreconf + rm -rf configure config.sub config.guess ltmain.sh aclocal.m4 autom4te.cache/ + find . -name "Makefile.in" -delete + + rm -f autoreconf-stamp + rm -f configure-*-stamp + rm -f build-*-stamp + rm -f install-*-stamp + + dh_clean - dh_clean +install: install-all +install-all: install-arch install-indep -install: build +install-arch: install-arch-stamp +install-arch-stamp: dh_testdir dh_testroot - dh_prep - dh_installdirs + #dh_clean -k -s + dh_installdirs -s + $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp + cd mcs/jay && \ + $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp prefix=/usr INSTALL=../../install-sh + touch install-arch-stamp - # Add here commands to install the package into debian/mono. - install -D -m 755 debian/mono.runtime-script debian/mono/usr/share/cli-common/runtimes.d/mono - $(MAKE) DESTDIR=$(CURDIR)/debian/mono install - - mkdir -p debian/mono/usr/share/mono - $(RUN_MONO) debian/mono/usr/lib/mono/1.0/mcs.exe /t:exe \ - /out:debian/mono/usr/share/mono/MonoGetAssemblyName.exe \ - debian/MonoGetAssemblyName.cs +install-indep: install-indep-stamp +install-indep-stamp: + dh_testdir + dh_testroot + #dh_clean -k -i + dh_installdirs -i + cd mcs && \ + $(MAKE) install NO_DIR_CHECK=1 DESTDIR=$(CURDIR)/debian/tmp PROFILE=net_1_1 && \ + $(MAKE) install NO_DIR_CHECK=1 DESTDIR=$(CURDIR)/debian/tmp PROFILE=net_2_0 && \ + $(MAKE) install NO_DIR_CHECK=1 DESTDIR=$(CURDIR)/debian/tmp PROFILE=net_3_5 + + # upstream forgot to remove this one + rm -f debian/tmp/usr/bin/mbas + # don't want docs of bundled libgc + rm -rf debian/tmp/usr/share/libgc-mono + # Mono.WebBrowser.dll is linked with CLI 2.0, thus the symlink in 1.0/ doesn't make sense + rm -f debian/tmp/usr/lib/mono/1.0/Mono.WebBrowser.dll + # Mono.Security.Win32.dll is only useful on windows, as it wrap the win api + rm -rf $(CURDIR)/debian/tmp/usr/lib/mono/gac/Mono.Security.Win32/1.0.5000.0__*/ \ + $(CURDIR)/debian/tmp/usr/lib/mono/gac/Mono.Security.Win32/2.0.0.0__*/ + rm -f $(CURDIR)/debian/tmp/usr/lib/mono/1.0/Mono.Security.Win32.dll \ + $(CURDIR)/debian/tmp/usr/lib/mono/2.0/Mono.Security.Win32.dll + # bug in Mono 2.4: if you meant on 2.4 that was a bug + rm -rf $(CURDIR)/debian/tmp/usr/lib/mono/gac/Mono.CompilerServices.SymbolWriter/2.0.5.0__*/ + # CLI 1.0 is only kept for compat, don't ship new 1.0 libs + rm -rf $(CURDIR)/debian/tmp/usr/lib/mono/gac/Mono.Messaging/1.0.5000.0__*/ + + # copy missing 2.0 manpages + cp $(CURDIR)/debian/tmp/usr/share/man/man1/al.1 \ + $(CURDIR)/debian/tmp/usr/share/man/man1/al2.1 + cp $(CURDIR)/debian/tmp/usr/share/man/man1/gacutil.1 \ + $(CURDIR)/debian/tmp/usr/share/man/man1/gacutil2.1 + cp $(CURDIR)/debian/tmp/usr/share/man/man1/mcs.1 \ + $(CURDIR)/debian/tmp/usr/share/man/man1/gmcs.1 + cp $(CURDIR)/debian/tmp/usr/share/man/man1/mcs.1 \ + $(CURDIR)/debian/tmp/usr/share/man/man1/gmcs2.1 + cp $(CURDIR)/debian/tmp/usr/share/man/man1/mcs.1 \ + $(CURDIR)/debian/tmp/usr/share/man/man1/smcs.1 + cp $(CURDIR)/debian/tmp/usr/share/man/man1/mono-service.1 \ + $(CURDIR)/debian/tmp/usr/share/man/man1/mono-service2.1 + cp $(CURDIR)/debian/tmp/usr/share/man/man1/mkbundle.1 \ + $(CURDIR)/debian/tmp/usr/share/man/man1/mkbundle2.1 + cp $(CURDIR)/debian/tmp/usr/share/man/man1/wsdl.1 \ + $(CURDIR)/debian/tmp/usr/share/man/man1/wsdl2.1 + cp $(CURDIR)/debian/tmp/usr/share/man/man1/monop.1 \ + $(CURDIR)/debian/tmp/usr/share/man/man1/monop2.1 + cp $(CURDIR)/debian/tmp/usr/share/man/man1/ilasm.1 \ + $(CURDIR)/debian/tmp/usr/share/man/man1/ilasm2.1 + cp $(CURDIR)/debian/tmp/usr/share/man/man1/resgen.1 \ + $(CURDIR)/debian/tmp/usr/share/man/man1/resgen2.1 + cp $(CURDIR)/debian/tmp/usr/share/man/man1/genxs.1 \ + $(CURDIR)/debian/tmp/usr/share/man/man1/genxs2.1 + cp $(CURDIR)/debian/tmp/usr/share/man/man1/xsd.1 \ + $(CURDIR)/debian/tmp/usr/share/man/man1/xsd2.1 + # copy missing 1.0 manpages + cp $(CURDIR)/debian/tmp/usr/share/man/man1/al.1 \ + $(CURDIR)/debian/tmp/usr/share/man/man1/al1.1 + cp $(CURDIR)/debian/tmp/usr/share/man/man1/gacutil.1 \ + $(CURDIR)/debian/tmp/usr/share/man/man1/gacutil1.1 + cp $(CURDIR)/debian/tmp/usr/share/man/man1/genxs.1 \ + $(CURDIR)/debian/tmp/usr/share/man/man1/genxs1.1 + cp $(CURDIR)/debian/tmp/usr/share/man/man1/ilasm.1 \ + $(CURDIR)/debian/tmp/usr/share/man/man1/ilasm1.1 + cp $(CURDIR)/debian/tmp/usr/share/man/man1/mcs.1 \ + $(CURDIR)/debian/tmp/usr/share/man/man1/mcs1.1 + cp $(CURDIR)/debian/tmp/usr/share/man/man1/mkbundle.1 \ + $(CURDIR)/debian/tmp/usr/share/man/man1/mkbundle1.1 + cp $(CURDIR)/debian/tmp/usr/share/man/man1/monop.1 \ + $(CURDIR)/debian/tmp/usr/share/man/man1/monop1.1 + cp $(CURDIR)/debian/tmp/usr/share/man/man1/resgen.1 \ + $(CURDIR)/debian/tmp/usr/share/man/man1/resgen1.1 + cp $(CURDIR)/debian/tmp/usr/share/man/man1/wsdl.1 \ + $(CURDIR)/debian/tmp/usr/share/man/man1/wsdl1.1 + cp $(CURDIR)/debian/tmp/usr/share/man/man1/xsd.1 \ + $(CURDIR)/debian/tmp/usr/share/man/man1/xsd1.1 + # copy missing default scripts + cp $(CURDIR)/debian/tmp/usr/bin/xsd \ + $(CURDIR)/debian/tmp/usr/bin/xsd1 + # copy missing 2.0 scripts + cp $(CURDIR)/debian/tmp/usr/bin/gmcs \ + $(CURDIR)/debian/tmp/usr/bin/gmcs2 + # gacutil should be 2.0 by default (like all other development tools) + mv $(CURDIR)/debian/tmp/usr/bin/gacutil \ + $(CURDIR)/debian/tmp/usr/bin/gacutil1 + cp $(CURDIR)/debian/tmp/usr/bin/gacutil2 \ + $(CURDIR)/debian/tmp/usr/bin/gacutil + + touch install-indep-stamp -# Build architecture-independent files here. -binary-indep: install -# We have nothing to do by default. +binary: binary-arch binary-indep -# Build architecture-dependent files here. -binary-arch: install +binary-indep: build-arch install-arch build-indep install-indep dh_testdir dh_testroot + # that exclude list are programs for arch-dep packages + dh_install -i -Xbin/monodis -Xbin/monograph -Xbin/mono-find-provides -Xbin/mono-find-requires -Xbin/pedump -Xbin/jay + + # Late GAC + install -D -m 755 debian/mono.runtime-script debian/mono-gac/usr/share/cli-common/runtimes.d/mono + + # Build the late-GAC tool, + # using the built Mono runtime from debian/tmp + # (thus the install-arch target dependency!) + mkdir -p debian/mono-gac/usr/share/mono + $(RUN_MONO) mcs/class/lib/net_2_0/gmcs.exe \ + -target:exe \ + -out:debian/mono-gac/usr/share/mono/MonoGetAssemblyName.exe \ + debian/MonoGetAssemblyName.cs + + install -m 644 debian/System.Data.dll.config debian/libmono-system-data1.0-cil/usr/lib/mono/gac/System.Data/1.0.*/ + install -m 644 debian/System.Data.dll.config debian/libmono-system-data2.0-cil/usr/lib/mono/gac/System.Data/2.0.*/ + install -m 644 debian/System.Drawing.dll.config debian/libmono-system1.0-cil/usr/lib/mono/gac/System.Drawing/1.0.*/ + install -m 644 debian/System.Drawing.dll.config debian/libmono-system2.0-cil/usr/lib/mono/gac/System.Drawing/2.0.*/ + install -m 644 debian/System.Windows.Forms.dll.config debian/libmono-winforms1.0-cil/usr/lib/mono/gac/System.Windows.Forms/1.0.*/ + install -m 644 debian/System.Windows.Forms.dll.config debian/libmono-winforms2.0-cil/usr/lib/mono/gac/System.Windows.Forms/2.0.*/ + install -m 644 debian/Mono.Cairo.dll.config debian/libmono-cairo1.0-cil/usr/lib/mono/gac/Mono.Cairo/1.0.*/ + install -m 644 debian/Mono.Cairo.dll.config debian/libmono-cairo2.0-cil/usr/lib/mono/gac/Mono.Cairo/2.0.*/ + install -m 644 debian/Mono.Data.SqliteClient.dll.config debian/libmono-sqlite1.0-cil/usr/lib/mono/gac/Mono.Data.SqliteClient/1.0.*/ + install -m 644 debian/Mono.Data.SqliteClient.dll.config debian/libmono-sqlite2.0-cil/usr/lib/mono/gac/Mono.Data.SqliteClient/2.0.*/ + install -m 644 debian/Mono.Data.Sqlite.dll.config debian/libmono-sqlite1.0-cil/usr/lib/mono/gac/Mono.Data.Sqlite/1.0.*/ + install -m 644 debian/Mono.Data.Sqlite.dll.config debian/libmono-sqlite2.0-cil/usr/lib/mono/gac/Mono.Data.Sqlite/2.0.*/ + install -m 644 debian/FirebirdSql.Data.Firebird.dll.config debian/libmono-firebirdsql1.7-cil/usr/lib/mono/gac/FirebirdSql.Data.Firebird/1.7.*/ + + dh_link -i + dh_installchangelogs -i -X ChangeLog + dh_installdocs -i + dh_installman -i + debian/dh_clistrip -i --dbg-package=mono-dbg + dh_compress -i + + # Hack workaround to allow Ubuntu to run its own preinst (e.g. to kill symlinked docdirs) + if [ "$(DISTRO)" = "Ubuntu" ]; then \ + for p in $$(dh_listpackages -i); do \ + sed "s/#PACKAGENAME#/$$p/g" $(CURDIR)/debian/preinst.ubuntu >> debian/$$p.preinst.debhelper; \ + done; \ + fi + + dh_fixperms -i + debian/dh_clifixperms -i + dh_installdeb -i + #DH_VERBOSE=1 DH_AUTOSCRIPTDIR=$(CURDIR)/debian debian/dh_monoaot -i + debian/dh_makeclilibs -i -m 1.0 $(DH_INTERNAL_MONO_PARAM) + debian/dh_makeclilibs -p libmono1.0-cil -m 2.0 $(DH_INTERNAL_MONO_PARAM) + debian/dh_makeclilibs -p libmono2.0-cil -m 2.0 $(DH_INTERNAL_MONO_PARAM) + debian/dh_makeclilibs -p libmono-cairo1.0-cil -m 2.4 $(DH_INTERNAL_MONO_PARAM) + debian/dh_makeclilibs -p libmono-cairo2.0-cil -m 2.4 $(DH_INTERNAL_MONO_PARAM) + debian/dh_makeclilibs -p libmono-corlib1.0-cil -m 1.2.2.1 $(DH_INTERNAL_MONO_PARAM) + debian/dh_makeclilibs -p libmono-corlib2.0-cil -m 1.2.2.1 $(DH_INTERNAL_MONO_PARAM) + debian/dh_makeclilibs -p libmono-data1.0-cil -m 2.4 $(DH_INTERNAL_MONO_PARAM) + debian/dh_makeclilibs -p libmono-data2.0-cil -m 2.4 $(DH_INTERNAL_MONO_PARAM) + debian/dh_makeclilibs -p libmono-data-tds1.0-cil -m 2.4 $(DH_INTERNAL_MONO_PARAM) + debian/dh_makeclilibs -p libmono-data-tds2.0-cil -m 2.4 $(DH_INTERNAL_MONO_PARAM) + debian/dh_makeclilibs -p libmono-ldap1.0-cil -m 1.2.6 $(DH_INTERNAL_MONO_PARAM) + debian/dh_makeclilibs -p libmono-ldap2.0-cil -m 1.2.6 $(DH_INTERNAL_MONO_PARAM) + debian/dh_makeclilibs -p libmono-microsoft-build2.0-cil -m 1.2.6 $(DH_INTERNAL_MONO_PARAM) + debian/dh_makeclilibs -p libmono-oracle2.0-cil -m 2.4 $(DH_INTERNAL_MONO_PARAM) + debian/dh_makeclilibs -p libmono-posix1.0-cil -m 2.4 $(DH_INTERNAL_MONO_PARAM) + debian/dh_makeclilibs -p libmono-posix2.0-cil -m 2.4 $(DH_INTERNAL_MONO_PARAM) + debian/dh_makeclilibs -p libmono-relaxng1.0-cil -m 2.4 $(DH_INTERNAL_MONO_PARAM) + debian/dh_makeclilibs -p libmono-relaxng2.0-cil -m 2.4 $(DH_INTERNAL_MONO_PARAM) + debian/dh_makeclilibs -p libmono-system1.0-cil -m 1.2.6 $(DH_INTERNAL_MONO_PARAM) + debian/dh_makeclilibs -p libmono-system2.0-cil -m 2.4 $(DH_INTERNAL_MONO_PARAM) + debian/dh_makeclilibs -p libmono-system-data1.0-cil -m 1.2.6 $(DH_INTERNAL_MONO_PARAM) + debian/dh_makeclilibs -p libmono-system-data2.0-cil -m 1.2.6 $(DH_INTERNAL_MONO_PARAM) + debian/dh_makeclilibs -p libmono-system-ldap2.0-cil -m 1.2.6 $(DH_INTERNAL_MONO_PARAM) + debian/dh_makeclilibs -p libmono-system-runtime2.0-cil -m 2.4 $(DH_INTERNAL_MONO_PARAM) + debian/dh_makeclilibs -p libmono-system-web2.0-cil -m 1.9.1 $(DH_INTERNAL_MONO_PARAM) + debian/dh_makeclilibs -p libmono-security1.0-cil -m 2.0 $(DH_INTERNAL_MONO_PARAM) + debian/dh_makeclilibs -p libmono-security2.0-cil -m 2.0 $(DH_INTERNAL_MONO_PARAM) + debian/dh_makeclilibs -p libmono-sqlite1.0-cil -m 1.2.6 $(DH_INTERNAL_MONO_PARAM) + debian/dh_makeclilibs -p libmono-sqlite2.0-cil -m 1.2.6 $(DH_INTERNAL_MONO_PARAM) + debian/dh_makeclilibs -p libmono-web1.0-cil -m 1.9 $(DH_INTERNAL_MONO_PARAM) + debian/dh_makeclilibs -p libmono-web2.0-cil -m 2.4 $(DH_INTERNAL_MONO_PARAM) + debian/dh_makeclilibs -p libmono-webbrowser0.5-cil -m 2.4 $(DH_INTERNAL_MONO_PARAM) + debian/dh_makeclilibs -p libmono-winforms1.0-cil -m 1.2.6 $(DH_INTERNAL_MONO_PARAM) + debian/dh_makeclilibs -p libmono-winforms2.0-cil -m 2.4 $(DH_INTERNAL_MONO_PARAM) + # preview APIs get tighter clilibs + debian/dh_makeclilibs -p libmono-system2.1-cil -m 2.0 $(DH_INTERNAL_MONO_PARAM) + debian/dh_clideps -i -l debian/tmp $(DH_INTERNAL_MONO_PARAM) + #DH_VERBOSE=1 debian/dh_clideps -i -l debian/tmp $(DH_INTERNAL_MONO_PARAM) + # mono-1.0/2.0-gac needs special runtime dep, to prevent circular dep (mono-runtime <-> mono-1.0/2.0-gac) + debian/dh_clideps -p mono-1.0-gac -r $(DH_INTERNAL_MONO_PARAM) + debian/dh_clideps -p mono-2.0-gac -r $(DH_INTERNAL_MONO_PARAM) + dh_gencontrol -i -- -Vmono:upversion=$(UPVERSION) -Vmono:next-upversion=$(NEXT_UPVERSION) + dh_md5sums -i + dh_builddeb -i + +binary-arch: build-arch install-arch + dh_testdir + dh_testroot + cd debian/detector && \ - install -D -m 755 binfmt-detector-cli $(CURDIR)/debian/mono/usr/lib/cli/binfmt-detector-cli - install -D -m 755 debian/cli-wrapper debian/mono/usr/bin/cli-wrapper - ls -l debian/ + install -D -m 755 binfmt-detector-cli $(CURDIR)/debian/mono-runtime/usr/lib/cli/binfmt-detector-cli install -D -m 644 -o root -g root debian/cli.binfmt \ - debian/mono/usr/share/binfmts/cli + debian/mono-runtime/usr/share/binfmts/cli - dh_installchangelogs ChangeLog - dh_installdocs - dh_installexamples -# dh_install -# dh_installmenu -# dh_installdebconf -# dh_installlogrotate -# dh_installemacsen -# dh_installpam -# dh_installmime -# dh_python -# dh_installinit -# dh_installcron -# dh_installinfo - dh_installman - dh_link - dh_strip - dh_compress - dh_fixperms -# dh_perl - dh_makeshlibs - dh_installdeb - dh_shlibdeps - dh_gencontrol - dh_md5sums - dh_builddeb + dh_install -s + dh_link -s + dh_installchangelogs -s -X ChangeLog + dh_installchangelogs -pmono-runtime + dh_installchangelogs -pmono-jay $(CURDIR)/mcs/jay/ChangeLog + dh_installdocs -s + dh_installman -s + dh_installexamples -s + dh_installexamples -pmono-jay $(CURDIR)/mcs/jay/skeleton.cs + dh_strip -pmono-runtime --dbg-package=mono-runtime-dbg + dh_strip -plibmono0 --dbg-package=libmono0-dbg + dh_strip -s + dh_compress -s -Xskeleton.cs + + # Hack workaround to allow Ubuntu to run its own preinst (e.g. to kill symlinked docdirs) + if [ "$(DISTRO)" = "Ubuntu" ]; then \ + for p in $$(dh_listpackages -a); do \ + sed "s/#PACKAGENAME#/$$p/g" $(CURDIR)/debian/preinst.ubuntu >> debian/$$p.preinst.debhelper; \ + done; \ + fi + + dh_fixperms -s + dh_makeshlibs -plibmono0 -V 'libmono0 (>= $(UPVERSION))' + dh_installdeb -s + dh_shlibdeps -s -Xlibmono-profiler-cov -ldebian/libmono0/usr/lib + dh_gencontrol -s -- -Vmono:upversion=$(UPVERSION) -Vmono:next-upversion=$(NEXT_UPVERSION) + dh_md5sums -s + dh_builddeb -s + +get-orig-source: TARBALL_DIR = $(DEB_SOURCE_NAME)-$(UPVERSION) +get-orig-source: + uscan \ + --package $(DEB_SOURCE_NAME) \ + --watchfile $(DEBIAN_DIR)/watch \ + --upstream-version $(UPVERSION) \ + --download-version $(UPVERSION) \ + --destdir . \ + --force-download \ + --rename \ + --repack + if [ -d $(TARBALL_DIR) ]; then \ + echo "$(TARBALL_DIR) is in the way, bailing out!"; \ + exit 1; \ + fi + if [ -d $(TARBALL_DIR)+dfsg ]; then \ + echo "$(TARBALL_DIR)+dfsg is in the way, bailing out!"; \ + exit 1; \ + fi + tar -xzf $(DEB_SOURCE_NAME)_$(UPVERSION).orig.tar.gz + rm $(DEB_SOURCE_NAME)_$(UPVERSION).orig.tar.gz + rm -rf $(TARBALL_DIR)/mcs/class/RabbitMQ.Client/docs/specs/ + find $(TARBALL_DIR) -name "*.dll" -not -path "$(TARBALL_DIR)/mcs/class/lib/monolite/*" + find $(TARBALL_DIR) -name "*.dll" -not -path "$(TARBALL_DIR)/mcs/class/lib/monolite/*" -delete + find $(TARBALL_DIR) -name "*.exe" -not -path "$(TARBALL_DIR)/mcs/class/lib/monolite/*" + find $(TARBALL_DIR) -name "*.exe" -not -path "$(TARBALL_DIR)/mcs/class/lib/monolite/*" -delete + mv $(TARBALL_DIR) $(TARBALL_DIR)+dfsg + tar -czf $(DEB_SOURCE_NAME)_$(UPVERSION)+dfsg.orig.tar.gz $(TARBALL_DIR)+dfsg + rm -r $(TARBALL_DIR)+dfsg -binary: binary-indep binary-arch -.PHONY: build clean binary-indep binary-arch binary install +.PHONY: autoreconf configure-arch configure-indep clean clean-patched build build-all build-arch build-indep binary-indep binary-arch install install-all install-arch install-indep binary binary-arch binary-indep patch unpatch get-orig-source +.NOTPARALLEL: diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/shlibs.local /tmp/whXnmORr8x/mono-2.4+dfsg/debian/shlibs.local --- mono-2.4.0/debian/shlibs.local 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/shlibs.local 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,15 @@ +libMonoPosixHelper 0 mono-runtime (>= 2.4) +libMonoSupportW 0 mono-runtime (>= 2.4) +libgdiplus 0 libgdiplus (>= 2.4) +libgluezilla 0 libgluezilla (>= 2.4) +libcairo 2 libcairo2 (>= 1.8.0-2) +libfbclient 2 libfbclient2 (>= 2.1.2) +libsqlite 0 libsqlite0 (>= 2.8.17) +libsqlite3 0 libsqlite3-0 (>= 3.6.13) +libasound 2 libasound2 (>> 1.0.18) +libgda-2 3 libgda2-3 +libgamin-1 0 libgamin0 +libcups 2 libcups2 (>= 1.3.8) +librsvg-2 2 librsvg2-2 (>= 2.22.3) +libgtk-x11-2.0 0 libgtk2.0-0 (>= 2.16.0) +libgnomeui-2 0 libgnomeui-0 (>= 2.22.0) diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/System.Data.dll.config /tmp/whXnmORr8x/mono-2.4+dfsg/debian/System.Data.dll.config --- mono-2.4.0/debian/System.Data.dll.config 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/System.Data.dll.config 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,4 @@ + + + + diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/System.Drawing.dll.config /tmp/whXnmORr8x/mono-2.4+dfsg/debian/System.Drawing.dll.config --- mono-2.4.0/debian/System.Drawing.dll.config 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/System.Drawing.dll.config 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,5 @@ + + + + + diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/System.Windows.Forms.dll.config /tmp/whXnmORr8x/mono-2.4+dfsg/debian/System.Windows.Forms.dll.config --- mono-2.4.0/debian/System.Windows.Forms.dll.config 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/System.Windows.Forms.dll.config 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,11 @@ + + + + + + + + + + + diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/update-shlibs.local.sh /tmp/whXnmORr8x/mono-2.4+dfsg/debian/update-shlibs.local.sh --- mono-2.4.0/debian/update-shlibs.local.sh 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/update-shlibs.local.sh 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,50 @@ +#!/bin/sh -e + +VERSION=$(dpkg-parsechangelog | grep ^Vers | cut -d\ -f2) +UPVERSION=$(echo $VERSION | sed 's,-.*,,' | sed 's,+dfsg,,') +MAJOR_MINOR_UPVERSION=$(perl -e '$_=pop; print m/^(\d+\.\d+)/g;' $UPVERSION) + +dpkg-checkbuilddeps -d "\ + libcairo2-dev, \ + firebird2.0-dev, \ + libsqlite0-dev, \ + libsqlite3-dev, \ + libasound2-dev, \ + libgda2-dev, \ + libgamin-dev, \ + libcups2-dev, \ + librsvg2-dev, \ + libgtk2.0-dev, \ + libgnomeui-dev +" + +echo -n "Updating shlibs.local for Mono $UPVERSION..." + +cp debian/shlibs.local debian/shlibs.local.backup +rm -f debian/shlibs.local.new + +# libs that don't ship shlibs +echo "libMonoPosixHelper 0 mono-runtime (>= $MAJOR_MINOR_UPVERSION)" >> debian/shlibs.local.new +echo "libMonoSupportW 0 mono-runtime (>= $MAJOR_MINOR_UPVERSION)" >> debian/shlibs.local.new +echo "libgdiplus 0 libgdiplus (>= $MAJOR_MINOR_UPVERSION)" >> debian/shlibs.local.new +echo "libgluezilla 0 libgluezilla (>= $MAJOR_MINOR_UPVERSION)" >> debian/shlibs.local.new + +for SONAME in \ + "^libcairo 2" \ + "^libfbclient 2" \ + "^libsqlite 0" \ + "^libsqlite3 0" \ + "^libasound 2" \ + "^libgda-2 3" \ + "^libgamin-1 0" \ + "^libcups 2" \ + "^librsvg-2 2" \ + "^libgtk-x11-2.0 0" \ + "^libgnomeui-2 0" \ + ; do + grep --no-filename "$SONAME" /var/lib/dpkg/info/*.shlibs >> debian/shlibs.local.new || echo "ERROR: could not resolve $SONAME" +done + +cp debian/shlibs.local.new debian/shlibs.local + +echo "done." diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/debian/watch /tmp/whXnmORr8x/mono-2.4+dfsg/debian/watch --- mono-2.4.0/debian/watch 1970-01-01 01:00:00.000000000 +0100 +++ mono-2.4+dfsg/debian/watch 2009-05-31 08:36:21.000000000 +0100 @@ -0,0 +1,3 @@ +version=2 +opts=dversionmangle=s/\+dfsg// \ + http://go-mono.com/sources-stable/ .+/mono-([\d\.]+)\.tar\.bz2 Binary files /tmp/aeIREhC8RL/mono-2.4.0/docs/AgilityPack.dll and /tmp/whXnmORr8x/mono-2.4+dfsg/docs/AgilityPack.dll differ diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/mcs/class/RabbitMQ.Client/docs/specs/amqp0-8.xml /tmp/whXnmORr8x/mono-2.4+dfsg/mcs/class/RabbitMQ.Client/docs/specs/amqp0-8.xml --- mono-2.4.0/mcs/class/RabbitMQ.Client/docs/specs/amqp0-8.xml 2009-02-13 23:49:40.000000000 +0000 +++ mono-2.4+dfsg/mcs/class/RabbitMQ.Client/docs/specs/amqp0-8.xml 1970-01-01 01:00:00.000000000 +0100 @@ -1,3908 +0,0 @@ - - - - - - AMQ Protocol 0.80 - - - - - - - - - - - - - Indicates that the method completed successfully. This reply code is - reserved for future use - the current protocol design does not use - positive confirmation and reply codes are sent only in case of an - error. - - - The client asked for a specific message that is no longer available. - The message was delivered to another client, or was purged from the - queue for some other reason. - - - The client attempted to transfer content larger than the server - could accept at the present time. The client may retry at a later - time. - - - An operator intervened to close the connection for some reason. - The client may retry at some later date. - - - The client tried to work with an unknown virtual host or cluster. - - - The client attempted to work with a server entity to which it has - no due to security settings. - - - The client attempted to work with a server entity that does not exist. - - - The client attempted to work with a server entity to which it has - no access because another client is working with it. - - - The client sent a malformed frame that the server could not decode. - This strongly implies a programming error in the client. - - - The client sent a frame that contained illegal values for one or more - fields. This strongly implies a programming error in the client. - - - The client sent an invalid sequence of frames, attempting to perform - an operation that was considered invalid by the server. This usually - implies a programming error in the client. - - - The client attempted to work with a channel that had not been - correctly opened. This most likely indicates a fault in the client - layer. - - - The server could not complete the method because it lacked sufficient - resources. This may be due to the client creating too many of some - type of entity. - - - The client tried to work with some entity in a manner that is - prohibited by the server, due to security settings or by some other - criteria. - - - The client tried to use functionality that is not implemented in the - server. - - - The server could not complete the method because of an internal error. - The server may require intervention by an operator in order to resume - normal operations. - - - - access ticket granted by server - - An access ticket granted by the server for a certain set of access - rights within a specific realm. Access tickets are valid within the - channel where they were created, and expire when the channel closes. - - - - - - consumer tag - - Identifier for the consumer, valid within the current connection. - - - The consumer tag is valid only within the channel from which the - consumer was created. I.e. a client MUST NOT create a consumer in - one channel and then use it in another. - - - - server-assigned delivery tag - - The server-assigned and channel-specific delivery tag - - - The delivery tag is valid only within the channel from which the - message was received. I.e. a client MUST NOT receive a message on - one channel and then acknowledge it on another. - - - The server MUST NOT use a zero value for delivery tags. Zero is - reserved for client use, meaning "all messages so far received". - - - - exchange name - - The exchange name is a client-selected string that identifies - the exchange for publish methods. Exchange names may consist - of any mixture of digits, letters, and underscores. Exchange - names are scoped by the virtual host. - - - - -list of known hosts - -Specifies the list of equivalent or alternative hosts that the server -knows about, which will normally include the current server itself. -Clients can cache this information and use it when reconnecting to a -server after a failure. - - -The server MAY leave this field empty if it knows of no other -hosts than itself. - - - - - no acknowledgement needed - - If this field is set the server does not expect acknowledgments - for messages. That is, when a message is delivered to the client - the server automatically and silently acknowledges it on behalf - of the client. This functionality increases performance but at - the cost of reliability. Messages can get lost if a client dies - before it can deliver them to the application. - - - - do not deliver own messages - - If the no-local field is set the server will not send messages to - the client that published them. - - - - - Must start with a slash "/" and continue with path names - separated by slashes. A path name consists of any combination - of at least one of [A-Za-z0-9] plus zero or more of [.-_+!=:]. - - - - - - - -This string provides a set of peer properties, used for -identification, debugging, and general information. - - -The properties SHOULD contain these fields: -"product", giving the name of the peer product, "version", giving -the name of the peer version, "platform", giving the name of the -operating system, "copyright", if appropriate, and "information", -giving other general information. - - - - queue name - - The queue name identifies the queue within the vhost. Queue - names may consist of any mixture of digits, letters, and - underscores. - - - - - message is being redelivered - - This indicates that the message has been previously delivered to - this or another client. - - - The server SHOULD try to signal redelivered messages when it can. - When redelivering a message that was not successfully acknowledged, - the server SHOULD deliver it to the original client if possible. - - - The client MUST NOT rely on the redelivered field but MUST take it - as a hint that the message may already have been processed. A - fully robust client must be able to track duplicate received messages - on non-transacted, and locally-transacted channels. - - - -reply code from server - - The reply code. The AMQ reply codes are defined in AMQ RFC 011. - - - - -localised reply text - - The localised reply text. This text can be logged as an aid to - resolving issues. - - - - - - work with socket connections - - The connection class provides methods for a client to establish a - network connection to a server, and for both peers to operate the - connection thereafter. - - - connection = open-connection *use-connection close-connection - open-connection = C:protocol-header - S:START C:START-OK - *challenge - S:TUNE C:TUNE-OK - C:OPEN S:OPEN-OK | S:REDIRECT - challenge = S:SECURE C:SECURE-OK - use-connection = *channel - close-connection = C:CLOSE S:CLOSE-OK - / S:CLOSE C:CLOSE-OK - - - - - - start connection negotiation - - This method starts the connection negotiation process by telling - the client the protocol version that the server proposes, along - with a list of security mechanisms which the client can use for - authentication. - - - If the client cannot handle the protocol version suggested by the - server it MUST close the socket connection. - - - The server MUST provide a protocol version that is lower than or - equal to that requested by the client in the protocol header. If - the server cannot support the specified protocol it MUST NOT send - this method, but MUST close the socket connection. - - - - - protocol major version - - The protocol major version that the server agrees to use, which - cannot be higher than the client's major version. - - - - protocol major version - - The protocol minor version that the server agrees to use, which - cannot be higher than the client's minor version. - - - - server properties - - - available security mechanisms - - A list of the security mechanisms that the server supports, delimited - by spaces. Currently ASL supports these mechanisms: PLAIN. - - - - - - available message locales - - A list of the message locales that the server supports, delimited - by spaces. The locale defines the language in which the server - will send reply texts. - - - All servers MUST support at least the en_US locale. - - - - - - select security mechanism and locale - - This method selects a SASL security mechanism. ASL uses SASL - (RFC2222) to negotiate authentication and encryption. - - - - client properties - - - selected security mechanism - - A single security mechanisms selected by the client, which must be - one of those specified by the server. - - - The client SHOULD authenticate using the highest-level security - profile it can handle from the list provided by the server. - - - The mechanism field MUST contain one of the security mechanisms - proposed by the server in the Start method. If it doesn't, the - server MUST close the socket. - - - - - security response data - - A block of opaque data passed to the security mechanism. The contents - of this data are defined by the SASL security mechanism. For the - PLAIN security mechanism this is defined as a field table holding - two fields, LOGIN and PASSWORD. - - - - - selected message locale - - A single message local selected by the client, which must be one - of those specified by the server. - - - - - - - security mechanism challenge - - The SASL protocol works by exchanging challenges and responses until - both peers have received sufficient information to authenticate each - other. This method challenges the client to provide more information. - - - - - security challenge data - - Challenge information, a block of opaque binary data passed to - the security mechanism. - - - - - - security mechanism response - - This method attempts to authenticate, passing a block of SASL data - for the security mechanism at the server side. - - - - security response data - - A block of opaque data passed to the security mechanism. The contents - of this data are defined by the SASL security mechanism. - - - - - - - propose connection tuning parameters - - This method proposes a set of connection configuration values - to the client. The client can accept and/or adjust these. - - - - - proposed maximum channels - - The maximum total number of channels that the server allows - per connection. Zero means that the server does not impose a - fixed limit, but the number of allowed channels may be limited - by available server resources. - - - - proposed maximum frame size - - The largest frame size that the server proposes for the - connection. The client can negotiate a lower value. Zero means - that the server does not impose any specific limit but may reject - very large frames if it cannot allocate resources for them. - - - Until the frame-max has been negotiated, both peers MUST accept - frames of up to 4096 octets large. The minimum non-zero value for - the frame-max field is 4096. - - - - desired heartbeat delay - - The delay, in seconds, of the connection heartbeat that the server - wants. Zero means the server does not want a heartbeat. - - - - - negotiate connection tuning parameters - - This method sends the client's connection tuning parameters to the - server. Certain fields are negotiated, others provide capability - information. - - - - negotiated maximum channels - - The maximum total number of channels that the client will use - per connection. May not be higher than the value specified by - the server. - - - The server MAY ignore the channel-max value or MAY use it for - tuning its resource allocation. - - - - - - negotiated maximum frame size - - The largest frame size that the client and server will use for - the connection. Zero means that the client does not impose any - specific limit but may reject very large frames if it cannot - allocate resources for them. Note that the frame-max limit - applies principally to content frames, where large contents - can be broken into frames of arbitrary size. - - - Until the frame-max has been negotiated, both peers must accept - frames of up to 4096 octets large. The minimum non-zero value for - the frame-max field is 4096. - - - - desired heartbeat delay - - The delay, in seconds, of the connection heartbeat that the client - wants. Zero means the client does not want a heartbeat. - - - - - - open connection to virtual host - - This method opens a connection to a virtual host, which is a - collection of resources, and acts to separate multiple application - domains within a server. - - - The client MUST open the context before doing any work on the - connection. - - - - - - virtual host name - - - The name of the virtual host to work with. - - - If the server supports multiple virtual hosts, it MUST enforce a - full separation of exchanges, queues, and all associated entities - per virtual host. An application, connected to a specific virtual - host, MUST NOT be able to access resources of another virtual host. - - - The server SHOULD verify that the client has permission to access - the specified virtual host. - - - The server MAY configure arbitrary limits per virtual host, such - as the number of each type of entity that may be used, per - connection and/or in total. - - - - required capabilities - - The client may specify a number of capability names, delimited by - spaces. The server can use this string to how to process the - client's connection request. - - - - insist on connecting to server - - In a configuration with multiple load-sharing servers, the server - may respond to a Connection.Open method with a Connection.Redirect. - The insist option tells the server that the client is insisting on - a connection to the specified server. - - - When the client uses the insist option, the server SHOULD accept - the client connection unless it is technically unable to do so. - - - - - signal that the connection is ready - - This method signals to the client that the connection is ready for - use. - - - - - - asks the client to use a different server - - This method redirects the client to another server, based on the - requested virtual host and/or capabilities. - - - When getting the Connection.Redirect method, the client SHOULD - reconnect to the host specified, and if that host is not present, - to any of the hosts specified in the known-hosts list. - - - - server to connect to - - Specifies the server to connect to. This is an IP address or a - DNS name, optionally followed by a colon and a port number. If - no port number is specified, the client should use the default - port number for the protocol. - - - - - - - - request a connection close - - This method indicates that the sender wants to close the connection. - This may be due to internal conditions (e.g. a forced shut-down) or - due to an error handling a specific method, i.e. an exception. When - a close is due to an exception, the sender provides the class and - method id of the method which caused the exception. - - - After sending this method any received method except the Close-OK - method MUST be discarded. - - - The peer sending this method MAY use a counter or timeout to - detect failure of the other peer to respond correctly with - the Close-OK method. - - - When a server receives the Close method from a client it MUST - delete all server-side resources associated with the client's - context. A client CANNOT reconnect to a context after sending - or receiving a Close method. - - - - - - - - failing method class - - When the close is provoked by a method exception, this is the - class of the method. - - - - failing method ID - - When the close is provoked by a method exception, this is the - ID of the method. - - - - - confirm a connection close - - This method confirms a Connection.Close method and tells the - recipient that it is safe to release resources for the connection - and close the socket. - - - A peer that detects a socket closure without having received a - Close-Ok handshake method SHOULD log the error. - - - - - - - - work with channels - - The channel class provides methods for a client to establish a virtual - connection - a channel - to a server and for both peers to operate the - virtual connection thereafter. - - - channel = open-channel *use-channel close-channel - open-channel = C:OPEN S:OPEN-OK - use-channel = C:FLOW S:FLOW-OK - / S:FLOW C:FLOW-OK - / S:ALERT - / functional-class - close-channel = C:CLOSE S:CLOSE-OK - / S:CLOSE C:CLOSE-OK - - - - - - open a channel for use - - This method opens a virtual connection (a channel). - - - This method MUST NOT be called when the channel is already open. - - - - - out-of-band settings - - Configures out-of-band transfers on this channel. The syntax and - meaning of this field will be formally defined at a later date. - - - - - - signal that the channel is ready - - This method signals to the client that the channel is ready for use. - - - - - - enable/disable flow from peer - - This method asks the peer to pause or restart the flow of content - data. This is a simple flow-control mechanism that a peer can use - to avoid oveflowing its queues or otherwise finding itself receiving - more messages than it can process. Note that this method is not - intended for window control. The peer that receives a request to - stop sending content should finish sending the current content, if - any, and then wait until it receives a Flow restart method. - - - When a new channel is opened, it is active. Some applications - assume that channels are inactive until started. To emulate this - behaviour a client MAY open the channel, then pause it. - - - When sending content data in multiple frames, a peer SHOULD monitor - the channel for incoming methods and respond to a Channel.Flow as - rapidly as possible. - - - A peer MAY use the Channel.Flow method to throttle incoming content - data for internal reasons, for example, when exchangeing data over a - slower connection. - - - The peer that requests a Channel.Flow method MAY disconnect and/or - ban a peer that does not respect the request. - - - - - - start/stop content frames - - If 1, the peer starts sending content frames. If 0, the peer - stops sending content frames. - - - - - confirm a flow method - - Confirms to the peer that a flow command was received and processed. - - - - - current flow setting - - Confirms the setting of the processed flow method: 1 means the - peer will start sending or continue to send content frames; 0 - means it will not. - - - - - - send a non-fatal warning message - - This method allows the server to send a non-fatal warning to the - client. This is used for methods that are normally asynchronous - and thus do not have confirmations, and for which the server may - detect errors that need to be reported. Fatal errors are handled - as channel or connection exceptions; non-fatal errors are sent - through this method. - - - - - - detailed information for warning - - A set of fields that provide more information about the - problem. The meaning of these fields are defined on a - per-reply-code basis (TO BE DEFINED). - - - - - - request a channel close - - This method indicates that the sender wants to close the channel. - This may be due to internal conditions (e.g. a forced shut-down) or - due to an error handling a specific method, i.e. an exception. When - a close is due to an exception, the sender provides the class and - method id of the method which caused the exception. - - - After sending this method any received method except - Channel.Close-OK MUST be discarded. - - - The peer sending this method MAY use a counter or timeout to detect - failure of the other peer to respond correctly with Channel.Close-OK.. - - - - - - - - failing method class - - When the close is provoked by a method exception, this is the - class of the method. - - - - failing method ID - - When the close is provoked by a method exception, this is the - ID of the method. - - - - - confirm a channel close - - This method confirms a Channel.Close method and tells the recipient - that it is safe to release resources for the channel and close the - socket. - - - A peer that detects a socket closure without having received a - Channel.Close-Ok handshake method SHOULD log the error. - - - - - - - - work with access tickets - - The protocol control access to server resources using access tickets. - A client must explicitly request access tickets before doing work. - An access ticket grants a client the right to use a specific set of - resources - called a "realm" - in specific ways. - - - access = C:REQUEST S:REQUEST-OK - - - - - - request an access ticket - - This method requests an access ticket for an access realm. - The server responds by granting the access ticket. If the - client does not have access rights to the requested realm - this causes a connection exception. Access tickets are a - per-channel resource. - - - The realm name MUST start with either "/data" (for application - resources) or "/admin" (for server administration resources). - If the realm starts with any other path, the server MUST raise - a connection exception with reply code 403 (access refused). - - - The server MUST implement the /data realm and MAY implement the - /admin realm. The mapping of resources to realms is not - defined in the protocol - this is a server-side configuration - issue. - - - - - name of requested realm - - If the specified realm is not known to the server, the server - must raise a channel exception with reply code 402 (invalid - path). - - - - request exclusive access - - Request exclusive access to the realm. If the server cannot grant - this - because there are other active tickets for the realm - it - raises a channel exception. - - - - request passive access - - Request message passive access to the specified access realm. - Passive access lets a client get information about resources in - the realm but not to make any changes to them. - - - - request active access - - Request message active access to the specified access realm. - Acvtive access lets a client get create and delete resources in - the realm. - - - - request write access - - Request write access to the specified access realm. Write access - lets a client publish messages to all exchanges in the realm. - - - - request read access - - Request read access to the specified access realm. Read access - lets a client consume messages from queues in the realm. - - - - - grant access to server resources - - This method provides the client with an access ticket. The access - ticket is valid within the current channel and for the lifespan of - the channel. - - - The client MUST NOT use access tickets except within the same - channel as originally granted. - - - The server MUST isolate access tickets per channel and treat an - attempt by a client to mix these as a connection exception. - - - - - - - - work with exchanges - - Exchanges match and distribute messages across queues. Exchanges can be - configured in the server or created at runtime. - - - exchange = C:DECLARE S:DECLARE-OK - / C:DELETE S:DELETE-OK - - - - - amq_exchange_19 - The server MUST implement the direct and fanout exchange types, and - predeclare the corresponding exchanges named amq.direct and amq.fanout - in each virtual host. The server MUST also predeclare a direct - exchange to act as the default exchange for content Publish methods - and for default queue bindings. - - - amq_exchange_20 - The server SHOULD implement the topic exchange type, and predeclare - the corresponding exchange named amq.topic in each virtual host. - - - amq_exchange_21 - The server MAY implement the system exchange type, and predeclare the - corresponding exchanges named amq.system in each virtual host. If the - client attempts to bind a queue to the system exchange, the server - MUST raise a connection exception with reply code 507 (not allowed). - - - amq_exchange_22 - The default exchange MUST be defined as internal, and be inaccessible - to the client except by specifying an empty exchange name in a content - Publish method. That is, the server MUST NOT let clients make explicit - bindings to this exchange. - - - - declare exchange, create if needed - - This method creates an exchange if it does not already exist, and if the - exchange exists, verifies that it is of the correct and expected class. - - - amq_exchange_23 - The server SHOULD support a minimum of 16 exchanges per virtual host - and ideally, impose no limit except as defined by available resources. - - - - - - When a client defines a new exchange, this belongs to the access realm - of the ticket used. All further work done with that exchange must be - done with an access ticket for the same realm. - - - The client MUST provide a valid access ticket giving "active" access - to the realm in which the exchange exists or will be created, or - "passive" access if the if-exists flag is set. - - - - - amq_exchange_15 - Exchange names starting with "amq." are reserved for predeclared - and standardised exchanges. If the client attempts to create an - exchange starting with "amq.", the server MUST raise a channel - exception with reply code 403 (access refused). - - - - - exchange type - - Each exchange belongs to one of a set of exchange types implemented - by the server. The exchange types define the functionality of the - exchange - i.e. how messages are routed through it. It is not valid - or meaningful to attempt to change the type of an existing exchange. - - - amq_exchange_16 - If the exchange already exists with a different type, the server - MUST raise a connection exception with a reply code 507 (not allowed). - - - amq_exchange_18 - If the server does not support the requested exchange type it MUST - raise a connection exception with a reply code 503 (command invalid). - - - - - do not create exchange - - If set, the server will not create the exchange. The client can use - this to check whether an exchange exists without modifying the server - state. - - - amq_exchange_05 - If set, and the exchange does not already exist, the server MUST - raise a channel exception with reply code 404 (not found). - - - - request a durable exchange - - If set when creating a new exchange, the exchange will be marked as - durable. Durable exchanges remain active when a server restarts. - Non-durable exchanges (transient exchanges) are purged if/when a - server restarts. - - - amq_exchange_24 - The server MUST support both durable and transient exchanges. - - - The server MUST ignore the durable field if the exchange already - exists. - - - - auto-delete when unused - - If set, the exchange is deleted when all queues have finished - using it. - - - amq_exchange_02 - The server SHOULD allow for a reasonable delay between the point - when it determines that an exchange is not being used (or no longer - used), and the point when it deletes the exchange. At the least it - must allow a client to create an exchange and then bind a queue to - it, with a small but non-zero delay between these two actions. - - - amq_exchange_25 - The server MUST ignore the auto-delete field if the exchange already - exists. - - - - create internal exchange - - If set, the exchange may not be used directly by publishers, but - only when bound to other exchanges. Internal exchanges are used to - construct wiring that is not visible to applications. - - - - - do not send a reply method - - If set, the server will not respond to the method. The client should - not wait for a reply method. If the server could not complete the - method it will raise a channel or connection exception. - - - - - arguments for declaration - - A set of arguments for the declaration. The syntax and semantics - of these arguments depends on the server implementation. This - field is ignored if passive is 1. - - - - - confirms an exchange declaration - - This method confirms a Declare method and confirms the name of the - exchange, essential for automatically-named exchanges. - - - - - - delete an exchange - - This method deletes an exchange. When an exchange is deleted all queue - bindings on the exchange are cancelled. - - - - - - The client MUST provide a valid access ticket giving "active" - access rights to the exchange's access realm. - - - - - amq_exchange_11 - The exchange MUST exist. Attempting to delete a non-existing exchange - causes a channel exception. - - - - - delete only if unused - - If set, the server will only delete the exchange if it has no queue - bindings. If the exchange has queue bindings the server does not - delete it but raises a channel exception instead. - - - amq_exchange_12 - If set, the server SHOULD delete the exchange but only if it has - no queue bindings. - - - amq_exchange_13 - If set, the server SHOULD raise a channel exception if the exchange is in - use. - - - - - do not send a reply method - - If set, the server will not respond to the method. The client should - not wait for a reply method. If the server could not complete the - method it will raise a channel or connection exception. - - - - - - confirm deletion of an exchange - - This method confirms the deletion of an exchange. - - - - - - - work with queues - - - Queues store and forward messages. Queues can be configured in the server - or created at runtime. Queues must be attached to at least one exchange - in order to receive messages from publishers. - - - queue = C:DECLARE S:DECLARE-OK - / C:BIND S:BIND-OK - / C:PURGE S:PURGE-OK - / C:DELETE S:DELETE-OK - - - - - amq_queue_33 - A server MUST allow any content class to be sent to any queue, in any - mix, and queue and delivery these content classes independently. Note - that all methods that fetch content off queues are specific to a given - content class. - - - - declare queue, create if needed - - This method creates or checks a queue. When creating a new queue - the client can specify various properties that control the durability - of the queue and its contents, and the level of sharing for the queue. - - - amq_queue_34 - The server MUST create a default binding for a newly-created queue - to the default exchange, which is an exchange of type 'direct'. - - - amq_queue_35 - The server SHOULD support a minimum of 256 queues per virtual host - and ideally, impose no limit except as defined by available resources. - - - - - - When a client defines a new queue, this belongs to the access realm - of the ticket used. All further work done with that queue must be - done with an access ticket for the same realm. - - - The client provides a valid access ticket giving "active" access - to the realm in which the queue exists or will be created, or - "passive" access if the if-exists flag is set. - - - - - amq_queue_10 - The queue name MAY be empty, in which case the server MUST create - a new queue with a unique generated name and return this to the - client in the Declare-Ok method. - - - amq_queue_32 - Queue names starting with "amq." are reserved for predeclared and - standardised server queues. If the queue name starts with "amq." - and the passive option is zero, the server MUST raise a connection - exception with reply code 403 (access refused). - - - - - do not create queue - - If set, the server will not create the queue. The client can use - this to check whether a queue exists without modifying the server - state. - - - amq_queue_05 - If set, and the queue does not already exist, the server MUST - respond with a reply code 404 (not found) and raise a channel - exception. - - - - request a durable queue - - If set when creating a new queue, the queue will be marked as - durable. Durable queues remain active when a server restarts. - Non-durable queues (transient queues) are purged if/when a - server restarts. Note that durable queues do not necessarily - hold persistent messages, although it does not make sense to - send persistent messages to a transient queue. - - - amq_queue_03 - The server MUST recreate the durable queue after a restart. - - - amq_queue_36 - The server MUST support both durable and transient queues. - - - amq_queue_37 - The server MUST ignore the durable field if the queue already - exists. - - - - request an exclusive queue - - Exclusive queues may only be consumed from by the current connection. - Setting the 'exclusive' flag always implies 'auto-delete'. - - - amq_queue_38 - The server MUST support both exclusive (private) and non-exclusive - (shared) queues. - - - amq_queue_04 - The server MUST raise a channel exception if 'exclusive' is specified - and the queue already exists and is owned by a different connection. - - - - auto-delete queue when unused - - If set, the queue is deleted when all consumers have finished - using it. Last consumer can be cancelled either explicitly or because - its channel is closed. If there was no consumer ever on the queue, it - won't be deleted. - - - amq_queue_02 - The server SHOULD allow for a reasonable delay between the point - when it determines that a queue is not being used (or no longer - used), and the point when it deletes the queue. At the least it - must allow a client to create a queue and then create a consumer - to read from it, with a small but non-zero delay between these - two actions. The server should equally allow for clients that may - be disconnected prematurely, and wish to re-consume from the same - queue without losing messages. We would recommend a configurable - timeout, with a suitable default value being one minute. - - - amq_queue_31 - The server MUST ignore the auto-delete field if the queue already - exists. - - - - do not send a reply method - - If set, the server will not respond to the method. The client should - not wait for a reply method. If the server could not complete the - method it will raise a channel or connection exception. - - - - - arguments for declaration - - A set of arguments for the declaration. The syntax and semantics - of these arguments depends on the server implementation. This - field is ignored if passive is 1. - - - - - confirms a queue definition - - This method confirms a Declare method and confirms the name of the - queue, essential for automatically-named queues. - - - - - Reports the name of the queue. If the server generated a queue - name, this field contains that name. - - - - - number of messages in queue - - Reports the number of messages in the queue, which will be zero - for newly-created queues. - - - - number of consumers - - Reports the number of active consumers for the queue. Note that - consumers can suspend activity (Channel.Flow) in which case they - do not appear in this count. - - - - - - bind queue to an exchange - - This method binds a queue to an exchange. Until a queue is - bound it will not receive any messages. In a classic messaging - model, store-and-forward queues are bound to a dest exchange - and subscription queues are bound to a dest_wild exchange. - - - amq_queue_25 - A server MUST allow ignore duplicate bindings - that is, two or - more bind methods for a specific queue, with identical arguments - - without treating these as an error. - - - amq_queue_39 - If a bind fails, the server MUST raise a connection exception. - - - amq_queue_12 - The server MUST NOT allow a durable queue to bind to a transient - exchange. If the client attempts this the server MUST raise a - channel exception. - - - amq_queue_13 - Bindings for durable queues are automatically durable and the - server SHOULD restore such bindings after a server restart. - - - amq_queue_17 - If the client attempts to an exchange that was declared as internal, - the server MUST raise a connection exception with reply code 530 - (not allowed). - - - amq_queue_40 - The server SHOULD support at least 4 bindings per queue, and - ideally, impose no limit except as defined by available resources. - - - - - - The client provides a valid access ticket giving "active" - access rights to the queue's access realm. - - - - - - Specifies the name of the queue to bind. If the queue name is - empty, refers to the current queue for the channel, which is - the last declared queue. - - - If the client did not previously declare a queue, and the queue - name in this method is empty, the server MUST raise a connection - exception with reply code 530 (not allowed). - - - If the queue does not exist the server MUST raise a channel exception - with reply code 404 (not found). - - - - - The name of the exchange to bind to. - - amq_queue_14 - If the exchange does not exist the server MUST raise a channel - exception with reply code 404 (not found). - - - - message routing key - - Specifies the routing key for the binding. The routing key is - used for routing messages depending on the exchange configuration. - Not all exchanges use a routing key - refer to the specific - exchange documentation. If the routing key is empty and the queue - name is empty, the routing key will be the current queue for the - channel, which is the last declared queue. - - - - - do not send a reply method - - If set, the server will not respond to the method. The client should - not wait for a reply method. If the server could not complete the - method it will raise a channel or connection exception. - - - - - arguments for binding - - A set of arguments for the binding. The syntax and semantics of - these arguments depends on the exchange class. - - - - - confirm bind successful - - This method confirms that the bind was successful. - - - - - - purge a queue - - This method removes all messages from a queue. It does not cancel - consumers. Purged messages are deleted without any formal "undo" - mechanism. - - - amq_queue_15 - A call to purge MUST result in an empty queue. - - - amq_queue_41 - On transacted channels the server MUST not purge messages that have - already been sent to a client but not yet acknowledged. - - - amq_queue_42 - The server MAY implement a purge queue or log that allows system - administrators to recover accidentally-purged messages. The server - SHOULD NOT keep purged messages in the same storage spaces as the - live messages since the volumes of purged messages may get very - large. - - - - - - The access ticket must be for the access realm that holds the - queue. - - - The client MUST provide a valid access ticket giving "read" access - rights to the queue's access realm. Note that purging a queue is - equivalent to reading all messages and discarding them. - - - - - Specifies the name of the queue to purge. If the queue name is - empty, refers to the current queue for the channel, which is - the last declared queue. - - - If the client did not previously declare a queue, and the queue - name in this method is empty, the server MUST raise a connection - exception with reply code 530 (not allowed). - - - The queue must exist. Attempting to purge a non-existing queue - causes a channel exception. - - - - - do not send a reply method - - If set, the server will not respond to the method. The client should - not wait for a reply method. If the server could not complete the - method it will raise a channel or connection exception. - - - - - confirms a queue purge - - This method confirms the purge of a queue. - - - - number of messages purged - - Reports the number of messages purged. - - - - - - delete a queue - - This method deletes a queue. When a queue is deleted any pending - messages are sent to a dead-letter queue if this is defined in the - server configuration, and all consumers on the queue are cancelled. - - - amq_queue_43 - The server SHOULD use a dead-letter queue to hold messages that - were pending on a deleted queue, and MAY provide facilities for - a system administrator to move these messages back to an active - queue. - - - - - - The client provides a valid access ticket giving "active" - access rights to the queue's access realm. - - - - - - Specifies the name of the queue to delete. If the queue name is - empty, refers to the current queue for the channel, which is the - last declared queue. - - - If the client did not previously declare a queue, and the queue - name in this method is empty, the server MUST raise a connection - exception with reply code 530 (not allowed). - - - The queue must exist. Attempting to delete a non-existing queue - causes a channel exception. - - - - - delete only if unused - - If set, the server will only delete the queue if it has no - consumers. If the queue has consumers the server does does not - delete it but raises a channel exception instead. - - - amq_queue_29 - amq_queue_30 - The server MUST respect the if-unused flag when deleting a queue. - - - - delete only if empty - amq_queue_27 - - If set, the server will only delete the queue if it has no - messages. If the queue is not empty the server raises a channel - exception. - - - - do not send a reply method - - If set, the server will not respond to the method. The client should - not wait for a reply method. If the server could not complete the - method it will raise a channel or connection exception. - - - - - - confirm deletion of a queue - - This method confirms the deletion of a queue. - - - - number of messages purged - - Reports the number of messages purged. - - - - - - - work with basic content - - The Basic class provides methods that support an industry-standard - messaging model. - - - - basic = C:QOS S:QOS-OK - / C:CONSUME S:CONSUME-OK - / C:CANCEL S:CANCEL-OK - / C:PUBLISH content - / S:RETURN content - / S:DELIVER content - / C:GET ( S:GET-OK content / S:GET-EMPTY ) - / C:ACK - / C:REJECT - - - - - - - The server SHOULD respect the persistent property of basic messages - and SHOULD make a best-effort to hold persistent basic messages on a - reliable storage mechanism. - - - The server MUST NOT discard a persistent basic message in case of a - queue overflow. The server MAY use the Channel.Flow method to slow - or stop a basic message publisher when necessary. - - - The server MAY overflow non-persistent basic messages to persistent - storage and MAY discard or dead-letter non-persistent basic messages - on a priority basis if the queue size exceeds some configured limit. - - - The server MUST implement at least 2 priority levels for basic - messages, where priorities 0-4 and 5-9 are treated as two distinct - levels. The server MAY implement up to 10 priority levels. - - - The server MUST deliver messages of the same priority in order - irrespective of their individual persistence. - - - The server MUST support both automatic and explicit acknowledgements - on Basic content. - - - - - - MIME content type - - - MIME content encoding - - - Message header field table - - - Non-persistent (1) or persistent (2) - - - The message priority, 0 to 9 - - - The application correlation identifier - - - The destination to reply to - - - Message expiration specification - - - The application message identifier - - - The message timestamp - - - The message type name - - - The creating user id - - - The creating application id - - - Intra-cluster routing identifier - - - - - - - specify quality of service - - This method requests a specific quality of service. The QoS can - be specified for the current channel or for all channels on the - connection. The particular properties and semantics of a qos method - always depend on the content class semantics. Though the qos method - could in principle apply to both peers, it is currently meaningful - only for the server. - - - - - - prefetch window in octets - - The client can request that messages be sent in advance so that - when the client finishes processing a message, the following - message is already held locally, rather than needing to be sent - down the channel. Prefetching gives a performance improvement. - This field specifies the prefetch window size in octets. The - server will send a message in advance if it is equal to or - smaller in size than the available prefetch size (and also falls - into other prefetch limits). May be set to zero, meaning "no - specific limit", although other prefetch limits may still apply. - The prefetch-size is ignored if the no-ack option is set. - - - The server MUST ignore this setting when the client is not - processing any messages - i.e. the prefetch size does not limit - the transfer of single messages to a client, only the sending in - advance of more messages while the client still has one or more - unacknowledged messages. - - - - - prefetch window in messages - - Specifies a prefetch window in terms of whole messages. This - field may be used in combination with the prefetch-size field; - a message will only be sent in advance if both prefetch windows - (and those at the channel and connection level) allow it. - The prefetch-count is ignored if the no-ack option is set. - - - The server MAY send less data in advance than allowed by the - client's specified prefetch windows but it MUST NOT send more. - - - - - apply to entire connection - - By default the QoS settings apply to the current channel only. If - this field is set, they are applied to the entire connection. - - - - - - confirm the requested qos - - This method tells the client that the requested QoS levels could - be handled by the server. The requested QoS applies to all active - consumers until a new QoS is defined. - - - - - - - - start a queue consumer - - This method asks the server to start a "consumer", which is a - transient request for messages from a specific queue. Consumers - last as long as the channel they were created on, or until the - client cancels them. - - - The server SHOULD support at least 16 consumers per queue, unless - the queue was declared as private, and ideally, impose no limit - except as defined by available resources. - - - - - - - The client MUST provide a valid access ticket giving "read" access - rights to the realm for the queue. - - - - - - Specifies the name of the queue to consume from. If the queue name - is null, refers to the current queue for the channel, which is the - last declared queue. - - - If the client did not previously declare a queue, and the queue name - in this method is empty, the server MUST raise a connection exception - with reply code 530 (not allowed). - - - - - - Specifies the identifier for the consumer. The consumer tag is - local to a connection, so two clients can use the same consumer - tags. If this field is empty the server will generate a unique - tag. - - - The tag MUST NOT refer to an existing consumer. If the client - attempts to create two consumers with the same non-empty tag - the server MUST raise a connection exception with reply code - 530 (not allowed). - - - - - - - - - request exclusive access - - Request exclusive consumer access, meaning only this consumer can - access the queue. - - - If the server cannot grant exclusive access to the queue when asked, - - because there are other consumers active - it MUST raise a channel - exception with return code 403 (access refused). - - - - - do not send a reply method - - If set, the server will not respond to the method. The client should - not wait for a reply method. If the server could not complete the - method it will raise a channel or connection exception. - - - - - - confirm a new consumer - - The server provides the client with a consumer tag, which is used - by the client for methods called on the consumer at a later stage. - - - - - - Holds the consumer tag specified by the client or provided by - the server. - - - - - - - - - end a queue consumer - - This method cancels a consumer. This does not affect already - delivered messages, but it does mean the server will not send any - more messages for that consumer. The client may receive an - abitrary number of messages in between sending the cancel method - and receiving the cancel-ok reply. - - - If the queue no longer exists when the client sends a cancel command, - or the consumer has been cancelled for other reasons, this command - has no effect. - - - - - - - - do not send a reply method - - If set, the server will not respond to the method. The client should - not wait for a reply method. If the server could not complete the - method it will raise a channel or connection exception. - - - - - - confirm a cancelled consumer - - This method confirms that the cancellation was completed. - - - - - - - - - - - publish a message - - This method publishes a message to a specific exchange. The message - will be routed to queues as defined by the exchange configuration - and distributed to any active consumers when the transaction, if any, - is committed. - - - - - - The client MUST provide a valid access ticket giving "write" - access rights to the access realm for the exchange. - - - - - - Specifies the name of the exchange to publish to. The exchange - name can be empty, meaning the default exchange. If the exchange - name is specified, and that exchange does not exist, the server - will raise a channel exception. - - - The server MUST accept a blank exchange name to mean the default - exchange. - - - If the exchange was declared as an internal exchange, the server - MUST raise a channel exception with a reply code 403 (access - refused). - - - The exchange MAY refuse basic content in which case it MUST raise - a channel exception with reply code 540 (not implemented). - - - - - Message routing key - - Specifies the routing key for the message. The routing key is - used for routing messages depending on the exchange configuration. - - - - - indicate mandatory routing - - This flag tells the server how to react if the message cannot be - routed to a queue. If this flag is set, the server will return an - unroutable message with a Return method. If this flag is zero, the - server silently drops the message. - - - The server SHOULD implement the mandatory flag. - - - - - request immediate delivery - - This flag tells the server how to react if the message cannot be - routed to a queue consumer immediately. If this flag is set, the - server will return an undeliverable message with a Return method. - If this flag is zero, the server will queue the message, but with - no guarantee that it will ever be consumed. - - - The server SHOULD implement the immediate flag. - - - - - - return a failed message - - This method returns an undeliverable message that was published - with the "immediate" flag set, or an unroutable message published - with the "mandatory" flag set. The reply code and text provide - information about the reason that the message was undeliverable. - - - - - - - - - Specifies the name of the exchange that the message was - originally published to. - - - - - Message routing key - - Specifies the routing key name specified when the message was - published. - - - - - - - - - notify the client of a consumer message - - This method delivers a message to the client, via a consumer. In - the asynchronous message delivery model, the client starts a - consumer using the Consume method, then the server responds with - Deliver methods as and when messages arrive for that consumer. - - - The server SHOULD track the number of times a message has been - delivered to clients and when a message is redelivered a certain - number of times - e.g. 5 times - without being acknowledged, the - server SHOULD consider the message to be unprocessable (possibly - causing client applications to abort), and move the message to a - dead letter queue. - - - - - - - - - - - - Specifies the name of the exchange that the message was - originally published to. - - - - - Message routing key - - Specifies the routing key name specified when the message was - published. - - - - - - - - - direct access to a queue - - This method provides a direct access to the messages in a queue - using a synchronous dialogue that is designed for specific types of - application where synchronous functionality is more important than - performance. - - - - - - - - The client MUST provide a valid access ticket giving "read" - access rights to the realm for the queue. - - - - - - Specifies the name of the queue to consume from. If the queue name - is null, refers to the current queue for the channel, which is the - last declared queue. - - - If the client did not previously declare a queue, and the queue name - in this method is empty, the server MUST raise a connection exception - with reply code 530 (not allowed). - - - - - - - - provide client with a message - - This method delivers a message to the client following a get - method. A message delivered by 'get-ok' must be acknowledged - unless the no-ack option was set in the get method. - - - - - - - - - - Specifies the name of the exchange that the message was originally - published to. If empty, the message was published to the default - exchange. - - - - - Message routing key - - Specifies the routing key name specified when the message was - published. - - - - - number of messages pending - - This field reports the number of messages pending on the queue, - excluding the message being delivered. Note that this figure is - indicative, not reliable, and can change arbitrarily as messages - are added to the queue and removed by other clients. - - - - - - - indicate no messages available - - This method tells the client that the queue has no messages - available for the client. - - - - - Cluster id - - For use by cluster applications, should not be used by - client applications. - - - - - - - - acknowledge one or more messages - - This method acknowledges one or more messages delivered via the - Deliver or Get-Ok methods. The client can ask to confirm a - single message or a set of messages up to and including a specific - message. - - - - - - acknowledge multiple messages - - If set to 1, the delivery tag is treated as "up to and including", - so that the client can acknowledge multiple messages with a single - method. If set to zero, the delivery tag refers to a single - message. If the multiple field is 1, and the delivery tag is zero, - tells the server to acknowledge all outstanding mesages. - - - The server MUST validate that a non-zero delivery-tag refers to an - delivered message, and raise a channel exception if this is not the - case. - - - - - - - - reject an incoming message - - This method allows a client to reject a message. It can be used to - interrupt and cancel large incoming messages, or return untreatable - messages to their original queue. - - - The server SHOULD be capable of accepting and process the Reject - method while sending message content with a Deliver or Get-Ok - method. I.e. the server should read and process incoming methods - while sending output frames. To cancel a partially-send content, - the server sends a content body frame of size 1 (i.e. with no data - except the frame-end octet). - - - The server SHOULD interpret this method as meaning that the client - is unable to process the message at this time. - - - A client MUST NOT use this method as a means of selecting messages - to process. A rejected message MAY be discarded or dead-lettered, - not necessarily passed to another client. - - - - - - - requeue the message - - If this field is zero, the message will be discarded. If this bit - is 1, the server will attempt to requeue the message. - - - The server MUST NOT deliver the message to the same client within - the context of the current channel. The recommended strategy is - to attempt to deliver the message to an alternative consumer, and - if that is not possible, to move the message to a dead-letter - queue. The server MAY use more sophisticated tracking to hold - the message on the queue and redeliver it to the same client at - a later stage. - - - - - - redeliver unacknowledged messages. This method is only allowed on non-transacted channels. - - This method asks the broker to redeliver all unacknowledged messages on a - specifieid channel. Zero or more messages may be redelivered. - - - - - requeue the message - - If this field is zero, the message will be redelivered to the original recipient. If this bit - is 1, the server will attempt to requeue the message, potentially then delivering it to an - alternative subscriber. - - - - - The server MUST set the redelivered flag on all messages that are resent. - - - The server MUST raise a channel exception if this is called on a transacted channel. - - - - - - - - - - work with file content - - The file class provides methods that support reliable file transfer. - File messages have a specific set of properties that are required for - interoperability with file transfer applications. File messages and - acknowledgements are subject to channel transactions. Note that the - file class does not provide message browsing methods; these are not - compatible with the staging model. Applications that need browsable - file transfer should use Basic content and the Basic class. - - - - file = C:QOS S:QOS-OK - / C:CONSUME S:CONSUME-OK - / C:CANCEL S:CANCEL-OK - / C:OPEN S:OPEN-OK C:STAGE content - / S:OPEN C:OPEN-OK S:STAGE content - / C:PUBLISH - / S:DELIVER - / S:RETURN - / C:ACK - / C:REJECT - - - - - - - The server MUST make a best-effort to hold file messages on a - reliable storage mechanism. - - - The server MUST NOT discard a file message in case of a queue - overflow. The server MUST use the Channel.Flow method to slow or stop - a file message publisher when necessary. - - - The server MUST implement at least 2 priority levels for file - messages, where priorities 0-4 and 5-9 are treated as two distinct - levels. The server MAY implement up to 10 priority levels. - - - The server MUST support both automatic and explicit acknowledgements - on file content. - - - - - - MIME content type - - - MIME content encoding - - - Message header field table - - - The message priority, 0 to 9 - - - The destination to reply to - - - The application message identifier - - - The message filename - - - The message timestamp - - - Intra-cluster routing identifier - - - - - - - specify quality of service - - This method requests a specific quality of service. The QoS can - be specified for the current channel or for all channels on the - connection. The particular properties and semantics of a qos method - always depend on the content class semantics. Though the qos method - could in principle apply to both peers, it is currently meaningful - only for the server. - - - - - - prefetch window in octets - - The client can request that messages be sent in advance so that - when the client finishes processing a message, the following - message is already held locally, rather than needing to be sent - down the channel. Prefetching gives a performance improvement. - This field specifies the prefetch window size in octets. May be - set to zero, meaning "no specific limit". Note that other - prefetch limits may still apply. The prefetch-size is ignored - if the no-ack option is set. - - - - - prefetch window in messages - - Specifies a prefetch window in terms of whole messages. This - is compatible with some file API implementations. This field - may be used in combination with the prefetch-size field; a - message will only be sent in advance if both prefetch windows - (and those at the channel and connection level) allow it. - The prefetch-count is ignored if the no-ack option is set. - - - The server MAY send less data in advance than allowed by the - client's specified prefetch windows but it MUST NOT send more. - - - - - apply to entire connection - - By default the QoS settings apply to the current channel only. If - this field is set, they are applied to the entire connection. - - - - - - confirm the requested qos - - This method tells the client that the requested QoS levels could - be handled by the server. The requested QoS applies to all active - consumers until a new QoS is defined. - - - - - - - - start a queue consumer - - This method asks the server to start a "consumer", which is a - transient request for messages from a specific queue. Consumers - last as long as the channel they were created on, or until the - client cancels them. - - - The server SHOULD support at least 16 consumers per queue, unless - the queue was declared as private, and ideally, impose no limit - except as defined by available resources. - - - - - - - The client MUST provide a valid access ticket giving "read" access - rights to the realm for the queue. - - - - - - Specifies the name of the queue to consume from. If the queue name - is null, refers to the current queue for the channel, which is the - last declared queue. - - - If the client did not previously declare a queue, and the queue name - in this method is empty, the server MUST raise a connection exception - with reply code 530 (not allowed). - - - - - - Specifies the identifier for the consumer. The consumer tag is - local to a connection, so two clients can use the same consumer - tags. If this field is empty the server will generate a unique - tag. - - - The tag MUST NOT refer to an existing consumer. If the client - attempts to create two consumers with the same non-empty tag - the server MUST raise a connection exception with reply code - 530 (not allowed). - - - - - - - - - request exclusive access - - Request exclusive consumer access, meaning only this consumer can - access the queue. - - - If the server cannot grant exclusive access to the queue when asked, - - because there are other consumers active - it MUST raise a channel - exception with return code 405 (resource locked). - - - - - do not send a reply method - - If set, the server will not respond to the method. The client should - not wait for a reply method. If the server could not complete the - method it will raise a channel or connection exception. - - - - - - confirm a new consumer - - This method provides the client with a consumer tag which it MUST - use in methods that work with the consumer. - - - - - - Holds the consumer tag specified by the client or provided by - the server. - - - - - - - - - end a queue consumer - - This method cancels a consumer. This does not affect already - delivered messages, but it does mean the server will not send any - more messages for that consumer. - - - - - - - - do not send a reply method - - If set, the server will not respond to the method. The client should - not wait for a reply method. If the server could not complete the - method it will raise a channel or connection exception. - - - - - - confirm a cancelled consumer - - This method confirms that the cancellation was completed. - - - - - - - - - - - request to start staging - - This method requests permission to start staging a message. Staging - means sending the message into a temporary area at the recipient end - and then delivering the message by referring to this temporary area. - Staging is how the protocol handles partial file transfers - if a - message is partially staged and the connection breaks, the next time - the sender starts to stage it, it can restart from where it left off. - - - - - - - staging identifier - - This is the staging identifier. This is an arbitrary string chosen - by the sender. For staging to work correctly the sender must use - the same staging identifier when staging the same message a second - time after recovery from a failure. A good choice for the staging - identifier would be the SHA1 hash of the message properties data - (including the original filename, revised time, etc.). - - - - - message content size - - The size of the content in octets. The recipient may use this - information to allocate or check available space in advance, to - avoid "disk full" errors during staging of very large messages. - - - The sender MUST accurately fill the content-size field. - Zero-length content is permitted. - - - - - - confirm staging ready - - This method confirms that the recipient is ready to accept staged - data. If the message was already partially-staged at a previous - time the recipient will report the number of octets already staged. - - - - - - - already staged amount - - The amount of previously-staged content in octets. For a new - message this will be zero. - - - The sender MUST start sending data from this octet offset in the - message, counting from zero. - - - The recipient MAY decide how long to hold partially-staged content - and MAY implement staging by always discarding partially-staged - content. However if it uses the file content type it MUST support - the staging methods. - - - - - - - - stage message content - - This method stages the message, sending the message content to the - recipient from the octet offset specified in the Open-Ok method. - - - - - - - - - - publish a message - - This method publishes a staged file message to a specific exchange. - The file message will be routed to queues as defined by the exchange - configuration and distributed to any active consumers when the - transaction, if any, is committed. - - - - - - The client MUST provide a valid access ticket giving "write" - access rights to the access realm for the exchange. - - - - - - Specifies the name of the exchange to publish to. The exchange - name can be empty, meaning the default exchange. If the exchange - name is specified, and that exchange does not exist, the server - will raise a channel exception. - - - The server MUST accept a blank exchange name to mean the default - exchange. - - - If the exchange was declared as an internal exchange, the server - MUST respond with a reply code 403 (access refused) and raise a - channel exception. - - - The exchange MAY refuse file content in which case it MUST respond - with a reply code 540 (not implemented) and raise a channel - exception. - - - - - Message routing key - - Specifies the routing key for the message. The routing key is - used for routing messages depending on the exchange configuration. - - - - - indicate mandatory routing - - This flag tells the server how to react if the message cannot be - routed to a queue. If this flag is set, the server will return an - unroutable message with a Return method. If this flag is zero, the - server silently drops the message. - - - The server SHOULD implement the mandatory flag. - - - - - request immediate delivery - - This flag tells the server how to react if the message cannot be - routed to a queue consumer immediately. If this flag is set, the - server will return an undeliverable message with a Return method. - If this flag is zero, the server will queue the message, but with - no guarantee that it will ever be consumed. - - - The server SHOULD implement the immediate flag. - - - - - staging identifier - - This is the staging identifier of the message to publish. The - message must have been staged. Note that a client can send the - Publish method asynchronously without waiting for staging to - finish. - - - - - - return a failed message - - This method returns an undeliverable message that was published - with the "immediate" flag set, or an unroutable message published - with the "mandatory" flag set. The reply code and text provide - information about the reason that the message was undeliverable. - - - - - - - - - Specifies the name of the exchange that the message was - originally published to. - - - - - Message routing key - - Specifies the routing key name specified when the message was - published. - - - - - - - - - notify the client of a consumer message - - This method delivers a staged file message to the client, via a - consumer. In the asynchronous message delivery model, the client - starts a consumer using the Consume method, then the server - responds with Deliver methods as and when messages arrive for - that consumer. - - - The server SHOULD track the number of times a message has been - delivered to clients and when a message is redelivered a certain - number of times - e.g. 5 times - without being acknowledged, the - server SHOULD consider the message to be unprocessable (possibly - causing client applications to abort), and move the message to a - dead letter queue. - - - - - - - - - - - - Specifies the name of the exchange that the message was originally - published to. - - - - - Message routing key - - Specifies the routing key name specified when the message was - published. - - - - - staging identifier - - This is the staging identifier of the message to deliver. The - message must have been staged. Note that a server can send the - Deliver method asynchronously without waiting for staging to - finish. - - - - - - - - - acknowledge one or more messages - - This method acknowledges one or more messages delivered via the - Deliver method. The client can ask to confirm a single message or - a set of messages up to and including a specific message. - - - - - - acknowledge multiple messages - - If set to 1, the delivery tag is treated as "up to and including", - so that the client can acknowledge multiple messages with a single - method. If set to zero, the delivery tag refers to a single - message. If the multiple field is 1, and the delivery tag is zero, - tells the server to acknowledge all outstanding mesages. - - - The server MUST validate that a non-zero delivery-tag refers to an - delivered message, and raise a channel exception if this is not the - case. - - - - - - - - - reject an incoming message - - This method allows a client to reject a message. It can be used to - return untreatable messages to their original queue. Note that file - content is staged before delivery, so the client will not use this - method to interrupt delivery of a large message. - - - The server SHOULD interpret this method as meaning that the client - is unable to process the message at this time. - - - A client MUST NOT use this method as a means of selecting messages - to process. A rejected message MAY be discarded or dead-lettered, - not necessarily passed to another client. - - - - - - - requeue the message - - If this field is zero, the message will be discarded. If this bit - is 1, the server will attempt to requeue the message. - - - The server MUST NOT deliver the message to the same client within - the context of the current channel. The recommended strategy is - to attempt to deliver the message to an alternative consumer, and - if that is not possible, to move the message to a dead-letter - queue. The server MAY use more sophisticated tracking to hold - the message on the queue and redeliver it to the same client at - a later stage. - - - - - - - - - work with streaming content - - - The stream class provides methods that support multimedia streaming. - The stream class uses the following semantics: one message is one - packet of data; delivery is unacknowleged and unreliable; the consumer - can specify quality of service parameters that the server can try to - adhere to; lower-priority messages may be discarded in favour of high - priority messages. - - - - stream = C:QOS S:QOS-OK - / C:CONSUME S:CONSUME-OK - / C:CANCEL S:CANCEL-OK - / C:PUBLISH content - / S:RETURN - / S:DELIVER content - - - - - - - The server SHOULD discard stream messages on a priority basis if - the queue size exceeds some configured limit. - - - The server MUST implement at least 2 priority levels for stream - messages, where priorities 0-4 and 5-9 are treated as two distinct - levels. The server MAY implement up to 10 priority levels. - - - The server MUST implement automatic acknowledgements on stream - content. That is, as soon as a message is delivered to a client - via a Deliver method, the server must remove it from the queue. - - - - - - - MIME content type - - - MIME content encoding - - - Message header field table - - - The message priority, 0 to 9 - - - The message timestamp - - - - - - - specify quality of service - - This method requests a specific quality of service. The QoS can - be specified for the current channel or for all channels on the - connection. The particular properties and semantics of a qos method - always depend on the content class semantics. Though the qos method - could in principle apply to both peers, it is currently meaningful - only for the server. - - - - - - prefetch window in octets - - The client can request that messages be sent in advance so that - when the client finishes processing a message, the following - message is already held locally, rather than needing to be sent - down the channel. Prefetching gives a performance improvement. - This field specifies the prefetch window size in octets. May be - set to zero, meaning "no specific limit". Note that other - prefetch limits may still apply. - - - - - prefetch window in messages - - Specifies a prefetch window in terms of whole messages. This - field may be used in combination with the prefetch-size field; - a message will only be sent in advance if both prefetch windows - (and those at the channel and connection level) allow it. - - - - - transfer rate in octets/second - - Specifies a desired transfer rate in octets per second. This is - usually determined by the application that uses the streaming - data. A value of zero means "no limit", i.e. as rapidly as - possible. - - - The server MAY ignore the prefetch values and consume rates, - depending on the type of stream and the ability of the server - to queue and/or reply it. The server MAY drop low-priority - messages in favour of high-priority messages. - - - - - apply to entire connection - - By default the QoS settings apply to the current channel only. If - this field is set, they are applied to the entire connection. - - - - - - confirm the requested qos - - This method tells the client that the requested QoS levels could - be handled by the server. The requested QoS applies to all active - consumers until a new QoS is defined. - - - - - - - - start a queue consumer - - This method asks the server to start a "consumer", which is a - transient request for messages from a specific queue. Consumers - last as long as the channel they were created on, or until the - client cancels them. - - - The server SHOULD support at least 16 consumers per queue, unless - the queue was declared as private, and ideally, impose no limit - except as defined by available resources. - - - Streaming applications SHOULD use different channels to select - different streaming resolutions. AMQP makes no provision for - filtering and/or transforming streams except on the basis of - priority-based selective delivery of individual messages. - - - - - - - The client MUST provide a valid access ticket giving "read" access - rights to the realm for the queue. - - - - - - Specifies the name of the queue to consume from. If the queue name - is null, refers to the current queue for the channel, which is the - last declared queue. - - - If the client did not previously declare a queue, and the queue name - in this method is empty, the server MUST raise a connection exception - with reply code 530 (not allowed). - - - - - - Specifies the identifier for the consumer. The consumer tag is - local to a connection, so two clients can use the same consumer - tags. If this field is empty the server will generate a unique - tag. - - - The tag MUST NOT refer to an existing consumer. If the client - attempts to create two consumers with the same non-empty tag - the server MUST raise a connection exception with reply code - 530 (not allowed). - - - - - - - request exclusive access - - Request exclusive consumer access, meaning only this consumer can - access the queue. - - - If the server cannot grant exclusive access to the queue when asked, - - because there are other consumers active - it MUST raise a channel - exception with return code 405 (resource locked). - - - - - do not send a reply method - - If set, the server will not respond to the method. The client should - not wait for a reply method. If the server could not complete the - method it will raise a channel or connection exception. - - - - - - - confirm a new consumer - - This method provides the client with a consumer tag which it may - use in methods that work with the consumer. - - - - - - Holds the consumer tag specified by the client or provided by - the server. - - - - - - - - end a queue consumer - - This method cancels a consumer. Since message delivery is - asynchronous the client may continue to receive messages for - a short while after canceling a consumer. It may process or - discard these as appropriate. - - - - - - - - do not send a reply method - - If set, the server will not respond to the method. The client should - not wait for a reply method. If the server could not complete the - method it will raise a channel or connection exception. - - - - - - confirm a cancelled consumer - - This method confirms that the cancellation was completed. - - - - - - - - - - - publish a message - - This method publishes a message to a specific exchange. The message - will be routed to queues as defined by the exchange configuration - and distributed to any active consumers as appropriate. - - - - - - The client MUST provide a valid access ticket giving "write" - access rights to the access realm for the exchange. - - - - - - Specifies the name of the exchange to publish to. The exchange - name can be empty, meaning the default exchange. If the exchange - name is specified, and that exchange does not exist, the server - will raise a channel exception. - - - The server MUST accept a blank exchange name to mean the default - exchange. - - - If the exchange was declared as an internal exchange, the server - MUST respond with a reply code 403 (access refused) and raise a - channel exception. - - - The exchange MAY refuse stream content in which case it MUST - respond with a reply code 540 (not implemented) and raise a - channel exception. - - - - - Message routing key - - Specifies the routing key for the message. The routing key is - used for routing messages depending on the exchange configuration. - - - - - indicate mandatory routing - - This flag tells the server how to react if the message cannot be - routed to a queue. If this flag is set, the server will return an - unroutable message with a Return method. If this flag is zero, the - server silently drops the message. - - - The server SHOULD implement the mandatory flag. - - - - - request immediate delivery - - This flag tells the server how to react if the message cannot be - routed to a queue consumer immediately. If this flag is set, the - server will return an undeliverable message with a Return method. - If this flag is zero, the server will queue the message, but with - no guarantee that it will ever be consumed. - - - The server SHOULD implement the immediate flag. - - - - - - return a failed message - - This method returns an undeliverable message that was published - with the "immediate" flag set, or an unroutable message published - with the "mandatory" flag set. The reply code and text provide - information about the reason that the message was undeliverable. - - - - - - - - - Specifies the name of the exchange that the message was - originally published to. - - - - - Message routing key - - Specifies the routing key name specified when the message was - published. - - - - - - - - - notify the client of a consumer message - - This method delivers a message to the client, via a consumer. In - the asynchronous message delivery model, the client starts a - consumer using the Consume method, then the server responds with - Deliver methods as and when messages arrive for that consumer. - - - - - - - - - - Specifies the name of the exchange that the message was originally - published to. - - - - - - Specifies the name of the queue that the message came from. Note - that a single channel can start many consumers on different - queues. - - - - - - - - - work with standard transactions - - - Standard transactions provide so-called "1.5 phase commit". We can - ensure that work is never lost, but there is a chance of confirmations - being lost, so that messages may be resent. Applications that use - standard transactions must be able to detect and ignore duplicate - messages. - - - An client using standard transactions SHOULD be able to track all - messages received within a reasonable period, and thus detect and - reject duplicates of the same message. It SHOULD NOT pass these to - the application layer. - - - tx = C:SELECT S:SELECT-OK - / C:COMMIT S:COMMIT-OK - / C:ROLLBACK S:ROLLBACK-OK - - - - - -select standard transaction mode - - This method sets the channel to use standard transactions. The - client must use this method at least once on a channel before - using the Commit or Rollback methods. - - - - - -confirm transaction mode - - This method confirms to the client that the channel was successfully - set to use standard transactions. - - - - - -commit the current transaction - - This method commits all messages published and acknowledged in - the current transaction. A new transaction starts immediately - after a commit. - - - - - -confirm a successful commit - - This method confirms to the client that the commit succeeded. - Note that if a commit fails, the server raises a channel exception. - - - - - -abandon the current transaction - - This method abandons all messages published and acknowledged in - the current transaction. A new transaction starts immediately - after a rollback. - - - - - -confirm a successful rollback - - This method confirms to the client that the rollback succeeded. - Note that if an rollback fails, the server raises a channel exception. - - - - - - - work with distributed transactions - - - Distributed transactions provide so-called "2-phase commit". The - AMQP distributed transaction model supports the X-Open XA - architecture and other distributed transaction implementations. - The Dtx class assumes that the server has a private communications - channel (not AMQP) to a distributed transaction coordinator. - - - dtx = C:SELECT S:SELECT-OK - C:START S:START-OK - - - - - -select standard transaction mode - - This method sets the channel to use distributed transactions. The - client must use this method at least once on a channel before - using the Start method. - - - - - -confirm transaction mode - - This method confirms to the client that the channel was successfully - set to use distributed transactions. - - - - - - start a new distributed transaction - - This method starts a new distributed transaction. This must be - the first method on a new channel that uses the distributed - transaction mode, before any methods that publish or consume - messages. - - - - - transaction identifier - - The distributed transaction key. This identifies the transaction - so that the AMQP server can coordinate with the distributed - transaction coordinator. - - - - - - confirm the start of a new distributed transaction - - This method confirms to the client that the transaction started. - Note that if a start fails, the server raises a channel exception. - - - - - - - methods for protocol tunneling. - - - The tunnel methods are used to send blocks of binary data - which - can be serialised AMQP methods or other protocol frames - between - AMQP peers. - - - tunnel = C:REQUEST - / S:REQUEST - - - - - Message header field table - - - The identity of the tunnelling proxy - - - The name or type of the message being tunnelled - - - The message durability indicator - - - The message broadcast mode - - - - sends a tunnelled method - - This method tunnels a block of binary data, which can be an - encoded AMQP method or other data. The binary data is sent - as the content for the Tunnel.Request method. - - - - meta data for the tunnelled block - - This field table holds arbitrary meta-data that the sender needs - to pass to the recipient. - - - - - - - test functional primitives of the implementation - - - The test class provides methods for a peer to test the basic - operational correctness of another peer. The test methods are - intended to ensure that all peers respect at least the basic - elements of the protocol, such as frame and content organisation - and field types. We assume that a specially-designed peer, a - "monitor client" would perform such tests. - - - test = C:INTEGER S:INTEGER-OK - / S:INTEGER C:INTEGER-OK - / C:STRING S:STRING-OK - / S:STRING C:STRING-OK - / C:TABLE S:TABLE-OK - / S:TABLE C:TABLE-OK - / C:CONTENT S:CONTENT-OK - / S:CONTENT C:CONTENT-OK - - - - - - test integer handling - - This method tests the peer's capability to correctly marshal integer - data. - - - - - - octet test value - - An octet integer test value. - - - - short test value - - A short integer test value. - - - - long test value - - A long integer test value. - - - - long-long test value - - A long long integer test value. - - - - operation to test - - The client must execute this operation on the provided integer - test fields and return the result. - - - return sum of test values - return lowest of test values - return highest of test values - - - - - report integer test result - - This method reports the result of an Integer method. - - - - - result value - - The result of the tested operation. - - - - - - test string handling - - This method tests the peer's capability to correctly marshal string - data. - - - - - - short string test value - - An short string test value. - - - - long string test value - - A long string test value. - - - - operation to test - - The client must execute this operation on the provided string - test fields and return the result. - - - return concatentation of test strings - return shortest of test strings - return longest of test strings - - - - - report string test result - - This method reports the result of a String method. - - - - - result value - - The result of the tested operation. - - - - - - test field table handling - - This method tests the peer's capability to correctly marshal field - table data. - - - - - - field table of test values - - A field table of test values. - - - - operation to test on integers - - The client must execute this operation on the provided field - table integer values and return the result. - - - return sum of numeric field values - return min of numeric field values - return max of numeric field values - - - - operation to test on strings - - The client must execute this operation on the provided field - table string values and return the result. - - - return concatenation of string field values - return shortest of string field values - return longest of string field values - - - - - report table test result - - This method reports the result of a Table method. - - - - - integer result value - - The result of the tested integer operation. - - - - string result value - - The result of the tested string operation. - - - - - - test content handling - - This method tests the peer's capability to correctly marshal content. - - - - - - - report content test result - - This method reports the result of a Content method. It contains the - content checksum and echoes the original content as provided. - - - - - content hash - - The 32-bit checksum of the content, calculated by adding the - content into a 32-bit accumulator. - - - - - diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/mcs/class/RabbitMQ.Client/docs/specs/amqp0-9.xml /tmp/whXnmORr8x/mono-2.4+dfsg/mcs/class/RabbitMQ.Client/docs/specs/amqp0-9.xml --- mono-2.4.0/mcs/class/RabbitMQ.Client/docs/specs/amqp0-9.xml 2009-02-13 23:49:40.000000000 +0000 +++ mono-2.4+dfsg/mcs/class/RabbitMQ.Client/docs/specs/amqp0-9.xml 1970-01-01 01:00:00.000000000 +0100 @@ -1,5185 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Indicates that the method completed successfully. This reply code is - reserved for future use - the current protocol design does not use positive - confirmation and reply codes are sent only in case of an error. - - - - - - The client asked for a specific message that is no longer available. - The message was delivered to another client, or was purged from the queue - for some other reason. - - - - - - The client attempted to transfer content larger than the server could accept - at the present time. The client may retry at a later time. - - - - - - When the exchange cannot route the result of a .Publish, most likely due - to an invalid routing key. Only when the mandatory flag is set. - - - - - - When the exchange cannot deliver to a consumer when the immediate flag is - set. As a result of pending data on the queue or the absence of any - consumers of the queue. - - - - - - An operator intervened to close the connection for some reason. The client - may retry at some later date. - - - - - - The client tried to work with an unknown virtual host. - - - - - - The client attempted to work with a server entity to which it has no - access due to security settings. - - - - - The client attempted to work with a server entity that does not exist. - - - - - The client attempted to work with a server entity to which it has no - access because another client is working with it. - - - - - - The client requested a method that was not allowed because some precondition - failed. - - - - - - The client sent a malformed frame that the server could not decode. This - strongly implies a programming error in the client. - - - - - - The client sent a frame that contained illegal values for one or more - fields. This strongly implies a programming error in the client. - - - - - - The client sent an invalid sequence of frames, attempting to perform an - operation that was considered invalid by the server. This usually implies - a programming error in the client. - - - - - - The client attempted to work with a channel that had not been correctly - opened. This most likely indicates a fault in the client layer. - - - - - - The server could not complete the method because it lacked sufficient - resources. This may be due to the client creating too many of some type - of entity. - - - - - - The client tried to work with some entity in a manner that is prohibited - by the server, due to security settings or by some other criteria. - - - - - - The client tried to use functionality that is not implemented in the - server. - - - - - - The server could not complete the method because of an internal error. - The server may require intervention by an operator in order to resume - normal operations. - - - - - - - - An access ticket granted by the server for a certain set of access rights - within a specific realm. Access tickets are valid within the channel where - they were created, and expire when the channel closes. - - - - - - - - - Identifier for the consumer, valid within the current connection. - - - - - - The server-assigned and channel-specific delivery tag - - - - The delivery tag is valid only within the channel from which the message was - received. I.e. a client MUST NOT receive a message on one channel and then - acknowledge it on another. - - - - - The server MUST NOT use a zero value for delivery tags. Zero is reserved - for client use, meaning "all messages so far received". - - - - - - - The exchange name is a client-selected string that identifies the exchange for publish - methods. Exchange names may consist of any mixture of digits, letters, and underscores. - Exchange names are scoped by the virtual host. - - - - - - - Specifies the list of equivalent or alternative hosts that the server knows about, - which will normally include the current server itself. Clients can cache this - information and use it when reconnecting to a server after a failure. This field - may be empty. - - - - - - - - If this field is set the server does not expect acknowledgements for - messages. That is, when a message is delivered to the client the server - automatically and silently acknowledges it on behalf of the client. This - functionality increases performance but at the cost of reliability. - Messages can get lost if a client dies before it can deliver them to the - application. - - - - - - If the no-local field is set the server will not send messages to the connection that - published them. - - - - - - Must start with a slash "/" and continue with path names separated by slashes. A path - name consists of any combination of at least one of [A-Za-z0-9] plus zero or more of - [.-_+!=:]. - - - - - - - - - - This string provides a set of peer properties, used for identification, debugging, and - general information. - - - - - - The queue name identifies the queue within the vhost. Queue names may consist of any - mixture of digits, letters, and underscores. - - - - - - - This indicates that the message has been previously delivered to this or - another client. - - - - The server SHOULD try to signal redelivered messages when it can. When - redelivering a message that was not successfully acknowledged, the server - SHOULD deliver it to the original client if possible. - - - Create a shared queue and publish a message to the queue. Consume the - message using explicit acknowledgements, but do not acknowledge the - message. Close the connection, reconnect, and consume from the queue - again. The message should arrive with the redelivered flag set. - - - - - The client MUST NOT rely on the redelivered field but should take it as a - hint that the message may already have been processed. A fully robust - client must be able to track duplicate received messages on non-transacted, - and locally-transacted channels. - - - - - - - The reply code. The AMQ reply codes are defined as constants at the start - of this formal specification. - - - - - - - The localised reply text. This text can be logged as an aid to resolving - issues. - - - - - - - - - - - - - Specifies the destination to which the message is to be - transferred. The destination can be empty, meaning the - default exchange or consumer. - - - - - - The reject code must be one of 0 (generic) or 1 (immediate - delivery was attempted but failed). - - - - - - - Used for authentication, replay prevention, and encrypted bodies. - - - - - - - - - - - - - - - - - - - - - The connection class provides methods for a client to establish a network connection to - a server, and for both peers to operate the connection thereafter. - - - - connection = open-connection *use-connection close-connection - open-connection = C:protocol-header - S:START C:START-OK - *challenge - S:TUNE C:TUNE-OK - C:OPEN S:OPEN-OK | S:REDIRECT - challenge = S:SECURE C:SECURE-OK - use-connection = *channel - close-connection = C:CLOSE S:CLOSE-OK - / S:CLOSE C:CLOSE-OK - - - - - - - - - - This method starts the connection negotiation process by telling the client the - protocol version that the server proposes, along with a list of security mechanisms - which the client can use for authentication. - - - - - If the server cannot support the protocol specified in the protocol header, - it MUST close the socket connection without sending any response method. - - - The client sends a protocol header containing an invalid protocol name. - The server must respond by closing the connection. - - - - - The server MUST provide a protocol version that is lower than or equal to - that requested by the client in the protocol header. - - - The client requests a protocol version that is higher than any valid - implementation, e.g. 9.0. The server must respond with a current - protocol version, e.g. 1.0. - - - - - If the client cannot handle the protocol version suggested by the server - it MUST close the socket connection. - - - The server sends a protocol version that is lower than any valid - implementation, e.g. 0.1. The client must respond by closing the - connection. - - - - - - - - - The protocol version, major component, as transmitted in the AMQP protocol - header. This, combined with the protocol minor component fully describe the - protocol version, which is written in the format major-minor. Hence, with - major=1, minor=3, the protocol version would be "1-3". - - - - - - The protocol version, minor component, as transmitted in the AMQP protocol - header. This, combined with the protocol major component fully describe the - protocol version, which is written in the format major-minor. Hence, with - major=1, minor=3, the protocol version would be "1-3". - - - - - - - The properties SHOULD contain at least these fields: "host", specifying the - server host name or address, "product", giving the name of the server product, - "version", giving the name of the server version, "platform", giving the name - of the operating system, "copyright", if appropriate, and "information", giving - other general information. - - - Client connects to server and inspects the server properties. It checks for - the presence of the required fields. - - - - - - - A list of the security mechanisms that the server supports, delimited by spaces. - - - - - - - A list of the message locales that the server supports, delimited by spaces. The - locale defines the language in which the server will send reply texts. - - - - The server MUST support at least the en_US locale. - - - Client connects to server and inspects the locales field. It checks for - the presence of the required locale(s). - - - - - - - - - This method selects a SASL security mechanism. - - - - - - - - - The properties SHOULD contain at least these fields: "product", giving the name - of the client product, "version", giving the name of the client version, "platform", - giving the name of the operating system, "copyright", if appropriate, and - "information", giving other general information. - - - - - - - A single security mechanisms selected by the client, which must be one of those - specified by the server. - - - - The client SHOULD authenticate using the highest-level security profile it - can handle from the list provided by the server. - - - - - If the mechanism field does not contain one of the security mechanisms - proposed by the server in the Start method, the server MUST close the - connection without sending any further data. - - - Client connects to server and sends an invalid security mechanism. The - server must respond by closing the connection (a socket close, with no - connection close negotiation). - - - - - - - - A block of opaque data passed to the security mechanism. The contents of this - data are defined by the SASL security mechanism. - - - - - - - A single message locale selected by the client, which must be one of those - specified by the server. - - - - - - - - - - The SASL protocol works by exchanging challenges and responses until both peers have - received sufficient information to authenticate each other. This method challenges - the client to provide more information. - - - - - - - - Challenge information, a block of opaque binary data passed to the security - mechanism. - - - - - - - This method attempts to authenticate, passing a block of SASL data for the security - mechanism at the server side. - - - - - - - A block of opaque data passed to the security mechanism. The contents of this - data are defined by the SASL security mechanism. - - - - - - - - - - This method proposes a set of connection configuration values to the client. The - client can accept and/or adjust these. - - - - - - - - - The maximum total number of channels that the server allows per connection. Zero - means that the server does not impose a fixed limit, but the number of allowed - channels may be limited by available server resources. - - - - - - The largest frame size that the server proposes for the connection. The client - can negotiate a lower value. Zero means that the server does not impose any - specific limit but may reject very large frames if it cannot allocate resources - for them. - - - - Until the frame-max has been negotiated, both peers MUST accept frames of up - to frame-min-size octets large, and the minimum negotiated value for frame-max - is also frame-min-size. - - - Client connects to server and sends a large properties field, creating a frame - of frame-min-size octets. The server must accept this frame. - - - - - - - - The delay, in seconds, of the connection heartbeat that the server wants. - Zero means the server does not want a heartbeat. - - - - - - - This method sends the client's connection tuning parameters to the server. - Certain fields are negotiated, others provide capability information. - - - - - - - The maximum total number of channels that the client will use per connection. - - - - If the client specifies a channel max that is higher than the value provided - by the server, the server MUST close the connection without attempting a - negotiated close. The server may report the error in some fashion to assist - implementors. - - - - - - - - - The largest frame size that the client and server will use for the connection. - Zero means that the client does not impose any specific limit but may reject - very large frames if it cannot allocate resources for them. Note that the - frame-max limit applies principally to content frames, where large contents can - be broken into frames of arbitrary size. - - - - Until the frame-max has been negotiated, both peers MUST accept frames of up - to frame-min-size octets large, and the minimum negotiated value for frame-max - is also frame-min-size. - - - - - If the client specifies a frame max that is higher than the value provided - by the server, the server MUST close the connection without attempting a - negotiated close. The server may report the error in some fashion to assist - implementors. - - - - - - - The delay, in seconds, of the connection heartbeat that the client wants. Zero - means the client does not want a heartbeat. - - - - - - - - - This method opens a connection to a virtual host, which is a collection of - resources, and acts to separate multiple application domains within a server. - The server may apply arbitrary limits per virtual host, such as the number - of each type of entity that may be used, per connection and/or in total. - - - - - - - - - - - The name of the virtual host to work with. - - - - If the server supports multiple virtual hosts, it MUST enforce a full - separation of exchanges, queues, and all associated entities per virtual - host. An application, connected to a specific virtual host, MUST NOT be able - to access resources of another virtual host. - - - - - The server SHOULD verify that the client has permission to access the - specified virtual host. - - - - - - - The client can specify zero or more capability names, delimited by spaces. - The server can use this string to how to process the client's connection - request. - - - - - - In a configuration with multiple collaborating servers, the server may respond - to a Connection.Open method with a Connection.Redirect. The insist option tells - the server that the client is insisting on a connection to the specified server. - - - - When the client uses the insist option, the server MUST NOT respond with a - Connection.Redirect method. If it cannot accept the client's connection - request it should respond by closing the connection with a suitable reply - code. - - - - - - - - This method signals to the client that the connection is ready for use. - - - - - - - - This method redirects the client to another server, based on the requested virtual - host and/or capabilities. - - - - When getting the Connection.Redirect method, the client SHOULD reconnect to - the host specified, and if that host is not present, to any of the hosts - specified in the known-hosts list. - - - - - - Specifies the server to connect to. This is an IP address or a DNS name, - optionally followed by a colon and a port number. If no port number is - specified, the client should use the default port number for the protocol. - - - - - - - - - - - This method indicates that the sender wants to close the connection. This may be - due to internal conditions (e.g. a forced shut-down) or due to an error handling - a specific method, i.e. an exception. When a close is due to an exception, the - sender provides the class and method id of the method which caused the exception. - - - - - After sending this method any received method except the Close-OK method MUST - be discarded. - - - - - - - - - - - - - When the close is provoked by a method exception, this is the class of the - method. - - - - - - When the close is provoked by a method exception, this is the ID of the method. - - - - - - - This method confirms a Connection.Close method and tells the recipient that it is - safe to release resources for the connection and close the socket. - - - - A peer that detects a socket closure without having received a Close-Ok - handshake method SHOULD log the error. - - - - - - - - - - - - The channel class provides methods for a client to establish a channel to a - server and for both peers to operate the channel thereafter. - - - - channel = open-channel *use-channel close-channel - open-channel = C:OPEN S:OPEN-OK - / C:RESUME S:OK - use-channel = C:FLOW S:FLOW-OK - / S:FLOW C:FLOW-OK - / S:PING C:OK - / C:PONG S:OK - / C:PING S:OK - / S:PONG C:OK - / functional-class - close-channel = C:CLOSE S:CLOSE-OK - / S:CLOSE C:CLOSE-OK - - - - - - - - - - This method opens a channel to the server. - - - - The client MUST NOT use this method on an already-opened channel. - - - Client opens a channel and then reopens the same channel. - - - - - - - Configures out-of-band transfers on this channel. The syntax and meaning of this - field will be formally defined at a later date. - - - - - - - - This method signals to the client that the channel is ready for use. - - - - - - - - - - This method asks the peer to pause or restart the flow of content data. This is a - simple flow-control mechanism that a peer can use to avoid overflowing its queues or - otherwise finding itself receiving more messages than it can process. Note that this - method is not intended for window control. The peer that receives a disable flow - method should finish sending the current content frame, if any, then pause. - - - - - When a new channel is opened, it is active (flow is active). Some applications - assume that channels are inactive until started. To emulate this behaviour a - client MAY open the channel, then pause it. - - - - - - When sending content frames, a peer SHOULD monitor the channel for incoming - methods and respond to a Channel.Flow as rapidly as possible. - - - - - - A peer MAY use the Channel.Flow method to throttle incoming content data for - internal reasons, for example, when exchanging data over a slower connection. - - - - - - The peer that requests a Channel.Flow method MAY disconnect and/or ban a peer - that does not respect the request. This is to prevent badly-behaved clients - from overwhelming a broker. - - - - - - - - - - - If 1, the peer starts sending content frames. If 0, the peer stops sending - content frames. - - - - - - - Confirms to the peer that a flow command was received and processed. - - - - - - Confirms the setting of the processed flow method: 1 means the peer will start - sending or continue to send content frames; 0 means it will not. - - - - - - - - - This method indicates that the sender wants to close the channel. This may be due to - internal conditions (e.g. a forced shut-down) or due to an error handling a specific - method, i.e. an exception. When a close is due to an exception, the sender provides - the class and method id of the method which caused the exception. - - - - - - After sending this method any received method except the Close-OK method MUST - be discarded. - - - - - - - - - - - - - When the close is provoked by a method exception, this is the class of the - method. - - - - - - When the close is provoked by a method exception, this is the ID of the method. - - - - - - - This method confirms a Channel.Close method and tells the recipient that it is safe - to release resources for the channel. - - - - A peer that detects a socket closure without having received a Channel.Close-Ok - handshake method SHOULD log the error. - - - - - - - - - - - This method resume a previously interrupted channel. - - - - - - - - - - - [WORK IN PROGRESS] Request that the recipient issue a pong request. - - - - - - - - - [WORK IN PROGRESS] Issued after a ping request is received. Note that this is a - request issued after receiving a ping, not a response to - receiving a ping. - - - - - - - - - [WORK IN PROGRESS] Signals normal completion of a method. - - - - - - - - - - - - - The protocol control access to server resources using access tickets. A - client must explicitly request access tickets before doing work. An access - ticket grants a client the right to use a specific set of resources - - called a "realm" - in specific ways. - - - - access = C:REQUEST S:REQUEST-OK - - - - - - - - - - This method requests an access ticket for an access realm. The server - responds by granting the access ticket. If the client does not have - access rights to the requested realm this causes a connection exception. - Access tickets are a per-channel resource. - - - - - - - - Specifies the name of the realm to which the client is requesting access. - The realm is a configured server-side object that collects a set of - resources (exchanges, queues, etc.). If the channel has already requested - an access ticket onto this realm, the previous ticket is destroyed and a - new ticket is created with the requested access rights, if allowed. - - - - The client MUST specify a realm that is known to the server. The server - makes an identical response for undefined realms as it does for realms - that are defined but inaccessible to this client. - - - Client specifies an undefined realm. - - - - - - - Request exclusive access to the realm, meaning that this will be the only - channel that uses the realm's resources. - - - - The client MAY NOT request exclusive access to a realm that has active - access tickets, unless the same channel already had the only access - ticket onto that realm. - - - Client opens two channels and requests exclusive access to the same realm. - - - - - - Request message passive access to the specified access realm. Passive - access lets a client get information about resources in the realm but - not to make any changes to them. - - - - - Request message active access to the specified access realm. Active access lets - a client get create and delete resources in the realm. - - - - - Request write access to the specified access realm. Write access lets a client - publish messages to all exchanges in the realm. - - - - - Request read access to the specified access realm. Read access lets a client - consume messages from queues in the realm. - - - - - - - This method provides the client with an access ticket. The access ticket is valid - within the current channel and for the lifespan of the channel. - - - - The client MUST NOT use access tickets except within the same channel as - originally granted. - - - Client opens two channels, requests a ticket on one channel, and then - tries to use that ticket in a second channel. - - - - - - - - - - - - Exchanges match and distribute messages across queues. Exchanges can be configured in - the server or created at runtime. - - - - exchange = C:DECLARE S:DECLARE-OK - / C:DELETE S:DELETE-OK - - - - - - - - The server MUST implement these standard exchange types: fanout, direct. - - - Client attempts to declare an exchange with each of these standard types. - - - - - The server SHOULD implement these standard exchange types: topic, headers. - - - Client attempts to declare an exchange with each of these standard types. - - - - - The server MUST, in each virtual host, pre-declare an exchange instance - for each standard exchange type that it implements, where the name of the - exchange instance, if defined, is "amq." followed by the exchange type name. - - - The server MUST, in each virtual host, pre-declare at least two direct - exchange instances: one named "amq.direct", the other with no public name - that serves as a default exchange for Publish methods. - - - Client creates a temporary queue and attempts to bind to each required - exchange instance ("amq.fanout", "amq.direct", "amq.topic", and "amq.headers" - if those types are defined). - - - - - The server MUST pre-declare a direct exchange with no public name to act as - the default exchange for content Publish methods and for default queue bindings. - - - Client checks that the default exchange is active by specifying a queue - binding with no exchange name, and publishing a message with a suitable - routing key but without specifying the exchange name, then ensuring that - the message arrives in the queue correctly. - - - - - The server MUST NOT allow clients to access the default exchange except - by specifying an empty exchange name in the Queue.Bind and content Publish - methods. - - - - - The server MAY implement other exchange types as wanted. - - - - - - - - This method creates an exchange if it does not already exist, and if the exchange - exists, verifies that it is of the correct and expected class. - - - - The server SHOULD support a minimum of 16 exchanges per virtual host and - ideally, impose no limit except as defined by available resources. - - - The client creates as many exchanges as it can until the server reports - an error; the number of exchanges successfully created must be at least - sixteen. - - - - - - - - - When a client defines a new exchange, this belongs to the access realm of the - ticket used. All further work done with that exchange must be done with an - access ticket for the same realm. - - - - The client MUST provide a valid access ticket giving "active" access to - the realm in which the exchange exists or will be created, or "passive" - access if the if-exists flag is set. - - - Client creates access ticket with wrong access rights and attempts to use - in this method. - - - - - - - - Exchange names starting with "amq." are reserved for pre-declared and - standardised exchanges. The client MUST NOT attempt to create an exchange - starting with "amq.". - - - TODO. - - - - - - - - Each exchange belongs to one of a set of exchange types implemented by the - server. The exchange types define the functionality of the exchange - i.e. how - messages are routed through it. It is not valid or meaningful to attempt to - change the type of an existing exchange. - - - - Exchanges cannot be redeclared with different types. The client MUST not - attempt to redeclare an existing exchange with a different type than used - in the original Exchange.Declare method. - - - TODO. - - - - - The client MUST NOT attempt to create an exchange with a type that the - server does not support. - - - TODO. - - - - - - - - If set, the server will not create the exchange. The client can use this to - check whether an exchange exists without modifying the server state. - - - - If set, and the exchange does not already exist, the server MUST raise a - channel exception with reply code 404 (not found). - - - TODO. - - - - - - - If set when creating a new exchange, the exchange will be marked as durable. - Durable exchanges remain active when a server restarts. Non-durable exchanges - (transient exchanges) are purged if/when a server restarts. - - - - The server MUST support both durable and transient exchanges. - - - TODO. - - - - - The server MUST ignore the durable field if the exchange already exists. - - - TODO. - - - - - - - - If set, the exchange is deleted when all queues have finished using it. - - - - The server MUST ignore the auto-delete field if the exchange already - exists. - - - TODO. - - - - - - - If set, the exchange may not be used directly by publishers, but only when bound - to other exchanges. Internal exchanges are used to construct wiring that is not - visible to applications. - - - - - - If set, the server will not respond to the method. The client should not wait - for a reply method. If the server could not complete the method it will raise a - channel or connection exception. - - - - - - A set of arguments for the declaration. The syntax and semantics of these - arguments depends on the server implementation. This field is ignored if passive - is 1. - - - - - - - This method confirms a Declare method and confirms the name of the exchange, - essential for automatically-named exchanges. - - - - - - - - - This method deletes an exchange. When an exchange is deleted all queue bindings on - the exchange are cancelled. - - - - - - - - - The client MUST provide a valid access ticket giving "active" access - rights to the exchange's access realm. - - - Client creates access ticket with wrong access rights and attempts to use - in this method. - - - - - - - - The client MUST NOT attempt to delete an exchange that does not exist. - - - - - - - - - If set, the server will only delete the exchange if it has no queue bindings. If - the exchange has queue bindings the server does not delete it but raises a - channel exception instead. - - - - - - If set, the server will not respond to the method. The client should not wait - for a reply method. If the server could not complete the method it will raise a - channel or connection exception. - - - - - - This method confirms the deletion of an exchange. - - - - - - - - - Queues store and forward messages. Queues can be configured in the server or created at - runtime. Queues must be attached to at least one exchange in order to receive messages - from publishers. - - - - queue = C:DECLARE S:DECLARE-OK - / C:BIND S:BIND-OK - / C:PURGE S:PURGE-OK - / C:DELETE S:DELETE-OK - - - - - - - - A server MUST allow any content class to be sent to any queue, in any mix, and - queue and deliver these content classes independently. Note that all methods - that fetch content off queues are specific to a given content class. - - - Client creates an exchange of each standard type and several queues that - it binds to each exchange. It must then successfully send each of the standard - content types to each of the available queues. - - - - - - - - This method creates or checks a queue. When creating a new queue the client can - specify various properties that control the durability of the queue and its - contents, and the level of sharing for the queue. - - - - - The server MUST create a default binding for a newly-created queue to the - default exchange, which is an exchange of type 'direct' and use the queue - name as the routing key. - - - Client creates a new queue, and then without explicitly binding it to an - exchange, attempts to send a message through the default exchange binding, - i.e. publish a message to the empty exchange, with the queue name as routing - key. - - - - - - - The server SHOULD support a minimum of 256 queues per virtual host and ideally, - impose no limit except as defined by available resources. - - - Client attempts to create as many queues as it can until the server reports - an error. The resulting count must at least be 256. - - - - - - - - - When a client defines a new queue, this belongs to the access realm of the - ticket used. All further work done with that queue must be done with an access - ticket for the same realm. - - - - The client MUST provide a valid access ticket giving "active" access to - the realm in which the queue exists or will be created. - - - Client creates access ticket with wrong access rights and attempts to use - in this method. - - - - - - - - The queue name MAY be empty, in which case the server MUST create a new - queue with a unique generated name and return this to the client in the - Declare-Ok method. - - - Client attempts to create several queues with an empty name. The client then - verifies that the server-assigned names are unique and different. - - - - - Queue names starting with "amq." are reserved for pre-declared and - standardised server queues. A client MAY NOT attempt to declare a queue with a - name that starts with "amq." and the passive option set to zero. - - - A client attempts to create a queue with a name starting with "amq." and with - the passive option set to zero. - - - - - - - - If set, the server will not create the queue. This field allows the client - to assert the presence of a queue without modifying the server state. - - - - The client MAY ask the server to assert that a queue exists without - creating the queue if not. If the queue does not exist, the server - treats this as a failure. - - - Client declares an existing queue with the passive option and expects - the server to respond with a declare-ok. Client then attempts to declare - a non-existent queue with the passive option, and the server must close - the channel with the correct reply-code. - - - - - - - If set when creating a new queue, the queue will be marked as durable. Durable - queues remain active when a server restarts. Non-durable queues (transient - queues) are purged if/when a server restarts. Note that durable queues do not - necessarily hold persistent messages, although it does not make sense to send - persistent messages to a transient queue. - - - - The server MUST recreate the durable queue after a restart. - - - - A client creates a durable queue. The server is then restarted. The client - then attempts to send a message to the queue. The message should be successfully - delivered. - - - - - The server MUST support both durable and transient queues. - - A client creates two named queues, one durable and one transient. - - - - - The server MUST ignore the durable field if the queue already exists. - - A client creates two named queues, one durable and one transient. The client - then attempts to declare the two queues using the same names again, but reversing - the value of the durable flag in each case. Verify that the queues still exist - with the original durable flag values. - - - - - - - - Exclusive queues may only be consumed from by the current connection. Setting - the 'exclusive' flag always implies 'auto-delete'. - - - - - - The server MUST support both exclusive (private) and non-exclusive (shared) - queues. - - - A client creates two named queues, one exclusive and one non-exclusive. - - - - - - - The client MAY NOT attempt to declare any existing and exclusive queue - on multiple connections. - - - A client declares an exclusive named queue. A second client on a different - connection attempts to declare a queue of the same name. - - - - - - - If set, the queue is deleted when all consumers have finished using it. Last - consumer can be cancelled either explicitly or because its channel is closed. If - there was no consumer ever on the queue, it won't be deleted. - - - - - - The server MUST ignore the auto-delete field if the queue already exists. - - - A client creates two named queues, one as auto-delete and one explicit-delete. - The client then attempts to declare the two queues using the same names again, - but reversing the value of the auto-delete field in each case. Verify that the - queues still exist with the original auto-delete flag values. - - - - - - - - If set, the server will not respond to the method. The client should not wait - for a reply method. If the server could not complete the method it will raise a - channel or connection exception. - - - - - - A set of arguments for the declaration. The syntax and semantics of these - arguments depends on the server implementation. This field is ignored if passive - is 1. - - - - - - - This method confirms a Declare method and confirms the name of the queue, essential - for automatically-named queues. - - - - - - - Reports the name of the queue. If the server generated a queue name, this field - contains that name. - - - - - - - Reports the number of messages in the queue, which will be zero for - newly-created queues. - - - - - - Reports the number of active consumers for the queue. Note that consumers can - suspend activity (Channel.Flow) in which case they do not appear in this count. - - - - - - - - - This method binds a queue to an exchange. Until a queue is bound it will not receive - any messages. In a classic messaging model, store-and-forward queues are bound to a - direct exchange and subscription queues are bound to a topic exchange. - - - - - - A server MUST allow ignore duplicate bindings - that is, two or more bind - methods for a specific queue, with identical arguments - without treating these - as an error. - - - A client binds a named queue to an exchange. The client then repeats the bind - (with identical arguments). - - - - - - - If a bind fails, the server MUST raise a connection exception. - - TODO - - - - - - - The server MUST NOT allow a durable queue to bind to a transient exchange. - - - A client creates a transient exchange. The client then declares a named durable - queue and then attempts to bind the transient exchange to the durable queue. - - - - - - - Bindings for durable queues are automatically durable and the server SHOULD - restore such bindings after a server restart. - - - A server creates a named durable queue and binds it to a durable exchange. The - server is restarted. The client then attempts to use the queue/exchange combination. - - - - - - - If the client attempts to bind to an exchange that was declared as internal, the server - MUST raise a connection exception with reply code 530 (not allowed). - - - A client attempts to bind a named queue to an internal exchange. - - - - - - - The server SHOULD support at least 4 bindings per queue, and ideally, impose no - limit except as defined by available resources. - - - A client creates a named queue and attempts to bind it to 4 different non-internal - exchanges. - - - - - - - - - - The client provides a valid access ticket giving "active" access rights to the - queue's access realm. - - - - - - Specifies the name of the queue to bind. If the queue name is empty, refers to - the current queue for the channel, which is the last declared queue. - - - - - A client MUST NOT be allowed to bind a non-existent and unnamed queue (i.e. - empty queue name) to an exchange. - - - A client attempts to bind with an unnamed (empty) queue name to an exchange. - - - - - - - A client MUST NOT be allowed to bind a non-existent queue (i.e. not previously - declared) to an exchange. - - - A client attempts to bind an undeclared queue name to an exchange. - - - - - - - - - A client MUST NOT be allowed to bind a queue to a non-existent exchange. - - - A client attempts to bind an named queue to a undeclared exchange. - - - - - - - Specifies the routing key for the binding. The routing key is used for routing - messages depending on the exchange configuration. Not all exchanges use a - routing key - refer to the specific exchange documentation. If the queue name - is empty, the server uses the last queue declared on the channel. If the - routing key is also empty, the server uses this queue name for the routing - key as well. If the queue name is provided but the routing key is empty, the - server does the binding with that empty routing key. The meaning of empty - routing keys depends on the exchange implementation. - - - - If a message queue binds to a direct exchange using routing key K and a - publisher sends the exchange a message with routing key R, then the message - MUST be passed to the message queue if K = R. - - - - - - - If set, the server will not respond to the method. The client should not wait - for a reply method. If the server could not complete the method it will raise a - channel or connection exception. - - - - - - A set of arguments for the binding. The syntax and semantics of these arguments - depends on the exchange class. - - - - - - This method confirms that the bind was successful. - - - - - - - - This method unbinds a queue from an exchange. - - If a unbind fails, the server MUST raise a connection exception. - - - - - - - The client provides a valid access ticket giving "active" - access rights to the queue's access realm. - - - - - Specifies the name of the queue to unbind. - - - If the queue does not exist the server MUST raise a channel exception - with reply code 404 (not found). - - - - - - The name of the exchange to unbind from. - - - If the exchange does not exist the server MUST raise a channel - exception with reply code 404 (not found). - - - - - - Specifies the routing key of the binding to unbind. - - - - Specifies the arguments of the binding to unbind. - - - - - This method confirms that the unbind was successful. - - - - - - - - This method removes all messages from a queue. It does not cancel consumers. Purged - messages are deleted without any formal "undo" mechanism. - - - - - A call to purge MUST result in an empty queue. - - - - - - On transacted channels the server MUST not purge messages that have already been - sent to a client but not yet acknowledged. - - - - - - - - - The server MAY implement a purge queue or log that allows system administrators - to recover accidentally-purged messages. The server SHOULD NOT keep purged - messages in the same storage spaces as the live messages since the volumes of - purged messages may get very large. - - - - - - - - - The access ticket must be for the access realm that holds the queue. - - - - The client MUST provide a valid access ticket giving "read" access rights to - the queue's access realm. Note that purging a queue is equivalent to reading - all messages and discarding them. - - - - - - - Specifies the name of the queue to purge. If the queue name is empty, refers to - the current queue for the channel, which is the last declared queue. - - - - - If the client did not previously declare a queue, and the queue name in this - method is empty, the server MUST raise a connection exception with reply - code 530 (not allowed). - - - - - - - - - The queue MUST exist. Attempting to purge a non-existing queue MUST cause a - channel exception. - - - - - - - If set, the server will not respond to the method. The client should not wait - for a reply method. If the server could not complete the method it will raise a - channel or connection exception. - - - - - - This method confirms the purge of a queue. - - - - - Reports the number of messages purged. - - - - - - - - This method deletes a queue. When a queue is deleted any pending messages are sent - to a dead-letter queue if this is defined in the server configuration, and all - consumers on the queue are cancelled. - - - - - - - - The server SHOULD use a dead-letter queue to hold messages that were pending on - a deleted queue, and MAY provide facilities for a system administrator to move - these messages back to an active queue. - - - - - - - - - - The client provides a valid access ticket giving "active" access rights to the - queue's access realm. - - - - - - Specifies the name of the queue to delete. If the queue name is empty, refers to - the current queue for the channel, which is the last declared queue. - - - - - If the client did not previously declare a queue, and the queue name in this - method is empty, the server MUST raise a connection exception with reply - code 530 (not allowed). - - - - - - - The queue must exist. If the client attempts to delete a non-existing queue - the server MUST raise a channel exception with reply code 404 (not found). - - - - - - - If set, the server will only delete the queue if it has no consumers. If the - queue has consumers the server does does not delete it but raises a channel - exception instead. - - - - - The server MUST respect the if-unused flag when deleting a queue. - - - - - - If set, the server will only delete the queue if it has no messages. - - - - If the queue is not empty the server MUST raise a channel exception with - reply code 406 (precondition failed). - - - - - - - If set, the server will not respond to the method. The client should not wait - for a reply method. If the server could not complete the method it will raise a - channel or connection exception. - - - - - - This method confirms the deletion of a queue. - - - - - Reports the number of messages purged. - - - - - - - - - The Basic class provides methods that support an industry-standard messaging model. - - - - basic = C:QOS S:QOS-OK - / C:CONSUME S:CONSUME-OK - / C:CANCEL S:CANCEL-OK - / C:PUBLISH content - / S:RETURN content - / S:DELIVER content - / C:GET ( S:GET-OK content / S:GET-EMPTY ) - / C:ACK - / C:REJECT - - - - - - - - - The server SHOULD respect the persistent property of basic messages and - SHOULD make a best-effort to hold persistent basic messages on a reliable - storage mechanism. - - - Send a persistent message to queue, stop server, restart server and then - verify whether message is still present. Assumes that queues are durable. - Persistence without durable queues makes no sense. - - - - - - - The server MUST NOT discard a persistent basic message in case of a queue - overflow. - - - Create a queue overflow situation with persistent messages and verify that - messages do not get lost (presumably the server will write them to disk). - - - - - - The server MAY use the Channel.Flow method to slow or stop a basic message - publisher when necessary. - - - Create a queue overflow situation with non-persistent messages and verify - whether the server responds with Channel.Flow or not. Repeat with persistent - messages. - - - - - - - The server MAY overflow non-persistent basic messages to persistent - storage. - - - - - - - The server MAY discard or dead-letter non-persistent basic messages on a - priority basis if the queue size exceeds some configured limit. - - - - - - - - The server MUST implement at least 2 priority levels for basic messages, - where priorities 0-4 and 5-9 are treated as two distinct levels. - - - Send a number of priority 0 messages to a queue. Send one priority 9 - message. Consume messages from the queue and verify that the first message - received was priority 9. - - - - - - The server MAY implement up to 10 priority levels. - - - Send a number of messages with mixed priorities to a queue, so that all - priority values from 0 to 9 are exercised. A good scenario would be ten - messages in low-to-high priority. Consume from queue and verify how many - priority levels emerge. - - - - - - - The server MUST deliver messages of the same priority in order irrespective of - their individual persistence. - - - Send a set of messages with the same priority but different persistence - settings to a queue. Consume and verify that messages arrive in same order - as originally published. - - - - - - - The server MUST support automatic acknowledgements on Basic content, i.e. - consumers with the no-ack field set to FALSE. - - - Create a queue and a consumer using automatic acknowledgements. Publish - a set of messages to the queue. Consume the messages and verify that all - messages are received. - - - - - - The server MUST support explicit acknowledgements on Basic content, i.e. - consumers with the no-ack field set to TRUE. - - - Create a queue and a consumer using explicit acknowledgements. Publish a - set of messages to the queue. Consume the messages but acknowledge only - half of them. Disconnect and reconnect, and consume from the queue. - Verify that the remaining messages are received. - - - - - - - - - - - - - - - - - - - - - - - - - - This method requests a specific quality of service. The QoS can be specified for the - current channel or for all channels on the connection. The particular properties and - semantics of a qos method always depend on the content class semantics. Though the - qos method could in principle apply to both peers, it is currently meaningful only - for the server. - - - - - - - - The client can request that messages be sent in advance so that when the client - finishes processing a message, the following message is already held locally, - rather than needing to be sent down the channel. Prefetching gives a performance - improvement. This field specifies the prefetch window size in octets. The server - will send a message in advance if it is equal to or smaller in size than the - available prefetch size (and also falls into other prefetch limits). May be set - to zero, meaning "no specific limit", although other prefetch limits may still - apply. The prefetch-size is ignored if the no-ack option is set. - - - - - The server MUST ignore this setting when the client is not processing any - messages - i.e. the prefetch size does not limit the transfer of single - messages to a client, only the sending in advance of more messages while - the client still has one or more unacknowledged messages. - - - Define a QoS prefetch-size limit and send a single message that exceeds - that limit. Verify that the message arrives correctly. - - - - - - - Specifies a prefetch window in terms of whole messages. This field may be used - in combination with the prefetch-size field; a message will only be sent in - advance if both prefetch windows (and those at the channel and connection level) - allow it. The prefetch-count is ignored if the no-ack option is set. - - - - - The server may send less data in advance than allowed by the client's - specified prefetch windows but it MUST NOT send more. - - - Define a QoS prefetch-size limit and a prefetch-count limit greater than - one. Send multiple messages that exceed the prefetch size. Verify that - no more than one message arrives at once. - - - - - - - By default the QoS settings apply to the current channel only. If this field is - set, they are applied to the entire connection. - - - - - - - This method tells the client that the requested QoS levels could be handled by the - server. The requested QoS applies to all active consumers until a new QoS is - defined. - - - - - - - - - This method asks the server to start a "consumer", which is a transient request for - messages from a specific queue. Consumers last as long as the channel they were - created on, or until the client cancels them. - - - - - - The server SHOULD support at least 16 consumers per queue, and ideally, impose - no limit except as defined by available resources. - - - Create a queue and create consumers on that queue until the server closes the - connection. Verify that the number of consumers created was at least sixteen - and report the total number. - - - - - - - - - - The client MUST provide a valid access ticket giving "read" access rights to - the realm for the queue. - - - Attempt to create a consumer with an invalid (non-zero) access ticket. - - - - - - - Specifies the name of the queue to consume from. If the queue name is null, - refers to the current queue for the channel, which is the last declared queue. - - - - If the queue name is empty the client MUST have previously declared a - queue using this channel. - - - Attempt to create a consumer with an empty queue name and no previously - declared queue on the channel. - - - - - - - Specifies the identifier for the consumer. The consumer tag is local to a - connection, so two clients can use the same consumer tags. If this field is - empty the server will generate a unique tag. - - - - The client MUST NOT specify a tag that refers to an existing consumer. - - - Attempt to create two consumers with the same non-empty tag. - - - - - The consumer tag is valid only within the channel from which the - consumer was created. I.e. a client MUST NOT create a consumer in one - channel and then use it in another. - - - Attempt to create a consumer in one channel, then use in another channel, - in which consumers have also been created (to test that the server uses - unique consumer tags). - - - - - - - - - - - Request exclusive consumer access, meaning only this consumer can access the - queue. - - - - - The client MAY NOT gain exclusive access to a queue that already has - active consumers. - - - Open two connections to a server, and in one connection create a shared - (non-exclusive) queue and then consume from the queue. In the second - connection attempt to consume from the same queue using the exclusive - option. - - - - - - - If set, the server will not respond to the method. The client should not wait - for a reply method. If the server could not complete the method it will raise - a channel or connection exception. - - - - - - A set of filters for the consume. The syntax and semantics - of these filters depends on the providers implementation. - - - - - - - The server provides the client with a consumer tag, which is used by the client - for methods called on the consumer at a later stage. - - - - - Holds the consumer tag specified by the client or provided by the server. - - - - - - - - - This method cancels a consumer. This does not affect already delivered - messages, but it does mean the server will not send any more messages for - that consumer. The client may receive an arbitrary number of messages in - between sending the cancel method and receiving the cancel-ok reply. - - - - - If the queue does not exist the server MUST ignore the cancel method, so - long as the consumer tag is valid for that channel. - - - TODO. - - - - - - - - - - - If set, the server will not respond to the method. The client should not wait - for a reply method. If the server could not complete the method it will raise a - channel or connection exception. - - - - - - - This method confirms that the cancellation was completed. - - - - - - - - - - This method publishes a message to a specific exchange. The message will be routed - to queues as defined by the exchange configuration and distributed to any active - consumers when the transaction, if any, is committed. - - - - - - - - The client MUST provide a valid access ticket giving "write" access rights - to the access realm for the exchange. - - - TODO. - - - - - - - Specifies the name of the exchange to publish to. The exchange name can be - empty, meaning the default exchange. If the exchange name is specified, and that - exchange does not exist, the server will raise a channel exception. - - - - - - The server MUST accept a blank exchange name to mean the default exchange. - - - TODO. - - - - - - - If the exchange was declared as an internal exchange, the server MUST raise - a channel exception with a reply code 403 (access refused). - - - TODO. - - - - - - - The exchange MAY refuse basic content in which case it MUST raise a channel - exception with reply code 540 (not implemented). - - - TODO. - - - - - - - Specifies the routing key for the message. The routing key is used for routing - messages depending on the exchange configuration. - - - - - - This flag tells the server how to react if the message cannot be routed to a - queue. If this flag is set, the server will return an unroutable message with a - Return method. If this flag is zero, the server silently drops the message. - - - - - The server SHOULD implement the mandatory flag. - - - TODO. - - - - - - - This flag tells the server how to react if the message cannot be routed to a - queue consumer immediately. If this flag is set, the server will return an - undeliverable message with a Return method. If this flag is zero, the server - will queue the message, but with no guarantee that it will ever be consumed. - - - - - The server SHOULD implement the immediate flag. - - - TODO. - - - - - - - - This method returns an undeliverable message that was published with the "immediate" - flag set, or an unroutable message published with the "mandatory" flag set. The - reply code and text provide information about the reason that the message was - undeliverable. - - - - - - - - - - - Specifies the name of the exchange that the message was originally published to. - - - - - - Specifies the routing key name specified when the message was published. - - - - - - - - - This method delivers a message to the client, via a consumer. In the asynchronous - message delivery model, the client starts a consumer using the Consume method, then - the server responds with Deliver methods as and when messages arrive for that - consumer. - - - - - - - The server SHOULD track the number of times a message has been delivered to - clients and when a message is redelivered a certain number of times - e.g. 5 - times - without being acknowledged, the server SHOULD consider the message to be - unprocessable (possibly causing client applications to abort), and move the - message to a dead letter queue. - - - TODO. - - - - - - - - - - - - - - Specifies the name of the exchange that the message was originally published to. - - - - - Specifies the routing key name specified when the message was published. - - - - - - - - This method provides a direct access to the messages in a queue using a synchronous - dialogue that is designed for specific types of application where synchronous - functionality is more important than performance. - - - - - - - - - - The client MUST provide a valid access ticket giving "read" access rights to - the realm for the queue. - - - TODO. - - - - - - - Specifies the name of the queue to consume from. If the queue name is null, - refers to the current queue for the channel, which is the last declared queue. - - - - If the client did not previously declare a queue, and the queue name in this - method is empty, the server MUST raise a connection exception with reply - code 530 (not allowed). - - - TODO. - - - - - - - - - - This method delivers a message to the client following a get method. A message - delivered by 'get-ok' must be acknowledged unless the no-ack option was set in the - get method. - - - - - - - - - - - Specifies the name of the exchange that the message was originally published to. - If empty, the message was published to the default exchange. - - - - - Specifies the routing key name specified when the message was published. - - - - - This field reports the number of messages pending on the queue, excluding the - message being delivered. Note that this figure is indicative, not reliable, and - can change arbitrarily as messages are added to the queue and removed by other - clients. - - - - - - - This method tells the client that the queue has no messages available for the - client. - - - - - - - - For use by cluster applications, should not be used by client applications. - - - - - - - - - This method acknowledges one or more messages delivered via the Deliver or Get-Ok - methods. The client can ask to confirm a single message or a set of messages up to - and including a specific message. - - - - - - - - - If set to 1, the delivery tag is treated as "up to and including", so that the - client can acknowledge multiple messages with a single method. If set to zero, - the delivery tag refers to a single message. If the multiple field is 1, and the - delivery tag is zero, tells the server to acknowledge all outstanding messages. - - - - - - The server MUST validate that a non-zero delivery-tag refers to an delivered - message, and raise a channel exception if this is not the case. - - - TODO. - - - - - - - - - - This method allows a client to reject a message. It can be used to interrupt and - cancel large incoming messages, or return untreatable messages to their original - queue. - - - - - - The server SHOULD be capable of accepting and process the Reject method while - sending message content with a Deliver or Get-Ok method. I.e. the server should - read and process incoming methods while sending output frames. To cancel a - partially-send content, the server sends a content body frame of size 1 (i.e. - with no data except the frame-end octet). - - - - - - - The server SHOULD interpret this method as meaning that the client is unable to - process the message at this time. - - - TODO. - - - - - - - A client MUST NOT use this method as a means of selecting messages to process. A - rejected message MAY be discarded or dead-lettered, not necessarily passed to - another client. - - - TODO. - - - - - - - - - - If this field is zero, the message will be discarded. If this bit is 1, the - server will attempt to requeue the message. - - - - - - - The server MUST NOT deliver the message to the same client within the - context of the current channel. The recommended strategy is to attempt to - deliver the message to an alternative consumer, and if that is not possible, - to move the message to a dead-letter queue. The server MAY use more - sophisticated tracking to hold the message on the queue and redeliver it to - the same client at a later stage. - - - TODO. - - - - - - - - This method asks the broker to redeliver all unacknowledged messages on a specified - channel. Zero or more messages may be redelivered. This method is only allowed on - non-transacted channels. - - - - - The server MUST set the redelivered flag on all messages that are resent. - - - TODO. - - - - - - The server MUST raise a channel exception if this is called on a transacted - channel. - - - TODO. - - - - - - - - If this field is zero, the message will be redelivered to the original - recipient. If this bit is 1, the server will attempt to requeue the message, - potentially then delivering it to an alternative subscriber. - - - - - - - - - - The file class provides methods that support reliable file transfer. File - messages have a specific set of properties that are required for interoperability - with file transfer applications. File messages and acknowledgements are subject to - channel transactions. Note that the file class does not provide message browsing - methods; these are not compatible with the staging model. Applications that need - browsable file transfer should use Basic content and the Basic class. - - - - file = C:QOS S:QOS-OK - / C:CONSUME S:CONSUME-OK - / C:CANCEL S:CANCEL-OK - / C:OPEN S:OPEN-OK C:STAGE content - / S:OPEN C:OPEN-OK S:STAGE content - / C:PUBLISH - / S:DELIVER - / S:RETURN - / C:ACK - / C:REJECT - - - - - - - - The server MUST make a best-effort to hold file messages on a reliable storage - mechanism. - - - - - - - - - - The server MUST NOT discard a file message in case of a queue overflow. The server - MUST use the Channel.Flow method to slow or stop a file message publisher when - necessary. - - - - - - - - The server MUST implement at least 2 priority levels for file messages, where - priorities 0-4 and 5-9 are treated as two distinct levels. The server MAY implement - up to 10 priority levels. - - - - - - The server MUST support both automatic and explicit acknowledgements on file - content. - - - - - - - - - - - - - - - - - - - - - This method requests a specific quality of service. The QoS can be specified for the - current channel or for all channels on the connection. The particular properties and - semantics of a qos method always depend on the content class semantics. Though the - qos method could in principle apply to both peers, it is currently meaningful only - for the server. - - - - - - - - - The client can request that messages be sent in advance so that when the client - finishes processing a message, the following message is already held locally, - rather than needing to be sent down the channel. Prefetching gives a performance - improvement. This field specifies the prefetch window size in octets. May be set - to zero, meaning "no specific limit". Note that other prefetch limits may still - apply. The prefetch-size is ignored if the no-ack option is set. - - - - - - Specifies a prefetch window in terms of whole messages. This is compatible with - some file API implementations. This field may be used in combination with the - prefetch-size field; a message will only be sent in advance if both prefetch - windows (and those at the channel and connection level) allow it. The - prefetch-count is ignored if the no-ack option is set. - - - - - - The server MAY send less data in advance than allowed by the client's - specified prefetch windows but it MUST NOT send more. - - - - - - - By default the QoS settings apply to the current channel only. If this field is - set, they are applied to the entire connection. - - - - - - - This method tells the client that the requested QoS levels could be handled by the - server. The requested QoS applies to all active consumers until a new QoS is - defined. - - - - - - - - - - This method asks the server to start a "consumer", which is a transient request for - messages from a specific queue. Consumers last as long as the channel they were - created on, or until the client cancels them. - - - - - The server SHOULD support at least 16 consumers per queue, unless the queue was - declared as private, and ideally, impose no limit except as defined by available - resources. - - - - - - - - - - - The client MUST provide a valid access ticket giving "read" access rights to - the realm for the queue. - - - - - - - Specifies the name of the queue to consume from. If the queue name is null, - refers to the current queue for the channel, which is the last declared queue. - - - - - If the client did not previously declare a queue, and the queue name in this - method is empty, the server MUST raise a connection exception with reply - code 530 (not allowed). - - - - - - - Specifies the identifier for the consumer. The consumer tag is local to a - connection, so two clients can use the same consumer tags. If this field is - empty the server will generate a unique tag. - - - - - - The tag MUST NOT refer to an existing consumer. If the client attempts to - create two consumers with the same non-empty tag the server MUST raise a - connection exception with reply code 530 (not allowed). - - - - - - - - - - - Request exclusive consumer access, meaning only this consumer can access the - queue. - - - - - - If the server cannot grant exclusive access to the queue when asked, - - because there are other consumers active - it MUST raise a channel exception - with return code 405 (resource locked). - - - - - - - If set, the server will not respond to the method. The client should not wait - for a reply method. If the server could not complete the method it will raise a - channel or connection exception. - - - - - - A set of filters for the consume. The syntax and semantics - of these filters depends on the providers implementation. - - - - - - - This method provides the client with a consumer tag which it MUST use in methods - that work with the consumer. - - - - - - Holds the consumer tag specified by the client or provided by the server. - - - - - - - - This method cancels a consumer. This does not affect already delivered messages, but - it does mean the server will not send any more messages for that consumer. - - - - - - - - - - - If set, the server will not respond to the method. The client should not wait - for a reply method. If the server could not complete the method it will raise a - channel or connection exception. - - - - - - This method confirms that the cancellation was completed. - - - - - - - - - - - This method requests permission to start staging a message. Staging means sending - the message into a temporary area at the recipient end and then delivering the - message by referring to this temporary area. Staging is how the protocol handles - partial file transfers - if a message is partially staged and the connection breaks, - the next time the sender starts to stage it, it can restart from where it left off. - - - - - - - - - - This is the staging identifier. This is an arbitrary string chosen by the - sender. For staging to work correctly the sender must use the same staging - identifier when staging the same message a second time after recovery from a - failure. A good choice for the staging identifier would be the SHA1 hash of the - message properties data (including the original filename, revised time, etc.). - - - - - - The size of the content in octets. The recipient may use this information to - allocate or check available space in advance, to avoid "disk full" errors during - staging of very large messages. - - - - - The sender MUST accurately fill the content-size field. Zero-length content - is permitted. - - - - - - - - This method confirms that the recipient is ready to accept staged data. If the - message was already partially-staged at a previous time the recipient will report - the number of octets already staged. - - - - - - - - - - The amount of previously-staged content in octets. For a new message this will - be zero. - - - - - The sender MUST start sending data from this octet offset in the message, - counting from zero. - - - - - - - The recipient MAY decide how long to hold partially-staged content and MAY - implement staging by always discarding partially-staged content. However if - it uses the file content type it MUST support the staging methods. - - - - - - - - - - This method stages the message, sending the message content to the recipient from - the octet offset specified in the Open-Ok method. - - - - - - - - - - - This method publishes a staged file message to a specific exchange. The file message - will be routed to queues as defined by the exchange configuration and distributed to - any active consumers when the transaction, if any, is committed. - - - - - - - - The client MUST provide a valid access ticket giving "write" access rights - to the access realm for the exchange. - - - - - - - Specifies the name of the exchange to publish to. The exchange name can be - empty, meaning the default exchange. If the exchange name is specified, and that - exchange does not exist, the server will raise a channel exception. - - - - - The server MUST accept a blank exchange name to mean the default exchange. - - - - - - If the exchange was declared as an internal exchange, the server MUST - respond with a reply code 403 (access refused) and raise a channel - exception. - - - - - - - - The exchange MAY refuse file content in which case it MUST respond with a - reply code 540 (not implemented) and raise a channel exception. - - - - - - - Specifies the routing key for the message. The routing key is used for routing - messages depending on the exchange configuration. - - - - - - This flag tells the server how to react if the message cannot be routed to a - queue. If this flag is set, the server will return an unroutable message with a - Return method. If this flag is zero, the server silently drops the message. - - - - - The server SHOULD implement the mandatory flag. - - - - - - This flag tells the server how to react if the message cannot be routed to a - queue consumer immediately. If this flag is set, the server will return an - undeliverable message with a Return method. If this flag is zero, the server - will queue the message, but with no guarantee that it will ever be consumed. - - - - - The server SHOULD implement the immediate flag. - - - - - - This is the staging identifier of the message to publish. The message must have - been staged. Note that a client can send the Publish method asynchronously - without waiting for staging to finish. - - - - - - - This method returns an undeliverable message that was published with the "immediate" - flag set, or an unroutable message published with the "mandatory" flag set. The - reply code and text provide information about the reason that the message was - undeliverable. - - - - - - - - - - - Specifies the name of the exchange that the message was originally published to. - - - - - Specifies the routing key name specified when the message was published. - - - - - - - - This method delivers a staged file message to the client, via a consumer. In the - asynchronous message delivery model, the client starts a consumer using the Consume - method, then the server responds with Deliver methods as and when messages arrive - for that consumer. - - - - - - The server SHOULD track the number of times a message has been delivered to - clients and when a message is redelivered a certain number of times - e.g. 5 - times - without being acknowledged, the server SHOULD consider the message to be - unprocessable (possibly causing client applications to abort), and move the - message to a dead letter queue. - - - - - - - - - - - - - - Specifies the name of the exchange that the message was originally published to. - - - - - Specifies the routing key name specified when the message was published. - - - - - This is the staging identifier of the message to deliver. The message must have - been staged. Note that a server can send the Deliver method asynchronously - without waiting for staging to finish. - - - - - - - - - This method acknowledges one or more messages delivered via the Deliver method. The - client can ask to confirm a single message or a set of messages up to and including - a specific message. - - - - - - - - - If set to 1, the delivery tag is treated as "up to and including", so that the - client can acknowledge multiple messages with a single method. If set to zero, - the delivery tag refers to a single message. If the multiple field is 1, and the - delivery tag is zero, tells the server to acknowledge all outstanding messages. - - - - - The server MUST validate that a non-zero delivery-tag refers to an delivered - message, and raise a channel exception if this is not the case. - - - - - - - - - - This method allows a client to reject a message. It can be used to return - untreatable messages to their original queue. Note that file content is staged - before delivery, so the client will not use this method to interrupt delivery of a - large message. - - - - - The server SHOULD interpret this method as meaning that the client is unable to - process the message at this time. - - - - - - - - A client MUST NOT use this method as a means of selecting messages to process. A - rejected message MAY be discarded or dead-lettered, not necessarily passed to - another client. - - - - - - - - - - If this field is zero, the message will be discarded. If this bit is 1, the - server will attempt to requeue the message. - - - - - - The server MUST NOT deliver the message to the same client within the - context of the current channel. The recommended strategy is to attempt to - deliver the message to an alternative consumer, and if that is not possible, - to move the message to a dead-letter queue. The server MAY use more - sophisticated tracking to hold the message on the queue and redeliver it to - the same client at a later stage. - - - - - - - - - - - The stream class provides methods that support multimedia streaming. The stream class - uses the following semantics: one message is one packet of data; delivery is - unacknowledged and unreliable; the consumer can specify quality of service parameters - that the server can try to adhere to; lower-priority messages may be discarded in favour - of high priority messages. - - - - stream = C:QOS S:QOS-OK - / C:CONSUME S:CONSUME-OK - / C:CANCEL S:CANCEL-OK - / C:PUBLISH content - / S:RETURN - / S:DELIVER content - - - - - - - - The server SHOULD discard stream messages on a priority basis if the queue size - exceeds some configured limit. - - - - - - - The server MUST implement at least 2 priority levels for stream messages, where - priorities 0-4 and 5-9 are treated as two distinct levels. The server MAY implement - up to 10 priority levels. - - - - - - The server MUST implement automatic acknowledgements on stream content. That is, as - soon as a message is delivered to a client via a Deliver method, the server must - remove it from the queue. - - - - - - - - - - - - - - - - This method requests a specific quality of service. The QoS can be specified for the - current channel or for all channels on the connection. The particular properties and - semantics of a qos method always depend on the content class semantics. Though the - qos method could in principle apply to both peers, it is currently meaningful only - for the server. - - - - - - - - - The client can request that messages be sent in advance so that when the client - finishes processing a message, the following message is already held locally, - rather than needing to be sent down the channel. Prefetching gives a performance - improvement. This field specifies the prefetch window size in octets. May be set - to zero, meaning "no specific limit". Note that other prefetch limits may still - apply. - - - - - - Specifies a prefetch window in terms of whole messages. This field may be used - in combination with the prefetch-size field; a message will only be sent in - advance if both prefetch windows (and those at the channel and connection level) - allow it. - - - - - - Specifies a desired transfer rate in octets per second. This is usually - determined by the application that uses the streaming data. A value of zero - means "no limit", i.e. as rapidly as possible. - - - - - - The server MAY ignore the prefetch values and consume rates, depending on - the type of stream and the ability of the server to queue and/or reply it. - The server MAY drop low-priority messages in favour of high-priority - messages. - - - - - - - By default the QoS settings apply to the current channel only. If this field is - set, they are applied to the entire connection. - - - - - - - This method tells the client that the requested QoS levels could be handled by the - server. The requested QoS applies to all active consumers until a new QoS is - defined. - - - - - - - - - - This method asks the server to start a "consumer", which is a transient request for - messages from a specific queue. Consumers last as long as the channel they were - created on, or until the client cancels them. - - - - - The server SHOULD support at least 16 consumers per queue, unless the queue was - declared as private, and ideally, impose no limit except as defined by available - resources. - - - - - - Streaming applications SHOULD use different channels to select different - streaming resolutions. AMQP makes no provision for filtering and/or transforming - streams except on the basis of priority-based selective delivery of individual - messages. - - - - - - - - - - The client MUST provide a valid access ticket giving "read" access rights to - the realm for the queue. - - - - - - - Specifies the name of the queue to consume from. If the queue name is null, - refers to the current queue for the channel, which is the last declared queue. - - - - - If the client did not previously declare a queue, and the queue name in this - method is empty, the server MUST raise a connection exception with reply - code 530 (not allowed). - - - - - - - Specifies the identifier for the consumer. The consumer tag is local to a - connection, so two clients can use the same consumer tags. If this field is - empty the server will generate a unique tag. - - - - - - The tag MUST NOT refer to an existing consumer. If the client attempts to - create two consumers with the same non-empty tag the server MUST raise a - connection exception with reply code 530 (not allowed). - - - - - - - - - Request exclusive consumer access, meaning only this consumer can access the - queue. - - - - - - - If the server cannot grant exclusive access to the queue when asked, - - because there are other consumers active - it MUST raise a channel exception - with return code 405 (resource locked). - - - - - - - If set, the server will not respond to the method. The client should not wait - for a reply method. If the server could not complete the method it will raise a - channel or connection exception. - - - - - - A set of filters for the consume. The syntax and semantics - of these filters depends on the providers implementation. - - - - - - - This method provides the client with a consumer tag which it may use in methods that - work with the consumer. - - - - - - Holds the consumer tag specified by the client or provided by the server. - - - - - - - - This method cancels a consumer. Since message delivery is asynchronous the client - may continue to receive messages for a short while after cancelling a consumer. It - may process or discard these as appropriate. - - - - - - - - - - - If set, the server will not respond to the method. The client should not wait - for a reply method. If the server could not complete the method it will raise a - channel or connection exception. - - - - - - This method confirms that the cancellation was completed. - - - - - - - - - - - This method publishes a message to a specific exchange. The message will be routed - to queues as defined by the exchange configuration and distributed to any active - consumers as appropriate. - - - - - - - - The client MUST provide a valid access ticket giving "write" access rights - to the access realm for the exchange. - - - - - - - Specifies the name of the exchange to publish to. The exchange name can be - empty, meaning the default exchange. If the exchange name is specified, and that - exchange does not exist, the server will raise a channel exception. - - - - - The server MUST accept a blank exchange name to mean the default exchange. - - - - - - If the exchange was declared as an internal exchange, the server MUST - respond with a reply code 403 (access refused) and raise a channel - exception. - - - - - - The exchange MAY refuse stream content in which case it MUST respond with a - reply code 540 (not implemented) and raise a channel exception. - - - - - - - Specifies the routing key for the message. The routing key is used for routing - messages depending on the exchange configuration. - - - - - - This flag tells the server how to react if the message cannot be routed to a - queue. If this flag is set, the server will return an unroutable message with a - Return method. If this flag is zero, the server silently drops the message. - - - - - The server SHOULD implement the mandatory flag. - - - - - - This flag tells the server how to react if the message cannot be routed to a - queue consumer immediately. If this flag is set, the server will return an - undeliverable message with a Return method. If this flag is zero, the server - will queue the message, but with no guarantee that it will ever be consumed. - - - - - The server SHOULD implement the immediate flag. - - - - - - - This method returns an undeliverable message that was published with the "immediate" - flag set, or an unroutable message published with the "mandatory" flag set. The - reply code and text provide information about the reason that the message was - undeliverable. - - - - - - - - - - - Specifies the name of the exchange that the message was originally published to. - - - - - Specifies the routing key name specified when the message was published. - - - - - - - - This method delivers a message to the client, via a consumer. In the asynchronous - message delivery model, the client starts a consumer using the Consume method, then - the server responds with Deliver methods as and when messages arrive for that - consumer. - - - - - - - - - - - Specifies the name of the exchange that the message was originally published to. - - - - - - Specifies the name of the queue that the message came from. Note that a single - channel can start many consumers on different queues. - - - - - - - - - - - Standard transactions provide so-called "1.5 phase commit". We can ensure that work is - never lost, but there is a chance of confirmations being lost, so that messages may be - resent. Applications that use standard transactions must be able to detect and ignore - duplicate messages. - - - - - - - An client using standard transactions SHOULD be able to track all messages received - within a reasonable period, and thus detect and reject duplicates of the same - message. It SHOULD NOT pass these to the application layer. - - - - - tx = C:SELECT S:SELECT-OK - / C:COMMIT S:COMMIT-OK - / C:ROLLBACK S:ROLLBACK-OK - - - - - - - - - - This method sets the channel to use standard transactions. The client must use this - method at least once on a channel before using the Commit or Rollback methods. - - - - - - - - This method confirms to the client that the channel was successfully set to use - standard transactions. - - - - - - - - - This method commits all messages published and acknowledged in the current - transaction. A new transaction starts immediately after a commit. - - - - - - - - This method confirms to the client that the commit succeeded. Note that if a commit - fails, the server raises a channel exception. - - - - - - - - - This method abandons all messages published and acknowledged in the current - transaction. A new transaction starts immediately after a rollback. - - - - - - - - This method confirms to the client that the rollback succeeded. Note that if an - rollback fails, the server raises a channel exception. - - - - - - - - - - Distributed transactions provide so-called "2-phase commit". The AMQP distributed - transaction model supports the X-Open XA architecture and other distributed transaction - implementations. The Dtx class assumes that the server has a private communications - channel (not AMQP) to a distributed transaction coordinator. - - - - dtx = C:SELECT S:SELECT-OK - C:START S:START-OK - - - - - - - - - - This method sets the channel to use distributed transactions. The client must use - this method at least once on a channel before using the Start method. - - - - - - - - This method confirms to the client that the channel was successfully set to use - distributed transactions. - - - - - - - - - This method starts a new distributed transaction. This must be the first method on a - new channel that uses the distributed transaction mode, before any methods that - publish or consume messages. - - - - - - The distributed transaction key. This identifies the transaction so that the - AMQP server can coordinate with the distributed transaction coordinator. - - - - - - - - This method confirms to the client that the transaction started. Note that if a - start fails, the server raises a channel exception. - - - - - - - - - - The tunnel methods are used to send blocks of binary data - which can be serialised AMQP - methods or other protocol frames - between AMQP peers. - - - - tunnel = C:REQUEST - / S:REQUEST - - - - - - - - - - - - - - - - This method tunnels a block of binary data, which can be an encoded - AMQP method or other data. The binary data is sent as the content for - the Tunnel.Request method. - - - - - This field table holds arbitrary meta-data that the sender needs to - pass to the recipient. - - - - - - - - - - [WORK IN PROGRESS] The message class provides methods that support an industry-standard messaging model. - - - - message = C:QOS S:OK - / C:CONSUME S:OK - / C:CANCEL S:OK - / C:TRANSFER ( S:OK / S:REJECT ) - / S:TRANSFER ( C:OK / C:REJECT ) - / C:GET ( S:OK / S:EMPTY ) - / C:RECOVER S:OK - / C:OPEN S:OK - / S:OPEN C:OK - / C:APPEND S:OK - / S:APPEND C:OK - / C:CLOSE S:OK - / S:CLOSE C:OK - / C:CHECKPOINT S:OK - / S:CHECKPOINT C:OK - / C:RESUME S:OFFSET - / S:RESUME C:OFFSET - - - - - - - - The server SHOULD respect the persistent property of messages - and SHOULD make a best-effort to hold persistent mess ages on - a reliable storage mechanism. - - - Send a persistent message to queue, stop server, restart - server and then verify whether message is still present. - Assumes that queues are durable. Persistence without durable - queues makes no sense. - - - - - - The server MUST NOT discard a persistent message in case of a - queue overflow. - - - Create a queue overflow situation with persistent messages and - verify that messages do not get lost (presumably the server - will write them to disk). - - - - - - The server MAY use the Channel.Flow method to slow or stop a - message publisher when necessary. - - - Create a queue overflow situation with non-persistent messages - and verify whether the server responds with Channel.Flow or - not. Repeat with persistent messages. - - - - - - The server MAY overflow non-persistent messages to persistent - storage. - - - - - - The server MAY discard or dead-letter non-persistent messages - on a priority basis if the queue size exceeds some configured - limit. - - - - - - The server MUST implement at least 2 priority levels for - messages, where priorities 0-4 and 5-9 are treated as two - distinct levels. - - - Send a number of priority 0 messages to a queue. Send one - priority 9 message. Consume messages from the queue and verify - that the first message received was priority 9. - - - - - - The server MAY implement up to 10 priority levels. - - - Send a number of messages with mixed priorities to a queue, so - that all priority values from 0 to 9 are exercised. A good - scenario would be ten messages in low-to-high priority. - Consume from queue and verify how many priority levels emerge. - - - - - - The server MUST deliver messages of the same priority in order - irrespective of their individual persistence. - - - Send a set of messages with the same priority but different - persistence settings to a queue. Consume and verify that - messages arrive in same order as originally published. - - - - - - The server MUST support automatic acknowledgements on - messages, i.e. consumers with the no-ack field set to FALSE. - - - Create a queue and a consumer using automatic - acknowledgements. Publish a set of messages to the queue. - Consume the messages and verify that all messages are - received. - - - - - - The server MUST support explicit acknowledgements on messages, - i.e. consumers with the no-ack field set to TRUE. - - - Create a queue and a consumer using explicit acknowledgements. - Publish a set of messages to the queue. Consume the messages - but acknowledge only half of them. Disconnect and reconnect, - and consume from the queue. Verify that the remaining messages - are received. - - - - - - - - [WORK IN PROGRESS] This method transfers a message between two peers. When a - client uses this method to publish a message to a broker, the - destination identifies a specific exchange. The message will - then be routed to queues as defined by the exchange - configuration and distributed to any active consumers when the - transaction, if any, is committed. - - In the asynchronous message delivery model, the client starts - a consumer using the Consume method and passing in a - destination, then the broker responds with transfer methods to - the specified destination as and when messages arrive for that - consumer. - - If synchronous message delivery is required, the client may - issue a get request which on success causes a single message - to be transferred to the specified destination. - - Message acknowledgement is signalled by the return result of - this method. - - - - - The recipient MUST NOT return ok before the message has been - processed as defined by the QoS settings. - - - - - - - - - - - - The client MUST provide a valid access ticket giving "write" access rights - to the access realm for the exchange. - - - - - - - Specifies the destination to which the message is to be - transferred. The destination can be empty, meaning the - default exchange or consumer. If the destination is - specified, and that exchange or consumer does not exist, the - peer must raise a channel exception. - - - - - The server MUST accept a blank destination to mean the - default exchange. - - - - - - If the destination refers to an internal exchange, the - server MUST raise a channel exception with a reply code - 403 (access refused). - - - - - - A destination MAY refuse message content in which case it - MUST raise a channel exception with reply code 540 (not - implemented). - - - - - - - - - This flag tells the server how to react if the message - cannot be routed to a queue consumer immediately. If this - flag is set, the server will reject the message. If this - flag is zero, the server will queue the message, but with no - guarantee that it will ever be consumed. - - - - The server SHOULD implement the immediate flag. - - - - - - - If this is set to a non zero value then a message expiration - time will be computed based on the current time plus this - value. Messages that live longer than their expiration time - will be discarded (or dead lettered). - - - - If a message is transfered between brokers before delivery - to a final consumer the ttl should be decremented before - peer to peer transfer and both timestamp and expiration - should be cleared. - - - - - - - - - Set on arrival by the broker. - - - - - - The expiration header assigned by the broker. After - receiving the message the broker sets expiration to the sum - of the ttl specified in the publish method and the current - time. (ttl = expiration - timestamp) - - - - - - - - - - - - - - - - - - - - - - - - [WORK IN PROGRESS] This method asks the server to start a "consumer", which is a transient request for - messages from a specific queue. Consumers last as long as the channel they were - created on, or until the client cancels them. - - - - - The server SHOULD support at least 16 consumers per queue, and ideally, impose - no limit except as defined by available resources. - - - Create a queue and create consumers on that queue until the server closes the - connection. Verify that the number of consumers created was at least sixteen - and report the total number. - - - - - - - - - - The client MUST provide a valid access ticket giving "read" access rights to - the realm for the queue. - - - Attempt to create a consumer with an invalid (non-zero) access ticket. - - - - - - - Specifies the name of the queue to consume from. If the queue name is null, - refers to the current queue for the channel, which is the last declared queue. - - - - If the queue name is empty the client MUST have previously declared a - queue using this channel. - - - Attempt to create a consumer with an empty queue name and no previously - declared queue on the channel. - - - - - - - Specifies the destination for the consumer. The destination is local to a - connection, so two clients can use the same destination. - - - - The client MUST NOT specify a destination that refers to an existing consumer. - - - Attempt to create two consumers with the same non-empty destination. - - - - - The destination is valid only within the channel from which the - consumer was created. I.e. a client MUST NOT create a consumer in one - channel and then use it in another. - - - Attempt to create a consumer in one channel, then use in another channel, - in which consumers have also been created (to test that the server uses - unique destinations). - - - - - - - - - - - Request exclusive consumer access, meaning only this consumer can access the - queue. - - - - - The client MAY NOT gain exclusive access to a queue that already has - active consumers. - - - Open two connections to a server, and in one connection create a shared - (non-exclusive) queue and then consume from the queue. In the second - connection attempt to consume from the same queue using the exclusive - option. - - - - - - - A set of filters for the consume. The syntax and semantics - of these filters depends on the providers implementation. - - - - - - - - - [WORK IN PROGRESS] This method cancels a consumer. This does not affect already delivered - messages, but it does mean the server will not send any more messages for - that consumer. The client may receive an arbitrary number of messages in - between sending the cancel method and receiving the cancel-ok reply. - - - - - If the queue does not exist the server MUST ignore the cancel method, so - long as the consumer tag is valid for that channel. - - - - - - - - - - - - - - [WORK IN PROGRESS] This method provides a direct access to the messages in a queue using a synchronous - dialogue that is designed for specific types of application where synchronous - functionality is more important than performance. - - - - - - - - - - The client MUST provide a valid access ticket giving "read" access rights to - the realm for the queue. - - - - - - Specifies the name of the queue to consume from. If the queue name is null, - refers to the current queue for the channel, which is the last declared queue. - - - - If the client did not previously declare a queue, and the queue name in this - method is empty, the server MUST raise a connection exception with reply - code 530 (not allowed). - - - - - - - On normal completion of the get request (i.e. a response of - ok). A message will be transferred to the supplied destination. - - - - - - - - - - - [WORK IN PROGRESS] This method asks the broker to redeliver all unacknowledged - messages on a specified channel. Zero or more messages may be - redelivered. This method is only allowed on non-transacted - channels. - - - - - The server MUST set the redelivered flag on all messages - that are resent. - - - - - - The server MUST raise a channel exception if this is called - on a transacted channel. - - - - - - - - - If this field is zero, the message will be redelivered to - the original recipient. If this bit is 1, the server will - attempt to requeue the message, potentially then delivering - it to an alternative subscriber. - - - - - - - - - [WORK IN PROGRESS] This method creates a reference. A references provides a means - to send a message body into a temporary area at the recipient - end and then deliver the message by referring to this - temporary area. This is how the protocol handles large message - transfers. - - The scope of a ref is defined to be between calls to - open (or resume) and close. Between these points it is valid - for a ref to be used from any content data type, and so the - receiver must hold onto its contents. Should the channel be - closed when a ref is still in scope, the receiver may discard - its contents (unless it is checkpointed). A ref that is in - scope is considered open. - - - - - - - - - - The recipient MUST generate an error if the reference is - currently open (in scope). - - - - - - - - - - [WORK IN PROGRESS] This method signals the recipient that no more data will be - appended to the reference. - - - - - A recipient CANNOT acknowledge a message until its reference - is closed (not in scope). - - - - - - - - - - - The recipient MUST generate an error if the reference was - not previously open (in scope). - - - - - - - - - - [WORK IN PROGRESS] This method appends data to a reference. - - - - - - - - - - The recipient MUST generate an error if the reference is - not open (not in scope). - - - - - - - - - - - [WORK IN PROGRESS] This method provides a means to checkpoint large message - transfer. The sender may ask the recipient to checkpoint the - contents of a reference using the supplied identifier. The - sender may then resume the transfer at a later point. It is at - the discretion of the recipient how much data to save with the - checkpoint, and the sender MUST honour the offset returned by - the resume method. - - - - - - - - - - The recipient MUST generate an error if the reference is - not open (not in scope). - - - - - - This is the checkpoint identifier. This is an arbitrary - string chosen by the sender. For checkpointing to work - correctly the sender must use the same checkpoint identifier - when resuming the message. A good choice for the checkpoint - identifier would be the SHA1 hash of the message properties - data (including the original filename, revised time, etc.). - - - - - - - - - [WORK IN PROGRESS] This method resumes a reference from the last checkpoint. A - reference is considered to be open (in scope) after a resume - even though it will not have been opened via the open method - during this session. - - - - - - - - - - The recipient MUST generate an error if the reference is - currently open (in scope). - - - - - - - - - - - [WORK IN PROGRESS] This method requests a specific quality of service. The QoS can be specified for the - current channel or for all channels on the connection. The particular properties and - semantics of a qos method always depend on the content class semantics. Though the - qos method could in principle apply to both peers, it is currently meaningful only - for the server. - - - - - - - - The client can request that messages be sent in advance so that when the client - finishes processing a message, the following message is already held locally, - rather than needing to be sent down the channel. Prefetching gives a performance - improvement. This field specifies the prefetch window size in octets. The server - will send a message in advance if it is equal to or smaller in size than the - available prefetch size (and also falls into other prefetch limits). May be set - to zero, meaning "no specific limit", although other prefetch limits may still - apply. The prefetch-size is ignored if the no-ack option is set. - - - - The server MUST ignore this setting when the client is not processing any - messages - i.e. the prefetch size does not limit the transfer of single - messages to a client, only the sending in advance of more messages while - the client still has one or more unacknowledged messages. - - - Define a QoS prefetch-size limit and send a single message that exceeds - that limit. Verify that the message arrives correctly. - - - - - - - Specifies a prefetch window in terms of whole messages. This field may be used - in combination with the prefetch-size field; a message will only be sent in - advance if both prefetch windows (and those at the channel and connection level) - allow it. The prefetch-count is ignored if the no-ack option is set. - - - - The server may send less data in advance than allowed by the client's - specified prefetch windows but it MUST NOT send more. - - - Define a QoS prefetch-size limit and a prefetch-count limit greater than - one. Send multiple messages that exceed the prefetch size. Verify that - no more than one message arrives at once. - - - - - - - By default the QoS settings apply to the current channel only. If this field is - set, they are applied to the entire connection. - - - - - - - - - - [WORK IN PROGRESS] Signals the normal completion of a method. - - - - - - - - [WORK IN PROGRESS] Signals that a queue does not contain any messages. - - - - - - - - [WORK IN PROGRESS] This response rejects a message. A message may be rejected for - a number of reasons. - - - - - - - - - - [WORK IN PROGRESS] Returns the data offset into a reference body. - - - - - - - - - diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/mcs/class/RabbitMQ.Client/docs/specs/autogenerated-api-0-8.cs /tmp/whXnmORr8x/mono-2.4+dfsg/mcs/class/RabbitMQ.Client/docs/specs/autogenerated-api-0-8.cs --- mono-2.4.0/mcs/class/RabbitMQ.Client/docs/specs/autogenerated-api-0-8.cs 2009-02-13 23:49:40.000000000 +0000 +++ mono-2.4+dfsg/mcs/class/RabbitMQ.Client/docs/specs/autogenerated-api-0-8.cs 1970-01-01 01:00:00.000000000 +0100 @@ -1,8072 +0,0 @@ -// Autogenerated code. Do not edit. - -using RabbitMQ.Client; -using RabbitMQ.Client.Exceptions; - -namespace RabbitMQ.Client.Framing.v0_8 { - public class Protocol: RabbitMQ.Client.Framing.Impl.v0_8.ProtocolBase { - ///Protocol major version (= 8) - public override int MajorVersion { get { return 8; } } - ///Protocol minor version (= 0) - public override int MinorVersion { get { return 0; } } - ///Protocol API name (= AMQP_0_8) - public override string ApiName { get { return "AMQP_0_8"; } } - ///Default TCP port (= 5672) - public override int DefaultPort { get { return 5672; } } - - public override RabbitMQ.Client.Impl.MethodBase DecodeMethodFrom(RabbitMQ.Util.NetworkBinaryReader reader) { - ushort classId = reader.ReadUInt16(); - ushort methodId = reader.ReadUInt16(); - - switch (classId) { - case 10: { - switch (methodId) { - case 10: { - RabbitMQ.Client.Framing.Impl.v0_8.ConnectionStart result = new RabbitMQ.Client.Framing.Impl.v0_8.ConnectionStart(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 11: { - RabbitMQ.Client.Framing.Impl.v0_8.ConnectionStartOk result = new RabbitMQ.Client.Framing.Impl.v0_8.ConnectionStartOk(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 20: { - RabbitMQ.Client.Framing.Impl.v0_8.ConnectionSecure result = new RabbitMQ.Client.Framing.Impl.v0_8.ConnectionSecure(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 21: { - RabbitMQ.Client.Framing.Impl.v0_8.ConnectionSecureOk result = new RabbitMQ.Client.Framing.Impl.v0_8.ConnectionSecureOk(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 30: { - RabbitMQ.Client.Framing.Impl.v0_8.ConnectionTune result = new RabbitMQ.Client.Framing.Impl.v0_8.ConnectionTune(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 31: { - RabbitMQ.Client.Framing.Impl.v0_8.ConnectionTuneOk result = new RabbitMQ.Client.Framing.Impl.v0_8.ConnectionTuneOk(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 40: { - RabbitMQ.Client.Framing.Impl.v0_8.ConnectionOpen result = new RabbitMQ.Client.Framing.Impl.v0_8.ConnectionOpen(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 41: { - RabbitMQ.Client.Framing.Impl.v0_8.ConnectionOpenOk result = new RabbitMQ.Client.Framing.Impl.v0_8.ConnectionOpenOk(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 50: { - RabbitMQ.Client.Framing.Impl.v0_8.ConnectionRedirect result = new RabbitMQ.Client.Framing.Impl.v0_8.ConnectionRedirect(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 60: { - RabbitMQ.Client.Framing.Impl.v0_8.ConnectionClose result = new RabbitMQ.Client.Framing.Impl.v0_8.ConnectionClose(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 61: { - RabbitMQ.Client.Framing.Impl.v0_8.ConnectionCloseOk result = new RabbitMQ.Client.Framing.Impl.v0_8.ConnectionCloseOk(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - default: break; - } - break; - } - case 20: { - switch (methodId) { - case 10: { - RabbitMQ.Client.Framing.Impl.v0_8.ChannelOpen result = new RabbitMQ.Client.Framing.Impl.v0_8.ChannelOpen(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 11: { - RabbitMQ.Client.Framing.Impl.v0_8.ChannelOpenOk result = new RabbitMQ.Client.Framing.Impl.v0_8.ChannelOpenOk(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 20: { - RabbitMQ.Client.Framing.Impl.v0_8.ChannelFlow result = new RabbitMQ.Client.Framing.Impl.v0_8.ChannelFlow(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 21: { - RabbitMQ.Client.Framing.Impl.v0_8.ChannelFlowOk result = new RabbitMQ.Client.Framing.Impl.v0_8.ChannelFlowOk(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 30: { - RabbitMQ.Client.Framing.Impl.v0_8.ChannelAlert result = new RabbitMQ.Client.Framing.Impl.v0_8.ChannelAlert(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 40: { - RabbitMQ.Client.Framing.Impl.v0_8.ChannelClose result = new RabbitMQ.Client.Framing.Impl.v0_8.ChannelClose(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 41: { - RabbitMQ.Client.Framing.Impl.v0_8.ChannelCloseOk result = new RabbitMQ.Client.Framing.Impl.v0_8.ChannelCloseOk(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - default: break; - } - break; - } - case 30: { - switch (methodId) { - case 10: { - RabbitMQ.Client.Framing.Impl.v0_8.AccessRequest result = new RabbitMQ.Client.Framing.Impl.v0_8.AccessRequest(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 11: { - RabbitMQ.Client.Framing.Impl.v0_8.AccessRequestOk result = new RabbitMQ.Client.Framing.Impl.v0_8.AccessRequestOk(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - default: break; - } - break; - } - case 40: { - switch (methodId) { - case 10: { - RabbitMQ.Client.Framing.Impl.v0_8.ExchangeDeclare result = new RabbitMQ.Client.Framing.Impl.v0_8.ExchangeDeclare(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 11: { - RabbitMQ.Client.Framing.Impl.v0_8.ExchangeDeclareOk result = new RabbitMQ.Client.Framing.Impl.v0_8.ExchangeDeclareOk(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 20: { - RabbitMQ.Client.Framing.Impl.v0_8.ExchangeDelete result = new RabbitMQ.Client.Framing.Impl.v0_8.ExchangeDelete(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 21: { - RabbitMQ.Client.Framing.Impl.v0_8.ExchangeDeleteOk result = new RabbitMQ.Client.Framing.Impl.v0_8.ExchangeDeleteOk(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - default: break; - } - break; - } - case 50: { - switch (methodId) { - case 10: { - RabbitMQ.Client.Framing.Impl.v0_8.QueueDeclare result = new RabbitMQ.Client.Framing.Impl.v0_8.QueueDeclare(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 11: { - RabbitMQ.Client.Framing.Impl.v0_8.QueueDeclareOk result = new RabbitMQ.Client.Framing.Impl.v0_8.QueueDeclareOk(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 20: { - RabbitMQ.Client.Framing.Impl.v0_8.QueueBind result = new RabbitMQ.Client.Framing.Impl.v0_8.QueueBind(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 21: { - RabbitMQ.Client.Framing.Impl.v0_8.QueueBindOk result = new RabbitMQ.Client.Framing.Impl.v0_8.QueueBindOk(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 30: { - RabbitMQ.Client.Framing.Impl.v0_8.QueuePurge result = new RabbitMQ.Client.Framing.Impl.v0_8.QueuePurge(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 31: { - RabbitMQ.Client.Framing.Impl.v0_8.QueuePurgeOk result = new RabbitMQ.Client.Framing.Impl.v0_8.QueuePurgeOk(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 40: { - RabbitMQ.Client.Framing.Impl.v0_8.QueueDelete result = new RabbitMQ.Client.Framing.Impl.v0_8.QueueDelete(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 41: { - RabbitMQ.Client.Framing.Impl.v0_8.QueueDeleteOk result = new RabbitMQ.Client.Framing.Impl.v0_8.QueueDeleteOk(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - default: break; - } - break; - } - case 60: { - switch (methodId) { - case 10: { - RabbitMQ.Client.Framing.Impl.v0_8.BasicQos result = new RabbitMQ.Client.Framing.Impl.v0_8.BasicQos(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 11: { - RabbitMQ.Client.Framing.Impl.v0_8.BasicQosOk result = new RabbitMQ.Client.Framing.Impl.v0_8.BasicQosOk(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 20: { - RabbitMQ.Client.Framing.Impl.v0_8.BasicConsume result = new RabbitMQ.Client.Framing.Impl.v0_8.BasicConsume(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 21: { - RabbitMQ.Client.Framing.Impl.v0_8.BasicConsumeOk result = new RabbitMQ.Client.Framing.Impl.v0_8.BasicConsumeOk(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 30: { - RabbitMQ.Client.Framing.Impl.v0_8.BasicCancel result = new RabbitMQ.Client.Framing.Impl.v0_8.BasicCancel(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 31: { - RabbitMQ.Client.Framing.Impl.v0_8.BasicCancelOk result = new RabbitMQ.Client.Framing.Impl.v0_8.BasicCancelOk(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 40: { - RabbitMQ.Client.Framing.Impl.v0_8.BasicPublish result = new RabbitMQ.Client.Framing.Impl.v0_8.BasicPublish(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 50: { - RabbitMQ.Client.Framing.Impl.v0_8.BasicReturn result = new RabbitMQ.Client.Framing.Impl.v0_8.BasicReturn(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 60: { - RabbitMQ.Client.Framing.Impl.v0_8.BasicDeliver result = new RabbitMQ.Client.Framing.Impl.v0_8.BasicDeliver(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 70: { - RabbitMQ.Client.Framing.Impl.v0_8.BasicGet result = new RabbitMQ.Client.Framing.Impl.v0_8.BasicGet(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 71: { - RabbitMQ.Client.Framing.Impl.v0_8.BasicGetOk result = new RabbitMQ.Client.Framing.Impl.v0_8.BasicGetOk(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 72: { - RabbitMQ.Client.Framing.Impl.v0_8.BasicGetEmpty result = new RabbitMQ.Client.Framing.Impl.v0_8.BasicGetEmpty(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 80: { - RabbitMQ.Client.Framing.Impl.v0_8.BasicAck result = new RabbitMQ.Client.Framing.Impl.v0_8.BasicAck(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 90: { - RabbitMQ.Client.Framing.Impl.v0_8.BasicReject result = new RabbitMQ.Client.Framing.Impl.v0_8.BasicReject(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 100: { - RabbitMQ.Client.Framing.Impl.v0_8.BasicRecover result = new RabbitMQ.Client.Framing.Impl.v0_8.BasicRecover(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - default: break; - } - break; - } - case 70: { - switch (methodId) { - case 10: { - RabbitMQ.Client.Framing.Impl.v0_8.FileQos result = new RabbitMQ.Client.Framing.Impl.v0_8.FileQos(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 11: { - RabbitMQ.Client.Framing.Impl.v0_8.FileQosOk result = new RabbitMQ.Client.Framing.Impl.v0_8.FileQosOk(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 20: { - RabbitMQ.Client.Framing.Impl.v0_8.FileConsume result = new RabbitMQ.Client.Framing.Impl.v0_8.FileConsume(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 21: { - RabbitMQ.Client.Framing.Impl.v0_8.FileConsumeOk result = new RabbitMQ.Client.Framing.Impl.v0_8.FileConsumeOk(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 30: { - RabbitMQ.Client.Framing.Impl.v0_8.FileCancel result = new RabbitMQ.Client.Framing.Impl.v0_8.FileCancel(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 31: { - RabbitMQ.Client.Framing.Impl.v0_8.FileCancelOk result = new RabbitMQ.Client.Framing.Impl.v0_8.FileCancelOk(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 40: { - RabbitMQ.Client.Framing.Impl.v0_8.FileOpen result = new RabbitMQ.Client.Framing.Impl.v0_8.FileOpen(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 41: { - RabbitMQ.Client.Framing.Impl.v0_8.FileOpenOk result = new RabbitMQ.Client.Framing.Impl.v0_8.FileOpenOk(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 50: { - RabbitMQ.Client.Framing.Impl.v0_8.FileStage result = new RabbitMQ.Client.Framing.Impl.v0_8.FileStage(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 60: { - RabbitMQ.Client.Framing.Impl.v0_8.FilePublish result = new RabbitMQ.Client.Framing.Impl.v0_8.FilePublish(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 70: { - RabbitMQ.Client.Framing.Impl.v0_8.FileReturn result = new RabbitMQ.Client.Framing.Impl.v0_8.FileReturn(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 80: { - RabbitMQ.Client.Framing.Impl.v0_8.FileDeliver result = new RabbitMQ.Client.Framing.Impl.v0_8.FileDeliver(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 90: { - RabbitMQ.Client.Framing.Impl.v0_8.FileAck result = new RabbitMQ.Client.Framing.Impl.v0_8.FileAck(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 100: { - RabbitMQ.Client.Framing.Impl.v0_8.FileReject result = new RabbitMQ.Client.Framing.Impl.v0_8.FileReject(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - default: break; - } - break; - } - case 80: { - switch (methodId) { - case 10: { - RabbitMQ.Client.Framing.Impl.v0_8.StreamQos result = new RabbitMQ.Client.Framing.Impl.v0_8.StreamQos(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 11: { - RabbitMQ.Client.Framing.Impl.v0_8.StreamQosOk result = new RabbitMQ.Client.Framing.Impl.v0_8.StreamQosOk(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 20: { - RabbitMQ.Client.Framing.Impl.v0_8.StreamConsume result = new RabbitMQ.Client.Framing.Impl.v0_8.StreamConsume(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 21: { - RabbitMQ.Client.Framing.Impl.v0_8.StreamConsumeOk result = new RabbitMQ.Client.Framing.Impl.v0_8.StreamConsumeOk(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 30: { - RabbitMQ.Client.Framing.Impl.v0_8.StreamCancel result = new RabbitMQ.Client.Framing.Impl.v0_8.StreamCancel(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 31: { - RabbitMQ.Client.Framing.Impl.v0_8.StreamCancelOk result = new RabbitMQ.Client.Framing.Impl.v0_8.StreamCancelOk(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 40: { - RabbitMQ.Client.Framing.Impl.v0_8.StreamPublish result = new RabbitMQ.Client.Framing.Impl.v0_8.StreamPublish(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 50: { - RabbitMQ.Client.Framing.Impl.v0_8.StreamReturn result = new RabbitMQ.Client.Framing.Impl.v0_8.StreamReturn(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 60: { - RabbitMQ.Client.Framing.Impl.v0_8.StreamDeliver result = new RabbitMQ.Client.Framing.Impl.v0_8.StreamDeliver(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - default: break; - } - break; - } - case 90: { - switch (methodId) { - case 10: { - RabbitMQ.Client.Framing.Impl.v0_8.TxSelect result = new RabbitMQ.Client.Framing.Impl.v0_8.TxSelect(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 11: { - RabbitMQ.Client.Framing.Impl.v0_8.TxSelectOk result = new RabbitMQ.Client.Framing.Impl.v0_8.TxSelectOk(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 20: { - RabbitMQ.Client.Framing.Impl.v0_8.TxCommit result = new RabbitMQ.Client.Framing.Impl.v0_8.TxCommit(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 21: { - RabbitMQ.Client.Framing.Impl.v0_8.TxCommitOk result = new RabbitMQ.Client.Framing.Impl.v0_8.TxCommitOk(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 30: { - RabbitMQ.Client.Framing.Impl.v0_8.TxRollback result = new RabbitMQ.Client.Framing.Impl.v0_8.TxRollback(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 31: { - RabbitMQ.Client.Framing.Impl.v0_8.TxRollbackOk result = new RabbitMQ.Client.Framing.Impl.v0_8.TxRollbackOk(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - default: break; - } - break; - } - case 100: { - switch (methodId) { - case 10: { - RabbitMQ.Client.Framing.Impl.v0_8.DtxSelect result = new RabbitMQ.Client.Framing.Impl.v0_8.DtxSelect(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 11: { - RabbitMQ.Client.Framing.Impl.v0_8.DtxSelectOk result = new RabbitMQ.Client.Framing.Impl.v0_8.DtxSelectOk(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 20: { - RabbitMQ.Client.Framing.Impl.v0_8.DtxStart result = new RabbitMQ.Client.Framing.Impl.v0_8.DtxStart(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 21: { - RabbitMQ.Client.Framing.Impl.v0_8.DtxStartOk result = new RabbitMQ.Client.Framing.Impl.v0_8.DtxStartOk(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - default: break; - } - break; - } - case 110: { - switch (methodId) { - case 10: { - RabbitMQ.Client.Framing.Impl.v0_8.TunnelRequest result = new RabbitMQ.Client.Framing.Impl.v0_8.TunnelRequest(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - default: break; - } - break; - } - case 120: { - switch (methodId) { - case 10: { - RabbitMQ.Client.Framing.Impl.v0_8.TestInteger result = new RabbitMQ.Client.Framing.Impl.v0_8.TestInteger(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 11: { - RabbitMQ.Client.Framing.Impl.v0_8.TestIntegerOk result = new RabbitMQ.Client.Framing.Impl.v0_8.TestIntegerOk(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 20: { - RabbitMQ.Client.Framing.Impl.v0_8.TestString result = new RabbitMQ.Client.Framing.Impl.v0_8.TestString(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 21: { - RabbitMQ.Client.Framing.Impl.v0_8.TestStringOk result = new RabbitMQ.Client.Framing.Impl.v0_8.TestStringOk(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 30: { - RabbitMQ.Client.Framing.Impl.v0_8.TestTable result = new RabbitMQ.Client.Framing.Impl.v0_8.TestTable(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 31: { - RabbitMQ.Client.Framing.Impl.v0_8.TestTableOk result = new RabbitMQ.Client.Framing.Impl.v0_8.TestTableOk(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 40: { - RabbitMQ.Client.Framing.Impl.v0_8.TestContent result = new RabbitMQ.Client.Framing.Impl.v0_8.TestContent(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 41: { - RabbitMQ.Client.Framing.Impl.v0_8.TestContentOk result = new RabbitMQ.Client.Framing.Impl.v0_8.TestContentOk(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - default: break; - } - break; - } - default: break; - } - throw new RabbitMQ.Client.Impl.UnknownClassOrMethodException(classId, methodId); - } - - public override RabbitMQ.Client.Impl.ContentHeaderBase DecodeContentHeaderFrom(RabbitMQ.Util.NetworkBinaryReader reader) { - ushort classId = reader.ReadUInt16(); - - switch (classId) { - case 60: return new BasicProperties(); - case 70: return new FileProperties(); - case 80: return new StreamProperties(); - case 110: return new TunnelProperties(); - case 120: return new TestProperties(); - default: break; - } - throw new RabbitMQ.Client.Impl.UnknownClassOrMethodException(classId, 0); - } - } - public class Constants { - ///(= 1) - public const int FrameMethod = 1; - ///(= 2) - public const int FrameHeader = 2; - ///(= 3) - public const int FrameBody = 3; - ///(= 4) - public const int FrameOobMethod = 4; - ///(= 5) - public const int FrameOobHeader = 5; - ///(= 6) - public const int FrameOobBody = 6; - ///(= 7) - public const int FrameTrace = 7; - ///(= 8) - public const int FrameHeartbeat = 8; - ///(= 4096) - public const int FrameMinSize = 4096; - ///(= 206) - public const int FrameEnd = 206; - ///(= 200) - public const int ReplySuccess = 200; - ///(= 310) - public const int NotDelivered = 310; - ///(= 311) - public const int ContentTooLarge = 311; - ///(= 320) - public const int ConnectionForced = 320; - ///(= 402) - public const int InvalidPath = 402; - ///(= 403) - public const int AccessRefused = 403; - ///(= 404) - public const int NotFound = 404; - ///(= 405) - public const int ResourceLocked = 405; - ///(= 501) - public const int FrameError = 501; - ///(= 502) - public const int SyntaxError = 502; - ///(= 503) - public const int CommandInvalid = 503; - ///(= 504) - public const int ChannelError = 504; - ///(= 506) - public const int ResourceError = 506; - ///(= 530) - public const int NotAllowed = 530; - ///(= 540) - public const int NotImplemented = 540; - ///(= 541) - public const int InternalError = 541; - } - /// Autogenerated type. AMQP specification method "connection.start". - /// - /// - /// This method starts the connection negotiation process by telling - /// the client the protocol version that the server proposes, along - /// with a list of security mechanisms which the client can use for - /// authentication. - /// - /// - public interface IConnectionStart: IMethod { - /// - /// - /// The protocol major version that the server agrees to use, which - /// cannot be higher than the client's major version. - /// - /// - byte VersionMajor { get; } - /// - /// - /// The protocol minor version that the server agrees to use, which - /// cannot be higher than the client's minor version. - /// - /// - byte VersionMinor { get; } - // (no documentation) - System.Collections.IDictionary ServerProperties { get; } - /// - /// - /// A list of the security mechanisms that the server supports, delimited - /// by spaces. Currently ASL supports these mechanisms: PLAIN. - /// - /// - byte[] Mechanisms { get; } - /// - /// - /// A list of the message locales that the server supports, delimited - /// by spaces. The locale defines the language in which the server - /// will send reply texts. - /// - /// - byte[] Locales { get; } - } - /// Autogenerated type. AMQP specification method "connection.start-ok". - /// - /// - /// This method selects a SASL security mechanism. ASL uses SASL - /// (RFC2222) to negotiate authentication and encryption. - /// - /// - public interface IConnectionStartOk: IMethod { - // (no documentation) - System.Collections.IDictionary ClientProperties { get; } - /// - /// - /// A single security mechanisms selected by the client, which must be - /// one of those specified by the server. - /// - /// - string Mechanism { get; } - /// - /// - /// A block of opaque data passed to the security mechanism. The contents - /// of this data are defined by the SASL security mechanism. For the - /// PLAIN security mechanism this is defined as a field table holding - /// two fields, LOGIN and PASSWORD. - /// - /// - byte[] Response { get; } - /// - /// - /// A single message local selected by the client, which must be one - /// of those specified by the server. - /// - /// - string Locale { get; } - } - /// Autogenerated type. AMQP specification method "connection.secure". - /// - /// - /// The SASL protocol works by exchanging challenges and responses until - /// both peers have received sufficient information to authenticate each - /// other. This method challenges the client to provide more information. - /// - /// - public interface IConnectionSecure: IMethod { - /// - /// - /// Challenge information, a block of opaque binary data passed to - /// the security mechanism. - /// - /// - byte[] Challenge { get; } - } - /// Autogenerated type. AMQP specification method "connection.secure-ok". - /// - /// - /// This method attempts to authenticate, passing a block of SASL data - /// for the security mechanism at the server side. - /// - /// - public interface IConnectionSecureOk: IMethod { - /// - /// - /// A block of opaque data passed to the security mechanism. The contents - /// of this data are defined by the SASL security mechanism. - /// - /// - byte[] Response { get; } - } - /// Autogenerated type. AMQP specification method "connection.tune". - /// - /// - /// This method proposes a set of connection configuration values - /// to the client. The client can accept and/or adjust these. - /// - /// - public interface IConnectionTune: IMethod { - /// - /// - /// The maximum total number of channels that the server allows - /// per connection. Zero means that the server does not impose a - /// fixed limit, but the number of allowed channels may be limited - /// by available server resources. - /// - /// - ushort ChannelMax { get; } - /// - /// - /// The largest frame size that the server proposes for the - /// connection. The client can negotiate a lower value. Zero means - /// that the server does not impose any specific limit but may reject - /// very large frames if it cannot allocate resources for them. - /// - /// - uint FrameMax { get; } - /// - /// - /// The delay, in seconds, of the connection heartbeat that the server - /// wants. Zero means the server does not want a heartbeat. - /// - /// - ushort Heartbeat { get; } - } - /// Autogenerated type. AMQP specification method "connection.tune-ok". - /// - /// - /// This method sends the client's connection tuning parameters to the - /// server. Certain fields are negotiated, others provide capability - /// information. - /// - /// - public interface IConnectionTuneOk: IMethod { - /// - /// - /// The maximum total number of channels that the client will use - /// per connection. May not be higher than the value specified by - /// the server. - /// - /// - ushort ChannelMax { get; } - /// - /// - /// The largest frame size that the client and server will use for - /// the connection. Zero means that the client does not impose any - /// specific limit but may reject very large frames if it cannot - /// allocate resources for them. Note that the frame-max limit - /// applies principally to content frames, where large contents - /// can be broken into frames of arbitrary size. - /// - /// - uint FrameMax { get; } - /// - /// - /// The delay, in seconds, of the connection heartbeat that the client - /// wants. Zero means the client does not want a heartbeat. - /// - /// - ushort Heartbeat { get; } - } - /// Autogenerated type. AMQP specification method "connection.open". - /// - /// - /// This method opens a connection to a virtual host, which is a - /// collection of resources, and acts to separate multiple application - /// domains within a server. - /// - /// - public interface IConnectionOpen: IMethod { - /// - /// - /// The name of the virtual host to work with. - /// - /// - string VirtualHost { get; } - /// - /// - /// The client may specify a number of capability names, delimited by - /// spaces. The server can use this string to how to process the - /// client's connection request. - /// - /// - string Capabilities { get; } - /// - /// - /// In a configuration with multiple load-sharing servers, the server - /// may respond to a Connection.Open method with a Connection.Redirect. - /// The insist option tells the server that the client is insisting on - /// a connection to the specified server. - /// - /// - bool Insist { get; } - } - /// Autogenerated type. AMQP specification method "connection.open-ok". - /// - /// - /// This method signals to the client that the connection is ready for - /// use. - /// - /// - public interface IConnectionOpenOk: IMethod { - // (no documentation) - string KnownHosts { get; } - } - /// Autogenerated type. AMQP specification method "connection.redirect". - /// - /// - /// This method redirects the client to another server, based on the - /// requested virtual host and/or capabilities. - /// - /// - public interface IConnectionRedirect: IMethod { - /// - /// - /// Specifies the server to connect to. This is an IP address or a - /// DNS name, optionally followed by a colon and a port number. If - /// no port number is specified, the client should use the default - /// port number for the protocol. - /// - /// - string Host { get; } - // (no documentation) - string KnownHosts { get; } - } - /// Autogenerated type. AMQP specification method "connection.close". - /// - /// - /// This method indicates that the sender wants to close the connection. - /// This may be due to internal conditions (e.g. a forced shut-down) or - /// due to an error handling a specific method, i.e. an exception. When - /// a close is due to an exception, the sender provides the class and - /// method id of the method which caused the exception. - /// - /// - public interface IConnectionClose: IMethod { - // (no documentation) - ushort ReplyCode { get; } - // (no documentation) - string ReplyText { get; } - /// - /// - /// When the close is provoked by a method exception, this is the - /// class of the method. - /// - /// - ushort ClassId { get; } - /// - /// - /// When the close is provoked by a method exception, this is the - /// ID of the method. - /// - /// - ushort MethodId { get; } - } - /// Autogenerated type. AMQP specification method "connection.close-ok". - /// - /// - /// This method confirms a Connection.Close method and tells the - /// recipient that it is safe to release resources for the connection - /// and close the socket. - /// - /// - public interface IConnectionCloseOk: IMethod { - } - /// Autogenerated type. AMQP specification method "channel.open". - /// - /// - /// This method opens a virtual connection (a channel). - /// - /// - public interface IChannelOpen: IMethod { - /// - /// - /// Configures out-of-band transfers on this channel. The syntax and - /// meaning of this field will be formally defined at a later date. - /// - /// - string OutOfBand { get; } - } - /// Autogenerated type. AMQP specification method "channel.open-ok". - /// - /// - /// This method signals to the client that the channel is ready for use. - /// - /// - public interface IChannelOpenOk: IMethod { - } - /// Autogenerated type. AMQP specification method "channel.flow". - /// - /// - /// This method asks the peer to pause or restart the flow of content - /// data. This is a simple flow-control mechanism that a peer can use - /// to avoid oveflowing its queues or otherwise finding itself receiving - /// more messages than it can process. Note that this method is not - /// intended for window control. The peer that receives a request to - /// stop sending content should finish sending the current content, if - /// any, and then wait until it receives a Flow restart method. - /// - /// - public interface IChannelFlow: IMethod { - /// - /// - /// If 1, the peer starts sending content frames. If 0, the peer - /// stops sending content frames. - /// - /// - bool Active { get; } - } - /// Autogenerated type. AMQP specification method "channel.flow-ok". - /// - /// - /// Confirms to the peer that a flow command was received and processed. - /// - /// - public interface IChannelFlowOk: IMethod { - /// - /// - /// Confirms the setting of the processed flow method: 1 means the - /// peer will start sending or continue to send content frames; 0 - /// means it will not. - /// - /// - bool Active { get; } - } - /// Autogenerated type. AMQP specification method "channel.alert". - /// - /// - /// This method allows the server to send a non-fatal warning to the - /// client. This is used for methods that are normally asynchronous - /// and thus do not have confirmations, and for which the server may - /// detect errors that need to be reported. Fatal errors are handled - /// as channel or connection exceptions; non-fatal errors are sent - /// through this method. - /// - /// - public interface IChannelAlert: IMethod { - // (no documentation) - ushort ReplyCode { get; } - // (no documentation) - string ReplyText { get; } - /// - /// - /// A set of fields that provide more information about the - /// problem. The meaning of these fields are defined on a - /// per-reply-code basis (TO BE DEFINED). - /// - /// - System.Collections.IDictionary Details { get; } - } - /// Autogenerated type. AMQP specification method "channel.close". - /// - /// - /// This method indicates that the sender wants to close the channel. - /// This may be due to internal conditions (e.g. a forced shut-down) or - /// due to an error handling a specific method, i.e. an exception. When - /// a close is due to an exception, the sender provides the class and - /// method id of the method which caused the exception. - /// - /// - public interface IChannelClose: IMethod { - // (no documentation) - ushort ReplyCode { get; } - // (no documentation) - string ReplyText { get; } - /// - /// - /// When the close is provoked by a method exception, this is the - /// class of the method. - /// - /// - ushort ClassId { get; } - /// - /// - /// When the close is provoked by a method exception, this is the - /// ID of the method. - /// - /// - ushort MethodId { get; } - } - /// Autogenerated type. AMQP specification method "channel.close-ok". - /// - /// - /// This method confirms a Channel.Close method and tells the recipient - /// that it is safe to release resources for the channel and close the - /// socket. - /// - /// - public interface IChannelCloseOk: IMethod { - } - /// Autogenerated type. AMQP specification method "access.request". - /// - /// - /// This method requests an access ticket for an access realm. - /// The server responds by granting the access ticket. If the - /// client does not have access rights to the requested realm - /// this causes a connection exception. Access tickets are a - /// per-channel resource. - /// - /// - public interface IAccessRequest: IMethod { - // (no documentation) - string Realm { get; } - /// - /// - /// Request exclusive access to the realm. If the server cannot grant - /// this - because there are other active tickets for the realm - it - /// raises a channel exception. - /// - /// - bool Exclusive { get; } - /// - /// - /// Request message passive access to the specified access realm. - /// Passive access lets a client get information about resources in - /// the realm but not to make any changes to them. - /// - /// - bool Passive { get; } - /// - /// - /// Request message active access to the specified access realm. - /// Acvtive access lets a client get create and delete resources in - /// the realm. - /// - /// - bool Active { get; } - /// - /// - /// Request write access to the specified access realm. Write access - /// lets a client publish messages to all exchanges in the realm. - /// - /// - bool Write { get; } - /// - /// - /// Request read access to the specified access realm. Read access - /// lets a client consume messages from queues in the realm. - /// - /// - bool Read { get; } - } - /// Autogenerated type. AMQP specification method "access.request-ok". - /// - /// - /// This method provides the client with an access ticket. The access - /// ticket is valid within the current channel and for the lifespan of - /// the channel. - /// - /// - public interface IAccessRequestOk: IMethod { - // (no documentation) - ushort Ticket { get; } - } - /// Autogenerated type. AMQP specification method "exchange.declare". - /// - /// - /// This method creates an exchange if it does not already exist, and if the - /// exchange exists, verifies that it is of the correct and expected class. - /// - /// - public interface IExchangeDeclare: IMethod { - /// - /// - /// When a client defines a new exchange, this belongs to the access realm - /// of the ticket used. All further work done with that exchange must be - /// done with an access ticket for the same realm. - /// - /// - ushort Ticket { get; } - // (no documentation) - string Exchange { get; } - /// - /// - /// Each exchange belongs to one of a set of exchange types implemented - /// by the server. The exchange types define the functionality of the - /// exchange - i.e. how messages are routed through it. It is not valid - /// or meaningful to attempt to change the type of an existing exchange. - /// - /// - string Type { get; } - /// - /// - /// If set, the server will not create the exchange. The client can use - /// this to check whether an exchange exists without modifying the server - /// state. - /// - /// - bool Passive { get; } - /// - /// - /// If set when creating a new exchange, the exchange will be marked as - /// durable. Durable exchanges remain active when a server restarts. - /// Non-durable exchanges (transient exchanges) are purged if/when a - /// server restarts. - /// - /// - bool Durable { get; } - /// - /// - /// If set, the exchange is deleted when all queues have finished - /// using it. - /// - /// - bool AutoDelete { get; } - /// - /// - /// If set, the exchange may not be used directly by publishers, but - /// only when bound to other exchanges. Internal exchanges are used to - /// construct wiring that is not visible to applications. - /// - /// - bool Internal { get; } - /// - /// - /// If set, the server will not respond to the method. The client should - /// not wait for a reply method. If the server could not complete the - /// method it will raise a channel or connection exception. - /// - /// - bool Nowait { get; } - /// - /// - /// A set of arguments for the declaration. The syntax and semantics - /// of these arguments depends on the server implementation. This - /// field is ignored if passive is 1. - /// - /// - System.Collections.IDictionary Arguments { get; } - } - /// Autogenerated type. AMQP specification method "exchange.declare-ok". - /// - /// - /// This method confirms a Declare method and confirms the name of the - /// exchange, essential for automatically-named exchanges. - /// - /// - public interface IExchangeDeclareOk: IMethod { - } - /// Autogenerated type. AMQP specification method "exchange.delete". - /// - /// - /// This method deletes an exchange. When an exchange is deleted all queue - /// bindings on the exchange are cancelled. - /// - /// - public interface IExchangeDelete: IMethod { - // (no documentation) - ushort Ticket { get; } - // (no documentation) - string Exchange { get; } - /// - /// - /// If set, the server will only delete the exchange if it has no queue - /// bindings. If the exchange has queue bindings the server does not - /// delete it but raises a channel exception instead. - /// - /// - bool IfUnused { get; } - /// - /// - /// If set, the server will not respond to the method. The client should - /// not wait for a reply method. If the server could not complete the - /// method it will raise a channel or connection exception. - /// - /// - bool Nowait { get; } - } - /// Autogenerated type. AMQP specification method "exchange.delete-ok". - /// - /// - /// This method confirms the deletion of an exchange. - /// - /// - public interface IExchangeDeleteOk: IMethod { - } - /// Autogenerated type. AMQP specification method "queue.declare". - /// - /// - /// This method creates or checks a queue. When creating a new queue - /// the client can specify various properties that control the durability - /// of the queue and its contents, and the level of sharing for the queue. - /// - /// - public interface IQueueDeclare: IMethod { - /// - /// - /// When a client defines a new queue, this belongs to the access realm - /// of the ticket used. All further work done with that queue must be - /// done with an access ticket for the same realm. - /// - /// - ushort Ticket { get; } - // (no documentation) - string Queue { get; } - /// - /// - /// If set, the server will not create the queue. The client can use - /// this to check whether a queue exists without modifying the server - /// state. - /// - /// - bool Passive { get; } - /// - /// - /// If set when creating a new queue, the queue will be marked as - /// durable. Durable queues remain active when a server restarts. - /// Non-durable queues (transient queues) are purged if/when a - /// server restarts. Note that durable queues do not necessarily - /// hold persistent messages, although it does not make sense to - /// send persistent messages to a transient queue. - /// - /// - bool Durable { get; } - /// - /// - /// Exclusive queues may only be consumed from by the current connection. - /// Setting the 'exclusive' flag always implies 'auto-delete'. - /// - /// - bool Exclusive { get; } - /// - /// - /// If set, the queue is deleted when all consumers have finished - /// using it. Last consumer can be cancelled either explicitly or because - /// its channel is closed. If there was no consumer ever on the queue, it - /// won't be deleted. - /// - /// - bool AutoDelete { get; } - /// - /// - /// If set, the server will not respond to the method. The client should - /// not wait for a reply method. If the server could not complete the - /// method it will raise a channel or connection exception. - /// - /// - bool Nowait { get; } - /// - /// - /// A set of arguments for the declaration. The syntax and semantics - /// of these arguments depends on the server implementation. This - /// field is ignored if passive is 1. - /// - /// - System.Collections.IDictionary Arguments { get; } - } - /// Autogenerated type. AMQP specification method "queue.declare-ok". - /// - /// - /// This method confirms a Declare method and confirms the name of the - /// queue, essential for automatically-named queues. - /// - /// - public interface IQueueDeclareOk: IMethod { - /// - /// - /// Reports the name of the queue. If the server generated a queue - /// name, this field contains that name. - /// - /// - string Queue { get; } - /// - /// - /// Reports the number of messages in the queue, which will be zero - /// for newly-created queues. - /// - /// - uint MessageCount { get; } - /// - /// - /// Reports the number of active consumers for the queue. Note that - /// consumers can suspend activity (Channel.Flow) in which case they - /// do not appear in this count. - /// - /// - uint ConsumerCount { get; } - } - /// Autogenerated type. AMQP specification method "queue.bind". - /// - /// - /// This method binds a queue to an exchange. Until a queue is - /// bound it will not receive any messages. In a classic messaging - /// model, store-and-forward queues are bound to a dest exchange - /// and subscription queues are bound to a dest_wild exchange. - /// - /// - public interface IQueueBind: IMethod { - /// - /// - /// The client provides a valid access ticket giving "active" - /// access rights to the queue's access realm. - /// - /// - ushort Ticket { get; } - /// - /// - /// Specifies the name of the queue to bind. If the queue name is - /// empty, refers to the current queue for the channel, which is - /// the last declared queue. - /// - /// - string Queue { get; } - // (no documentation) - string Exchange { get; } - /// - /// - /// Specifies the routing key for the binding. The routing key is - /// used for routing messages depending on the exchange configuration. - /// Not all exchanges use a routing key - refer to the specific - /// exchange documentation. If the routing key is empty and the queue - /// name is empty, the routing key will be the current queue for the - /// channel, which is the last declared queue. - /// - /// - string RoutingKey { get; } - /// - /// - /// If set, the server will not respond to the method. The client should - /// not wait for a reply method. If the server could not complete the - /// method it will raise a channel or connection exception. - /// - /// - bool Nowait { get; } - /// - /// - /// A set of arguments for the binding. The syntax and semantics of - /// these arguments depends on the exchange class. - /// - /// - System.Collections.IDictionary Arguments { get; } - } - /// Autogenerated type. AMQP specification method "queue.bind-ok". - /// - /// - /// This method confirms that the bind was successful. - /// - /// - public interface IQueueBindOk: IMethod { - } - /// Autogenerated type. AMQP specification method "queue.purge". - /// - /// - /// This method removes all messages from a queue. It does not cancel - /// consumers. Purged messages are deleted without any formal "undo" - /// mechanism. - /// - /// - public interface IQueuePurge: IMethod { - /// - /// - /// The access ticket must be for the access realm that holds the - /// queue. - /// - /// - ushort Ticket { get; } - /// - /// - /// Specifies the name of the queue to purge. If the queue name is - /// empty, refers to the current queue for the channel, which is - /// the last declared queue. - /// - /// - string Queue { get; } - /// - /// - /// If set, the server will not respond to the method. The client should - /// not wait for a reply method. If the server could not complete the - /// method it will raise a channel or connection exception. - /// - /// - bool Nowait { get; } - } - /// Autogenerated type. AMQP specification method "queue.purge-ok". - /// - /// - /// This method confirms the purge of a queue. - /// - /// - public interface IQueuePurgeOk: IMethod { - /// - /// - /// Reports the number of messages purged. - /// - /// - uint MessageCount { get; } - } - /// Autogenerated type. AMQP specification method "queue.delete". - /// - /// - /// This method deletes a queue. When a queue is deleted any pending - /// messages are sent to a dead-letter queue if this is defined in the - /// server configuration, and all consumers on the queue are cancelled. - /// - /// - public interface IQueueDelete: IMethod { - /// - /// - /// The client provides a valid access ticket giving "active" - /// access rights to the queue's access realm. - /// - /// - ushort Ticket { get; } - /// - /// - /// Specifies the name of the queue to delete. If the queue name is - /// empty, refers to the current queue for the channel, which is the - /// last declared queue. - /// - /// - string Queue { get; } - /// - /// - /// If set, the server will only delete the queue if it has no - /// consumers. If the queue has consumers the server does does not - /// delete it but raises a channel exception instead. - /// - /// - bool IfUnused { get; } - /// - /// - /// If set, the server will only delete the queue if it has no - /// messages. If the queue is not empty the server raises a channel - /// exception. - /// - /// - bool IfEmpty { get; } - /// - /// - /// If set, the server will not respond to the method. The client should - /// not wait for a reply method. If the server could not complete the - /// method it will raise a channel or connection exception. - /// - /// - bool Nowait { get; } - } - /// Autogenerated type. AMQP specification method "queue.delete-ok". - /// - /// - /// This method confirms the deletion of a queue. - /// - /// - public interface IQueueDeleteOk: IMethod { - /// - /// - /// Reports the number of messages purged. - /// - /// - uint MessageCount { get; } - } - /// Autogenerated type. AMQP specification method "basic.qos". - /// - /// - /// This method requests a specific quality of service. The QoS can - /// be specified for the current channel or for all channels on the - /// connection. The particular properties and semantics of a qos method - /// always depend on the content class semantics. Though the qos method - /// could in principle apply to both peers, it is currently meaningful - /// only for the server. - /// - /// - public interface IBasicQos: IMethod { - /// - /// - /// The client can request that messages be sent in advance so that - /// when the client finishes processing a message, the following - /// message is already held locally, rather than needing to be sent - /// down the channel. Prefetching gives a performance improvement. - /// This field specifies the prefetch window size in octets. The - /// server will send a message in advance if it is equal to or - /// smaller in size than the available prefetch size (and also falls - /// into other prefetch limits). May be set to zero, meaning "no - /// specific limit", although other prefetch limits may still apply. - /// The prefetch-size is ignored if the no-ack option is set. - /// - /// - uint PrefetchSize { get; } - /// - /// - /// Specifies a prefetch window in terms of whole messages. This - /// field may be used in combination with the prefetch-size field; - /// a message will only be sent in advance if both prefetch windows - /// (and those at the channel and connection level) allow it. - /// The prefetch-count is ignored if the no-ack option is set. - /// - /// - ushort PrefetchCount { get; } - /// - /// - /// By default the QoS settings apply to the current channel only. If - /// this field is set, they are applied to the entire connection. - /// - /// - bool Global { get; } - } - /// Autogenerated type. AMQP specification method "basic.qos-ok". - /// - /// - /// This method tells the client that the requested QoS levels could - /// be handled by the server. The requested QoS applies to all active - /// consumers until a new QoS is defined. - /// - /// - public interface IBasicQosOk: IMethod { - } - /// Autogenerated type. AMQP specification method "basic.consume". - /// - /// - /// This method asks the server to start a "consumer", which is a - /// transient request for messages from a specific queue. Consumers - /// last as long as the channel they were created on, or until the - /// client cancels them. - /// - /// - public interface IBasicConsume: IMethod { - /// - /// - /// The client MUST provide a valid access ticket giving "read" access - /// rights to the realm for the queue. - /// - /// - ushort Ticket { get; } - /// - /// - /// Specifies the name of the queue to consume from. If the queue name - /// is null, refers to the current queue for the channel, which is the - /// last declared queue. - /// - /// - string Queue { get; } - /// - /// - /// Specifies the identifier for the consumer. The consumer tag is - /// local to a connection, so two clients can use the same consumer - /// tags. If this field is empty the server will generate a unique - /// tag. - /// - /// - string ConsumerTag { get; } - // (no documentation) - bool NoLocal { get; } - // (no documentation) - bool NoAck { get; } - /// - /// - /// Request exclusive consumer access, meaning only this consumer can - /// access the queue. - /// - /// - bool Exclusive { get; } - /// - /// - /// If set, the server will not respond to the method. The client should - /// not wait for a reply method. If the server could not complete the - /// method it will raise a channel or connection exception. - /// - /// - bool Nowait { get; } - } - /// Autogenerated type. AMQP specification method "basic.consume-ok". - /// - /// - /// The server provides the client with a consumer tag, which is used - /// by the client for methods called on the consumer at a later stage. - /// - /// - public interface IBasicConsumeOk: IMethod { - /// - /// - /// Holds the consumer tag specified by the client or provided by - /// the server. - /// - /// - string ConsumerTag { get; } - } - /// Autogenerated type. AMQP specification method "basic.cancel". - /// - /// - /// This method cancels a consumer. This does not affect already - /// delivered messages, but it does mean the server will not send any - /// more messages for that consumer. The client may receive an - /// abitrary number of messages in between sending the cancel method - /// and receiving the cancel-ok reply. - /// - /// - public interface IBasicCancel: IMethod { - // (no documentation) - string ConsumerTag { get; } - /// - /// - /// If set, the server will not respond to the method. The client should - /// not wait for a reply method. If the server could not complete the - /// method it will raise a channel or connection exception. - /// - /// - bool Nowait { get; } - } - /// Autogenerated type. AMQP specification method "basic.cancel-ok". - /// - /// - /// This method confirms that the cancellation was completed. - /// - /// - public interface IBasicCancelOk: IMethod { - // (no documentation) - string ConsumerTag { get; } - } - /// Autogenerated type. AMQP specification method "basic.publish". - /// - /// - /// This method publishes a message to a specific exchange. The message - /// will be routed to queues as defined by the exchange configuration - /// and distributed to any active consumers when the transaction, if any, - /// is committed. - /// - /// - public interface IBasicPublish: IMethod { - /// - /// - /// The client MUST provide a valid access ticket giving "write" - /// access rights to the access realm for the exchange. - /// - /// - ushort Ticket { get; } - /// - /// - /// Specifies the name of the exchange to publish to. The exchange - /// name can be empty, meaning the default exchange. If the exchange - /// name is specified, and that exchange does not exist, the server - /// will raise a channel exception. - /// - /// - string Exchange { get; } - /// - /// - /// Specifies the routing key for the message. The routing key is - /// used for routing messages depending on the exchange configuration. - /// - /// - string RoutingKey { get; } - /// - /// - /// This flag tells the server how to react if the message cannot be - /// routed to a queue. If this flag is set, the server will return an - /// unroutable message with a Return method. If this flag is zero, the - /// server silently drops the message. - /// - /// - bool Mandatory { get; } - /// - /// - /// This flag tells the server how to react if the message cannot be - /// routed to a queue consumer immediately. If this flag is set, the - /// server will return an undeliverable message with a Return method. - /// If this flag is zero, the server will queue the message, but with - /// no guarantee that it will ever be consumed. - /// - /// - bool Immediate { get; } - } - /// Autogenerated type. AMQP specification method "basic.return". - /// - /// - /// This method returns an undeliverable message that was published - /// with the "immediate" flag set, or an unroutable message published - /// with the "mandatory" flag set. The reply code and text provide - /// information about the reason that the message was undeliverable. - /// - /// - public interface IBasicReturn: IMethod { - // (no documentation) - ushort ReplyCode { get; } - // (no documentation) - string ReplyText { get; } - /// - /// - /// Specifies the name of the exchange that the message was - /// originally published to. - /// - /// - string Exchange { get; } - /// - /// - /// Specifies the routing key name specified when the message was - /// published. - /// - /// - string RoutingKey { get; } - } - /// Autogenerated type. AMQP specification method "basic.deliver". - /// - /// - /// This method delivers a message to the client, via a consumer. In - /// the asynchronous message delivery model, the client starts a - /// consumer using the Consume method, then the server responds with - /// Deliver methods as and when messages arrive for that consumer. - /// - /// - public interface IBasicDeliver: IMethod { - // (no documentation) - string ConsumerTag { get; } - // (no documentation) - ulong DeliveryTag { get; } - // (no documentation) - bool Redelivered { get; } - /// - /// - /// Specifies the name of the exchange that the message was - /// originally published to. - /// - /// - string Exchange { get; } - /// - /// - /// Specifies the routing key name specified when the message was - /// published. - /// - /// - string RoutingKey { get; } - } - /// Autogenerated type. AMQP specification method "basic.get". - /// - /// - /// This method provides a direct access to the messages in a queue - /// using a synchronous dialogue that is designed for specific types of - /// application where synchronous functionality is more important than - /// performance. - /// - /// - public interface IBasicGet: IMethod { - /// - /// - /// The client MUST provide a valid access ticket giving "read" - /// access rights to the realm for the queue. - /// - /// - ushort Ticket { get; } - /// - /// - /// Specifies the name of the queue to consume from. If the queue name - /// is null, refers to the current queue for the channel, which is the - /// last declared queue. - /// - /// - string Queue { get; } - // (no documentation) - bool NoAck { get; } - } - /// Autogenerated type. AMQP specification method "basic.get-ok". - /// - /// - /// This method delivers a message to the client following a get - /// method. A message delivered by 'get-ok' must be acknowledged - /// unless the no-ack option was set in the get method. - /// - /// - public interface IBasicGetOk: IMethod { - // (no documentation) - ulong DeliveryTag { get; } - // (no documentation) - bool Redelivered { get; } - /// - /// - /// Specifies the name of the exchange that the message was originally - /// published to. If empty, the message was published to the default - /// exchange. - /// - /// - string Exchange { get; } - /// - /// - /// Specifies the routing key name specified when the message was - /// published. - /// - /// - string RoutingKey { get; } - /// - /// - /// This field reports the number of messages pending on the queue, - /// excluding the message being delivered. Note that this figure is - /// indicative, not reliable, and can change arbitrarily as messages - /// are added to the queue and removed by other clients. - /// - /// - uint MessageCount { get; } - } - /// Autogenerated type. AMQP specification method "basic.get-empty". - /// - /// - /// This method tells the client that the queue has no messages - /// available for the client. - /// - /// - public interface IBasicGetEmpty: IMethod { - /// - /// - /// For use by cluster applications, should not be used by - /// client applications. - /// - /// - string ClusterId { get; } - } - /// Autogenerated type. AMQP specification method "basic.ack". - /// - /// - /// This method acknowledges one or more messages delivered via the - /// Deliver or Get-Ok methods. The client can ask to confirm a - /// single message or a set of messages up to and including a specific - /// message. - /// - /// - public interface IBasicAck: IMethod { - // (no documentation) - ulong DeliveryTag { get; } - /// - /// - /// If set to 1, the delivery tag is treated as "up to and including", - /// so that the client can acknowledge multiple messages with a single - /// method. If set to zero, the delivery tag refers to a single - /// message. If the multiple field is 1, and the delivery tag is zero, - /// tells the server to acknowledge all outstanding mesages. - /// - /// - bool Multiple { get; } - } - /// Autogenerated type. AMQP specification method "basic.reject". - /// - /// - /// This method allows a client to reject a message. It can be used to - /// interrupt and cancel large incoming messages, or return untreatable - /// messages to their original queue. - /// - /// - public interface IBasicReject: IMethod { - // (no documentation) - ulong DeliveryTag { get; } - /// - /// - /// If this field is zero, the message will be discarded. If this bit - /// is 1, the server will attempt to requeue the message. - /// - /// - bool Requeue { get; } - } - /// Autogenerated type. AMQP specification method "basic.recover". - /// - /// - /// This method asks the broker to redeliver all unacknowledged messages on a - /// specifieid channel. Zero or more messages may be redelivered. - /// - /// - public interface IBasicRecover: IMethod { - /// - /// - /// If this field is zero, the message will be redelivered to the original recipient. If this bit - /// is 1, the server will attempt to requeue the message, potentially then delivering it to an - /// alternative subscriber. - /// - /// - bool Requeue { get; } - } - /// Autogenerated type. AMQP specification method "file.qos". - /// - /// - /// This method requests a specific quality of service. The QoS can - /// be specified for the current channel or for all channels on the - /// connection. The particular properties and semantics of a qos method - /// always depend on the content class semantics. Though the qos method - /// could in principle apply to both peers, it is currently meaningful - /// only for the server. - /// - /// - public interface IFileQos: IMethod { - /// - /// - /// The client can request that messages be sent in advance so that - /// when the client finishes processing a message, the following - /// message is already held locally, rather than needing to be sent - /// down the channel. Prefetching gives a performance improvement. - /// This field specifies the prefetch window size in octets. May be - /// set to zero, meaning "no specific limit". Note that other - /// prefetch limits may still apply. The prefetch-size is ignored - /// if the no-ack option is set. - /// - /// - uint PrefetchSize { get; } - /// - /// - /// Specifies a prefetch window in terms of whole messages. This - /// is compatible with some file API implementations. This field - /// may be used in combination with the prefetch-size field; a - /// message will only be sent in advance if both prefetch windows - /// (and those at the channel and connection level) allow it. - /// The prefetch-count is ignored if the no-ack option is set. - /// - /// - ushort PrefetchCount { get; } - /// - /// - /// By default the QoS settings apply to the current channel only. If - /// this field is set, they are applied to the entire connection. - /// - /// - bool Global { get; } - } - /// Autogenerated type. AMQP specification method "file.qos-ok". - /// - /// - /// This method tells the client that the requested QoS levels could - /// be handled by the server. The requested QoS applies to all active - /// consumers until a new QoS is defined. - /// - /// - public interface IFileQosOk: IMethod { - } - /// Autogenerated type. AMQP specification method "file.consume". - /// - /// - /// This method asks the server to start a "consumer", which is a - /// transient request for messages from a specific queue. Consumers - /// last as long as the channel they were created on, or until the - /// client cancels them. - /// - /// - public interface IFileConsume: IMethod { - /// - /// - /// The client MUST provide a valid access ticket giving "read" access - /// rights to the realm for the queue. - /// - /// - ushort Ticket { get; } - /// - /// - /// Specifies the name of the queue to consume from. If the queue name - /// is null, refers to the current queue for the channel, which is the - /// last declared queue. - /// - /// - string Queue { get; } - /// - /// - /// Specifies the identifier for the consumer. The consumer tag is - /// local to a connection, so two clients can use the same consumer - /// tags. If this field is empty the server will generate a unique - /// tag. - /// - /// - string ConsumerTag { get; } - // (no documentation) - bool NoLocal { get; } - // (no documentation) - bool NoAck { get; } - /// - /// - /// Request exclusive consumer access, meaning only this consumer can - /// access the queue. - /// - /// - bool Exclusive { get; } - /// - /// - /// If set, the server will not respond to the method. The client should - /// not wait for a reply method. If the server could not complete the - /// method it will raise a channel or connection exception. - /// - /// - bool Nowait { get; } - } - /// Autogenerated type. AMQP specification method "file.consume-ok". - /// - /// - /// This method provides the client with a consumer tag which it MUST - /// use in methods that work with the consumer. - /// - /// - public interface IFileConsumeOk: IMethod { - /// - /// - /// Holds the consumer tag specified by the client or provided by - /// the server. - /// - /// - string ConsumerTag { get; } - } - /// Autogenerated type. AMQP specification method "file.cancel". - /// - /// - /// This method cancels a consumer. This does not affect already - /// delivered messages, but it does mean the server will not send any - /// more messages for that consumer. - /// - /// - public interface IFileCancel: IMethod { - // (no documentation) - string ConsumerTag { get; } - /// - /// - /// If set, the server will not respond to the method. The client should - /// not wait for a reply method. If the server could not complete the - /// method it will raise a channel or connection exception. - /// - /// - bool Nowait { get; } - } - /// Autogenerated type. AMQP specification method "file.cancel-ok". - /// - /// - /// This method confirms that the cancellation was completed. - /// - /// - public interface IFileCancelOk: IMethod { - // (no documentation) - string ConsumerTag { get; } - } - /// Autogenerated type. AMQP specification method "file.open". - /// - /// - /// This method requests permission to start staging a message. Staging - /// means sending the message into a temporary area at the recipient end - /// and then delivering the message by referring to this temporary area. - /// Staging is how the protocol handles partial file transfers - if a - /// message is partially staged and the connection breaks, the next time - /// the sender starts to stage it, it can restart from where it left off. - /// - /// - public interface IFileOpen: IMethod { - /// - /// - /// This is the staging identifier. This is an arbitrary string chosen - /// by the sender. For staging to work correctly the sender must use - /// the same staging identifier when staging the same message a second - /// time after recovery from a failure. A good choice for the staging - /// identifier would be the SHA1 hash of the message properties data - /// (including the original filename, revised time, etc.). - /// - /// - string Identifier { get; } - /// - /// - /// The size of the content in octets. The recipient may use this - /// information to allocate or check available space in advance, to - /// avoid "disk full" errors during staging of very large messages. - /// - /// - ulong ContentSize { get; } - } - /// Autogenerated type. AMQP specification method "file.open-ok". - /// - /// - /// This method confirms that the recipient is ready to accept staged - /// data. If the message was already partially-staged at a previous - /// time the recipient will report the number of octets already staged. - /// - /// - public interface IFileOpenOk: IMethod { - /// - /// - /// The amount of previously-staged content in octets. For a new - /// message this will be zero. - /// - /// - ulong StagedSize { get; } - } - /// Autogenerated type. AMQP specification method "file.stage". - /// - /// - /// This method stages the message, sending the message content to the - /// recipient from the octet offset specified in the Open-Ok method. - /// - /// - public interface IFileStage: IMethod { - } - /// Autogenerated type. AMQP specification method "file.publish". - /// - /// - /// This method publishes a staged file message to a specific exchange. - /// The file message will be routed to queues as defined by the exchange - /// configuration and distributed to any active consumers when the - /// transaction, if any, is committed. - /// - /// - public interface IFilePublish: IMethod { - /// - /// - /// The client MUST provide a valid access ticket giving "write" - /// access rights to the access realm for the exchange. - /// - /// - ushort Ticket { get; } - /// - /// - /// Specifies the name of the exchange to publish to. The exchange - /// name can be empty, meaning the default exchange. If the exchange - /// name is specified, and that exchange does not exist, the server - /// will raise a channel exception. - /// - /// - string Exchange { get; } - /// - /// - /// Specifies the routing key for the message. The routing key is - /// used for routing messages depending on the exchange configuration. - /// - /// - string RoutingKey { get; } - /// - /// - /// This flag tells the server how to react if the message cannot be - /// routed to a queue. If this flag is set, the server will return an - /// unroutable message with a Return method. If this flag is zero, the - /// server silently drops the message. - /// - /// - bool Mandatory { get; } - /// - /// - /// This flag tells the server how to react if the message cannot be - /// routed to a queue consumer immediately. If this flag is set, the - /// server will return an undeliverable message with a Return method. - /// If this flag is zero, the server will queue the message, but with - /// no guarantee that it will ever be consumed. - /// - /// - bool Immediate { get; } - /// - /// - /// This is the staging identifier of the message to publish. The - /// message must have been staged. Note that a client can send the - /// Publish method asynchronously without waiting for staging to - /// finish. - /// - /// - string Identifier { get; } - } - /// Autogenerated type. AMQP specification method "file.return". - /// - /// - /// This method returns an undeliverable message that was published - /// with the "immediate" flag set, or an unroutable message published - /// with the "mandatory" flag set. The reply code and text provide - /// information about the reason that the message was undeliverable. - /// - /// - public interface IFileReturn: IMethod { - // (no documentation) - ushort ReplyCode { get; } - // (no documentation) - string ReplyText { get; } - /// - /// - /// Specifies the name of the exchange that the message was - /// originally published to. - /// - /// - string Exchange { get; } - /// - /// - /// Specifies the routing key name specified when the message was - /// published. - /// - /// - string RoutingKey { get; } - } - /// Autogenerated type. AMQP specification method "file.deliver". - /// - /// - /// This method delivers a staged file message to the client, via a - /// consumer. In the asynchronous message delivery model, the client - /// starts a consumer using the Consume method, then the server - /// responds with Deliver methods as and when messages arrive for - /// that consumer. - /// - /// - public interface IFileDeliver: IMethod { - // (no documentation) - string ConsumerTag { get; } - // (no documentation) - ulong DeliveryTag { get; } - // (no documentation) - bool Redelivered { get; } - /// - /// - /// Specifies the name of the exchange that the message was originally - /// published to. - /// - /// - string Exchange { get; } - /// - /// - /// Specifies the routing key name specified when the message was - /// published. - /// - /// - string RoutingKey { get; } - /// - /// - /// This is the staging identifier of the message to deliver. The - /// message must have been staged. Note that a server can send the - /// Deliver method asynchronously without waiting for staging to - /// finish. - /// - /// - string Identifier { get; } - } - /// Autogenerated type. AMQP specification method "file.ack". - /// - /// - /// This method acknowledges one or more messages delivered via the - /// Deliver method. The client can ask to confirm a single message or - /// a set of messages up to and including a specific message. - /// - /// - public interface IFileAck: IMethod { - // (no documentation) - ulong DeliveryTag { get; } - /// - /// - /// If set to 1, the delivery tag is treated as "up to and including", - /// so that the client can acknowledge multiple messages with a single - /// method. If set to zero, the delivery tag refers to a single - /// message. If the multiple field is 1, and the delivery tag is zero, - /// tells the server to acknowledge all outstanding mesages. - /// - /// - bool Multiple { get; } - } - /// Autogenerated type. AMQP specification method "file.reject". - /// - /// - /// This method allows a client to reject a message. It can be used to - /// return untreatable messages to their original queue. Note that file - /// content is staged before delivery, so the client will not use this - /// method to interrupt delivery of a large message. - /// - /// - public interface IFileReject: IMethod { - // (no documentation) - ulong DeliveryTag { get; } - /// - /// - /// If this field is zero, the message will be discarded. If this bit - /// is 1, the server will attempt to requeue the message. - /// - /// - bool Requeue { get; } - } - /// Autogenerated type. AMQP specification method "stream.qos". - /// - /// - /// This method requests a specific quality of service. The QoS can - /// be specified for the current channel or for all channels on the - /// connection. The particular properties and semantics of a qos method - /// always depend on the content class semantics. Though the qos method - /// could in principle apply to both peers, it is currently meaningful - /// only for the server. - /// - /// - public interface IStreamQos: IMethod { - /// - /// - /// The client can request that messages be sent in advance so that - /// when the client finishes processing a message, the following - /// message is already held locally, rather than needing to be sent - /// down the channel. Prefetching gives a performance improvement. - /// This field specifies the prefetch window size in octets. May be - /// set to zero, meaning "no specific limit". Note that other - /// prefetch limits may still apply. - /// - /// - uint PrefetchSize { get; } - /// - /// - /// Specifies a prefetch window in terms of whole messages. This - /// field may be used in combination with the prefetch-size field; - /// a message will only be sent in advance if both prefetch windows - /// (and those at the channel and connection level) allow it. - /// - /// - ushort PrefetchCount { get; } - /// - /// - /// Specifies a desired transfer rate in octets per second. This is - /// usually determined by the application that uses the streaming - /// data. A value of zero means "no limit", i.e. as rapidly as - /// possible. - /// - /// - uint ConsumeRate { get; } - /// - /// - /// By default the QoS settings apply to the current channel only. If - /// this field is set, they are applied to the entire connection. - /// - /// - bool Global { get; } - } - /// Autogenerated type. AMQP specification method "stream.qos-ok". - /// - /// - /// This method tells the client that the requested QoS levels could - /// be handled by the server. The requested QoS applies to all active - /// consumers until a new QoS is defined. - /// - /// - public interface IStreamQosOk: IMethod { - } - /// Autogenerated type. AMQP specification method "stream.consume". - /// - /// - /// This method asks the server to start a "consumer", which is a - /// transient request for messages from a specific queue. Consumers - /// last as long as the channel they were created on, or until the - /// client cancels them. - /// - /// - public interface IStreamConsume: IMethod { - /// - /// - /// The client MUST provide a valid access ticket giving "read" access - /// rights to the realm for the queue. - /// - /// - ushort Ticket { get; } - /// - /// - /// Specifies the name of the queue to consume from. If the queue name - /// is null, refers to the current queue for the channel, which is the - /// last declared queue. - /// - /// - string Queue { get; } - /// - /// - /// Specifies the identifier for the consumer. The consumer tag is - /// local to a connection, so two clients can use the same consumer - /// tags. If this field is empty the server will generate a unique - /// tag. - /// - /// - string ConsumerTag { get; } - // (no documentation) - bool NoLocal { get; } - /// - /// - /// Request exclusive consumer access, meaning only this consumer can - /// access the queue. - /// - /// - bool Exclusive { get; } - /// - /// - /// If set, the server will not respond to the method. The client should - /// not wait for a reply method. If the server could not complete the - /// method it will raise a channel or connection exception. - /// - /// - bool Nowait { get; } - } - /// Autogenerated type. AMQP specification method "stream.consume-ok". - /// - /// - /// This method provides the client with a consumer tag which it may - /// use in methods that work with the consumer. - /// - /// - public interface IStreamConsumeOk: IMethod { - /// - /// - /// Holds the consumer tag specified by the client or provided by - /// the server. - /// - /// - string ConsumerTag { get; } - } - /// Autogenerated type. AMQP specification method "stream.cancel". - /// - /// - /// This method cancels a consumer. Since message delivery is - /// asynchronous the client may continue to receive messages for - /// a short while after canceling a consumer. It may process or - /// discard these as appropriate. - /// - /// - public interface IStreamCancel: IMethod { - // (no documentation) - string ConsumerTag { get; } - /// - /// - /// If set, the server will not respond to the method. The client should - /// not wait for a reply method. If the server could not complete the - /// method it will raise a channel or connection exception. - /// - /// - bool Nowait { get; } - } - /// Autogenerated type. AMQP specification method "stream.cancel-ok". - /// - /// - /// This method confirms that the cancellation was completed. - /// - /// - public interface IStreamCancelOk: IMethod { - // (no documentation) - string ConsumerTag { get; } - } - /// Autogenerated type. AMQP specification method "stream.publish". - /// - /// - /// This method publishes a message to a specific exchange. The message - /// will be routed to queues as defined by the exchange configuration - /// and distributed to any active consumers as appropriate. - /// - /// - public interface IStreamPublish: IMethod { - /// - /// - /// The client MUST provide a valid access ticket giving "write" - /// access rights to the access realm for the exchange. - /// - /// - ushort Ticket { get; } - /// - /// - /// Specifies the name of the exchange to publish to. The exchange - /// name can be empty, meaning the default exchange. If the exchange - /// name is specified, and that exchange does not exist, the server - /// will raise a channel exception. - /// - /// - string Exchange { get; } - /// - /// - /// Specifies the routing key for the message. The routing key is - /// used for routing messages depending on the exchange configuration. - /// - /// - string RoutingKey { get; } - /// - /// - /// This flag tells the server how to react if the message cannot be - /// routed to a queue. If this flag is set, the server will return an - /// unroutable message with a Return method. If this flag is zero, the - /// server silently drops the message. - /// - /// - bool Mandatory { get; } - /// - /// - /// This flag tells the server how to react if the message cannot be - /// routed to a queue consumer immediately. If this flag is set, the - /// server will return an undeliverable message with a Return method. - /// If this flag is zero, the server will queue the message, but with - /// no guarantee that it will ever be consumed. - /// - /// - bool Immediate { get; } - } - /// Autogenerated type. AMQP specification method "stream.return". - /// - /// - /// This method returns an undeliverable message that was published - /// with the "immediate" flag set, or an unroutable message published - /// with the "mandatory" flag set. The reply code and text provide - /// information about the reason that the message was undeliverable. - /// - /// - public interface IStreamReturn: IMethod { - // (no documentation) - ushort ReplyCode { get; } - // (no documentation) - string ReplyText { get; } - /// - /// - /// Specifies the name of the exchange that the message was - /// originally published to. - /// - /// - string Exchange { get; } - /// - /// - /// Specifies the routing key name specified when the message was - /// published. - /// - /// - string RoutingKey { get; } - } - /// Autogenerated type. AMQP specification method "stream.deliver". - /// - /// - /// This method delivers a message to the client, via a consumer. In - /// the asynchronous message delivery model, the client starts a - /// consumer using the Consume method, then the server responds with - /// Deliver methods as and when messages arrive for that consumer. - /// - /// - public interface IStreamDeliver: IMethod { - // (no documentation) - string ConsumerTag { get; } - // (no documentation) - ulong DeliveryTag { get; } - /// - /// - /// Specifies the name of the exchange that the message was originally - /// published to. - /// - /// - string Exchange { get; } - /// - /// - /// Specifies the name of the queue that the message came from. Note - /// that a single channel can start many consumers on different - /// queues. - /// - /// - string Queue { get; } - } - /// Autogenerated type. AMQP specification method "tx.select". - /// - /// - /// This method sets the channel to use standard transactions. The - /// client must use this method at least once on a channel before - /// using the Commit or Rollback methods. - /// - /// - public interface ITxSelect: IMethod { - } - /// Autogenerated type. AMQP specification method "tx.select-ok". - /// - /// - /// This method confirms to the client that the channel was successfully - /// set to use standard transactions. - /// - /// - public interface ITxSelectOk: IMethod { - } - /// Autogenerated type. AMQP specification method "tx.commit". - /// - /// - /// This method commits all messages published and acknowledged in - /// the current transaction. A new transaction starts immediately - /// after a commit. - /// - /// - public interface ITxCommit: IMethod { - } - /// Autogenerated type. AMQP specification method "tx.commit-ok". - /// - /// - /// This method confirms to the client that the commit succeeded. - /// Note that if a commit fails, the server raises a channel exception. - /// - /// - public interface ITxCommitOk: IMethod { - } - /// Autogenerated type. AMQP specification method "tx.rollback". - /// - /// - /// This method abandons all messages published and acknowledged in - /// the current transaction. A new transaction starts immediately - /// after a rollback. - /// - /// - public interface ITxRollback: IMethod { - } - /// Autogenerated type. AMQP specification method "tx.rollback-ok". - /// - /// - /// This method confirms to the client that the rollback succeeded. - /// Note that if an rollback fails, the server raises a channel exception. - /// - /// - public interface ITxRollbackOk: IMethod { - } - /// Autogenerated type. AMQP specification method "dtx.select". - /// - /// - /// This method sets the channel to use distributed transactions. The - /// client must use this method at least once on a channel before - /// using the Start method. - /// - /// - public interface IDtxSelect: IMethod { - } - /// Autogenerated type. AMQP specification method "dtx.select-ok". - /// - /// - /// This method confirms to the client that the channel was successfully - /// set to use distributed transactions. - /// - /// - public interface IDtxSelectOk: IMethod { - } - /// Autogenerated type. AMQP specification method "dtx.start". - /// - /// - /// This method starts a new distributed transaction. This must be - /// the first method on a new channel that uses the distributed - /// transaction mode, before any methods that publish or consume - /// messages. - /// - /// - public interface IDtxStart: IMethod { - /// - /// - /// The distributed transaction key. This identifies the transaction - /// so that the AMQP server can coordinate with the distributed - /// transaction coordinator. - /// - /// - string DtxIdentifier { get; } - } - /// Autogenerated type. AMQP specification method "dtx.start-ok". - /// - /// - /// This method confirms to the client that the transaction started. - /// Note that if a start fails, the server raises a channel exception. - /// - /// - public interface IDtxStartOk: IMethod { - } - /// Autogenerated type. AMQP specification method "tunnel.request". - /// - /// - /// This method tunnels a block of binary data, which can be an - /// encoded AMQP method or other data. The binary data is sent - /// as the content for the Tunnel.Request method. - /// - /// - public interface ITunnelRequest: IMethod { - /// - /// - /// This field table holds arbitrary meta-data that the sender needs - /// to pass to the recipient. - /// - /// - System.Collections.IDictionary MetaData { get; } - } - /// Autogenerated type. AMQP specification method "test.integer". - /// - /// - /// This method tests the peer's capability to correctly marshal integer - /// data. - /// - /// - public interface ITestInteger: IMethod { - /// - /// - /// An octet integer test value. - /// - /// - byte Integer1 { get; } - /// - /// - /// A short integer test value. - /// - /// - ushort Integer2 { get; } - /// - /// - /// A long integer test value. - /// - /// - uint Integer3 { get; } - /// - /// - /// A long long integer test value. - /// - /// - ulong Integer4 { get; } - /// - /// - /// The client must execute this operation on the provided integer - /// test fields and return the result. - /// - /// - byte Operation { get; } - } - /// Autogenerated type. AMQP specification method "test.integer-ok". - /// - /// - /// This method reports the result of an Integer method. - /// - /// - public interface ITestIntegerOk: IMethod { - /// - /// - /// The result of the tested operation. - /// - /// - ulong Result { get; } - } - /// Autogenerated type. AMQP specification method "test.string". - /// - /// - /// This method tests the peer's capability to correctly marshal string - /// data. - /// - /// - public interface ITestString: IMethod { - /// - /// - /// An short string test value. - /// - /// - string String1 { get; } - /// - /// - /// A long string test value. - /// - /// - byte[] String2 { get; } - /// - /// - /// The client must execute this operation on the provided string - /// test fields and return the result. - /// - /// - byte Operation { get; } - } - /// Autogenerated type. AMQP specification method "test.string-ok". - /// - /// - /// This method reports the result of a String method. - /// - /// - public interface ITestStringOk: IMethod { - /// - /// - /// The result of the tested operation. - /// - /// - byte[] Result { get; } - } - /// Autogenerated type. AMQP specification method "test.table". - /// - /// - /// This method tests the peer's capability to correctly marshal field - /// table data. - /// - /// - public interface ITestTable: IMethod { - /// - /// - /// A field table of test values. - /// - /// - System.Collections.IDictionary Table { get; } - /// - /// - /// The client must execute this operation on the provided field - /// table integer values and return the result. - /// - /// - byte IntegerOp { get; } - /// - /// - /// The client must execute this operation on the provided field - /// table string values and return the result. - /// - /// - byte StringOp { get; } - } - /// Autogenerated type. AMQP specification method "test.table-ok". - /// - /// - /// This method reports the result of a Table method. - /// - /// - public interface ITestTableOk: IMethod { - /// - /// - /// The result of the tested integer operation. - /// - /// - ulong IntegerResult { get; } - /// - /// - /// The result of the tested string operation. - /// - /// - byte[] StringResult { get; } - } - /// Autogenerated type. AMQP specification method "test.content". - /// - /// - /// This method tests the peer's capability to correctly marshal content. - /// - /// - public interface ITestContent: IMethod { - } - /// Autogenerated type. AMQP specification method "test.content-ok". - /// - /// - /// This method reports the result of a Content method. It contains the - /// content checksum and echoes the original content as provided. - /// - /// - public interface ITestContentOk: IMethod { - /// - /// - /// The 32-bit checksum of the content, calculated by adding the - /// content into a 32-bit accumulator. - /// - /// - uint ContentChecksum { get; } - } - /// Autogenerated type. AMQP specification content header properties for content class "basic" - /// - /// - /// The Basic class provides methods that support an industry-standard - /// messaging model. - /// - /// - public class BasicProperties: RabbitMQ.Client.Impl.BasicProperties { - private string m_contentType; - private string m_contentEncoding; - private System.Collections.IDictionary m_headers; - private byte m_deliveryMode; - private byte m_priority; - private string m_correlationId; - private string m_replyTo; - private string m_expiration; - private string m_messageId; - private AmqpTimestamp m_timestamp; - private string m_type; - private string m_userId; - private string m_appId; - private string m_clusterId; - - private bool contentType_present = false; - private bool contentEncoding_present = false; - private bool headers_present = false; - private bool deliveryMode_present = false; - private bool priority_present = false; - private bool correlationId_present = false; - private bool replyTo_present = false; - private bool expiration_present = false; - private bool messageId_present = false; - private bool timestamp_present = false; - private bool type_present = false; - private bool userId_present = false; - private bool appId_present = false; - private bool clusterId_present = false; - - // (no documentation) - public override string ContentType { - get { - return m_contentType; - } - set { - contentType_present = true; - m_contentType = value; - } - } - // (no documentation) - public override string ContentEncoding { - get { - return m_contentEncoding; - } - set { - contentEncoding_present = true; - m_contentEncoding = value; - } - } - // (no documentation) - public override System.Collections.IDictionary Headers { - get { - return m_headers; - } - set { - headers_present = true; - m_headers = value; - } - } - // (no documentation) - public override byte DeliveryMode { - get { - return m_deliveryMode; - } - set { - deliveryMode_present = true; - m_deliveryMode = value; - } - } - // (no documentation) - public override byte Priority { - get { - return m_priority; - } - set { - priority_present = true; - m_priority = value; - } - } - // (no documentation) - public override string CorrelationId { - get { - return m_correlationId; - } - set { - correlationId_present = true; - m_correlationId = value; - } - } - // (no documentation) - public override string ReplyTo { - get { - return m_replyTo; - } - set { - replyTo_present = true; - m_replyTo = value; - } - } - // (no documentation) - public override string Expiration { - get { - return m_expiration; - } - set { - expiration_present = true; - m_expiration = value; - } - } - // (no documentation) - public override string MessageId { - get { - return m_messageId; - } - set { - messageId_present = true; - m_messageId = value; - } - } - // (no documentation) - public override AmqpTimestamp Timestamp { - get { - return m_timestamp; - } - set { - timestamp_present = true; - m_timestamp = value; - } - } - // (no documentation) - public override string Type { - get { - return m_type; - } - set { - type_present = true; - m_type = value; - } - } - // (no documentation) - public override string UserId { - get { - return m_userId; - } - set { - userId_present = true; - m_userId = value; - } - } - // (no documentation) - public override string AppId { - get { - return m_appId; - } - set { - appId_present = true; - m_appId = value; - } - } - // (no documentation) - public override string ClusterId { - get { - return m_clusterId; - } - set { - clusterId_present = true; - m_clusterId = value; - } - } - - public override void ClearContentType() { contentType_present = false; } - public override void ClearContentEncoding() { contentEncoding_present = false; } - public override void ClearHeaders() { headers_present = false; } - public override void ClearDeliveryMode() { deliveryMode_present = false; } - public override void ClearPriority() { priority_present = false; } - public override void ClearCorrelationId() { correlationId_present = false; } - public override void ClearReplyTo() { replyTo_present = false; } - public override void ClearExpiration() { expiration_present = false; } - public override void ClearMessageId() { messageId_present = false; } - public override void ClearTimestamp() { timestamp_present = false; } - public override void ClearType() { type_present = false; } - public override void ClearUserId() { userId_present = false; } - public override void ClearAppId() { appId_present = false; } - public override void ClearClusterId() { clusterId_present = false; } - - public BasicProperties() {} - public override int ProtocolClassId { get { return 60; } } - public override string ProtocolClassName { get { return "basic"; } } - - public override void ReadPropertiesFrom(RabbitMQ.Client.Impl.ContentHeaderPropertyReader reader) { - contentType_present = reader.ReadPresence(); - contentEncoding_present = reader.ReadPresence(); - headers_present = reader.ReadPresence(); - deliveryMode_present = reader.ReadPresence(); - priority_present = reader.ReadPresence(); - correlationId_present = reader.ReadPresence(); - replyTo_present = reader.ReadPresence(); - expiration_present = reader.ReadPresence(); - messageId_present = reader.ReadPresence(); - timestamp_present = reader.ReadPresence(); - type_present = reader.ReadPresence(); - userId_present = reader.ReadPresence(); - appId_present = reader.ReadPresence(); - clusterId_present = reader.ReadPresence(); - reader.FinishPresence(); - if (contentType_present) { m_contentType = reader.ReadShortstr(); } - if (contentEncoding_present) { m_contentEncoding = reader.ReadShortstr(); } - if (headers_present) { m_headers = reader.ReadTable(); } - if (deliveryMode_present) { m_deliveryMode = reader.ReadOctet(); } - if (priority_present) { m_priority = reader.ReadOctet(); } - if (correlationId_present) { m_correlationId = reader.ReadShortstr(); } - if (replyTo_present) { m_replyTo = reader.ReadShortstr(); } - if (expiration_present) { m_expiration = reader.ReadShortstr(); } - if (messageId_present) { m_messageId = reader.ReadShortstr(); } - if (timestamp_present) { m_timestamp = reader.ReadTimestamp(); } - if (type_present) { m_type = reader.ReadShortstr(); } - if (userId_present) { m_userId = reader.ReadShortstr(); } - if (appId_present) { m_appId = reader.ReadShortstr(); } - if (clusterId_present) { m_clusterId = reader.ReadShortstr(); } - } - - public override void WritePropertiesTo(RabbitMQ.Client.Impl.ContentHeaderPropertyWriter writer) { - writer.WritePresence(contentType_present); - writer.WritePresence(contentEncoding_present); - writer.WritePresence(headers_present); - writer.WritePresence(deliveryMode_present); - writer.WritePresence(priority_present); - writer.WritePresence(correlationId_present); - writer.WritePresence(replyTo_present); - writer.WritePresence(expiration_present); - writer.WritePresence(messageId_present); - writer.WritePresence(timestamp_present); - writer.WritePresence(type_present); - writer.WritePresence(userId_present); - writer.WritePresence(appId_present); - writer.WritePresence(clusterId_present); - writer.FinishPresence(); - if (contentType_present) { writer.WriteShortstr(m_contentType); } - if (contentEncoding_present) { writer.WriteShortstr(m_contentEncoding); } - if (headers_present) { writer.WriteTable(m_headers); } - if (deliveryMode_present) { writer.WriteOctet(m_deliveryMode); } - if (priority_present) { writer.WriteOctet(m_priority); } - if (correlationId_present) { writer.WriteShortstr(m_correlationId); } - if (replyTo_present) { writer.WriteShortstr(m_replyTo); } - if (expiration_present) { writer.WriteShortstr(m_expiration); } - if (messageId_present) { writer.WriteShortstr(m_messageId); } - if (timestamp_present) { writer.WriteTimestamp(m_timestamp); } - if (type_present) { writer.WriteShortstr(m_type); } - if (userId_present) { writer.WriteShortstr(m_userId); } - if (appId_present) { writer.WriteShortstr(m_appId); } - if (clusterId_present) { writer.WriteShortstr(m_clusterId); } - } - - public override void AppendPropertyDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append("content type="); sb.Append(contentType_present ? (m_contentType == null ? "(null)" : m_contentType.ToString()) : "_"); sb.Append(", "); - sb.Append("content encoding="); sb.Append(contentEncoding_present ? (m_contentEncoding == null ? "(null)" : m_contentEncoding.ToString()) : "_"); sb.Append(", "); - sb.Append("headers="); sb.Append(headers_present ? (m_headers == null ? "(null)" : m_headers.ToString()) : "_"); sb.Append(", "); - sb.Append("delivery mode="); sb.Append(deliveryMode_present ? m_deliveryMode.ToString() : "_"); sb.Append(", "); - sb.Append("priority="); sb.Append(priority_present ? m_priority.ToString() : "_"); sb.Append(", "); - sb.Append("correlation id="); sb.Append(correlationId_present ? (m_correlationId == null ? "(null)" : m_correlationId.ToString()) : "_"); sb.Append(", "); - sb.Append("reply to="); sb.Append(replyTo_present ? (m_replyTo == null ? "(null)" : m_replyTo.ToString()) : "_"); sb.Append(", "); - sb.Append("expiration="); sb.Append(expiration_present ? (m_expiration == null ? "(null)" : m_expiration.ToString()) : "_"); sb.Append(", "); - sb.Append("message id="); sb.Append(messageId_present ? (m_messageId == null ? "(null)" : m_messageId.ToString()) : "_"); sb.Append(", "); - sb.Append("timestamp="); sb.Append(timestamp_present ? m_timestamp.ToString() : "_"); sb.Append(", "); - sb.Append("type="); sb.Append(type_present ? (m_type == null ? "(null)" : m_type.ToString()) : "_"); sb.Append(", "); - sb.Append("user id="); sb.Append(userId_present ? (m_userId == null ? "(null)" : m_userId.ToString()) : "_"); sb.Append(", "); - sb.Append("app id="); sb.Append(appId_present ? (m_appId == null ? "(null)" : m_appId.ToString()) : "_"); sb.Append(", "); - sb.Append("cluster id="); sb.Append(clusterId_present ? (m_clusterId == null ? "(null)" : m_clusterId.ToString()) : "_"); - sb.Append(")"); - } - } - /// Autogenerated type. AMQP specification content header properties for content class "file" - /// - /// - /// The file class provides methods that support reliable file transfer. - /// File messages have a specific set of properties that are required for - /// interoperability with file transfer applications. File messages and - /// acknowledgements are subject to channel transactions. Note that the - /// file class does not provide message browsing methods; these are not - /// compatible with the staging model. Applications that need browsable - /// file transfer should use Basic content and the Basic class. - /// - /// - public class FileProperties: RabbitMQ.Client.Impl.FileProperties { - private string m_contentType; - private string m_contentEncoding; - private System.Collections.IDictionary m_headers; - private byte m_priority; - private string m_replyTo; - private string m_messageId; - private string m_filename; - private AmqpTimestamp m_timestamp; - private string m_clusterId; - - private bool contentType_present = false; - private bool contentEncoding_present = false; - private bool headers_present = false; - private bool priority_present = false; - private bool replyTo_present = false; - private bool messageId_present = false; - private bool filename_present = false; - private bool timestamp_present = false; - private bool clusterId_present = false; - - // (no documentation) - public override string ContentType { - get { - return m_contentType; - } - set { - contentType_present = true; - m_contentType = value; - } - } - // (no documentation) - public override string ContentEncoding { - get { - return m_contentEncoding; - } - set { - contentEncoding_present = true; - m_contentEncoding = value; - } - } - // (no documentation) - public override System.Collections.IDictionary Headers { - get { - return m_headers; - } - set { - headers_present = true; - m_headers = value; - } - } - // (no documentation) - public override byte Priority { - get { - return m_priority; - } - set { - priority_present = true; - m_priority = value; - } - } - // (no documentation) - public override string ReplyTo { - get { - return m_replyTo; - } - set { - replyTo_present = true; - m_replyTo = value; - } - } - // (no documentation) - public override string MessageId { - get { - return m_messageId; - } - set { - messageId_present = true; - m_messageId = value; - } - } - // (no documentation) - public override string Filename { - get { - return m_filename; - } - set { - filename_present = true; - m_filename = value; - } - } - // (no documentation) - public override AmqpTimestamp Timestamp { - get { - return m_timestamp; - } - set { - timestamp_present = true; - m_timestamp = value; - } - } - // (no documentation) - public override string ClusterId { - get { - return m_clusterId; - } - set { - clusterId_present = true; - m_clusterId = value; - } - } - - public override void ClearContentType() { contentType_present = false; } - public override void ClearContentEncoding() { contentEncoding_present = false; } - public override void ClearHeaders() { headers_present = false; } - public override void ClearPriority() { priority_present = false; } - public override void ClearReplyTo() { replyTo_present = false; } - public override void ClearMessageId() { messageId_present = false; } - public override void ClearFilename() { filename_present = false; } - public override void ClearTimestamp() { timestamp_present = false; } - public override void ClearClusterId() { clusterId_present = false; } - - public FileProperties() {} - public override int ProtocolClassId { get { return 70; } } - public override string ProtocolClassName { get { return "file"; } } - - public override void ReadPropertiesFrom(RabbitMQ.Client.Impl.ContentHeaderPropertyReader reader) { - contentType_present = reader.ReadPresence(); - contentEncoding_present = reader.ReadPresence(); - headers_present = reader.ReadPresence(); - priority_present = reader.ReadPresence(); - replyTo_present = reader.ReadPresence(); - messageId_present = reader.ReadPresence(); - filename_present = reader.ReadPresence(); - timestamp_present = reader.ReadPresence(); - clusterId_present = reader.ReadPresence(); - reader.FinishPresence(); - if (contentType_present) { m_contentType = reader.ReadShortstr(); } - if (contentEncoding_present) { m_contentEncoding = reader.ReadShortstr(); } - if (headers_present) { m_headers = reader.ReadTable(); } - if (priority_present) { m_priority = reader.ReadOctet(); } - if (replyTo_present) { m_replyTo = reader.ReadShortstr(); } - if (messageId_present) { m_messageId = reader.ReadShortstr(); } - if (filename_present) { m_filename = reader.ReadShortstr(); } - if (timestamp_present) { m_timestamp = reader.ReadTimestamp(); } - if (clusterId_present) { m_clusterId = reader.ReadShortstr(); } - } - - public override void WritePropertiesTo(RabbitMQ.Client.Impl.ContentHeaderPropertyWriter writer) { - writer.WritePresence(contentType_present); - writer.WritePresence(contentEncoding_present); - writer.WritePresence(headers_present); - writer.WritePresence(priority_present); - writer.WritePresence(replyTo_present); - writer.WritePresence(messageId_present); - writer.WritePresence(filename_present); - writer.WritePresence(timestamp_present); - writer.WritePresence(clusterId_present); - writer.FinishPresence(); - if (contentType_present) { writer.WriteShortstr(m_contentType); } - if (contentEncoding_present) { writer.WriteShortstr(m_contentEncoding); } - if (headers_present) { writer.WriteTable(m_headers); } - if (priority_present) { writer.WriteOctet(m_priority); } - if (replyTo_present) { writer.WriteShortstr(m_replyTo); } - if (messageId_present) { writer.WriteShortstr(m_messageId); } - if (filename_present) { writer.WriteShortstr(m_filename); } - if (timestamp_present) { writer.WriteTimestamp(m_timestamp); } - if (clusterId_present) { writer.WriteShortstr(m_clusterId); } - } - - public override void AppendPropertyDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append("content type="); sb.Append(contentType_present ? (m_contentType == null ? "(null)" : m_contentType.ToString()) : "_"); sb.Append(", "); - sb.Append("content encoding="); sb.Append(contentEncoding_present ? (m_contentEncoding == null ? "(null)" : m_contentEncoding.ToString()) : "_"); sb.Append(", "); - sb.Append("headers="); sb.Append(headers_present ? (m_headers == null ? "(null)" : m_headers.ToString()) : "_"); sb.Append(", "); - sb.Append("priority="); sb.Append(priority_present ? m_priority.ToString() : "_"); sb.Append(", "); - sb.Append("reply to="); sb.Append(replyTo_present ? (m_replyTo == null ? "(null)" : m_replyTo.ToString()) : "_"); sb.Append(", "); - sb.Append("message id="); sb.Append(messageId_present ? (m_messageId == null ? "(null)" : m_messageId.ToString()) : "_"); sb.Append(", "); - sb.Append("filename="); sb.Append(filename_present ? (m_filename == null ? "(null)" : m_filename.ToString()) : "_"); sb.Append(", "); - sb.Append("timestamp="); sb.Append(timestamp_present ? m_timestamp.ToString() : "_"); sb.Append(", "); - sb.Append("cluster id="); sb.Append(clusterId_present ? (m_clusterId == null ? "(null)" : m_clusterId.ToString()) : "_"); - sb.Append(")"); - } - } - /// Autogenerated type. AMQP specification content header properties for content class "stream" - /// - /// - /// The stream class provides methods that support multimedia streaming. - /// The stream class uses the following semantics: one message is one - /// packet of data; delivery is unacknowleged and unreliable; the consumer - /// can specify quality of service parameters that the server can try to - /// adhere to; lower-priority messages may be discarded in favour of high - /// priority messages. - /// - /// - public class StreamProperties: RabbitMQ.Client.Impl.StreamProperties { - private string m_contentType; - private string m_contentEncoding; - private System.Collections.IDictionary m_headers; - private byte m_priority; - private AmqpTimestamp m_timestamp; - - private bool contentType_present = false; - private bool contentEncoding_present = false; - private bool headers_present = false; - private bool priority_present = false; - private bool timestamp_present = false; - - // (no documentation) - public override string ContentType { - get { - return m_contentType; - } - set { - contentType_present = true; - m_contentType = value; - } - } - // (no documentation) - public override string ContentEncoding { - get { - return m_contentEncoding; - } - set { - contentEncoding_present = true; - m_contentEncoding = value; - } - } - // (no documentation) - public override System.Collections.IDictionary Headers { - get { - return m_headers; - } - set { - headers_present = true; - m_headers = value; - } - } - // (no documentation) - public override byte Priority { - get { - return m_priority; - } - set { - priority_present = true; - m_priority = value; - } - } - // (no documentation) - public override AmqpTimestamp Timestamp { - get { - return m_timestamp; - } - set { - timestamp_present = true; - m_timestamp = value; - } - } - - public override void ClearContentType() { contentType_present = false; } - public override void ClearContentEncoding() { contentEncoding_present = false; } - public override void ClearHeaders() { headers_present = false; } - public override void ClearPriority() { priority_present = false; } - public override void ClearTimestamp() { timestamp_present = false; } - - public StreamProperties() {} - public override int ProtocolClassId { get { return 80; } } - public override string ProtocolClassName { get { return "stream"; } } - - public override void ReadPropertiesFrom(RabbitMQ.Client.Impl.ContentHeaderPropertyReader reader) { - contentType_present = reader.ReadPresence(); - contentEncoding_present = reader.ReadPresence(); - headers_present = reader.ReadPresence(); - priority_present = reader.ReadPresence(); - timestamp_present = reader.ReadPresence(); - reader.FinishPresence(); - if (contentType_present) { m_contentType = reader.ReadShortstr(); } - if (contentEncoding_present) { m_contentEncoding = reader.ReadShortstr(); } - if (headers_present) { m_headers = reader.ReadTable(); } - if (priority_present) { m_priority = reader.ReadOctet(); } - if (timestamp_present) { m_timestamp = reader.ReadTimestamp(); } - } - - public override void WritePropertiesTo(RabbitMQ.Client.Impl.ContentHeaderPropertyWriter writer) { - writer.WritePresence(contentType_present); - writer.WritePresence(contentEncoding_present); - writer.WritePresence(headers_present); - writer.WritePresence(priority_present); - writer.WritePresence(timestamp_present); - writer.FinishPresence(); - if (contentType_present) { writer.WriteShortstr(m_contentType); } - if (contentEncoding_present) { writer.WriteShortstr(m_contentEncoding); } - if (headers_present) { writer.WriteTable(m_headers); } - if (priority_present) { writer.WriteOctet(m_priority); } - if (timestamp_present) { writer.WriteTimestamp(m_timestamp); } - } - - public override void AppendPropertyDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append("content type="); sb.Append(contentType_present ? (m_contentType == null ? "(null)" : m_contentType.ToString()) : "_"); sb.Append(", "); - sb.Append("content encoding="); sb.Append(contentEncoding_present ? (m_contentEncoding == null ? "(null)" : m_contentEncoding.ToString()) : "_"); sb.Append(", "); - sb.Append("headers="); sb.Append(headers_present ? (m_headers == null ? "(null)" : m_headers.ToString()) : "_"); sb.Append(", "); - sb.Append("priority="); sb.Append(priority_present ? m_priority.ToString() : "_"); sb.Append(", "); - sb.Append("timestamp="); sb.Append(timestamp_present ? m_timestamp.ToString() : "_"); - sb.Append(")"); - } - } - /// Autogenerated type. AMQP specification content header properties for content class "tunnel" - /// - /// - /// The tunnel methods are used to send blocks of binary data - which - /// can be serialised AMQP methods or other protocol frames - between - /// AMQP peers. - /// - /// - public class TunnelProperties: RabbitMQ.Client.Impl.ContentHeaderBase { - private System.Collections.IDictionary m_headers; - private string m_proxyName; - private string m_dataName; - private byte m_durable; - private byte m_broadcast; - - private bool headers_present = false; - private bool proxyName_present = false; - private bool dataName_present = false; - private bool durable_present = false; - private bool broadcast_present = false; - - // (no documentation) - public System.Collections.IDictionary Headers { - get { - return m_headers; - } - set { - headers_present = true; - m_headers = value; - } - } - // (no documentation) - public string ProxyName { - get { - return m_proxyName; - } - set { - proxyName_present = true; - m_proxyName = value; - } - } - // (no documentation) - public string DataName { - get { - return m_dataName; - } - set { - dataName_present = true; - m_dataName = value; - } - } - // (no documentation) - public byte Durable { - get { - return m_durable; - } - set { - durable_present = true; - m_durable = value; - } - } - // (no documentation) - public byte Broadcast { - get { - return m_broadcast; - } - set { - broadcast_present = true; - m_broadcast = value; - } - } - - public void ClearHeaders() { headers_present = false; } - public void ClearProxyName() { proxyName_present = false; } - public void ClearDataName() { dataName_present = false; } - public void ClearDurable() { durable_present = false; } - public void ClearBroadcast() { broadcast_present = false; } - - public TunnelProperties() {} - public override int ProtocolClassId { get { return 110; } } - public override string ProtocolClassName { get { return "tunnel"; } } - - public override void ReadPropertiesFrom(RabbitMQ.Client.Impl.ContentHeaderPropertyReader reader) { - headers_present = reader.ReadPresence(); - proxyName_present = reader.ReadPresence(); - dataName_present = reader.ReadPresence(); - durable_present = reader.ReadPresence(); - broadcast_present = reader.ReadPresence(); - reader.FinishPresence(); - if (headers_present) { m_headers = reader.ReadTable(); } - if (proxyName_present) { m_proxyName = reader.ReadShortstr(); } - if (dataName_present) { m_dataName = reader.ReadShortstr(); } - if (durable_present) { m_durable = reader.ReadOctet(); } - if (broadcast_present) { m_broadcast = reader.ReadOctet(); } - } - - public override void WritePropertiesTo(RabbitMQ.Client.Impl.ContentHeaderPropertyWriter writer) { - writer.WritePresence(headers_present); - writer.WritePresence(proxyName_present); - writer.WritePresence(dataName_present); - writer.WritePresence(durable_present); - writer.WritePresence(broadcast_present); - writer.FinishPresence(); - if (headers_present) { writer.WriteTable(m_headers); } - if (proxyName_present) { writer.WriteShortstr(m_proxyName); } - if (dataName_present) { writer.WriteShortstr(m_dataName); } - if (durable_present) { writer.WriteOctet(m_durable); } - if (broadcast_present) { writer.WriteOctet(m_broadcast); } - } - - public override void AppendPropertyDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append("headers="); sb.Append(headers_present ? (m_headers == null ? "(null)" : m_headers.ToString()) : "_"); sb.Append(", "); - sb.Append("proxy name="); sb.Append(proxyName_present ? (m_proxyName == null ? "(null)" : m_proxyName.ToString()) : "_"); sb.Append(", "); - sb.Append("data name="); sb.Append(dataName_present ? (m_dataName == null ? "(null)" : m_dataName.ToString()) : "_"); sb.Append(", "); - sb.Append("durable="); sb.Append(durable_present ? m_durable.ToString() : "_"); sb.Append(", "); - sb.Append("broadcast="); sb.Append(broadcast_present ? m_broadcast.ToString() : "_"); - sb.Append(")"); - } - } - /// Autogenerated type. AMQP specification content header properties for content class "test" - /// - /// - /// The test class provides methods for a peer to test the basic - /// operational correctness of another peer. The test methods are - /// intended to ensure that all peers respect at least the basic - /// elements of the protocol, such as frame and content organisation - /// and field types. We assume that a specially-designed peer, a - /// "monitor client" would perform such tests. - /// - /// - public class TestProperties: RabbitMQ.Client.Impl.ContentHeaderBase { - - - - - public TestProperties() {} - public override int ProtocolClassId { get { return 120; } } - public override string ProtocolClassName { get { return "test"; } } - - public override void ReadPropertiesFrom(RabbitMQ.Client.Impl.ContentHeaderPropertyReader reader) { - reader.FinishPresence(); - } - - public override void WritePropertiesTo(RabbitMQ.Client.Impl.ContentHeaderPropertyWriter writer) { - writer.FinishPresence(); - } - - public override void AppendPropertyDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(")"); - } - } -} -namespace RabbitMQ.Client.Framing.Impl.v0_8 { - using RabbitMQ.Client.Framing.v0_8; - public enum ClassId { - Connection = 10, - Channel = 20, - Access = 30, - Exchange = 40, - Queue = 50, - Basic = 60, - File = 70, - Stream = 80, - Tx = 90, - Dtx = 100, - Tunnel = 110, - Test = 120, - Invalid = -1 - } - /// Autogenerated type. Private implementation class - do not use directly. - public class ConnectionStart: RabbitMQ.Client.Impl.MethodBase, IConnectionStart { - public const int ClassId = 10; - public const int MethodId = 10; - - public byte m_versionMajor; - public byte m_versionMinor; - public System.Collections.IDictionary m_serverProperties; - public byte[] m_mechanisms; - public byte[] m_locales; - - byte IConnectionStart.VersionMajor { get { return m_versionMajor; } } - byte IConnectionStart.VersionMinor { get { return m_versionMinor; } } - System.Collections.IDictionary IConnectionStart.ServerProperties { get { return m_serverProperties; } } - byte[] IConnectionStart.Mechanisms { get { return m_mechanisms; } } - byte[] IConnectionStart.Locales { get { return m_locales; } } - - public ConnectionStart() {} - public ConnectionStart( - byte initVersionMajor, - byte initVersionMinor, - System.Collections.IDictionary initServerProperties, - byte[] initMechanisms, - byte[] initLocales) - { - m_versionMajor = initVersionMajor; - m_versionMinor = initVersionMinor; - m_serverProperties = initServerProperties; - m_mechanisms = initMechanisms; - m_locales = initLocales; - } - - public override int ProtocolClassId { get { return 10; } } - public override int ProtocolMethodId { get { return 10; } } - public override string ProtocolMethodName { get { return "connection.start"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_versionMajor = reader.ReadOctet(); - m_versionMinor = reader.ReadOctet(); - m_serverProperties = reader.ReadTable(); - m_mechanisms = reader.ReadLongstr(); - m_locales = reader.ReadLongstr(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteOctet(m_versionMajor); - writer.WriteOctet(m_versionMinor); - writer.WriteTable(m_serverProperties); - writer.WriteLongstr(m_mechanisms); - writer.WriteLongstr(m_locales); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_versionMajor); sb.Append(","); - sb.Append(m_versionMinor); sb.Append(","); - sb.Append(m_serverProperties); sb.Append(","); - sb.Append(m_mechanisms); sb.Append(","); - sb.Append(m_locales); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class ConnectionStartOk: RabbitMQ.Client.Impl.MethodBase, IConnectionStartOk { - public const int ClassId = 10; - public const int MethodId = 11; - - public System.Collections.IDictionary m_clientProperties; - public string m_mechanism; - public byte[] m_response; - public string m_locale; - - System.Collections.IDictionary IConnectionStartOk.ClientProperties { get { return m_clientProperties; } } - string IConnectionStartOk.Mechanism { get { return m_mechanism; } } - byte[] IConnectionStartOk.Response { get { return m_response; } } - string IConnectionStartOk.Locale { get { return m_locale; } } - - public ConnectionStartOk() {} - public ConnectionStartOk( - System.Collections.IDictionary initClientProperties, - string initMechanism, - byte[] initResponse, - string initLocale) - { - m_clientProperties = initClientProperties; - m_mechanism = initMechanism; - m_response = initResponse; - m_locale = initLocale; - } - - public override int ProtocolClassId { get { return 10; } } - public override int ProtocolMethodId { get { return 11; } } - public override string ProtocolMethodName { get { return "connection.start-ok"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_clientProperties = reader.ReadTable(); - m_mechanism = reader.ReadShortstr(); - m_response = reader.ReadLongstr(); - m_locale = reader.ReadShortstr(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteTable(m_clientProperties); - writer.WriteShortstr(m_mechanism); - writer.WriteLongstr(m_response); - writer.WriteShortstr(m_locale); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_clientProperties); sb.Append(","); - sb.Append(m_mechanism); sb.Append(","); - sb.Append(m_response); sb.Append(","); - sb.Append(m_locale); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class ConnectionSecure: RabbitMQ.Client.Impl.MethodBase, IConnectionSecure { - public const int ClassId = 10; - public const int MethodId = 20; - - public byte[] m_challenge; - - byte[] IConnectionSecure.Challenge { get { return m_challenge; } } - - public ConnectionSecure() {} - public ConnectionSecure( - byte[] initChallenge) - { - m_challenge = initChallenge; - } - - public override int ProtocolClassId { get { return 10; } } - public override int ProtocolMethodId { get { return 20; } } - public override string ProtocolMethodName { get { return "connection.secure"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_challenge = reader.ReadLongstr(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteLongstr(m_challenge); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_challenge); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class ConnectionSecureOk: RabbitMQ.Client.Impl.MethodBase, IConnectionSecureOk { - public const int ClassId = 10; - public const int MethodId = 21; - - public byte[] m_response; - - byte[] IConnectionSecureOk.Response { get { return m_response; } } - - public ConnectionSecureOk() {} - public ConnectionSecureOk( - byte[] initResponse) - { - m_response = initResponse; - } - - public override int ProtocolClassId { get { return 10; } } - public override int ProtocolMethodId { get { return 21; } } - public override string ProtocolMethodName { get { return "connection.secure-ok"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_response = reader.ReadLongstr(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteLongstr(m_response); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_response); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class ConnectionTune: RabbitMQ.Client.Impl.MethodBase, IConnectionTune { - public const int ClassId = 10; - public const int MethodId = 30; - - public ushort m_channelMax; - public uint m_frameMax; - public ushort m_heartbeat; - - ushort IConnectionTune.ChannelMax { get { return m_channelMax; } } - uint IConnectionTune.FrameMax { get { return m_frameMax; } } - ushort IConnectionTune.Heartbeat { get { return m_heartbeat; } } - - public ConnectionTune() {} - public ConnectionTune( - ushort initChannelMax, - uint initFrameMax, - ushort initHeartbeat) - { - m_channelMax = initChannelMax; - m_frameMax = initFrameMax; - m_heartbeat = initHeartbeat; - } - - public override int ProtocolClassId { get { return 10; } } - public override int ProtocolMethodId { get { return 30; } } - public override string ProtocolMethodName { get { return "connection.tune"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_channelMax = reader.ReadShort(); - m_frameMax = reader.ReadLong(); - m_heartbeat = reader.ReadShort(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShort(m_channelMax); - writer.WriteLong(m_frameMax); - writer.WriteShort(m_heartbeat); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_channelMax); sb.Append(","); - sb.Append(m_frameMax); sb.Append(","); - sb.Append(m_heartbeat); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class ConnectionTuneOk: RabbitMQ.Client.Impl.MethodBase, IConnectionTuneOk { - public const int ClassId = 10; - public const int MethodId = 31; - - public ushort m_channelMax; - public uint m_frameMax; - public ushort m_heartbeat; - - ushort IConnectionTuneOk.ChannelMax { get { return m_channelMax; } } - uint IConnectionTuneOk.FrameMax { get { return m_frameMax; } } - ushort IConnectionTuneOk.Heartbeat { get { return m_heartbeat; } } - - public ConnectionTuneOk() {} - public ConnectionTuneOk( - ushort initChannelMax, - uint initFrameMax, - ushort initHeartbeat) - { - m_channelMax = initChannelMax; - m_frameMax = initFrameMax; - m_heartbeat = initHeartbeat; - } - - public override int ProtocolClassId { get { return 10; } } - public override int ProtocolMethodId { get { return 31; } } - public override string ProtocolMethodName { get { return "connection.tune-ok"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_channelMax = reader.ReadShort(); - m_frameMax = reader.ReadLong(); - m_heartbeat = reader.ReadShort(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShort(m_channelMax); - writer.WriteLong(m_frameMax); - writer.WriteShort(m_heartbeat); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_channelMax); sb.Append(","); - sb.Append(m_frameMax); sb.Append(","); - sb.Append(m_heartbeat); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class ConnectionOpen: RabbitMQ.Client.Impl.MethodBase, IConnectionOpen { - public const int ClassId = 10; - public const int MethodId = 40; - - public string m_virtualHost; - public string m_capabilities; - public bool m_insist; - - string IConnectionOpen.VirtualHost { get { return m_virtualHost; } } - string IConnectionOpen.Capabilities { get { return m_capabilities; } } - bool IConnectionOpen.Insist { get { return m_insist; } } - - public ConnectionOpen() {} - public ConnectionOpen( - string initVirtualHost, - string initCapabilities, - bool initInsist) - { - m_virtualHost = initVirtualHost; - m_capabilities = initCapabilities; - m_insist = initInsist; - } - - public override int ProtocolClassId { get { return 10; } } - public override int ProtocolMethodId { get { return 40; } } - public override string ProtocolMethodName { get { return "connection.open"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_virtualHost = reader.ReadShortstr(); - m_capabilities = reader.ReadShortstr(); - m_insist = reader.ReadBit(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShortstr(m_virtualHost); - writer.WriteShortstr(m_capabilities); - writer.WriteBit(m_insist); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_virtualHost); sb.Append(","); - sb.Append(m_capabilities); sb.Append(","); - sb.Append(m_insist); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class ConnectionOpenOk: RabbitMQ.Client.Impl.MethodBase, IConnectionOpenOk { - public const int ClassId = 10; - public const int MethodId = 41; - - public string m_knownHosts; - - string IConnectionOpenOk.KnownHosts { get { return m_knownHosts; } } - - public ConnectionOpenOk() {} - public ConnectionOpenOk( - string initKnownHosts) - { - m_knownHosts = initKnownHosts; - } - - public override int ProtocolClassId { get { return 10; } } - public override int ProtocolMethodId { get { return 41; } } - public override string ProtocolMethodName { get { return "connection.open-ok"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_knownHosts = reader.ReadShortstr(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShortstr(m_knownHosts); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_knownHosts); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class ConnectionRedirect: RabbitMQ.Client.Impl.MethodBase, IConnectionRedirect { - public const int ClassId = 10; - public const int MethodId = 50; - - public string m_host; - public string m_knownHosts; - - string IConnectionRedirect.Host { get { return m_host; } } - string IConnectionRedirect.KnownHosts { get { return m_knownHosts; } } - - public ConnectionRedirect() {} - public ConnectionRedirect( - string initHost, - string initKnownHosts) - { - m_host = initHost; - m_knownHosts = initKnownHosts; - } - - public override int ProtocolClassId { get { return 10; } } - public override int ProtocolMethodId { get { return 50; } } - public override string ProtocolMethodName { get { return "connection.redirect"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_host = reader.ReadShortstr(); - m_knownHosts = reader.ReadShortstr(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShortstr(m_host); - writer.WriteShortstr(m_knownHosts); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_host); sb.Append(","); - sb.Append(m_knownHosts); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class ConnectionClose: RabbitMQ.Client.Impl.MethodBase, IConnectionClose { - public const int ClassId = 10; - public const int MethodId = 60; - - public ushort m_replyCode; - public string m_replyText; - public ushort m_classId; - public ushort m_methodId; - - ushort IConnectionClose.ReplyCode { get { return m_replyCode; } } - string IConnectionClose.ReplyText { get { return m_replyText; } } - ushort IConnectionClose.ClassId { get { return m_classId; } } - ushort IConnectionClose.MethodId { get { return m_methodId; } } - - public ConnectionClose() {} - public ConnectionClose( - ushort initReplyCode, - string initReplyText, - ushort initClassId, - ushort initMethodId) - { - m_replyCode = initReplyCode; - m_replyText = initReplyText; - m_classId = initClassId; - m_methodId = initMethodId; - } - - public override int ProtocolClassId { get { return 10; } } - public override int ProtocolMethodId { get { return 60; } } - public override string ProtocolMethodName { get { return "connection.close"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_replyCode = reader.ReadShort(); - m_replyText = reader.ReadShortstr(); - m_classId = reader.ReadShort(); - m_methodId = reader.ReadShort(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShort(m_replyCode); - writer.WriteShortstr(m_replyText); - writer.WriteShort(m_classId); - writer.WriteShort(m_methodId); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_replyCode); sb.Append(","); - sb.Append(m_replyText); sb.Append(","); - sb.Append(m_classId); sb.Append(","); - sb.Append(m_methodId); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class ConnectionCloseOk: RabbitMQ.Client.Impl.MethodBase, IConnectionCloseOk { - public const int ClassId = 10; - public const int MethodId = 61; - - - - public ConnectionCloseOk( -) - { - } - - public override int ProtocolClassId { get { return 10; } } - public override int ProtocolMethodId { get { return 61; } } - public override string ProtocolMethodName { get { return "connection.close-ok"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class ChannelOpen: RabbitMQ.Client.Impl.MethodBase, IChannelOpen { - public const int ClassId = 20; - public const int MethodId = 10; - - public string m_outOfBand; - - string IChannelOpen.OutOfBand { get { return m_outOfBand; } } - - public ChannelOpen() {} - public ChannelOpen( - string initOutOfBand) - { - m_outOfBand = initOutOfBand; - } - - public override int ProtocolClassId { get { return 20; } } - public override int ProtocolMethodId { get { return 10; } } - public override string ProtocolMethodName { get { return "channel.open"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_outOfBand = reader.ReadShortstr(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShortstr(m_outOfBand); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_outOfBand); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class ChannelOpenOk: RabbitMQ.Client.Impl.MethodBase, IChannelOpenOk { - public const int ClassId = 20; - public const int MethodId = 11; - - - - public ChannelOpenOk( -) - { - } - - public override int ProtocolClassId { get { return 20; } } - public override int ProtocolMethodId { get { return 11; } } - public override string ProtocolMethodName { get { return "channel.open-ok"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class ChannelFlow: RabbitMQ.Client.Impl.MethodBase, IChannelFlow { - public const int ClassId = 20; - public const int MethodId = 20; - - public bool m_active; - - bool IChannelFlow.Active { get { return m_active; } } - - public ChannelFlow() {} - public ChannelFlow( - bool initActive) - { - m_active = initActive; - } - - public override int ProtocolClassId { get { return 20; } } - public override int ProtocolMethodId { get { return 20; } } - public override string ProtocolMethodName { get { return "channel.flow"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_active = reader.ReadBit(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteBit(m_active); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_active); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class ChannelFlowOk: RabbitMQ.Client.Impl.MethodBase, IChannelFlowOk { - public const int ClassId = 20; - public const int MethodId = 21; - - public bool m_active; - - bool IChannelFlowOk.Active { get { return m_active; } } - - public ChannelFlowOk() {} - public ChannelFlowOk( - bool initActive) - { - m_active = initActive; - } - - public override int ProtocolClassId { get { return 20; } } - public override int ProtocolMethodId { get { return 21; } } - public override string ProtocolMethodName { get { return "channel.flow-ok"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_active = reader.ReadBit(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteBit(m_active); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_active); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class ChannelAlert: RabbitMQ.Client.Impl.MethodBase, IChannelAlert { - public const int ClassId = 20; - public const int MethodId = 30; - - public ushort m_replyCode; - public string m_replyText; - public System.Collections.IDictionary m_details; - - ushort IChannelAlert.ReplyCode { get { return m_replyCode; } } - string IChannelAlert.ReplyText { get { return m_replyText; } } - System.Collections.IDictionary IChannelAlert.Details { get { return m_details; } } - - public ChannelAlert() {} - public ChannelAlert( - ushort initReplyCode, - string initReplyText, - System.Collections.IDictionary initDetails) - { - m_replyCode = initReplyCode; - m_replyText = initReplyText; - m_details = initDetails; - } - - public override int ProtocolClassId { get { return 20; } } - public override int ProtocolMethodId { get { return 30; } } - public override string ProtocolMethodName { get { return "channel.alert"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_replyCode = reader.ReadShort(); - m_replyText = reader.ReadShortstr(); - m_details = reader.ReadTable(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShort(m_replyCode); - writer.WriteShortstr(m_replyText); - writer.WriteTable(m_details); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_replyCode); sb.Append(","); - sb.Append(m_replyText); sb.Append(","); - sb.Append(m_details); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class ChannelClose: RabbitMQ.Client.Impl.MethodBase, IChannelClose { - public const int ClassId = 20; - public const int MethodId = 40; - - public ushort m_replyCode; - public string m_replyText; - public ushort m_classId; - public ushort m_methodId; - - ushort IChannelClose.ReplyCode { get { return m_replyCode; } } - string IChannelClose.ReplyText { get { return m_replyText; } } - ushort IChannelClose.ClassId { get { return m_classId; } } - ushort IChannelClose.MethodId { get { return m_methodId; } } - - public ChannelClose() {} - public ChannelClose( - ushort initReplyCode, - string initReplyText, - ushort initClassId, - ushort initMethodId) - { - m_replyCode = initReplyCode; - m_replyText = initReplyText; - m_classId = initClassId; - m_methodId = initMethodId; - } - - public override int ProtocolClassId { get { return 20; } } - public override int ProtocolMethodId { get { return 40; } } - public override string ProtocolMethodName { get { return "channel.close"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_replyCode = reader.ReadShort(); - m_replyText = reader.ReadShortstr(); - m_classId = reader.ReadShort(); - m_methodId = reader.ReadShort(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShort(m_replyCode); - writer.WriteShortstr(m_replyText); - writer.WriteShort(m_classId); - writer.WriteShort(m_methodId); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_replyCode); sb.Append(","); - sb.Append(m_replyText); sb.Append(","); - sb.Append(m_classId); sb.Append(","); - sb.Append(m_methodId); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class ChannelCloseOk: RabbitMQ.Client.Impl.MethodBase, IChannelCloseOk { - public const int ClassId = 20; - public const int MethodId = 41; - - - - public ChannelCloseOk( -) - { - } - - public override int ProtocolClassId { get { return 20; } } - public override int ProtocolMethodId { get { return 41; } } - public override string ProtocolMethodName { get { return "channel.close-ok"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class AccessRequest: RabbitMQ.Client.Impl.MethodBase, IAccessRequest { - public const int ClassId = 30; - public const int MethodId = 10; - - public string m_realm; - public bool m_exclusive; - public bool m_passive; - public bool m_active; - public bool m_write; - public bool m_read; - - string IAccessRequest.Realm { get { return m_realm; } } - bool IAccessRequest.Exclusive { get { return m_exclusive; } } - bool IAccessRequest.Passive { get { return m_passive; } } - bool IAccessRequest.Active { get { return m_active; } } - bool IAccessRequest.Write { get { return m_write; } } - bool IAccessRequest.Read { get { return m_read; } } - - public AccessRequest() {} - public AccessRequest( - string initRealm, - bool initExclusive, - bool initPassive, - bool initActive, - bool initWrite, - bool initRead) - { - m_realm = initRealm; - m_exclusive = initExclusive; - m_passive = initPassive; - m_active = initActive; - m_write = initWrite; - m_read = initRead; - } - - public override int ProtocolClassId { get { return 30; } } - public override int ProtocolMethodId { get { return 10; } } - public override string ProtocolMethodName { get { return "access.request"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_realm = reader.ReadShortstr(); - m_exclusive = reader.ReadBit(); - m_passive = reader.ReadBit(); - m_active = reader.ReadBit(); - m_write = reader.ReadBit(); - m_read = reader.ReadBit(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShortstr(m_realm); - writer.WriteBit(m_exclusive); - writer.WriteBit(m_passive); - writer.WriteBit(m_active); - writer.WriteBit(m_write); - writer.WriteBit(m_read); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_realm); sb.Append(","); - sb.Append(m_exclusive); sb.Append(","); - sb.Append(m_passive); sb.Append(","); - sb.Append(m_active); sb.Append(","); - sb.Append(m_write); sb.Append(","); - sb.Append(m_read); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class AccessRequestOk: RabbitMQ.Client.Impl.MethodBase, IAccessRequestOk { - public const int ClassId = 30; - public const int MethodId = 11; - - public ushort m_ticket; - - ushort IAccessRequestOk.Ticket { get { return m_ticket; } } - - public AccessRequestOk() {} - public AccessRequestOk( - ushort initTicket) - { - m_ticket = initTicket; - } - - public override int ProtocolClassId { get { return 30; } } - public override int ProtocolMethodId { get { return 11; } } - public override string ProtocolMethodName { get { return "access.request-ok"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_ticket = reader.ReadShort(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShort(m_ticket); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_ticket); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class ExchangeDeclare: RabbitMQ.Client.Impl.MethodBase, IExchangeDeclare { - public const int ClassId = 40; - public const int MethodId = 10; - - public ushort m_ticket; - public string m_exchange; - public string m_type; - public bool m_passive; - public bool m_durable; - public bool m_autoDelete; - public bool m_internal; - public bool m_nowait; - public System.Collections.IDictionary m_arguments; - - ushort IExchangeDeclare.Ticket { get { return m_ticket; } } - string IExchangeDeclare.Exchange { get { return m_exchange; } } - string IExchangeDeclare.Type { get { return m_type; } } - bool IExchangeDeclare.Passive { get { return m_passive; } } - bool IExchangeDeclare.Durable { get { return m_durable; } } - bool IExchangeDeclare.AutoDelete { get { return m_autoDelete; } } - bool IExchangeDeclare.Internal { get { return m_internal; } } - bool IExchangeDeclare.Nowait { get { return m_nowait; } } - System.Collections.IDictionary IExchangeDeclare.Arguments { get { return m_arguments; } } - - public ExchangeDeclare() {} - public ExchangeDeclare( - ushort initTicket, - string initExchange, - string initType, - bool initPassive, - bool initDurable, - bool initAutoDelete, - bool initInternal, - bool initNowait, - System.Collections.IDictionary initArguments) - { - m_ticket = initTicket; - m_exchange = initExchange; - m_type = initType; - m_passive = initPassive; - m_durable = initDurable; - m_autoDelete = initAutoDelete; - m_internal = initInternal; - m_nowait = initNowait; - m_arguments = initArguments; - } - - public override int ProtocolClassId { get { return 40; } } - public override int ProtocolMethodId { get { return 10; } } - public override string ProtocolMethodName { get { return "exchange.declare"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_ticket = reader.ReadShort(); - m_exchange = reader.ReadShortstr(); - m_type = reader.ReadShortstr(); - m_passive = reader.ReadBit(); - m_durable = reader.ReadBit(); - m_autoDelete = reader.ReadBit(); - m_internal = reader.ReadBit(); - m_nowait = reader.ReadBit(); - m_arguments = reader.ReadTable(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShort(m_ticket); - writer.WriteShortstr(m_exchange); - writer.WriteShortstr(m_type); - writer.WriteBit(m_passive); - writer.WriteBit(m_durable); - writer.WriteBit(m_autoDelete); - writer.WriteBit(m_internal); - writer.WriteBit(m_nowait); - writer.WriteTable(m_arguments); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_ticket); sb.Append(","); - sb.Append(m_exchange); sb.Append(","); - sb.Append(m_type); sb.Append(","); - sb.Append(m_passive); sb.Append(","); - sb.Append(m_durable); sb.Append(","); - sb.Append(m_autoDelete); sb.Append(","); - sb.Append(m_internal); sb.Append(","); - sb.Append(m_nowait); sb.Append(","); - sb.Append(m_arguments); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class ExchangeDeclareOk: RabbitMQ.Client.Impl.MethodBase, IExchangeDeclareOk { - public const int ClassId = 40; - public const int MethodId = 11; - - - - public ExchangeDeclareOk( -) - { - } - - public override int ProtocolClassId { get { return 40; } } - public override int ProtocolMethodId { get { return 11; } } - public override string ProtocolMethodName { get { return "exchange.declare-ok"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class ExchangeDelete: RabbitMQ.Client.Impl.MethodBase, IExchangeDelete { - public const int ClassId = 40; - public const int MethodId = 20; - - public ushort m_ticket; - public string m_exchange; - public bool m_ifUnused; - public bool m_nowait; - - ushort IExchangeDelete.Ticket { get { return m_ticket; } } - string IExchangeDelete.Exchange { get { return m_exchange; } } - bool IExchangeDelete.IfUnused { get { return m_ifUnused; } } - bool IExchangeDelete.Nowait { get { return m_nowait; } } - - public ExchangeDelete() {} - public ExchangeDelete( - ushort initTicket, - string initExchange, - bool initIfUnused, - bool initNowait) - { - m_ticket = initTicket; - m_exchange = initExchange; - m_ifUnused = initIfUnused; - m_nowait = initNowait; - } - - public override int ProtocolClassId { get { return 40; } } - public override int ProtocolMethodId { get { return 20; } } - public override string ProtocolMethodName { get { return "exchange.delete"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_ticket = reader.ReadShort(); - m_exchange = reader.ReadShortstr(); - m_ifUnused = reader.ReadBit(); - m_nowait = reader.ReadBit(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShort(m_ticket); - writer.WriteShortstr(m_exchange); - writer.WriteBit(m_ifUnused); - writer.WriteBit(m_nowait); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_ticket); sb.Append(","); - sb.Append(m_exchange); sb.Append(","); - sb.Append(m_ifUnused); sb.Append(","); - sb.Append(m_nowait); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class ExchangeDeleteOk: RabbitMQ.Client.Impl.MethodBase, IExchangeDeleteOk { - public const int ClassId = 40; - public const int MethodId = 21; - - - - public ExchangeDeleteOk( -) - { - } - - public override int ProtocolClassId { get { return 40; } } - public override int ProtocolMethodId { get { return 21; } } - public override string ProtocolMethodName { get { return "exchange.delete-ok"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class QueueDeclare: RabbitMQ.Client.Impl.MethodBase, IQueueDeclare { - public const int ClassId = 50; - public const int MethodId = 10; - - public ushort m_ticket; - public string m_queue; - public bool m_passive; - public bool m_durable; - public bool m_exclusive; - public bool m_autoDelete; - public bool m_nowait; - public System.Collections.IDictionary m_arguments; - - ushort IQueueDeclare.Ticket { get { return m_ticket; } } - string IQueueDeclare.Queue { get { return m_queue; } } - bool IQueueDeclare.Passive { get { return m_passive; } } - bool IQueueDeclare.Durable { get { return m_durable; } } - bool IQueueDeclare.Exclusive { get { return m_exclusive; } } - bool IQueueDeclare.AutoDelete { get { return m_autoDelete; } } - bool IQueueDeclare.Nowait { get { return m_nowait; } } - System.Collections.IDictionary IQueueDeclare.Arguments { get { return m_arguments; } } - - public QueueDeclare() {} - public QueueDeclare( - ushort initTicket, - string initQueue, - bool initPassive, - bool initDurable, - bool initExclusive, - bool initAutoDelete, - bool initNowait, - System.Collections.IDictionary initArguments) - { - m_ticket = initTicket; - m_queue = initQueue; - m_passive = initPassive; - m_durable = initDurable; - m_exclusive = initExclusive; - m_autoDelete = initAutoDelete; - m_nowait = initNowait; - m_arguments = initArguments; - } - - public override int ProtocolClassId { get { return 50; } } - public override int ProtocolMethodId { get { return 10; } } - public override string ProtocolMethodName { get { return "queue.declare"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_ticket = reader.ReadShort(); - m_queue = reader.ReadShortstr(); - m_passive = reader.ReadBit(); - m_durable = reader.ReadBit(); - m_exclusive = reader.ReadBit(); - m_autoDelete = reader.ReadBit(); - m_nowait = reader.ReadBit(); - m_arguments = reader.ReadTable(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShort(m_ticket); - writer.WriteShortstr(m_queue); - writer.WriteBit(m_passive); - writer.WriteBit(m_durable); - writer.WriteBit(m_exclusive); - writer.WriteBit(m_autoDelete); - writer.WriteBit(m_nowait); - writer.WriteTable(m_arguments); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_ticket); sb.Append(","); - sb.Append(m_queue); sb.Append(","); - sb.Append(m_passive); sb.Append(","); - sb.Append(m_durable); sb.Append(","); - sb.Append(m_exclusive); sb.Append(","); - sb.Append(m_autoDelete); sb.Append(","); - sb.Append(m_nowait); sb.Append(","); - sb.Append(m_arguments); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class QueueDeclareOk: RabbitMQ.Client.Impl.MethodBase, IQueueDeclareOk { - public const int ClassId = 50; - public const int MethodId = 11; - - public string m_queue; - public uint m_messageCount; - public uint m_consumerCount; - - string IQueueDeclareOk.Queue { get { return m_queue; } } - uint IQueueDeclareOk.MessageCount { get { return m_messageCount; } } - uint IQueueDeclareOk.ConsumerCount { get { return m_consumerCount; } } - - public QueueDeclareOk() {} - public QueueDeclareOk( - string initQueue, - uint initMessageCount, - uint initConsumerCount) - { - m_queue = initQueue; - m_messageCount = initMessageCount; - m_consumerCount = initConsumerCount; - } - - public override int ProtocolClassId { get { return 50; } } - public override int ProtocolMethodId { get { return 11; } } - public override string ProtocolMethodName { get { return "queue.declare-ok"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_queue = reader.ReadShortstr(); - m_messageCount = reader.ReadLong(); - m_consumerCount = reader.ReadLong(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShortstr(m_queue); - writer.WriteLong(m_messageCount); - writer.WriteLong(m_consumerCount); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_queue); sb.Append(","); - sb.Append(m_messageCount); sb.Append(","); - sb.Append(m_consumerCount); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class QueueBind: RabbitMQ.Client.Impl.MethodBase, IQueueBind { - public const int ClassId = 50; - public const int MethodId = 20; - - public ushort m_ticket; - public string m_queue; - public string m_exchange; - public string m_routingKey; - public bool m_nowait; - public System.Collections.IDictionary m_arguments; - - ushort IQueueBind.Ticket { get { return m_ticket; } } - string IQueueBind.Queue { get { return m_queue; } } - string IQueueBind.Exchange { get { return m_exchange; } } - string IQueueBind.RoutingKey { get { return m_routingKey; } } - bool IQueueBind.Nowait { get { return m_nowait; } } - System.Collections.IDictionary IQueueBind.Arguments { get { return m_arguments; } } - - public QueueBind() {} - public QueueBind( - ushort initTicket, - string initQueue, - string initExchange, - string initRoutingKey, - bool initNowait, - System.Collections.IDictionary initArguments) - { - m_ticket = initTicket; - m_queue = initQueue; - m_exchange = initExchange; - m_routingKey = initRoutingKey; - m_nowait = initNowait; - m_arguments = initArguments; - } - - public override int ProtocolClassId { get { return 50; } } - public override int ProtocolMethodId { get { return 20; } } - public override string ProtocolMethodName { get { return "queue.bind"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_ticket = reader.ReadShort(); - m_queue = reader.ReadShortstr(); - m_exchange = reader.ReadShortstr(); - m_routingKey = reader.ReadShortstr(); - m_nowait = reader.ReadBit(); - m_arguments = reader.ReadTable(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShort(m_ticket); - writer.WriteShortstr(m_queue); - writer.WriteShortstr(m_exchange); - writer.WriteShortstr(m_routingKey); - writer.WriteBit(m_nowait); - writer.WriteTable(m_arguments); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_ticket); sb.Append(","); - sb.Append(m_queue); sb.Append(","); - sb.Append(m_exchange); sb.Append(","); - sb.Append(m_routingKey); sb.Append(","); - sb.Append(m_nowait); sb.Append(","); - sb.Append(m_arguments); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class QueueBindOk: RabbitMQ.Client.Impl.MethodBase, IQueueBindOk { - public const int ClassId = 50; - public const int MethodId = 21; - - - - public QueueBindOk( -) - { - } - - public override int ProtocolClassId { get { return 50; } } - public override int ProtocolMethodId { get { return 21; } } - public override string ProtocolMethodName { get { return "queue.bind-ok"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class QueuePurge: RabbitMQ.Client.Impl.MethodBase, IQueuePurge { - public const int ClassId = 50; - public const int MethodId = 30; - - public ushort m_ticket; - public string m_queue; - public bool m_nowait; - - ushort IQueuePurge.Ticket { get { return m_ticket; } } - string IQueuePurge.Queue { get { return m_queue; } } - bool IQueuePurge.Nowait { get { return m_nowait; } } - - public QueuePurge() {} - public QueuePurge( - ushort initTicket, - string initQueue, - bool initNowait) - { - m_ticket = initTicket; - m_queue = initQueue; - m_nowait = initNowait; - } - - public override int ProtocolClassId { get { return 50; } } - public override int ProtocolMethodId { get { return 30; } } - public override string ProtocolMethodName { get { return "queue.purge"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_ticket = reader.ReadShort(); - m_queue = reader.ReadShortstr(); - m_nowait = reader.ReadBit(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShort(m_ticket); - writer.WriteShortstr(m_queue); - writer.WriteBit(m_nowait); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_ticket); sb.Append(","); - sb.Append(m_queue); sb.Append(","); - sb.Append(m_nowait); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class QueuePurgeOk: RabbitMQ.Client.Impl.MethodBase, IQueuePurgeOk { - public const int ClassId = 50; - public const int MethodId = 31; - - public uint m_messageCount; - - uint IQueuePurgeOk.MessageCount { get { return m_messageCount; } } - - public QueuePurgeOk() {} - public QueuePurgeOk( - uint initMessageCount) - { - m_messageCount = initMessageCount; - } - - public override int ProtocolClassId { get { return 50; } } - public override int ProtocolMethodId { get { return 31; } } - public override string ProtocolMethodName { get { return "queue.purge-ok"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_messageCount = reader.ReadLong(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteLong(m_messageCount); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_messageCount); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class QueueDelete: RabbitMQ.Client.Impl.MethodBase, IQueueDelete { - public const int ClassId = 50; - public const int MethodId = 40; - - public ushort m_ticket; - public string m_queue; - public bool m_ifUnused; - public bool m_ifEmpty; - public bool m_nowait; - - ushort IQueueDelete.Ticket { get { return m_ticket; } } - string IQueueDelete.Queue { get { return m_queue; } } - bool IQueueDelete.IfUnused { get { return m_ifUnused; } } - bool IQueueDelete.IfEmpty { get { return m_ifEmpty; } } - bool IQueueDelete.Nowait { get { return m_nowait; } } - - public QueueDelete() {} - public QueueDelete( - ushort initTicket, - string initQueue, - bool initIfUnused, - bool initIfEmpty, - bool initNowait) - { - m_ticket = initTicket; - m_queue = initQueue; - m_ifUnused = initIfUnused; - m_ifEmpty = initIfEmpty; - m_nowait = initNowait; - } - - public override int ProtocolClassId { get { return 50; } } - public override int ProtocolMethodId { get { return 40; } } - public override string ProtocolMethodName { get { return "queue.delete"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_ticket = reader.ReadShort(); - m_queue = reader.ReadShortstr(); - m_ifUnused = reader.ReadBit(); - m_ifEmpty = reader.ReadBit(); - m_nowait = reader.ReadBit(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShort(m_ticket); - writer.WriteShortstr(m_queue); - writer.WriteBit(m_ifUnused); - writer.WriteBit(m_ifEmpty); - writer.WriteBit(m_nowait); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_ticket); sb.Append(","); - sb.Append(m_queue); sb.Append(","); - sb.Append(m_ifUnused); sb.Append(","); - sb.Append(m_ifEmpty); sb.Append(","); - sb.Append(m_nowait); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class QueueDeleteOk: RabbitMQ.Client.Impl.MethodBase, IQueueDeleteOk { - public const int ClassId = 50; - public const int MethodId = 41; - - public uint m_messageCount; - - uint IQueueDeleteOk.MessageCount { get { return m_messageCount; } } - - public QueueDeleteOk() {} - public QueueDeleteOk( - uint initMessageCount) - { - m_messageCount = initMessageCount; - } - - public override int ProtocolClassId { get { return 50; } } - public override int ProtocolMethodId { get { return 41; } } - public override string ProtocolMethodName { get { return "queue.delete-ok"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_messageCount = reader.ReadLong(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteLong(m_messageCount); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_messageCount); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class BasicQos: RabbitMQ.Client.Impl.MethodBase, IBasicQos { - public const int ClassId = 60; - public const int MethodId = 10; - - public uint m_prefetchSize; - public ushort m_prefetchCount; - public bool m_global; - - uint IBasicQos.PrefetchSize { get { return m_prefetchSize; } } - ushort IBasicQos.PrefetchCount { get { return m_prefetchCount; } } - bool IBasicQos.Global { get { return m_global; } } - - public BasicQos() {} - public BasicQos( - uint initPrefetchSize, - ushort initPrefetchCount, - bool initGlobal) - { - m_prefetchSize = initPrefetchSize; - m_prefetchCount = initPrefetchCount; - m_global = initGlobal; - } - - public override int ProtocolClassId { get { return 60; } } - public override int ProtocolMethodId { get { return 10; } } - public override string ProtocolMethodName { get { return "basic.qos"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_prefetchSize = reader.ReadLong(); - m_prefetchCount = reader.ReadShort(); - m_global = reader.ReadBit(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteLong(m_prefetchSize); - writer.WriteShort(m_prefetchCount); - writer.WriteBit(m_global); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_prefetchSize); sb.Append(","); - sb.Append(m_prefetchCount); sb.Append(","); - sb.Append(m_global); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class BasicQosOk: RabbitMQ.Client.Impl.MethodBase, IBasicQosOk { - public const int ClassId = 60; - public const int MethodId = 11; - - - - public BasicQosOk( -) - { - } - - public override int ProtocolClassId { get { return 60; } } - public override int ProtocolMethodId { get { return 11; } } - public override string ProtocolMethodName { get { return "basic.qos-ok"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class BasicConsume: RabbitMQ.Client.Impl.MethodBase, IBasicConsume { - public const int ClassId = 60; - public const int MethodId = 20; - - public ushort m_ticket; - public string m_queue; - public string m_consumerTag; - public bool m_noLocal; - public bool m_noAck; - public bool m_exclusive; - public bool m_nowait; - - ushort IBasicConsume.Ticket { get { return m_ticket; } } - string IBasicConsume.Queue { get { return m_queue; } } - string IBasicConsume.ConsumerTag { get { return m_consumerTag; } } - bool IBasicConsume.NoLocal { get { return m_noLocal; } } - bool IBasicConsume.NoAck { get { return m_noAck; } } - bool IBasicConsume.Exclusive { get { return m_exclusive; } } - bool IBasicConsume.Nowait { get { return m_nowait; } } - - public BasicConsume() {} - public BasicConsume( - ushort initTicket, - string initQueue, - string initConsumerTag, - bool initNoLocal, - bool initNoAck, - bool initExclusive, - bool initNowait) - { - m_ticket = initTicket; - m_queue = initQueue; - m_consumerTag = initConsumerTag; - m_noLocal = initNoLocal; - m_noAck = initNoAck; - m_exclusive = initExclusive; - m_nowait = initNowait; - } - - public override int ProtocolClassId { get { return 60; } } - public override int ProtocolMethodId { get { return 20; } } - public override string ProtocolMethodName { get { return "basic.consume"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_ticket = reader.ReadShort(); - m_queue = reader.ReadShortstr(); - m_consumerTag = reader.ReadShortstr(); - m_noLocal = reader.ReadBit(); - m_noAck = reader.ReadBit(); - m_exclusive = reader.ReadBit(); - m_nowait = reader.ReadBit(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShort(m_ticket); - writer.WriteShortstr(m_queue); - writer.WriteShortstr(m_consumerTag); - writer.WriteBit(m_noLocal); - writer.WriteBit(m_noAck); - writer.WriteBit(m_exclusive); - writer.WriteBit(m_nowait); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_ticket); sb.Append(","); - sb.Append(m_queue); sb.Append(","); - sb.Append(m_consumerTag); sb.Append(","); - sb.Append(m_noLocal); sb.Append(","); - sb.Append(m_noAck); sb.Append(","); - sb.Append(m_exclusive); sb.Append(","); - sb.Append(m_nowait); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class BasicConsumeOk: RabbitMQ.Client.Impl.MethodBase, IBasicConsumeOk { - public const int ClassId = 60; - public const int MethodId = 21; - - public string m_consumerTag; - - string IBasicConsumeOk.ConsumerTag { get { return m_consumerTag; } } - - public BasicConsumeOk() {} - public BasicConsumeOk( - string initConsumerTag) - { - m_consumerTag = initConsumerTag; - } - - public override int ProtocolClassId { get { return 60; } } - public override int ProtocolMethodId { get { return 21; } } - public override string ProtocolMethodName { get { return "basic.consume-ok"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_consumerTag = reader.ReadShortstr(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShortstr(m_consumerTag); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_consumerTag); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class BasicCancel: RabbitMQ.Client.Impl.MethodBase, IBasicCancel { - public const int ClassId = 60; - public const int MethodId = 30; - - public string m_consumerTag; - public bool m_nowait; - - string IBasicCancel.ConsumerTag { get { return m_consumerTag; } } - bool IBasicCancel.Nowait { get { return m_nowait; } } - - public BasicCancel() {} - public BasicCancel( - string initConsumerTag, - bool initNowait) - { - m_consumerTag = initConsumerTag; - m_nowait = initNowait; - } - - public override int ProtocolClassId { get { return 60; } } - public override int ProtocolMethodId { get { return 30; } } - public override string ProtocolMethodName { get { return "basic.cancel"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_consumerTag = reader.ReadShortstr(); - m_nowait = reader.ReadBit(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShortstr(m_consumerTag); - writer.WriteBit(m_nowait); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_consumerTag); sb.Append(","); - sb.Append(m_nowait); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class BasicCancelOk: RabbitMQ.Client.Impl.MethodBase, IBasicCancelOk { - public const int ClassId = 60; - public const int MethodId = 31; - - public string m_consumerTag; - - string IBasicCancelOk.ConsumerTag { get { return m_consumerTag; } } - - public BasicCancelOk() {} - public BasicCancelOk( - string initConsumerTag) - { - m_consumerTag = initConsumerTag; - } - - public override int ProtocolClassId { get { return 60; } } - public override int ProtocolMethodId { get { return 31; } } - public override string ProtocolMethodName { get { return "basic.cancel-ok"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_consumerTag = reader.ReadShortstr(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShortstr(m_consumerTag); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_consumerTag); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class BasicPublish: RabbitMQ.Client.Impl.MethodBase, IBasicPublish { - public const int ClassId = 60; - public const int MethodId = 40; - - public ushort m_ticket; - public string m_exchange; - public string m_routingKey; - public bool m_mandatory; - public bool m_immediate; - - ushort IBasicPublish.Ticket { get { return m_ticket; } } - string IBasicPublish.Exchange { get { return m_exchange; } } - string IBasicPublish.RoutingKey { get { return m_routingKey; } } - bool IBasicPublish.Mandatory { get { return m_mandatory; } } - bool IBasicPublish.Immediate { get { return m_immediate; } } - - public BasicPublish() {} - public BasicPublish( - ushort initTicket, - string initExchange, - string initRoutingKey, - bool initMandatory, - bool initImmediate) - { - m_ticket = initTicket; - m_exchange = initExchange; - m_routingKey = initRoutingKey; - m_mandatory = initMandatory; - m_immediate = initImmediate; - } - - public override int ProtocolClassId { get { return 60; } } - public override int ProtocolMethodId { get { return 40; } } - public override string ProtocolMethodName { get { return "basic.publish"; } } - public override bool HasContent { get { return true; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_ticket = reader.ReadShort(); - m_exchange = reader.ReadShortstr(); - m_routingKey = reader.ReadShortstr(); - m_mandatory = reader.ReadBit(); - m_immediate = reader.ReadBit(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShort(m_ticket); - writer.WriteShortstr(m_exchange); - writer.WriteShortstr(m_routingKey); - writer.WriteBit(m_mandatory); - writer.WriteBit(m_immediate); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_ticket); sb.Append(","); - sb.Append(m_exchange); sb.Append(","); - sb.Append(m_routingKey); sb.Append(","); - sb.Append(m_mandatory); sb.Append(","); - sb.Append(m_immediate); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class BasicReturn: RabbitMQ.Client.Impl.MethodBase, IBasicReturn { - public const int ClassId = 60; - public const int MethodId = 50; - - public ushort m_replyCode; - public string m_replyText; - public string m_exchange; - public string m_routingKey; - - ushort IBasicReturn.ReplyCode { get { return m_replyCode; } } - string IBasicReturn.ReplyText { get { return m_replyText; } } - string IBasicReturn.Exchange { get { return m_exchange; } } - string IBasicReturn.RoutingKey { get { return m_routingKey; } } - - public BasicReturn() {} - public BasicReturn( - ushort initReplyCode, - string initReplyText, - string initExchange, - string initRoutingKey) - { - m_replyCode = initReplyCode; - m_replyText = initReplyText; - m_exchange = initExchange; - m_routingKey = initRoutingKey; - } - - public override int ProtocolClassId { get { return 60; } } - public override int ProtocolMethodId { get { return 50; } } - public override string ProtocolMethodName { get { return "basic.return"; } } - public override bool HasContent { get { return true; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_replyCode = reader.ReadShort(); - m_replyText = reader.ReadShortstr(); - m_exchange = reader.ReadShortstr(); - m_routingKey = reader.ReadShortstr(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShort(m_replyCode); - writer.WriteShortstr(m_replyText); - writer.WriteShortstr(m_exchange); - writer.WriteShortstr(m_routingKey); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_replyCode); sb.Append(","); - sb.Append(m_replyText); sb.Append(","); - sb.Append(m_exchange); sb.Append(","); - sb.Append(m_routingKey); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class BasicDeliver: RabbitMQ.Client.Impl.MethodBase, IBasicDeliver { - public const int ClassId = 60; - public const int MethodId = 60; - - public string m_consumerTag; - public ulong m_deliveryTag; - public bool m_redelivered; - public string m_exchange; - public string m_routingKey; - - string IBasicDeliver.ConsumerTag { get { return m_consumerTag; } } - ulong IBasicDeliver.DeliveryTag { get { return m_deliveryTag; } } - bool IBasicDeliver.Redelivered { get { return m_redelivered; } } - string IBasicDeliver.Exchange { get { return m_exchange; } } - string IBasicDeliver.RoutingKey { get { return m_routingKey; } } - - public BasicDeliver() {} - public BasicDeliver( - string initConsumerTag, - ulong initDeliveryTag, - bool initRedelivered, - string initExchange, - string initRoutingKey) - { - m_consumerTag = initConsumerTag; - m_deliveryTag = initDeliveryTag; - m_redelivered = initRedelivered; - m_exchange = initExchange; - m_routingKey = initRoutingKey; - } - - public override int ProtocolClassId { get { return 60; } } - public override int ProtocolMethodId { get { return 60; } } - public override string ProtocolMethodName { get { return "basic.deliver"; } } - public override bool HasContent { get { return true; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_consumerTag = reader.ReadShortstr(); - m_deliveryTag = reader.ReadLonglong(); - m_redelivered = reader.ReadBit(); - m_exchange = reader.ReadShortstr(); - m_routingKey = reader.ReadShortstr(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShortstr(m_consumerTag); - writer.WriteLonglong(m_deliveryTag); - writer.WriteBit(m_redelivered); - writer.WriteShortstr(m_exchange); - writer.WriteShortstr(m_routingKey); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_consumerTag); sb.Append(","); - sb.Append(m_deliveryTag); sb.Append(","); - sb.Append(m_redelivered); sb.Append(","); - sb.Append(m_exchange); sb.Append(","); - sb.Append(m_routingKey); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class BasicGet: RabbitMQ.Client.Impl.MethodBase, IBasicGet { - public const int ClassId = 60; - public const int MethodId = 70; - - public ushort m_ticket; - public string m_queue; - public bool m_noAck; - - ushort IBasicGet.Ticket { get { return m_ticket; } } - string IBasicGet.Queue { get { return m_queue; } } - bool IBasicGet.NoAck { get { return m_noAck; } } - - public BasicGet() {} - public BasicGet( - ushort initTicket, - string initQueue, - bool initNoAck) - { - m_ticket = initTicket; - m_queue = initQueue; - m_noAck = initNoAck; - } - - public override int ProtocolClassId { get { return 60; } } - public override int ProtocolMethodId { get { return 70; } } - public override string ProtocolMethodName { get { return "basic.get"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_ticket = reader.ReadShort(); - m_queue = reader.ReadShortstr(); - m_noAck = reader.ReadBit(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShort(m_ticket); - writer.WriteShortstr(m_queue); - writer.WriteBit(m_noAck); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_ticket); sb.Append(","); - sb.Append(m_queue); sb.Append(","); - sb.Append(m_noAck); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class BasicGetOk: RabbitMQ.Client.Impl.MethodBase, IBasicGetOk { - public const int ClassId = 60; - public const int MethodId = 71; - - public ulong m_deliveryTag; - public bool m_redelivered; - public string m_exchange; - public string m_routingKey; - public uint m_messageCount; - - ulong IBasicGetOk.DeliveryTag { get { return m_deliveryTag; } } - bool IBasicGetOk.Redelivered { get { return m_redelivered; } } - string IBasicGetOk.Exchange { get { return m_exchange; } } - string IBasicGetOk.RoutingKey { get { return m_routingKey; } } - uint IBasicGetOk.MessageCount { get { return m_messageCount; } } - - public BasicGetOk() {} - public BasicGetOk( - ulong initDeliveryTag, - bool initRedelivered, - string initExchange, - string initRoutingKey, - uint initMessageCount) - { - m_deliveryTag = initDeliveryTag; - m_redelivered = initRedelivered; - m_exchange = initExchange; - m_routingKey = initRoutingKey; - m_messageCount = initMessageCount; - } - - public override int ProtocolClassId { get { return 60; } } - public override int ProtocolMethodId { get { return 71; } } - public override string ProtocolMethodName { get { return "basic.get-ok"; } } - public override bool HasContent { get { return true; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_deliveryTag = reader.ReadLonglong(); - m_redelivered = reader.ReadBit(); - m_exchange = reader.ReadShortstr(); - m_routingKey = reader.ReadShortstr(); - m_messageCount = reader.ReadLong(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteLonglong(m_deliveryTag); - writer.WriteBit(m_redelivered); - writer.WriteShortstr(m_exchange); - writer.WriteShortstr(m_routingKey); - writer.WriteLong(m_messageCount); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_deliveryTag); sb.Append(","); - sb.Append(m_redelivered); sb.Append(","); - sb.Append(m_exchange); sb.Append(","); - sb.Append(m_routingKey); sb.Append(","); - sb.Append(m_messageCount); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class BasicGetEmpty: RabbitMQ.Client.Impl.MethodBase, IBasicGetEmpty { - public const int ClassId = 60; - public const int MethodId = 72; - - public string m_clusterId; - - string IBasicGetEmpty.ClusterId { get { return m_clusterId; } } - - public BasicGetEmpty() {} - public BasicGetEmpty( - string initClusterId) - { - m_clusterId = initClusterId; - } - - public override int ProtocolClassId { get { return 60; } } - public override int ProtocolMethodId { get { return 72; } } - public override string ProtocolMethodName { get { return "basic.get-empty"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_clusterId = reader.ReadShortstr(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShortstr(m_clusterId); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_clusterId); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class BasicAck: RabbitMQ.Client.Impl.MethodBase, IBasicAck { - public const int ClassId = 60; - public const int MethodId = 80; - - public ulong m_deliveryTag; - public bool m_multiple; - - ulong IBasicAck.DeliveryTag { get { return m_deliveryTag; } } - bool IBasicAck.Multiple { get { return m_multiple; } } - - public BasicAck() {} - public BasicAck( - ulong initDeliveryTag, - bool initMultiple) - { - m_deliveryTag = initDeliveryTag; - m_multiple = initMultiple; - } - - public override int ProtocolClassId { get { return 60; } } - public override int ProtocolMethodId { get { return 80; } } - public override string ProtocolMethodName { get { return "basic.ack"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_deliveryTag = reader.ReadLonglong(); - m_multiple = reader.ReadBit(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteLonglong(m_deliveryTag); - writer.WriteBit(m_multiple); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_deliveryTag); sb.Append(","); - sb.Append(m_multiple); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class BasicReject: RabbitMQ.Client.Impl.MethodBase, IBasicReject { - public const int ClassId = 60; - public const int MethodId = 90; - - public ulong m_deliveryTag; - public bool m_requeue; - - ulong IBasicReject.DeliveryTag { get { return m_deliveryTag; } } - bool IBasicReject.Requeue { get { return m_requeue; } } - - public BasicReject() {} - public BasicReject( - ulong initDeliveryTag, - bool initRequeue) - { - m_deliveryTag = initDeliveryTag; - m_requeue = initRequeue; - } - - public override int ProtocolClassId { get { return 60; } } - public override int ProtocolMethodId { get { return 90; } } - public override string ProtocolMethodName { get { return "basic.reject"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_deliveryTag = reader.ReadLonglong(); - m_requeue = reader.ReadBit(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteLonglong(m_deliveryTag); - writer.WriteBit(m_requeue); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_deliveryTag); sb.Append(","); - sb.Append(m_requeue); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class BasicRecover: RabbitMQ.Client.Impl.MethodBase, IBasicRecover { - public const int ClassId = 60; - public const int MethodId = 100; - - public bool m_requeue; - - bool IBasicRecover.Requeue { get { return m_requeue; } } - - public BasicRecover() {} - public BasicRecover( - bool initRequeue) - { - m_requeue = initRequeue; - } - - public override int ProtocolClassId { get { return 60; } } - public override int ProtocolMethodId { get { return 100; } } - public override string ProtocolMethodName { get { return "basic.recover"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_requeue = reader.ReadBit(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteBit(m_requeue); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_requeue); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class FileQos: RabbitMQ.Client.Impl.MethodBase, IFileQos { - public const int ClassId = 70; - public const int MethodId = 10; - - public uint m_prefetchSize; - public ushort m_prefetchCount; - public bool m_global; - - uint IFileQos.PrefetchSize { get { return m_prefetchSize; } } - ushort IFileQos.PrefetchCount { get { return m_prefetchCount; } } - bool IFileQos.Global { get { return m_global; } } - - public FileQos() {} - public FileQos( - uint initPrefetchSize, - ushort initPrefetchCount, - bool initGlobal) - { - m_prefetchSize = initPrefetchSize; - m_prefetchCount = initPrefetchCount; - m_global = initGlobal; - } - - public override int ProtocolClassId { get { return 70; } } - public override int ProtocolMethodId { get { return 10; } } - public override string ProtocolMethodName { get { return "file.qos"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_prefetchSize = reader.ReadLong(); - m_prefetchCount = reader.ReadShort(); - m_global = reader.ReadBit(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteLong(m_prefetchSize); - writer.WriteShort(m_prefetchCount); - writer.WriteBit(m_global); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_prefetchSize); sb.Append(","); - sb.Append(m_prefetchCount); sb.Append(","); - sb.Append(m_global); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class FileQosOk: RabbitMQ.Client.Impl.MethodBase, IFileQosOk { - public const int ClassId = 70; - public const int MethodId = 11; - - - - public FileQosOk( -) - { - } - - public override int ProtocolClassId { get { return 70; } } - public override int ProtocolMethodId { get { return 11; } } - public override string ProtocolMethodName { get { return "file.qos-ok"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class FileConsume: RabbitMQ.Client.Impl.MethodBase, IFileConsume { - public const int ClassId = 70; - public const int MethodId = 20; - - public ushort m_ticket; - public string m_queue; - public string m_consumerTag; - public bool m_noLocal; - public bool m_noAck; - public bool m_exclusive; - public bool m_nowait; - - ushort IFileConsume.Ticket { get { return m_ticket; } } - string IFileConsume.Queue { get { return m_queue; } } - string IFileConsume.ConsumerTag { get { return m_consumerTag; } } - bool IFileConsume.NoLocal { get { return m_noLocal; } } - bool IFileConsume.NoAck { get { return m_noAck; } } - bool IFileConsume.Exclusive { get { return m_exclusive; } } - bool IFileConsume.Nowait { get { return m_nowait; } } - - public FileConsume() {} - public FileConsume( - ushort initTicket, - string initQueue, - string initConsumerTag, - bool initNoLocal, - bool initNoAck, - bool initExclusive, - bool initNowait) - { - m_ticket = initTicket; - m_queue = initQueue; - m_consumerTag = initConsumerTag; - m_noLocal = initNoLocal; - m_noAck = initNoAck; - m_exclusive = initExclusive; - m_nowait = initNowait; - } - - public override int ProtocolClassId { get { return 70; } } - public override int ProtocolMethodId { get { return 20; } } - public override string ProtocolMethodName { get { return "file.consume"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_ticket = reader.ReadShort(); - m_queue = reader.ReadShortstr(); - m_consumerTag = reader.ReadShortstr(); - m_noLocal = reader.ReadBit(); - m_noAck = reader.ReadBit(); - m_exclusive = reader.ReadBit(); - m_nowait = reader.ReadBit(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShort(m_ticket); - writer.WriteShortstr(m_queue); - writer.WriteShortstr(m_consumerTag); - writer.WriteBit(m_noLocal); - writer.WriteBit(m_noAck); - writer.WriteBit(m_exclusive); - writer.WriteBit(m_nowait); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_ticket); sb.Append(","); - sb.Append(m_queue); sb.Append(","); - sb.Append(m_consumerTag); sb.Append(","); - sb.Append(m_noLocal); sb.Append(","); - sb.Append(m_noAck); sb.Append(","); - sb.Append(m_exclusive); sb.Append(","); - sb.Append(m_nowait); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class FileConsumeOk: RabbitMQ.Client.Impl.MethodBase, IFileConsumeOk { - public const int ClassId = 70; - public const int MethodId = 21; - - public string m_consumerTag; - - string IFileConsumeOk.ConsumerTag { get { return m_consumerTag; } } - - public FileConsumeOk() {} - public FileConsumeOk( - string initConsumerTag) - { - m_consumerTag = initConsumerTag; - } - - public override int ProtocolClassId { get { return 70; } } - public override int ProtocolMethodId { get { return 21; } } - public override string ProtocolMethodName { get { return "file.consume-ok"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_consumerTag = reader.ReadShortstr(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShortstr(m_consumerTag); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_consumerTag); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class FileCancel: RabbitMQ.Client.Impl.MethodBase, IFileCancel { - public const int ClassId = 70; - public const int MethodId = 30; - - public string m_consumerTag; - public bool m_nowait; - - string IFileCancel.ConsumerTag { get { return m_consumerTag; } } - bool IFileCancel.Nowait { get { return m_nowait; } } - - public FileCancel() {} - public FileCancel( - string initConsumerTag, - bool initNowait) - { - m_consumerTag = initConsumerTag; - m_nowait = initNowait; - } - - public override int ProtocolClassId { get { return 70; } } - public override int ProtocolMethodId { get { return 30; } } - public override string ProtocolMethodName { get { return "file.cancel"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_consumerTag = reader.ReadShortstr(); - m_nowait = reader.ReadBit(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShortstr(m_consumerTag); - writer.WriteBit(m_nowait); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_consumerTag); sb.Append(","); - sb.Append(m_nowait); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class FileCancelOk: RabbitMQ.Client.Impl.MethodBase, IFileCancelOk { - public const int ClassId = 70; - public const int MethodId = 31; - - public string m_consumerTag; - - string IFileCancelOk.ConsumerTag { get { return m_consumerTag; } } - - public FileCancelOk() {} - public FileCancelOk( - string initConsumerTag) - { - m_consumerTag = initConsumerTag; - } - - public override int ProtocolClassId { get { return 70; } } - public override int ProtocolMethodId { get { return 31; } } - public override string ProtocolMethodName { get { return "file.cancel-ok"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_consumerTag = reader.ReadShortstr(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShortstr(m_consumerTag); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_consumerTag); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class FileOpen: RabbitMQ.Client.Impl.MethodBase, IFileOpen { - public const int ClassId = 70; - public const int MethodId = 40; - - public string m_identifier; - public ulong m_contentSize; - - string IFileOpen.Identifier { get { return m_identifier; } } - ulong IFileOpen.ContentSize { get { return m_contentSize; } } - - public FileOpen() {} - public FileOpen( - string initIdentifier, - ulong initContentSize) - { - m_identifier = initIdentifier; - m_contentSize = initContentSize; - } - - public override int ProtocolClassId { get { return 70; } } - public override int ProtocolMethodId { get { return 40; } } - public override string ProtocolMethodName { get { return "file.open"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_identifier = reader.ReadShortstr(); - m_contentSize = reader.ReadLonglong(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShortstr(m_identifier); - writer.WriteLonglong(m_contentSize); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_identifier); sb.Append(","); - sb.Append(m_contentSize); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class FileOpenOk: RabbitMQ.Client.Impl.MethodBase, IFileOpenOk { - public const int ClassId = 70; - public const int MethodId = 41; - - public ulong m_stagedSize; - - ulong IFileOpenOk.StagedSize { get { return m_stagedSize; } } - - public FileOpenOk() {} - public FileOpenOk( - ulong initStagedSize) - { - m_stagedSize = initStagedSize; - } - - public override int ProtocolClassId { get { return 70; } } - public override int ProtocolMethodId { get { return 41; } } - public override string ProtocolMethodName { get { return "file.open-ok"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_stagedSize = reader.ReadLonglong(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteLonglong(m_stagedSize); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_stagedSize); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class FileStage: RabbitMQ.Client.Impl.MethodBase, IFileStage { - public const int ClassId = 70; - public const int MethodId = 50; - - - - public FileStage( -) - { - } - - public override int ProtocolClassId { get { return 70; } } - public override int ProtocolMethodId { get { return 50; } } - public override string ProtocolMethodName { get { return "file.stage"; } } - public override bool HasContent { get { return true; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class FilePublish: RabbitMQ.Client.Impl.MethodBase, IFilePublish { - public const int ClassId = 70; - public const int MethodId = 60; - - public ushort m_ticket; - public string m_exchange; - public string m_routingKey; - public bool m_mandatory; - public bool m_immediate; - public string m_identifier; - - ushort IFilePublish.Ticket { get { return m_ticket; } } - string IFilePublish.Exchange { get { return m_exchange; } } - string IFilePublish.RoutingKey { get { return m_routingKey; } } - bool IFilePublish.Mandatory { get { return m_mandatory; } } - bool IFilePublish.Immediate { get { return m_immediate; } } - string IFilePublish.Identifier { get { return m_identifier; } } - - public FilePublish() {} - public FilePublish( - ushort initTicket, - string initExchange, - string initRoutingKey, - bool initMandatory, - bool initImmediate, - string initIdentifier) - { - m_ticket = initTicket; - m_exchange = initExchange; - m_routingKey = initRoutingKey; - m_mandatory = initMandatory; - m_immediate = initImmediate; - m_identifier = initIdentifier; - } - - public override int ProtocolClassId { get { return 70; } } - public override int ProtocolMethodId { get { return 60; } } - public override string ProtocolMethodName { get { return "file.publish"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_ticket = reader.ReadShort(); - m_exchange = reader.ReadShortstr(); - m_routingKey = reader.ReadShortstr(); - m_mandatory = reader.ReadBit(); - m_immediate = reader.ReadBit(); - m_identifier = reader.ReadShortstr(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShort(m_ticket); - writer.WriteShortstr(m_exchange); - writer.WriteShortstr(m_routingKey); - writer.WriteBit(m_mandatory); - writer.WriteBit(m_immediate); - writer.WriteShortstr(m_identifier); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_ticket); sb.Append(","); - sb.Append(m_exchange); sb.Append(","); - sb.Append(m_routingKey); sb.Append(","); - sb.Append(m_mandatory); sb.Append(","); - sb.Append(m_immediate); sb.Append(","); - sb.Append(m_identifier); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class FileReturn: RabbitMQ.Client.Impl.MethodBase, IFileReturn { - public const int ClassId = 70; - public const int MethodId = 70; - - public ushort m_replyCode; - public string m_replyText; - public string m_exchange; - public string m_routingKey; - - ushort IFileReturn.ReplyCode { get { return m_replyCode; } } - string IFileReturn.ReplyText { get { return m_replyText; } } - string IFileReturn.Exchange { get { return m_exchange; } } - string IFileReturn.RoutingKey { get { return m_routingKey; } } - - public FileReturn() {} - public FileReturn( - ushort initReplyCode, - string initReplyText, - string initExchange, - string initRoutingKey) - { - m_replyCode = initReplyCode; - m_replyText = initReplyText; - m_exchange = initExchange; - m_routingKey = initRoutingKey; - } - - public override int ProtocolClassId { get { return 70; } } - public override int ProtocolMethodId { get { return 70; } } - public override string ProtocolMethodName { get { return "file.return"; } } - public override bool HasContent { get { return true; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_replyCode = reader.ReadShort(); - m_replyText = reader.ReadShortstr(); - m_exchange = reader.ReadShortstr(); - m_routingKey = reader.ReadShortstr(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShort(m_replyCode); - writer.WriteShortstr(m_replyText); - writer.WriteShortstr(m_exchange); - writer.WriteShortstr(m_routingKey); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_replyCode); sb.Append(","); - sb.Append(m_replyText); sb.Append(","); - sb.Append(m_exchange); sb.Append(","); - sb.Append(m_routingKey); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class FileDeliver: RabbitMQ.Client.Impl.MethodBase, IFileDeliver { - public const int ClassId = 70; - public const int MethodId = 80; - - public string m_consumerTag; - public ulong m_deliveryTag; - public bool m_redelivered; - public string m_exchange; - public string m_routingKey; - public string m_identifier; - - string IFileDeliver.ConsumerTag { get { return m_consumerTag; } } - ulong IFileDeliver.DeliveryTag { get { return m_deliveryTag; } } - bool IFileDeliver.Redelivered { get { return m_redelivered; } } - string IFileDeliver.Exchange { get { return m_exchange; } } - string IFileDeliver.RoutingKey { get { return m_routingKey; } } - string IFileDeliver.Identifier { get { return m_identifier; } } - - public FileDeliver() {} - public FileDeliver( - string initConsumerTag, - ulong initDeliveryTag, - bool initRedelivered, - string initExchange, - string initRoutingKey, - string initIdentifier) - { - m_consumerTag = initConsumerTag; - m_deliveryTag = initDeliveryTag; - m_redelivered = initRedelivered; - m_exchange = initExchange; - m_routingKey = initRoutingKey; - m_identifier = initIdentifier; - } - - public override int ProtocolClassId { get { return 70; } } - public override int ProtocolMethodId { get { return 80; } } - public override string ProtocolMethodName { get { return "file.deliver"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_consumerTag = reader.ReadShortstr(); - m_deliveryTag = reader.ReadLonglong(); - m_redelivered = reader.ReadBit(); - m_exchange = reader.ReadShortstr(); - m_routingKey = reader.ReadShortstr(); - m_identifier = reader.ReadShortstr(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShortstr(m_consumerTag); - writer.WriteLonglong(m_deliveryTag); - writer.WriteBit(m_redelivered); - writer.WriteShortstr(m_exchange); - writer.WriteShortstr(m_routingKey); - writer.WriteShortstr(m_identifier); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_consumerTag); sb.Append(","); - sb.Append(m_deliveryTag); sb.Append(","); - sb.Append(m_redelivered); sb.Append(","); - sb.Append(m_exchange); sb.Append(","); - sb.Append(m_routingKey); sb.Append(","); - sb.Append(m_identifier); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class FileAck: RabbitMQ.Client.Impl.MethodBase, IFileAck { - public const int ClassId = 70; - public const int MethodId = 90; - - public ulong m_deliveryTag; - public bool m_multiple; - - ulong IFileAck.DeliveryTag { get { return m_deliveryTag; } } - bool IFileAck.Multiple { get { return m_multiple; } } - - public FileAck() {} - public FileAck( - ulong initDeliveryTag, - bool initMultiple) - { - m_deliveryTag = initDeliveryTag; - m_multiple = initMultiple; - } - - public override int ProtocolClassId { get { return 70; } } - public override int ProtocolMethodId { get { return 90; } } - public override string ProtocolMethodName { get { return "file.ack"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_deliveryTag = reader.ReadLonglong(); - m_multiple = reader.ReadBit(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteLonglong(m_deliveryTag); - writer.WriteBit(m_multiple); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_deliveryTag); sb.Append(","); - sb.Append(m_multiple); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class FileReject: RabbitMQ.Client.Impl.MethodBase, IFileReject { - public const int ClassId = 70; - public const int MethodId = 100; - - public ulong m_deliveryTag; - public bool m_requeue; - - ulong IFileReject.DeliveryTag { get { return m_deliveryTag; } } - bool IFileReject.Requeue { get { return m_requeue; } } - - public FileReject() {} - public FileReject( - ulong initDeliveryTag, - bool initRequeue) - { - m_deliveryTag = initDeliveryTag; - m_requeue = initRequeue; - } - - public override int ProtocolClassId { get { return 70; } } - public override int ProtocolMethodId { get { return 100; } } - public override string ProtocolMethodName { get { return "file.reject"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_deliveryTag = reader.ReadLonglong(); - m_requeue = reader.ReadBit(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteLonglong(m_deliveryTag); - writer.WriteBit(m_requeue); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_deliveryTag); sb.Append(","); - sb.Append(m_requeue); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class StreamQos: RabbitMQ.Client.Impl.MethodBase, IStreamQos { - public const int ClassId = 80; - public const int MethodId = 10; - - public uint m_prefetchSize; - public ushort m_prefetchCount; - public uint m_consumeRate; - public bool m_global; - - uint IStreamQos.PrefetchSize { get { return m_prefetchSize; } } - ushort IStreamQos.PrefetchCount { get { return m_prefetchCount; } } - uint IStreamQos.ConsumeRate { get { return m_consumeRate; } } - bool IStreamQos.Global { get { return m_global; } } - - public StreamQos() {} - public StreamQos( - uint initPrefetchSize, - ushort initPrefetchCount, - uint initConsumeRate, - bool initGlobal) - { - m_prefetchSize = initPrefetchSize; - m_prefetchCount = initPrefetchCount; - m_consumeRate = initConsumeRate; - m_global = initGlobal; - } - - public override int ProtocolClassId { get { return 80; } } - public override int ProtocolMethodId { get { return 10; } } - public override string ProtocolMethodName { get { return "stream.qos"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_prefetchSize = reader.ReadLong(); - m_prefetchCount = reader.ReadShort(); - m_consumeRate = reader.ReadLong(); - m_global = reader.ReadBit(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteLong(m_prefetchSize); - writer.WriteShort(m_prefetchCount); - writer.WriteLong(m_consumeRate); - writer.WriteBit(m_global); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_prefetchSize); sb.Append(","); - sb.Append(m_prefetchCount); sb.Append(","); - sb.Append(m_consumeRate); sb.Append(","); - sb.Append(m_global); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class StreamQosOk: RabbitMQ.Client.Impl.MethodBase, IStreamQosOk { - public const int ClassId = 80; - public const int MethodId = 11; - - - - public StreamQosOk( -) - { - } - - public override int ProtocolClassId { get { return 80; } } - public override int ProtocolMethodId { get { return 11; } } - public override string ProtocolMethodName { get { return "stream.qos-ok"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class StreamConsume: RabbitMQ.Client.Impl.MethodBase, IStreamConsume { - public const int ClassId = 80; - public const int MethodId = 20; - - public ushort m_ticket; - public string m_queue; - public string m_consumerTag; - public bool m_noLocal; - public bool m_exclusive; - public bool m_nowait; - - ushort IStreamConsume.Ticket { get { return m_ticket; } } - string IStreamConsume.Queue { get { return m_queue; } } - string IStreamConsume.ConsumerTag { get { return m_consumerTag; } } - bool IStreamConsume.NoLocal { get { return m_noLocal; } } - bool IStreamConsume.Exclusive { get { return m_exclusive; } } - bool IStreamConsume.Nowait { get { return m_nowait; } } - - public StreamConsume() {} - public StreamConsume( - ushort initTicket, - string initQueue, - string initConsumerTag, - bool initNoLocal, - bool initExclusive, - bool initNowait) - { - m_ticket = initTicket; - m_queue = initQueue; - m_consumerTag = initConsumerTag; - m_noLocal = initNoLocal; - m_exclusive = initExclusive; - m_nowait = initNowait; - } - - public override int ProtocolClassId { get { return 80; } } - public override int ProtocolMethodId { get { return 20; } } - public override string ProtocolMethodName { get { return "stream.consume"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_ticket = reader.ReadShort(); - m_queue = reader.ReadShortstr(); - m_consumerTag = reader.ReadShortstr(); - m_noLocal = reader.ReadBit(); - m_exclusive = reader.ReadBit(); - m_nowait = reader.ReadBit(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShort(m_ticket); - writer.WriteShortstr(m_queue); - writer.WriteShortstr(m_consumerTag); - writer.WriteBit(m_noLocal); - writer.WriteBit(m_exclusive); - writer.WriteBit(m_nowait); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_ticket); sb.Append(","); - sb.Append(m_queue); sb.Append(","); - sb.Append(m_consumerTag); sb.Append(","); - sb.Append(m_noLocal); sb.Append(","); - sb.Append(m_exclusive); sb.Append(","); - sb.Append(m_nowait); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class StreamConsumeOk: RabbitMQ.Client.Impl.MethodBase, IStreamConsumeOk { - public const int ClassId = 80; - public const int MethodId = 21; - - public string m_consumerTag; - - string IStreamConsumeOk.ConsumerTag { get { return m_consumerTag; } } - - public StreamConsumeOk() {} - public StreamConsumeOk( - string initConsumerTag) - { - m_consumerTag = initConsumerTag; - } - - public override int ProtocolClassId { get { return 80; } } - public override int ProtocolMethodId { get { return 21; } } - public override string ProtocolMethodName { get { return "stream.consume-ok"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_consumerTag = reader.ReadShortstr(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShortstr(m_consumerTag); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_consumerTag); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class StreamCancel: RabbitMQ.Client.Impl.MethodBase, IStreamCancel { - public const int ClassId = 80; - public const int MethodId = 30; - - public string m_consumerTag; - public bool m_nowait; - - string IStreamCancel.ConsumerTag { get { return m_consumerTag; } } - bool IStreamCancel.Nowait { get { return m_nowait; } } - - public StreamCancel() {} - public StreamCancel( - string initConsumerTag, - bool initNowait) - { - m_consumerTag = initConsumerTag; - m_nowait = initNowait; - } - - public override int ProtocolClassId { get { return 80; } } - public override int ProtocolMethodId { get { return 30; } } - public override string ProtocolMethodName { get { return "stream.cancel"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_consumerTag = reader.ReadShortstr(); - m_nowait = reader.ReadBit(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShortstr(m_consumerTag); - writer.WriteBit(m_nowait); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_consumerTag); sb.Append(","); - sb.Append(m_nowait); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class StreamCancelOk: RabbitMQ.Client.Impl.MethodBase, IStreamCancelOk { - public const int ClassId = 80; - public const int MethodId = 31; - - public string m_consumerTag; - - string IStreamCancelOk.ConsumerTag { get { return m_consumerTag; } } - - public StreamCancelOk() {} - public StreamCancelOk( - string initConsumerTag) - { - m_consumerTag = initConsumerTag; - } - - public override int ProtocolClassId { get { return 80; } } - public override int ProtocolMethodId { get { return 31; } } - public override string ProtocolMethodName { get { return "stream.cancel-ok"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_consumerTag = reader.ReadShortstr(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShortstr(m_consumerTag); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_consumerTag); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class StreamPublish: RabbitMQ.Client.Impl.MethodBase, IStreamPublish { - public const int ClassId = 80; - public const int MethodId = 40; - - public ushort m_ticket; - public string m_exchange; - public string m_routingKey; - public bool m_mandatory; - public bool m_immediate; - - ushort IStreamPublish.Ticket { get { return m_ticket; } } - string IStreamPublish.Exchange { get { return m_exchange; } } - string IStreamPublish.RoutingKey { get { return m_routingKey; } } - bool IStreamPublish.Mandatory { get { return m_mandatory; } } - bool IStreamPublish.Immediate { get { return m_immediate; } } - - public StreamPublish() {} - public StreamPublish( - ushort initTicket, - string initExchange, - string initRoutingKey, - bool initMandatory, - bool initImmediate) - { - m_ticket = initTicket; - m_exchange = initExchange; - m_routingKey = initRoutingKey; - m_mandatory = initMandatory; - m_immediate = initImmediate; - } - - public override int ProtocolClassId { get { return 80; } } - public override int ProtocolMethodId { get { return 40; } } - public override string ProtocolMethodName { get { return "stream.publish"; } } - public override bool HasContent { get { return true; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_ticket = reader.ReadShort(); - m_exchange = reader.ReadShortstr(); - m_routingKey = reader.ReadShortstr(); - m_mandatory = reader.ReadBit(); - m_immediate = reader.ReadBit(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShort(m_ticket); - writer.WriteShortstr(m_exchange); - writer.WriteShortstr(m_routingKey); - writer.WriteBit(m_mandatory); - writer.WriteBit(m_immediate); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_ticket); sb.Append(","); - sb.Append(m_exchange); sb.Append(","); - sb.Append(m_routingKey); sb.Append(","); - sb.Append(m_mandatory); sb.Append(","); - sb.Append(m_immediate); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class StreamReturn: RabbitMQ.Client.Impl.MethodBase, IStreamReturn { - public const int ClassId = 80; - public const int MethodId = 50; - - public ushort m_replyCode; - public string m_replyText; - public string m_exchange; - public string m_routingKey; - - ushort IStreamReturn.ReplyCode { get { return m_replyCode; } } - string IStreamReturn.ReplyText { get { return m_replyText; } } - string IStreamReturn.Exchange { get { return m_exchange; } } - string IStreamReturn.RoutingKey { get { return m_routingKey; } } - - public StreamReturn() {} - public StreamReturn( - ushort initReplyCode, - string initReplyText, - string initExchange, - string initRoutingKey) - { - m_replyCode = initReplyCode; - m_replyText = initReplyText; - m_exchange = initExchange; - m_routingKey = initRoutingKey; - } - - public override int ProtocolClassId { get { return 80; } } - public override int ProtocolMethodId { get { return 50; } } - public override string ProtocolMethodName { get { return "stream.return"; } } - public override bool HasContent { get { return true; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_replyCode = reader.ReadShort(); - m_replyText = reader.ReadShortstr(); - m_exchange = reader.ReadShortstr(); - m_routingKey = reader.ReadShortstr(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShort(m_replyCode); - writer.WriteShortstr(m_replyText); - writer.WriteShortstr(m_exchange); - writer.WriteShortstr(m_routingKey); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_replyCode); sb.Append(","); - sb.Append(m_replyText); sb.Append(","); - sb.Append(m_exchange); sb.Append(","); - sb.Append(m_routingKey); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class StreamDeliver: RabbitMQ.Client.Impl.MethodBase, IStreamDeliver { - public const int ClassId = 80; - public const int MethodId = 60; - - public string m_consumerTag; - public ulong m_deliveryTag; - public string m_exchange; - public string m_queue; - - string IStreamDeliver.ConsumerTag { get { return m_consumerTag; } } - ulong IStreamDeliver.DeliveryTag { get { return m_deliveryTag; } } - string IStreamDeliver.Exchange { get { return m_exchange; } } - string IStreamDeliver.Queue { get { return m_queue; } } - - public StreamDeliver() {} - public StreamDeliver( - string initConsumerTag, - ulong initDeliveryTag, - string initExchange, - string initQueue) - { - m_consumerTag = initConsumerTag; - m_deliveryTag = initDeliveryTag; - m_exchange = initExchange; - m_queue = initQueue; - } - - public override int ProtocolClassId { get { return 80; } } - public override int ProtocolMethodId { get { return 60; } } - public override string ProtocolMethodName { get { return "stream.deliver"; } } - public override bool HasContent { get { return true; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_consumerTag = reader.ReadShortstr(); - m_deliveryTag = reader.ReadLonglong(); - m_exchange = reader.ReadShortstr(); - m_queue = reader.ReadShortstr(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShortstr(m_consumerTag); - writer.WriteLonglong(m_deliveryTag); - writer.WriteShortstr(m_exchange); - writer.WriteShortstr(m_queue); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_consumerTag); sb.Append(","); - sb.Append(m_deliveryTag); sb.Append(","); - sb.Append(m_exchange); sb.Append(","); - sb.Append(m_queue); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class TxSelect: RabbitMQ.Client.Impl.MethodBase, ITxSelect { - public const int ClassId = 90; - public const int MethodId = 10; - - - - public TxSelect( -) - { - } - - public override int ProtocolClassId { get { return 90; } } - public override int ProtocolMethodId { get { return 10; } } - public override string ProtocolMethodName { get { return "tx.select"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class TxSelectOk: RabbitMQ.Client.Impl.MethodBase, ITxSelectOk { - public const int ClassId = 90; - public const int MethodId = 11; - - - - public TxSelectOk( -) - { - } - - public override int ProtocolClassId { get { return 90; } } - public override int ProtocolMethodId { get { return 11; } } - public override string ProtocolMethodName { get { return "tx.select-ok"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class TxCommit: RabbitMQ.Client.Impl.MethodBase, ITxCommit { - public const int ClassId = 90; - public const int MethodId = 20; - - - - public TxCommit( -) - { - } - - public override int ProtocolClassId { get { return 90; } } - public override int ProtocolMethodId { get { return 20; } } - public override string ProtocolMethodName { get { return "tx.commit"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class TxCommitOk: RabbitMQ.Client.Impl.MethodBase, ITxCommitOk { - public const int ClassId = 90; - public const int MethodId = 21; - - - - public TxCommitOk( -) - { - } - - public override int ProtocolClassId { get { return 90; } } - public override int ProtocolMethodId { get { return 21; } } - public override string ProtocolMethodName { get { return "tx.commit-ok"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class TxRollback: RabbitMQ.Client.Impl.MethodBase, ITxRollback { - public const int ClassId = 90; - public const int MethodId = 30; - - - - public TxRollback( -) - { - } - - public override int ProtocolClassId { get { return 90; } } - public override int ProtocolMethodId { get { return 30; } } - public override string ProtocolMethodName { get { return "tx.rollback"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class TxRollbackOk: RabbitMQ.Client.Impl.MethodBase, ITxRollbackOk { - public const int ClassId = 90; - public const int MethodId = 31; - - - - public TxRollbackOk( -) - { - } - - public override int ProtocolClassId { get { return 90; } } - public override int ProtocolMethodId { get { return 31; } } - public override string ProtocolMethodName { get { return "tx.rollback-ok"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class DtxSelect: RabbitMQ.Client.Impl.MethodBase, IDtxSelect { - public const int ClassId = 100; - public const int MethodId = 10; - - - - public DtxSelect( -) - { - } - - public override int ProtocolClassId { get { return 100; } } - public override int ProtocolMethodId { get { return 10; } } - public override string ProtocolMethodName { get { return "dtx.select"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class DtxSelectOk: RabbitMQ.Client.Impl.MethodBase, IDtxSelectOk { - public const int ClassId = 100; - public const int MethodId = 11; - - - - public DtxSelectOk( -) - { - } - - public override int ProtocolClassId { get { return 100; } } - public override int ProtocolMethodId { get { return 11; } } - public override string ProtocolMethodName { get { return "dtx.select-ok"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class DtxStart: RabbitMQ.Client.Impl.MethodBase, IDtxStart { - public const int ClassId = 100; - public const int MethodId = 20; - - public string m_dtxIdentifier; - - string IDtxStart.DtxIdentifier { get { return m_dtxIdentifier; } } - - public DtxStart() {} - public DtxStart( - string initDtxIdentifier) - { - m_dtxIdentifier = initDtxIdentifier; - } - - public override int ProtocolClassId { get { return 100; } } - public override int ProtocolMethodId { get { return 20; } } - public override string ProtocolMethodName { get { return "dtx.start"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_dtxIdentifier = reader.ReadShortstr(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShortstr(m_dtxIdentifier); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_dtxIdentifier); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class DtxStartOk: RabbitMQ.Client.Impl.MethodBase, IDtxStartOk { - public const int ClassId = 100; - public const int MethodId = 21; - - - - public DtxStartOk( -) - { - } - - public override int ProtocolClassId { get { return 100; } } - public override int ProtocolMethodId { get { return 21; } } - public override string ProtocolMethodName { get { return "dtx.start-ok"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class TunnelRequest: RabbitMQ.Client.Impl.MethodBase, ITunnelRequest { - public const int ClassId = 110; - public const int MethodId = 10; - - public System.Collections.IDictionary m_metaData; - - System.Collections.IDictionary ITunnelRequest.MetaData { get { return m_metaData; } } - - public TunnelRequest() {} - public TunnelRequest( - System.Collections.IDictionary initMetaData) - { - m_metaData = initMetaData; - } - - public override int ProtocolClassId { get { return 110; } } - public override int ProtocolMethodId { get { return 10; } } - public override string ProtocolMethodName { get { return "tunnel.request"; } } - public override bool HasContent { get { return true; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_metaData = reader.ReadTable(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteTable(m_metaData); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_metaData); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class TestInteger: RabbitMQ.Client.Impl.MethodBase, ITestInteger { - public const int ClassId = 120; - public const int MethodId = 10; - - public byte m_integer1; - public ushort m_integer2; - public uint m_integer3; - public ulong m_integer4; - public byte m_operation; - - byte ITestInteger.Integer1 { get { return m_integer1; } } - ushort ITestInteger.Integer2 { get { return m_integer2; } } - uint ITestInteger.Integer3 { get { return m_integer3; } } - ulong ITestInteger.Integer4 { get { return m_integer4; } } - byte ITestInteger.Operation { get { return m_operation; } } - - public TestInteger() {} - public TestInteger( - byte initInteger1, - ushort initInteger2, - uint initInteger3, - ulong initInteger4, - byte initOperation) - { - m_integer1 = initInteger1; - m_integer2 = initInteger2; - m_integer3 = initInteger3; - m_integer4 = initInteger4; - m_operation = initOperation; - } - - public override int ProtocolClassId { get { return 120; } } - public override int ProtocolMethodId { get { return 10; } } - public override string ProtocolMethodName { get { return "test.integer"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_integer1 = reader.ReadOctet(); - m_integer2 = reader.ReadShort(); - m_integer3 = reader.ReadLong(); - m_integer4 = reader.ReadLonglong(); - m_operation = reader.ReadOctet(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteOctet(m_integer1); - writer.WriteShort(m_integer2); - writer.WriteLong(m_integer3); - writer.WriteLonglong(m_integer4); - writer.WriteOctet(m_operation); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_integer1); sb.Append(","); - sb.Append(m_integer2); sb.Append(","); - sb.Append(m_integer3); sb.Append(","); - sb.Append(m_integer4); sb.Append(","); - sb.Append(m_operation); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class TestIntegerOk: RabbitMQ.Client.Impl.MethodBase, ITestIntegerOk { - public const int ClassId = 120; - public const int MethodId = 11; - - public ulong m_result; - - ulong ITestIntegerOk.Result { get { return m_result; } } - - public TestIntegerOk() {} - public TestIntegerOk( - ulong initResult) - { - m_result = initResult; - } - - public override int ProtocolClassId { get { return 120; } } - public override int ProtocolMethodId { get { return 11; } } - public override string ProtocolMethodName { get { return "test.integer-ok"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_result = reader.ReadLonglong(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteLonglong(m_result); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_result); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class TestString: RabbitMQ.Client.Impl.MethodBase, ITestString { - public const int ClassId = 120; - public const int MethodId = 20; - - public string m_string1; - public byte[] m_string2; - public byte m_operation; - - string ITestString.String1 { get { return m_string1; } } - byte[] ITestString.String2 { get { return m_string2; } } - byte ITestString.Operation { get { return m_operation; } } - - public TestString() {} - public TestString( - string initString1, - byte[] initString2, - byte initOperation) - { - m_string1 = initString1; - m_string2 = initString2; - m_operation = initOperation; - } - - public override int ProtocolClassId { get { return 120; } } - public override int ProtocolMethodId { get { return 20; } } - public override string ProtocolMethodName { get { return "test.string"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_string1 = reader.ReadShortstr(); - m_string2 = reader.ReadLongstr(); - m_operation = reader.ReadOctet(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShortstr(m_string1); - writer.WriteLongstr(m_string2); - writer.WriteOctet(m_operation); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_string1); sb.Append(","); - sb.Append(m_string2); sb.Append(","); - sb.Append(m_operation); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class TestStringOk: RabbitMQ.Client.Impl.MethodBase, ITestStringOk { - public const int ClassId = 120; - public const int MethodId = 21; - - public byte[] m_result; - - byte[] ITestStringOk.Result { get { return m_result; } } - - public TestStringOk() {} - public TestStringOk( - byte[] initResult) - { - m_result = initResult; - } - - public override int ProtocolClassId { get { return 120; } } - public override int ProtocolMethodId { get { return 21; } } - public override string ProtocolMethodName { get { return "test.string-ok"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_result = reader.ReadLongstr(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteLongstr(m_result); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_result); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class TestTable: RabbitMQ.Client.Impl.MethodBase, ITestTable { - public const int ClassId = 120; - public const int MethodId = 30; - - public System.Collections.IDictionary m_table; - public byte m_integerOp; - public byte m_stringOp; - - System.Collections.IDictionary ITestTable.Table { get { return m_table; } } - byte ITestTable.IntegerOp { get { return m_integerOp; } } - byte ITestTable.StringOp { get { return m_stringOp; } } - - public TestTable() {} - public TestTable( - System.Collections.IDictionary initTable, - byte initIntegerOp, - byte initStringOp) - { - m_table = initTable; - m_integerOp = initIntegerOp; - m_stringOp = initStringOp; - } - - public override int ProtocolClassId { get { return 120; } } - public override int ProtocolMethodId { get { return 30; } } - public override string ProtocolMethodName { get { return "test.table"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_table = reader.ReadTable(); - m_integerOp = reader.ReadOctet(); - m_stringOp = reader.ReadOctet(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteTable(m_table); - writer.WriteOctet(m_integerOp); - writer.WriteOctet(m_stringOp); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_table); sb.Append(","); - sb.Append(m_integerOp); sb.Append(","); - sb.Append(m_stringOp); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class TestTableOk: RabbitMQ.Client.Impl.MethodBase, ITestTableOk { - public const int ClassId = 120; - public const int MethodId = 31; - - public ulong m_integerResult; - public byte[] m_stringResult; - - ulong ITestTableOk.IntegerResult { get { return m_integerResult; } } - byte[] ITestTableOk.StringResult { get { return m_stringResult; } } - - public TestTableOk() {} - public TestTableOk( - ulong initIntegerResult, - byte[] initStringResult) - { - m_integerResult = initIntegerResult; - m_stringResult = initStringResult; - } - - public override int ProtocolClassId { get { return 120; } } - public override int ProtocolMethodId { get { return 31; } } - public override string ProtocolMethodName { get { return "test.table-ok"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_integerResult = reader.ReadLonglong(); - m_stringResult = reader.ReadLongstr(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteLonglong(m_integerResult); - writer.WriteLongstr(m_stringResult); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_integerResult); sb.Append(","); - sb.Append(m_stringResult); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class TestContent: RabbitMQ.Client.Impl.MethodBase, ITestContent { - public const int ClassId = 120; - public const int MethodId = 40; - - - - public TestContent( -) - { - } - - public override int ProtocolClassId { get { return 120; } } - public override int ProtocolMethodId { get { return 40; } } - public override string ProtocolMethodName { get { return "test.content"; } } - public override bool HasContent { get { return true; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class TestContentOk: RabbitMQ.Client.Impl.MethodBase, ITestContentOk { - public const int ClassId = 120; - public const int MethodId = 41; - - public uint m_contentChecksum; - - uint ITestContentOk.ContentChecksum { get { return m_contentChecksum; } } - - public TestContentOk() {} - public TestContentOk( - uint initContentChecksum) - { - m_contentChecksum = initContentChecksum; - } - - public override int ProtocolClassId { get { return 120; } } - public override int ProtocolMethodId { get { return 41; } } - public override string ProtocolMethodName { get { return "test.content-ok"; } } - public override bool HasContent { get { return true; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_contentChecksum = reader.ReadLong(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteLong(m_contentChecksum); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_contentChecksum); - sb.Append(")"); - } - } - - public class Model: RabbitMQ.Client.Impl.ModelBase { - public Model(RabbitMQ.Client.Impl.ISession session): base(session) {} - public override System.UInt16 _Private_AccessRequest( - System.String @realm, - System.Boolean @exclusive, - System.Boolean @passive, - System.Boolean @active, - System.Boolean @write, - System.Boolean @read) - { - AccessRequest __req = new AccessRequest(); - __req.m_realm = @realm; - __req.m_exclusive = @exclusive; - __req.m_passive = @passive; - __req.m_active = @active; - __req.m_write = @write; - __req.m_read = @read; - RabbitMQ.Client.Impl.MethodBase __repBase = ModelRpc(__req,null,null); - AccessRequestOk __rep = __repBase as AccessRequestOk; - if (__rep == null) throw new UnexpectedMethodException(__repBase); - return __rep.m_ticket; - } - public override void _Private_BasicPublish( - System.UInt16 @ticket, - System.String @exchange, - System.String @routingKey, - System.Boolean @mandatory, - System.Boolean @immediate, - RabbitMQ.Client.IBasicProperties @basicProperties, - System.Byte[] @body) - { - BasicPublish __req = new BasicPublish(); - __req.m_ticket = @ticket; - __req.m_exchange = @exchange; - __req.m_routingKey = @routingKey; - __req.m_mandatory = @mandatory; - __req.m_immediate = @immediate; - ModelSend(__req, (BasicProperties) basicProperties,body); - } - public override void _Private_BasicConsume( - System.UInt16 @ticket, - System.String @queue, - System.String @consumerTag, - System.Boolean @noLocal, - System.Boolean @noAck, - System.Boolean @exclusive, - System.Boolean @nowait, - System.Collections.IDictionary @filter) - { - BasicConsume __req = new BasicConsume(); - __req.m_ticket = @ticket; - __req.m_queue = @queue; - __req.m_consumerTag = @consumerTag; - __req.m_noLocal = @noLocal; - __req.m_noAck = @noAck; - __req.m_exclusive = @exclusive; - __req.m_nowait = @nowait; - if (@filter != null) { - throw new UnsupportedMethodFieldException("_Private_BasicConsume","filter"); - } - ModelSend(__req,null,null); - } - public override void _Private_BasicCancel( - System.String @consumerTag, - System.Boolean @nowait) - { - BasicCancel __req = new BasicCancel(); - __req.m_consumerTag = @consumerTag; - __req.m_nowait = @nowait; - ModelSend(__req,null,null); - } - public override void _Private_ChannelOpen( - System.String @outOfBand) - { - ChannelOpen __req = new ChannelOpen(); - __req.m_outOfBand = @outOfBand; - RabbitMQ.Client.Impl.MethodBase __repBase = ModelRpc(__req,null,null); - ChannelOpenOk __rep = __repBase as ChannelOpenOk; - if (__rep == null) throw new UnexpectedMethodException(__repBase); - } - public override void _Private_ChannelCloseOk() - { - ChannelCloseOk __req = new ChannelCloseOk(); - ModelSend(__req,null,null); - } - public override void _Private_ChannelClose( - System.UInt16 @replyCode, - System.String @replyText, - System.UInt16 @classId, - System.UInt16 @methodId) - { - ChannelClose __req = new ChannelClose(); - __req.m_replyCode = @replyCode; - __req.m_replyText = @replyText; - __req.m_classId = @classId; - __req.m_methodId = @methodId; - ModelSend(__req,null,null); - } - public override void _Private_BasicGet( - System.UInt16 @ticket, - System.String @queue, - System.Boolean @noAck) - { - BasicGet __req = new BasicGet(); - __req.m_ticket = @ticket; - __req.m_queue = @queue; - __req.m_noAck = @noAck; - ModelSend(__req,null,null); - } - public override RabbitMQ.Client.Impl.ConnectionTuneDetails ConnectionStartOk( - System.Collections.IDictionary @clientProperties, - System.String @mechanism, - System.Byte[] @response, - System.String @locale) - { - ConnectionStartOk __req = new ConnectionStartOk(); - __req.m_clientProperties = @clientProperties; - __req.m_mechanism = @mechanism; - __req.m_response = @response; - __req.m_locale = @locale; - RabbitMQ.Client.Impl.MethodBase __repBase = ModelRpc(__req,null,null); - ConnectionTune __rep = __repBase as ConnectionTune; - if (__rep == null) throw new UnexpectedMethodException(__repBase); - RabbitMQ.Client.Impl.ConnectionTuneDetails __result = new RabbitMQ.Client.Impl.ConnectionTuneDetails(); - __result.channelMax = __rep.m_channelMax; - __result.frameMax = __rep.m_frameMax; - __result.heartbeat = __rep.m_heartbeat; - return __result; - } - public override void ConnectionTuneOk( - System.UInt16 @channelMax, - System.UInt32 @frameMax, - System.UInt16 @heartbeat) - { - ConnectionTuneOk __req = new ConnectionTuneOk(); - __req.m_channelMax = @channelMax; - __req.m_frameMax = @frameMax; - __req.m_heartbeat = @heartbeat; - ModelSend(__req,null,null); - } - public override void _Private_ConnectionOpen( - System.String @virtualHost, - System.String @capabilities, - System.Boolean @insist) - { - ConnectionOpen __req = new ConnectionOpen(); - __req.m_virtualHost = @virtualHost; - __req.m_capabilities = @capabilities; - __req.m_insist = @insist; - ModelSend(__req,null,null); - } - public override void _Private_ConnectionClose( - System.UInt16 @replyCode, - System.String @replyText, - System.UInt16 @classId, - System.UInt16 @methodId) - { - ConnectionClose __req = new ConnectionClose(); - __req.m_replyCode = @replyCode; - __req.m_replyText = @replyText; - __req.m_classId = @classId; - __req.m_methodId = @methodId; - RabbitMQ.Client.Impl.MethodBase __repBase = ModelRpc(__req,null,null); - ConnectionCloseOk __rep = __repBase as ConnectionCloseOk; - if (__rep == null) throw new UnexpectedMethodException(__repBase); - } - public override void _Private_ConnectionCloseOk() - { - ConnectionCloseOk __req = new ConnectionCloseOk(); - ModelSend(__req,null,null); - } - public override RabbitMQ.Client.IBasicProperties CreateBasicProperties() - { - return new BasicProperties(); - } - public override RabbitMQ.Client.IFileProperties CreateFileProperties() - { - return new FileProperties(); - } - public override RabbitMQ.Client.IStreamProperties CreateStreamProperties() - { - return new StreamProperties(); - } - public override void ChannelFlow( - System.Boolean @active) - { - ChannelFlow __req = new ChannelFlow(); - __req.m_active = @active; - RabbitMQ.Client.Impl.MethodBase __repBase = ModelRpc(__req,null,null); - ChannelFlowOk __rep = __repBase as ChannelFlowOk; - if (__rep == null) throw new UnexpectedMethodException(__repBase); - } - public override void ExchangeDeclare( - System.UInt16 @ticket, - System.String @exchange, - System.String @type, - System.Boolean @passive, - System.Boolean @durable, - System.Boolean @autoDelete, - System.Boolean @internal, - System.Boolean @nowait, - System.Collections.IDictionary @arguments) - { - ExchangeDeclare __req = new ExchangeDeclare(); - __req.m_ticket = @ticket; - __req.m_exchange = @exchange; - __req.m_type = @type; - __req.m_passive = @passive; - __req.m_durable = @durable; - __req.m_autoDelete = @autoDelete; - __req.m_internal = @internal; - __req.m_nowait = @nowait; - __req.m_arguments = @arguments; - if (nowait) { - ModelSend(__req,null,null); - } - RabbitMQ.Client.Impl.MethodBase __repBase = ModelRpc(__req,null,null); - ExchangeDeclareOk __rep = __repBase as ExchangeDeclareOk; - if (__rep == null) throw new UnexpectedMethodException(__repBase); - } - public override void ExchangeDelete( - System.UInt16 @ticket, - System.String @exchange, - System.Boolean @ifUnused, - System.Boolean @nowait) - { - ExchangeDelete __req = new ExchangeDelete(); - __req.m_ticket = @ticket; - __req.m_exchange = @exchange; - __req.m_ifUnused = @ifUnused; - __req.m_nowait = @nowait; - if (nowait) { - ModelSend(__req,null,null); - } - RabbitMQ.Client.Impl.MethodBase __repBase = ModelRpc(__req,null,null); - ExchangeDeleteOk __rep = __repBase as ExchangeDeleteOk; - if (__rep == null) throw new UnexpectedMethodException(__repBase); - } - public override System.String QueueDeclare( - System.UInt16 @ticket, - System.String @queue, - System.Boolean @passive, - System.Boolean @durable, - System.Boolean @exclusive, - System.Boolean @autoDelete, - System.Boolean @nowait, - System.Collections.IDictionary @arguments) - { - QueueDeclare __req = new QueueDeclare(); - __req.m_ticket = @ticket; - __req.m_queue = @queue; - __req.m_passive = @passive; - __req.m_durable = @durable; - __req.m_exclusive = @exclusive; - __req.m_autoDelete = @autoDelete; - __req.m_nowait = @nowait; - __req.m_arguments = @arguments; - if (nowait) { - ModelSend(__req,null,null); - return null; - } - RabbitMQ.Client.Impl.MethodBase __repBase = ModelRpc(__req,null,null); - QueueDeclareOk __rep = __repBase as QueueDeclareOk; - if (__rep == null) throw new UnexpectedMethodException(__repBase); - return __rep.m_queue; - } - public override void QueueBind( - System.UInt16 @ticket, - System.String @queue, - System.String @exchange, - System.String @routingKey, - System.Boolean @nowait, - System.Collections.IDictionary @arguments) - { - QueueBind __req = new QueueBind(); - __req.m_ticket = @ticket; - __req.m_queue = @queue; - __req.m_exchange = @exchange; - __req.m_routingKey = @routingKey; - __req.m_nowait = @nowait; - __req.m_arguments = @arguments; - if (nowait) { - ModelSend(__req,null,null); - } - RabbitMQ.Client.Impl.MethodBase __repBase = ModelRpc(__req,null,null); - QueueBindOk __rep = __repBase as QueueBindOk; - if (__rep == null) throw new UnexpectedMethodException(__repBase); - } - public override void QueueUnbind( - System.UInt16 @ticket, - System.String @queue, - System.String @exchange, - System.String @routingKey, - System.Collections.IDictionary @arguments) - { - throw new UnsupportedMethodException("QueueUnbind"); - } - public override System.UInt32 QueuePurge( - System.UInt16 @ticket, - System.String @queue, - System.Boolean @nowait) - { - QueuePurge __req = new QueuePurge(); - __req.m_ticket = @ticket; - __req.m_queue = @queue; - __req.m_nowait = @nowait; - if (nowait) { - ModelSend(__req,null,null); - return 0xFFFFFFFF; - } - RabbitMQ.Client.Impl.MethodBase __repBase = ModelRpc(__req,null,null); - QueuePurgeOk __rep = __repBase as QueuePurgeOk; - if (__rep == null) throw new UnexpectedMethodException(__repBase); - return __rep.m_messageCount; - } - public override System.UInt32 QueueDelete( - System.UInt16 @ticket, - System.String @queue, - System.Boolean @ifUnused, - System.Boolean @ifEmpty, - System.Boolean @nowait) - { - QueueDelete __req = new QueueDelete(); - __req.m_ticket = @ticket; - __req.m_queue = @queue; - __req.m_ifUnused = @ifUnused; - __req.m_ifEmpty = @ifEmpty; - __req.m_nowait = @nowait; - if (nowait) { - ModelSend(__req,null,null); - return 0xFFFFFFFF; - } - RabbitMQ.Client.Impl.MethodBase __repBase = ModelRpc(__req,null,null); - QueueDeleteOk __rep = __repBase as QueueDeleteOk; - if (__rep == null) throw new UnexpectedMethodException(__repBase); - return __rep.m_messageCount; - } - public override void BasicQos( - System.UInt32 @prefetchSize, - System.UInt16 @prefetchCount, - System.Boolean @global) - { - BasicQos __req = new BasicQos(); - __req.m_prefetchSize = @prefetchSize; - __req.m_prefetchCount = @prefetchCount; - __req.m_global = @global; - RabbitMQ.Client.Impl.MethodBase __repBase = ModelRpc(__req,null,null); - BasicQosOk __rep = __repBase as BasicQosOk; - if (__rep == null) throw new UnexpectedMethodException(__repBase); - } - public override void BasicAck( - System.UInt64 @deliveryTag, - System.Boolean @multiple) - { - BasicAck __req = new BasicAck(); - __req.m_deliveryTag = @deliveryTag; - __req.m_multiple = @multiple; - ModelSend(__req,null,null); - } - public override void BasicReject( - System.UInt64 @deliveryTag, - System.Boolean @requeue) - { - BasicReject __req = new BasicReject(); - __req.m_deliveryTag = @deliveryTag; - __req.m_requeue = @requeue; - ModelSend(__req,null,null); - } - public override void BasicRecover( - System.Boolean @requeue) - { - BasicRecover __req = new BasicRecover(); - __req.m_requeue = @requeue; - ModelSend(__req,null,null); - } - public override void TxSelect() - { - TxSelect __req = new TxSelect(); - RabbitMQ.Client.Impl.MethodBase __repBase = ModelRpc(__req,null,null); - TxSelectOk __rep = __repBase as TxSelectOk; - if (__rep == null) throw new UnexpectedMethodException(__repBase); - } - public override void TxCommit() - { - TxCommit __req = new TxCommit(); - RabbitMQ.Client.Impl.MethodBase __repBase = ModelRpc(__req,null,null); - TxCommitOk __rep = __repBase as TxCommitOk; - if (__rep == null) throw new UnexpectedMethodException(__repBase); - } - public override void TxRollback() - { - TxRollback __req = new TxRollback(); - RabbitMQ.Client.Impl.MethodBase __repBase = ModelRpc(__req,null,null); - TxRollbackOk __rep = __repBase as TxRollbackOk; - if (__rep == null) throw new UnexpectedMethodException(__repBase); - } - public override void DtxSelect() - { - DtxSelect __req = new DtxSelect(); - RabbitMQ.Client.Impl.MethodBase __repBase = ModelRpc(__req,null,null); - DtxSelectOk __rep = __repBase as DtxSelectOk; - if (__rep == null) throw new UnexpectedMethodException(__repBase); - } - public override void DtxStart( - System.String @dtxIdentifier) - { - DtxStart __req = new DtxStart(); - __req.m_dtxIdentifier = @dtxIdentifier; - RabbitMQ.Client.Impl.MethodBase __repBase = ModelRpc(__req,null,null); - DtxStartOk __rep = __repBase as DtxStartOk; - if (__rep == null) throw new UnexpectedMethodException(__repBase); - } - public override bool DispatchAsynchronous(RabbitMQ.Client.Impl.Command cmd) { - RabbitMQ.Client.Impl.MethodBase __method = (RabbitMQ.Client.Impl.MethodBase) cmd.Method; - switch ((__method.ProtocolClassId << 16) | __method.ProtocolMethodId) { - case 3932181: { - BasicConsumeOk __impl = (BasicConsumeOk) __method; - HandleBasicConsumeOk( - __impl.m_consumerTag); - return true; - } - case 3932191: { - BasicCancelOk __impl = (BasicCancelOk) __method; - HandleBasicCancelOk( - __impl.m_consumerTag); - return true; - } - case 3932231: { - BasicGetOk __impl = (BasicGetOk) __method; - HandleBasicGetOk( - __impl.m_deliveryTag, - __impl.m_redelivered, - __impl.m_exchange, - __impl.m_routingKey, - __impl.m_messageCount, - (RabbitMQ.Client.IBasicProperties) cmd.Header, - cmd.Body); - return true; - } - case 3932232: { - HandleBasicGetEmpty(); - return true; - } - case 3932220: { - BasicDeliver __impl = (BasicDeliver) __method; - HandleBasicDeliver( - __impl.m_consumerTag, - __impl.m_deliveryTag, - __impl.m_redelivered, - __impl.m_exchange, - __impl.m_routingKey, - (RabbitMQ.Client.IBasicProperties) cmd.Header, - cmd.Body); - return true; - } - case 3932210: { - BasicReturn __impl = (BasicReturn) __method; - HandleBasicReturn( - __impl.m_replyCode, - __impl.m_replyText, - __impl.m_exchange, - __impl.m_routingKey, - (RabbitMQ.Client.IBasicProperties) cmd.Header, - cmd.Body); - return true; - } - case 1310760: { - ChannelClose __impl = (ChannelClose) __method; - HandleChannelClose( - __impl.m_replyCode, - __impl.m_replyText, - __impl.m_classId, - __impl.m_methodId); - return true; - } - case 1310761: { - HandleChannelCloseOk(); - return true; - } - case 655370: { - ConnectionStart __impl = (ConnectionStart) __method; - HandleConnectionStart( - __impl.m_versionMajor, - __impl.m_versionMinor, - __impl.m_serverProperties, - __impl.m_mechanisms, - __impl.m_locales); - return true; - } - case 655401: { - ConnectionOpenOk __impl = (ConnectionOpenOk) __method; - HandleConnectionOpenOk( - __impl.m_knownHosts); - return true; - } - case 655410: { - ConnectionRedirect __impl = (ConnectionRedirect) __method; - HandleConnectionRedirect( - __impl.m_host, - __impl.m_knownHosts); - return true; - } - case 655420: { - ConnectionClose __impl = (ConnectionClose) __method; - HandleConnectionClose( - __impl.m_replyCode, - __impl.m_replyText, - __impl.m_classId, - __impl.m_methodId); - return true; - } - default: return false; - } - } - } -} diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/mcs/class/RabbitMQ.Client/docs/specs/autogenerated-api-0-9.cs /tmp/whXnmORr8x/mono-2.4+dfsg/mcs/class/RabbitMQ.Client/docs/specs/autogenerated-api-0-9.cs --- mono-2.4.0/mcs/class/RabbitMQ.Client/docs/specs/autogenerated-api-0-9.cs 2009-02-13 23:49:40.000000000 +0000 +++ mono-2.4+dfsg/mcs/class/RabbitMQ.Client/docs/specs/autogenerated-api-0-9.cs 1970-01-01 01:00:00.000000000 +0100 @@ -1,8903 +0,0 @@ -// Autogenerated code. Do not edit. - -using RabbitMQ.Client; -using RabbitMQ.Client.Exceptions; - -namespace RabbitMQ.Client.Framing.v0_9 { - public class Protocol: RabbitMQ.Client.Framing.Impl.v0_9.ProtocolBase { - ///Protocol major version (= 0) - public override int MajorVersion { get { return 0; } } - ///Protocol minor version (= 9) - public override int MinorVersion { get { return 9; } } - ///Protocol API name (= AMQP_0_9) - public override string ApiName { get { return "AMQP_0_9"; } } - ///Default TCP port (= 5672) - public override int DefaultPort { get { return 5672; } } - - public override RabbitMQ.Client.Impl.MethodBase DecodeMethodFrom(RabbitMQ.Util.NetworkBinaryReader reader) { - ushort classId = reader.ReadUInt16(); - ushort methodId = reader.ReadUInt16(); - - switch (classId) { - case 10: { - switch (methodId) { - case 10: { - RabbitMQ.Client.Framing.Impl.v0_9.ConnectionStart result = new RabbitMQ.Client.Framing.Impl.v0_9.ConnectionStart(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 11: { - RabbitMQ.Client.Framing.Impl.v0_9.ConnectionStartOk result = new RabbitMQ.Client.Framing.Impl.v0_9.ConnectionStartOk(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 20: { - RabbitMQ.Client.Framing.Impl.v0_9.ConnectionSecure result = new RabbitMQ.Client.Framing.Impl.v0_9.ConnectionSecure(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 21: { - RabbitMQ.Client.Framing.Impl.v0_9.ConnectionSecureOk result = new RabbitMQ.Client.Framing.Impl.v0_9.ConnectionSecureOk(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 30: { - RabbitMQ.Client.Framing.Impl.v0_9.ConnectionTune result = new RabbitMQ.Client.Framing.Impl.v0_9.ConnectionTune(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 31: { - RabbitMQ.Client.Framing.Impl.v0_9.ConnectionTuneOk result = new RabbitMQ.Client.Framing.Impl.v0_9.ConnectionTuneOk(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 40: { - RabbitMQ.Client.Framing.Impl.v0_9.ConnectionOpen result = new RabbitMQ.Client.Framing.Impl.v0_9.ConnectionOpen(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 41: { - RabbitMQ.Client.Framing.Impl.v0_9.ConnectionOpenOk result = new RabbitMQ.Client.Framing.Impl.v0_9.ConnectionOpenOk(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 42: { - RabbitMQ.Client.Framing.Impl.v0_9.ConnectionRedirect result = new RabbitMQ.Client.Framing.Impl.v0_9.ConnectionRedirect(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 50: { - RabbitMQ.Client.Framing.Impl.v0_9.ConnectionClose result = new RabbitMQ.Client.Framing.Impl.v0_9.ConnectionClose(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 51: { - RabbitMQ.Client.Framing.Impl.v0_9.ConnectionCloseOk result = new RabbitMQ.Client.Framing.Impl.v0_9.ConnectionCloseOk(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - default: break; - } - break; - } - case 20: { - switch (methodId) { - case 10: { - RabbitMQ.Client.Framing.Impl.v0_9.ChannelOpen result = new RabbitMQ.Client.Framing.Impl.v0_9.ChannelOpen(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 11: { - RabbitMQ.Client.Framing.Impl.v0_9.ChannelOpenOk result = new RabbitMQ.Client.Framing.Impl.v0_9.ChannelOpenOk(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 20: { - RabbitMQ.Client.Framing.Impl.v0_9.ChannelFlow result = new RabbitMQ.Client.Framing.Impl.v0_9.ChannelFlow(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 21: { - RabbitMQ.Client.Framing.Impl.v0_9.ChannelFlowOk result = new RabbitMQ.Client.Framing.Impl.v0_9.ChannelFlowOk(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 40: { - RabbitMQ.Client.Framing.Impl.v0_9.ChannelClose result = new RabbitMQ.Client.Framing.Impl.v0_9.ChannelClose(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 41: { - RabbitMQ.Client.Framing.Impl.v0_9.ChannelCloseOk result = new RabbitMQ.Client.Framing.Impl.v0_9.ChannelCloseOk(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 50: { - RabbitMQ.Client.Framing.Impl.v0_9.ChannelResume result = new RabbitMQ.Client.Framing.Impl.v0_9.ChannelResume(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 60: { - RabbitMQ.Client.Framing.Impl.v0_9.ChannelPing result = new RabbitMQ.Client.Framing.Impl.v0_9.ChannelPing(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 70: { - RabbitMQ.Client.Framing.Impl.v0_9.ChannelPong result = new RabbitMQ.Client.Framing.Impl.v0_9.ChannelPong(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 80: { - RabbitMQ.Client.Framing.Impl.v0_9.ChannelOk result = new RabbitMQ.Client.Framing.Impl.v0_9.ChannelOk(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - default: break; - } - break; - } - case 30: { - switch (methodId) { - case 10: { - RabbitMQ.Client.Framing.Impl.v0_9.AccessRequest result = new RabbitMQ.Client.Framing.Impl.v0_9.AccessRequest(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 11: { - RabbitMQ.Client.Framing.Impl.v0_9.AccessRequestOk result = new RabbitMQ.Client.Framing.Impl.v0_9.AccessRequestOk(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - default: break; - } - break; - } - case 40: { - switch (methodId) { - case 10: { - RabbitMQ.Client.Framing.Impl.v0_9.ExchangeDeclare result = new RabbitMQ.Client.Framing.Impl.v0_9.ExchangeDeclare(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 11: { - RabbitMQ.Client.Framing.Impl.v0_9.ExchangeDeclareOk result = new RabbitMQ.Client.Framing.Impl.v0_9.ExchangeDeclareOk(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 20: { - RabbitMQ.Client.Framing.Impl.v0_9.ExchangeDelete result = new RabbitMQ.Client.Framing.Impl.v0_9.ExchangeDelete(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 21: { - RabbitMQ.Client.Framing.Impl.v0_9.ExchangeDeleteOk result = new RabbitMQ.Client.Framing.Impl.v0_9.ExchangeDeleteOk(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - default: break; - } - break; - } - case 50: { - switch (methodId) { - case 10: { - RabbitMQ.Client.Framing.Impl.v0_9.QueueDeclare result = new RabbitMQ.Client.Framing.Impl.v0_9.QueueDeclare(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 11: { - RabbitMQ.Client.Framing.Impl.v0_9.QueueDeclareOk result = new RabbitMQ.Client.Framing.Impl.v0_9.QueueDeclareOk(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 20: { - RabbitMQ.Client.Framing.Impl.v0_9.QueueBind result = new RabbitMQ.Client.Framing.Impl.v0_9.QueueBind(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 21: { - RabbitMQ.Client.Framing.Impl.v0_9.QueueBindOk result = new RabbitMQ.Client.Framing.Impl.v0_9.QueueBindOk(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 50: { - RabbitMQ.Client.Framing.Impl.v0_9.QueueUnbind result = new RabbitMQ.Client.Framing.Impl.v0_9.QueueUnbind(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 51: { - RabbitMQ.Client.Framing.Impl.v0_9.QueueUnbindOk result = new RabbitMQ.Client.Framing.Impl.v0_9.QueueUnbindOk(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 30: { - RabbitMQ.Client.Framing.Impl.v0_9.QueuePurge result = new RabbitMQ.Client.Framing.Impl.v0_9.QueuePurge(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 31: { - RabbitMQ.Client.Framing.Impl.v0_9.QueuePurgeOk result = new RabbitMQ.Client.Framing.Impl.v0_9.QueuePurgeOk(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 40: { - RabbitMQ.Client.Framing.Impl.v0_9.QueueDelete result = new RabbitMQ.Client.Framing.Impl.v0_9.QueueDelete(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 41: { - RabbitMQ.Client.Framing.Impl.v0_9.QueueDeleteOk result = new RabbitMQ.Client.Framing.Impl.v0_9.QueueDeleteOk(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - default: break; - } - break; - } - case 60: { - switch (methodId) { - case 10: { - RabbitMQ.Client.Framing.Impl.v0_9.BasicQos result = new RabbitMQ.Client.Framing.Impl.v0_9.BasicQos(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 11: { - RabbitMQ.Client.Framing.Impl.v0_9.BasicQosOk result = new RabbitMQ.Client.Framing.Impl.v0_9.BasicQosOk(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 20: { - RabbitMQ.Client.Framing.Impl.v0_9.BasicConsume result = new RabbitMQ.Client.Framing.Impl.v0_9.BasicConsume(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 21: { - RabbitMQ.Client.Framing.Impl.v0_9.BasicConsumeOk result = new RabbitMQ.Client.Framing.Impl.v0_9.BasicConsumeOk(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 30: { - RabbitMQ.Client.Framing.Impl.v0_9.BasicCancel result = new RabbitMQ.Client.Framing.Impl.v0_9.BasicCancel(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 31: { - RabbitMQ.Client.Framing.Impl.v0_9.BasicCancelOk result = new RabbitMQ.Client.Framing.Impl.v0_9.BasicCancelOk(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 40: { - RabbitMQ.Client.Framing.Impl.v0_9.BasicPublish result = new RabbitMQ.Client.Framing.Impl.v0_9.BasicPublish(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 50: { - RabbitMQ.Client.Framing.Impl.v0_9.BasicReturn result = new RabbitMQ.Client.Framing.Impl.v0_9.BasicReturn(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 60: { - RabbitMQ.Client.Framing.Impl.v0_9.BasicDeliver result = new RabbitMQ.Client.Framing.Impl.v0_9.BasicDeliver(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 70: { - RabbitMQ.Client.Framing.Impl.v0_9.BasicGet result = new RabbitMQ.Client.Framing.Impl.v0_9.BasicGet(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 71: { - RabbitMQ.Client.Framing.Impl.v0_9.BasicGetOk result = new RabbitMQ.Client.Framing.Impl.v0_9.BasicGetOk(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 72: { - RabbitMQ.Client.Framing.Impl.v0_9.BasicGetEmpty result = new RabbitMQ.Client.Framing.Impl.v0_9.BasicGetEmpty(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 80: { - RabbitMQ.Client.Framing.Impl.v0_9.BasicAck result = new RabbitMQ.Client.Framing.Impl.v0_9.BasicAck(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 90: { - RabbitMQ.Client.Framing.Impl.v0_9.BasicReject result = new RabbitMQ.Client.Framing.Impl.v0_9.BasicReject(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 100: { - RabbitMQ.Client.Framing.Impl.v0_9.BasicRecover result = new RabbitMQ.Client.Framing.Impl.v0_9.BasicRecover(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - default: break; - } - break; - } - case 70: { - switch (methodId) { - case 10: { - RabbitMQ.Client.Framing.Impl.v0_9.FileQos result = new RabbitMQ.Client.Framing.Impl.v0_9.FileQos(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 11: { - RabbitMQ.Client.Framing.Impl.v0_9.FileQosOk result = new RabbitMQ.Client.Framing.Impl.v0_9.FileQosOk(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 20: { - RabbitMQ.Client.Framing.Impl.v0_9.FileConsume result = new RabbitMQ.Client.Framing.Impl.v0_9.FileConsume(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 21: { - RabbitMQ.Client.Framing.Impl.v0_9.FileConsumeOk result = new RabbitMQ.Client.Framing.Impl.v0_9.FileConsumeOk(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 30: { - RabbitMQ.Client.Framing.Impl.v0_9.FileCancel result = new RabbitMQ.Client.Framing.Impl.v0_9.FileCancel(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 31: { - RabbitMQ.Client.Framing.Impl.v0_9.FileCancelOk result = new RabbitMQ.Client.Framing.Impl.v0_9.FileCancelOk(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 40: { - RabbitMQ.Client.Framing.Impl.v0_9.FileOpen result = new RabbitMQ.Client.Framing.Impl.v0_9.FileOpen(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 41: { - RabbitMQ.Client.Framing.Impl.v0_9.FileOpenOk result = new RabbitMQ.Client.Framing.Impl.v0_9.FileOpenOk(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 50: { - RabbitMQ.Client.Framing.Impl.v0_9.FileStage result = new RabbitMQ.Client.Framing.Impl.v0_9.FileStage(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 60: { - RabbitMQ.Client.Framing.Impl.v0_9.FilePublish result = new RabbitMQ.Client.Framing.Impl.v0_9.FilePublish(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 70: { - RabbitMQ.Client.Framing.Impl.v0_9.FileReturn result = new RabbitMQ.Client.Framing.Impl.v0_9.FileReturn(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 80: { - RabbitMQ.Client.Framing.Impl.v0_9.FileDeliver result = new RabbitMQ.Client.Framing.Impl.v0_9.FileDeliver(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 90: { - RabbitMQ.Client.Framing.Impl.v0_9.FileAck result = new RabbitMQ.Client.Framing.Impl.v0_9.FileAck(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 100: { - RabbitMQ.Client.Framing.Impl.v0_9.FileReject result = new RabbitMQ.Client.Framing.Impl.v0_9.FileReject(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - default: break; - } - break; - } - case 80: { - switch (methodId) { - case 10: { - RabbitMQ.Client.Framing.Impl.v0_9.StreamQos result = new RabbitMQ.Client.Framing.Impl.v0_9.StreamQos(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 11: { - RabbitMQ.Client.Framing.Impl.v0_9.StreamQosOk result = new RabbitMQ.Client.Framing.Impl.v0_9.StreamQosOk(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 20: { - RabbitMQ.Client.Framing.Impl.v0_9.StreamConsume result = new RabbitMQ.Client.Framing.Impl.v0_9.StreamConsume(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 21: { - RabbitMQ.Client.Framing.Impl.v0_9.StreamConsumeOk result = new RabbitMQ.Client.Framing.Impl.v0_9.StreamConsumeOk(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 30: { - RabbitMQ.Client.Framing.Impl.v0_9.StreamCancel result = new RabbitMQ.Client.Framing.Impl.v0_9.StreamCancel(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 31: { - RabbitMQ.Client.Framing.Impl.v0_9.StreamCancelOk result = new RabbitMQ.Client.Framing.Impl.v0_9.StreamCancelOk(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 40: { - RabbitMQ.Client.Framing.Impl.v0_9.StreamPublish result = new RabbitMQ.Client.Framing.Impl.v0_9.StreamPublish(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 50: { - RabbitMQ.Client.Framing.Impl.v0_9.StreamReturn result = new RabbitMQ.Client.Framing.Impl.v0_9.StreamReturn(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 60: { - RabbitMQ.Client.Framing.Impl.v0_9.StreamDeliver result = new RabbitMQ.Client.Framing.Impl.v0_9.StreamDeliver(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - default: break; - } - break; - } - case 90: { - switch (methodId) { - case 10: { - RabbitMQ.Client.Framing.Impl.v0_9.TxSelect result = new RabbitMQ.Client.Framing.Impl.v0_9.TxSelect(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 11: { - RabbitMQ.Client.Framing.Impl.v0_9.TxSelectOk result = new RabbitMQ.Client.Framing.Impl.v0_9.TxSelectOk(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 20: { - RabbitMQ.Client.Framing.Impl.v0_9.TxCommit result = new RabbitMQ.Client.Framing.Impl.v0_9.TxCommit(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 21: { - RabbitMQ.Client.Framing.Impl.v0_9.TxCommitOk result = new RabbitMQ.Client.Framing.Impl.v0_9.TxCommitOk(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 30: { - RabbitMQ.Client.Framing.Impl.v0_9.TxRollback result = new RabbitMQ.Client.Framing.Impl.v0_9.TxRollback(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 31: { - RabbitMQ.Client.Framing.Impl.v0_9.TxRollbackOk result = new RabbitMQ.Client.Framing.Impl.v0_9.TxRollbackOk(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - default: break; - } - break; - } - case 100: { - switch (methodId) { - case 10: { - RabbitMQ.Client.Framing.Impl.v0_9.DtxSelect result = new RabbitMQ.Client.Framing.Impl.v0_9.DtxSelect(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 11: { - RabbitMQ.Client.Framing.Impl.v0_9.DtxSelectOk result = new RabbitMQ.Client.Framing.Impl.v0_9.DtxSelectOk(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 20: { - RabbitMQ.Client.Framing.Impl.v0_9.DtxStart result = new RabbitMQ.Client.Framing.Impl.v0_9.DtxStart(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 21: { - RabbitMQ.Client.Framing.Impl.v0_9.DtxStartOk result = new RabbitMQ.Client.Framing.Impl.v0_9.DtxStartOk(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - default: break; - } - break; - } - case 110: { - switch (methodId) { - case 10: { - RabbitMQ.Client.Framing.Impl.v0_9.TunnelRequest result = new RabbitMQ.Client.Framing.Impl.v0_9.TunnelRequest(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - default: break; - } - break; - } - case 120: { - switch (methodId) { - case 10: { - RabbitMQ.Client.Framing.Impl.v0_9.MessageTransfer result = new RabbitMQ.Client.Framing.Impl.v0_9.MessageTransfer(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 20: { - RabbitMQ.Client.Framing.Impl.v0_9.MessageConsume result = new RabbitMQ.Client.Framing.Impl.v0_9.MessageConsume(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 30: { - RabbitMQ.Client.Framing.Impl.v0_9.MessageCancel result = new RabbitMQ.Client.Framing.Impl.v0_9.MessageCancel(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 40: { - RabbitMQ.Client.Framing.Impl.v0_9.MessageGet result = new RabbitMQ.Client.Framing.Impl.v0_9.MessageGet(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 50: { - RabbitMQ.Client.Framing.Impl.v0_9.MessageRecover result = new RabbitMQ.Client.Framing.Impl.v0_9.MessageRecover(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 60: { - RabbitMQ.Client.Framing.Impl.v0_9.MessageOpen result = new RabbitMQ.Client.Framing.Impl.v0_9.MessageOpen(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 70: { - RabbitMQ.Client.Framing.Impl.v0_9.MessageClose result = new RabbitMQ.Client.Framing.Impl.v0_9.MessageClose(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 80: { - RabbitMQ.Client.Framing.Impl.v0_9.MessageAppend result = new RabbitMQ.Client.Framing.Impl.v0_9.MessageAppend(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 90: { - RabbitMQ.Client.Framing.Impl.v0_9.MessageCheckpoint result = new RabbitMQ.Client.Framing.Impl.v0_9.MessageCheckpoint(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 100: { - RabbitMQ.Client.Framing.Impl.v0_9.MessageResume result = new RabbitMQ.Client.Framing.Impl.v0_9.MessageResume(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 110: { - RabbitMQ.Client.Framing.Impl.v0_9.MessageQos result = new RabbitMQ.Client.Framing.Impl.v0_9.MessageQos(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 500: { - RabbitMQ.Client.Framing.Impl.v0_9.MessageOk result = new RabbitMQ.Client.Framing.Impl.v0_9.MessageOk(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 510: { - RabbitMQ.Client.Framing.Impl.v0_9.MessageEmpty result = new RabbitMQ.Client.Framing.Impl.v0_9.MessageEmpty(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 520: { - RabbitMQ.Client.Framing.Impl.v0_9.MessageReject result = new RabbitMQ.Client.Framing.Impl.v0_9.MessageReject(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 530: { - RabbitMQ.Client.Framing.Impl.v0_9.MessageOffset result = new RabbitMQ.Client.Framing.Impl.v0_9.MessageOffset(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - default: break; - } - break; - } - default: break; - } - throw new RabbitMQ.Client.Impl.UnknownClassOrMethodException(classId, methodId); - } - - public override RabbitMQ.Client.Impl.ContentHeaderBase DecodeContentHeaderFrom(RabbitMQ.Util.NetworkBinaryReader reader) { - ushort classId = reader.ReadUInt16(); - - switch (classId) { - case 60: return new BasicProperties(); - case 70: return new FileProperties(); - case 80: return new StreamProperties(); - case 110: return new TunnelProperties(); - default: break; - } - throw new RabbitMQ.Client.Impl.UnknownClassOrMethodException(classId, 0); - } - } - public class Constants { - ///(= 1) - public const int FrameMethod = 1; - ///(= 2) - public const int FrameHeader = 2; - ///(= 3) - public const int FrameBody = 3; - ///(= 4) - public const int FrameOobMethod = 4; - ///(= 5) - public const int FrameOobHeader = 5; - ///(= 6) - public const int FrameOobBody = 6; - ///(= 7) - public const int FrameTrace = 7; - ///(= 8) - public const int FrameHeartbeat = 8; - ///(= 4096) - public const int FrameMinSize = 4096; - ///(= 206) - public const int FrameEnd = 206; - ///(= 200) - public const int ReplySuccess = 200; - ///(= 310) - public const int NotDelivered = 310; - ///(= 311) - public const int ContentTooLarge = 311; - ///(= 312) - public const int NoRoute = 312; - ///(= 313) - public const int NoConsumers = 313; - ///(= 320) - public const int ConnectionForced = 320; - ///(= 402) - public const int InvalidPath = 402; - ///(= 403) - public const int AccessRefused = 403; - ///(= 404) - public const int NotFound = 404; - ///(= 405) - public const int ResourceLocked = 405; - ///(= 406) - public const int PreconditionFailed = 406; - ///(= 501) - public const int FrameError = 501; - ///(= 502) - public const int SyntaxError = 502; - ///(= 503) - public const int CommandInvalid = 503; - ///(= 504) - public const int ChannelError = 504; - ///(= 506) - public const int ResourceError = 506; - ///(= 530) - public const int NotAllowed = 530; - ///(= 540) - public const int NotImplemented = 540; - ///(= 541) - public const int InternalError = 541; - } - /// Autogenerated type. AMQP specification method "connection.start". - /// - /// - /// This method starts the connection negotiation process by telling the client the - /// protocol version that the server proposes, along with a list of security mechanisms - /// which the client can use for authentication. - /// - /// - public interface IConnectionStart: IMethod { - /// - /// - /// The protocol version, major component, as transmitted in the AMQP protocol - /// header. This, combined with the protocol minor component fully describe the - /// protocol version, which is written in the format major-minor. Hence, with - /// major=1, minor=3, the protocol version would be "1-3". - /// - /// - byte VersionMajor { get; } - /// - /// - /// The protocol version, minor component, as transmitted in the AMQP protocol - /// header. This, combined with the protocol major component fully describe the - /// protocol version, which is written in the format major-minor. Hence, with - /// major=1, minor=3, the protocol version would be "1-3". - /// - /// - byte VersionMinor { get; } - // (no documentation) - System.Collections.IDictionary ServerProperties { get; } - /// - /// - /// A list of the security mechanisms that the server supports, delimited by spaces. - /// - /// - byte[] Mechanisms { get; } - /// - /// - /// A list of the message locales that the server supports, delimited by spaces. The - /// locale defines the language in which the server will send reply texts. - /// - /// - byte[] Locales { get; } - } - /// Autogenerated type. AMQP specification method "connection.start-ok". - /// - /// - /// This method selects a SASL security mechanism. - /// - /// - public interface IConnectionStartOk: IMethod { - // (no documentation) - System.Collections.IDictionary ClientProperties { get; } - /// - /// - /// A single security mechanisms selected by the client, which must be one of those - /// specified by the server. - /// - /// - string Mechanism { get; } - /// - /// - /// A block of opaque data passed to the security mechanism. The contents of this - /// data are defined by the SASL security mechanism. - /// - /// - byte[] Response { get; } - /// - /// - /// A single message locale selected by the client, which must be one of those - /// specified by the server. - /// - /// - string Locale { get; } - } - /// Autogenerated type. AMQP specification method "connection.secure". - /// - /// - /// The SASL protocol works by exchanging challenges and responses until both peers have - /// received sufficient information to authenticate each other. This method challenges - /// the client to provide more information. - /// - /// - public interface IConnectionSecure: IMethod { - /// - /// - /// Challenge information, a block of opaque binary data passed to the security - /// mechanism. - /// - /// - byte[] Challenge { get; } - } - /// Autogenerated type. AMQP specification method "connection.secure-ok". - /// - /// - /// This method attempts to authenticate, passing a block of SASL data for the security - /// mechanism at the server side. - /// - /// - public interface IConnectionSecureOk: IMethod { - /// - /// - /// A block of opaque data passed to the security mechanism. The contents of this - /// data are defined by the SASL security mechanism. - /// - /// - byte[] Response { get; } - } - /// Autogenerated type. AMQP specification method "connection.tune". - /// - /// - /// This method proposes a set of connection configuration values to the client. The - /// client can accept and/or adjust these. - /// - /// - public interface IConnectionTune: IMethod { - /// - /// - /// The maximum total number of channels that the server allows per connection. Zero - /// means that the server does not impose a fixed limit, but the number of allowed - /// channels may be limited by available server resources. - /// - /// - ushort ChannelMax { get; } - /// - /// - /// The largest frame size that the server proposes for the connection. The client - /// can negotiate a lower value. Zero means that the server does not impose any - /// specific limit but may reject very large frames if it cannot allocate resources - /// for them. - /// - /// - uint FrameMax { get; } - /// - /// - /// The delay, in seconds, of the connection heartbeat that the server wants. - /// Zero means the server does not want a heartbeat. - /// - /// - ushort Heartbeat { get; } - } - /// Autogenerated type. AMQP specification method "connection.tune-ok". - /// - /// - /// This method sends the client's connection tuning parameters to the server. - /// Certain fields are negotiated, others provide capability information. - /// - /// - public interface IConnectionTuneOk: IMethod { - /// - /// - /// The maximum total number of channels that the client will use per connection. - /// - /// - ushort ChannelMax { get; } - /// - /// - /// The largest frame size that the client and server will use for the connection. - /// Zero means that the client does not impose any specific limit but may reject - /// very large frames if it cannot allocate resources for them. Note that the - /// frame-max limit applies principally to content frames, where large contents can - /// be broken into frames of arbitrary size. - /// - /// - uint FrameMax { get; } - /// - /// - /// The delay, in seconds, of the connection heartbeat that the client wants. Zero - /// means the client does not want a heartbeat. - /// - /// - ushort Heartbeat { get; } - } - /// Autogenerated type. AMQP specification method "connection.open". - /// - /// - /// This method opens a connection to a virtual host, which is a collection of - /// resources, and acts to separate multiple application domains within a server. - /// The server may apply arbitrary limits per virtual host, such as the number - /// of each type of entity that may be used, per connection and/or in total. - /// - /// - public interface IConnectionOpen: IMethod { - /// - /// - /// The name of the virtual host to work with. - /// - /// - string VirtualHost { get; } - /// - /// - /// The client can specify zero or more capability names, delimited by spaces. - /// The server can use this string to how to process the client's connection - /// request. - /// - /// - string Capabilities { get; } - /// - /// - /// In a configuration with multiple collaborating servers, the server may respond - /// to a Connection.Open method with a Connection.Redirect. The insist option tells - /// the server that the client is insisting on a connection to the specified server. - /// - /// - bool Insist { get; } - } - /// Autogenerated type. AMQP specification method "connection.open-ok". - /// - /// - /// This method signals to the client that the connection is ready for use. - /// - /// - public interface IConnectionOpenOk: IMethod { - // (no documentation) - string KnownHosts { get; } - } - /// Autogenerated type. AMQP specification method "connection.redirect". - /// - /// - /// This method redirects the client to another server, based on the requested virtual - /// host and/or capabilities. - /// - /// - public interface IConnectionRedirect: IMethod { - /// - /// - /// Specifies the server to connect to. This is an IP address or a DNS name, - /// optionally followed by a colon and a port number. If no port number is - /// specified, the client should use the default port number for the protocol. - /// - /// - string Host { get; } - // (no documentation) - string KnownHosts { get; } - } - /// Autogenerated type. AMQP specification method "connection.close". - /// - /// - /// This method indicates that the sender wants to close the connection. This may be - /// due to internal conditions (e.g. a forced shut-down) or due to an error handling - /// a specific method, i.e. an exception. When a close is due to an exception, the - /// sender provides the class and method id of the method which caused the exception. - /// - /// - public interface IConnectionClose: IMethod { - // (no documentation) - ushort ReplyCode { get; } - // (no documentation) - string ReplyText { get; } - /// - /// - /// When the close is provoked by a method exception, this is the class of the - /// method. - /// - /// - ushort ClassId { get; } - /// - /// - /// When the close is provoked by a method exception, this is the ID of the method. - /// - /// - ushort MethodId { get; } - } - /// Autogenerated type. AMQP specification method "connection.close-ok". - /// - /// - /// This method confirms a Connection.Close method and tells the recipient that it is - /// safe to release resources for the connection and close the socket. - /// - /// - public interface IConnectionCloseOk: IMethod { - } - /// Autogenerated type. AMQP specification method "channel.open". - /// - /// - /// This method opens a channel to the server. - /// - /// - public interface IChannelOpen: IMethod { - /// - /// - /// Configures out-of-band transfers on this channel. The syntax and meaning of this - /// field will be formally defined at a later date. - /// - /// - string OutOfBand { get; } - } - /// Autogenerated type. AMQP specification method "channel.open-ok". - /// - /// - /// This method signals to the client that the channel is ready for use. - /// - /// - public interface IChannelOpenOk: IMethod { - // (no documentation) - byte[] ChannelId { get; } - } - /// Autogenerated type. AMQP specification method "channel.flow". - /// - /// - /// This method asks the peer to pause or restart the flow of content data. This is a - /// simple flow-control mechanism that a peer can use to avoid overflowing its queues or - /// otherwise finding itself receiving more messages than it can process. Note that this - /// method is not intended for window control. The peer that receives a disable flow - /// method should finish sending the current content frame, if any, then pause. - /// - /// - public interface IChannelFlow: IMethod { - /// - /// - /// If 1, the peer starts sending content frames. If 0, the peer stops sending - /// content frames. - /// - /// - bool Active { get; } - } - /// Autogenerated type. AMQP specification method "channel.flow-ok". - /// - /// - /// Confirms to the peer that a flow command was received and processed. - /// - /// - public interface IChannelFlowOk: IMethod { - /// - /// - /// Confirms the setting of the processed flow method: 1 means the peer will start - /// sending or continue to send content frames; 0 means it will not. - /// - /// - bool Active { get; } - } - /// Autogenerated type. AMQP specification method "channel.close". - /// - /// - /// This method indicates that the sender wants to close the channel. This may be due to - /// internal conditions (e.g. a forced shut-down) or due to an error handling a specific - /// method, i.e. an exception. When a close is due to an exception, the sender provides - /// the class and method id of the method which caused the exception. - /// - /// - public interface IChannelClose: IMethod { - // (no documentation) - ushort ReplyCode { get; } - // (no documentation) - string ReplyText { get; } - /// - /// - /// When the close is provoked by a method exception, this is the class of the - /// method. - /// - /// - ushort ClassId { get; } - /// - /// - /// When the close is provoked by a method exception, this is the ID of the method. - /// - /// - ushort MethodId { get; } - } - /// Autogenerated type. AMQP specification method "channel.close-ok". - /// - /// - /// This method confirms a Channel.Close method and tells the recipient that it is safe - /// to release resources for the channel. - /// - /// - public interface IChannelCloseOk: IMethod { - } - /// Autogenerated type. AMQP specification method "channel.resume". - /// - /// - /// This method resume a previously interrupted channel. - /// - /// - public interface IChannelResume: IMethod { - // (no documentation) - byte[] ChannelId { get; } - } - /// Autogenerated type. AMQP specification method "channel.ping". - /// - /// - /// [WORK IN PROGRESS] Request that the recipient issue a pong request. - /// - /// - public interface IChannelPing: IMethod { - } - /// Autogenerated type. AMQP specification method "channel.pong". - /// - /// - /// [WORK IN PROGRESS] Issued after a ping request is received. Note that this is a - /// request issued after receiving a ping, not a response to - /// receiving a ping. - /// - /// - public interface IChannelPong: IMethod { - } - /// Autogenerated type. AMQP specification method "channel.ok". - /// - /// - /// [WORK IN PROGRESS] Signals normal completion of a method. - /// - /// - public interface IChannelOk: IMethod { - } - /// Autogenerated type. AMQP specification method "access.request". - /// - /// - /// This method requests an access ticket for an access realm. The server - /// responds by granting the access ticket. If the client does not have - /// access rights to the requested realm this causes a connection exception. - /// Access tickets are a per-channel resource. - /// - /// - public interface IAccessRequest: IMethod { - /// - /// - /// Specifies the name of the realm to which the client is requesting access. - /// The realm is a configured server-side object that collects a set of - /// resources (exchanges, queues, etc.). If the channel has already requested - /// an access ticket onto this realm, the previous ticket is destroyed and a - /// new ticket is created with the requested access rights, if allowed. - /// - /// - string Realm { get; } - /// - /// - /// Request exclusive access to the realm, meaning that this will be the only - /// channel that uses the realm's resources. - /// - /// - bool Exclusive { get; } - /// - /// - /// Request message passive access to the specified access realm. Passive - /// access lets a client get information about resources in the realm but - /// not to make any changes to them. - /// - /// - bool Passive { get; } - /// - /// - /// Request message active access to the specified access realm. Active access lets - /// a client get create and delete resources in the realm. - /// - /// - bool Active { get; } - /// - /// - /// Request write access to the specified access realm. Write access lets a client - /// publish messages to all exchanges in the realm. - /// - /// - bool Write { get; } - /// - /// - /// Request read access to the specified access realm. Read access lets a client - /// consume messages from queues in the realm. - /// - /// - bool Read { get; } - } - /// Autogenerated type. AMQP specification method "access.request-ok". - /// - /// - /// This method provides the client with an access ticket. The access ticket is valid - /// within the current channel and for the lifespan of the channel. - /// - /// - public interface IAccessRequestOk: IMethod { - // (no documentation) - ushort Ticket { get; } - } - /// Autogenerated type. AMQP specification method "exchange.declare". - /// - /// - /// This method creates an exchange if it does not already exist, and if the exchange - /// exists, verifies that it is of the correct and expected class. - /// - /// - public interface IExchangeDeclare: IMethod { - /// - /// - /// When a client defines a new exchange, this belongs to the access realm of the - /// ticket used. All further work done with that exchange must be done with an - /// access ticket for the same realm. - /// - /// - ushort Ticket { get; } - // (no documentation) - string Exchange { get; } - /// - /// - /// Each exchange belongs to one of a set of exchange types implemented by the - /// server. The exchange types define the functionality of the exchange - i.e. how - /// messages are routed through it. It is not valid or meaningful to attempt to - /// change the type of an existing exchange. - /// - /// - string Type { get; } - /// - /// - /// If set, the server will not create the exchange. The client can use this to - /// check whether an exchange exists without modifying the server state. - /// - /// - bool Passive { get; } - /// - /// - /// If set when creating a new exchange, the exchange will be marked as durable. - /// Durable exchanges remain active when a server restarts. Non-durable exchanges - /// (transient exchanges) are purged if/when a server restarts. - /// - /// - bool Durable { get; } - /// - /// - /// If set, the exchange is deleted when all queues have finished using it. - /// - /// - bool AutoDelete { get; } - /// - /// - /// If set, the exchange may not be used directly by publishers, but only when bound - /// to other exchanges. Internal exchanges are used to construct wiring that is not - /// visible to applications. - /// - /// - bool Internal { get; } - /// - /// - /// If set, the server will not respond to the method. The client should not wait - /// for a reply method. If the server could not complete the method it will raise a - /// channel or connection exception. - /// - /// - bool Nowait { get; } - /// - /// - /// A set of arguments for the declaration. The syntax and semantics of these - /// arguments depends on the server implementation. This field is ignored if passive - /// is 1. - /// - /// - System.Collections.IDictionary Arguments { get; } - } - /// Autogenerated type. AMQP specification method "exchange.declare-ok". - /// - /// - /// This method confirms a Declare method and confirms the name of the exchange, - /// essential for automatically-named exchanges. - /// - /// - public interface IExchangeDeclareOk: IMethod { - } - /// Autogenerated type. AMQP specification method "exchange.delete". - /// - /// - /// This method deletes an exchange. When an exchange is deleted all queue bindings on - /// the exchange are cancelled. - /// - /// - public interface IExchangeDelete: IMethod { - // (no documentation) - ushort Ticket { get; } - // (no documentation) - string Exchange { get; } - /// - /// - /// If set, the server will only delete the exchange if it has no queue bindings. If - /// the exchange has queue bindings the server does not delete it but raises a - /// channel exception instead. - /// - /// - bool IfUnused { get; } - /// - /// - /// If set, the server will not respond to the method. The client should not wait - /// for a reply method. If the server could not complete the method it will raise a - /// channel or connection exception. - /// - /// - bool Nowait { get; } - } - /// Autogenerated type. AMQP specification method "exchange.delete-ok". - /// - /// This method confirms the deletion of an exchange. - /// - public interface IExchangeDeleteOk: IMethod { - } - /// Autogenerated type. AMQP specification method "queue.declare". - /// - /// - /// This method creates or checks a queue. When creating a new queue the client can - /// specify various properties that control the durability of the queue and its - /// contents, and the level of sharing for the queue. - /// - /// - public interface IQueueDeclare: IMethod { - /// - /// - /// When a client defines a new queue, this belongs to the access realm of the - /// ticket used. All further work done with that queue must be done with an access - /// ticket for the same realm. - /// - /// - ushort Ticket { get; } - // (no documentation) - string Queue { get; } - /// - /// - /// If set, the server will not create the queue. This field allows the client - /// to assert the presence of a queue without modifying the server state. - /// - /// - bool Passive { get; } - /// - /// - /// If set when creating a new queue, the queue will be marked as durable. Durable - /// queues remain active when a server restarts. Non-durable queues (transient - /// queues) are purged if/when a server restarts. Note that durable queues do not - /// necessarily hold persistent messages, although it does not make sense to send - /// persistent messages to a transient queue. - /// - /// - bool Durable { get; } - /// - /// - /// Exclusive queues may only be consumed from by the current connection. Setting - /// the 'exclusive' flag always implies 'auto-delete'. - /// - /// - bool Exclusive { get; } - /// - /// - /// If set, the queue is deleted when all consumers have finished using it. Last - /// consumer can be cancelled either explicitly or because its channel is closed. If - /// there was no consumer ever on the queue, it won't be deleted. - /// - /// - bool AutoDelete { get; } - /// - /// - /// If set, the server will not respond to the method. The client should not wait - /// for a reply method. If the server could not complete the method it will raise a - /// channel or connection exception. - /// - /// - bool Nowait { get; } - /// - /// - /// A set of arguments for the declaration. The syntax and semantics of these - /// arguments depends on the server implementation. This field is ignored if passive - /// is 1. - /// - /// - System.Collections.IDictionary Arguments { get; } - } - /// Autogenerated type. AMQP specification method "queue.declare-ok". - /// - /// - /// This method confirms a Declare method and confirms the name of the queue, essential - /// for automatically-named queues. - /// - /// - public interface IQueueDeclareOk: IMethod { - /// - /// - /// Reports the name of the queue. If the server generated a queue name, this field - /// contains that name. - /// - /// - string Queue { get; } - /// - /// - /// Reports the number of messages in the queue, which will be zero for - /// newly-created queues. - /// - /// - uint MessageCount { get; } - /// - /// - /// Reports the number of active consumers for the queue. Note that consumers can - /// suspend activity (Channel.Flow) in which case they do not appear in this count. - /// - /// - uint ConsumerCount { get; } - } - /// Autogenerated type. AMQP specification method "queue.bind". - /// - /// - /// This method binds a queue to an exchange. Until a queue is bound it will not receive - /// any messages. In a classic messaging model, store-and-forward queues are bound to a - /// direct exchange and subscription queues are bound to a topic exchange. - /// - /// - public interface IQueueBind: IMethod { - /// - /// - /// The client provides a valid access ticket giving "active" access rights to the - /// queue's access realm. - /// - /// - ushort Ticket { get; } - /// - /// - /// Specifies the name of the queue to bind. If the queue name is empty, refers to - /// the current queue for the channel, which is the last declared queue. - /// - /// - string Queue { get; } - // (no documentation) - string Exchange { get; } - /// - /// - /// Specifies the routing key for the binding. The routing key is used for routing - /// messages depending on the exchange configuration. Not all exchanges use a - /// routing key - refer to the specific exchange documentation. If the queue name - /// is empty, the server uses the last queue declared on the channel. If the - /// routing key is also empty, the server uses this queue name for the routing - /// key as well. If the queue name is provided but the routing key is empty, the - /// server does the binding with that empty routing key. The meaning of empty - /// routing keys depends on the exchange implementation. - /// - /// - string RoutingKey { get; } - /// - /// - /// If set, the server will not respond to the method. The client should not wait - /// for a reply method. If the server could not complete the method it will raise a - /// channel or connection exception. - /// - /// - bool Nowait { get; } - /// - /// - /// A set of arguments for the binding. The syntax and semantics of these arguments - /// depends on the exchange class. - /// - /// - System.Collections.IDictionary Arguments { get; } - } - /// Autogenerated type. AMQP specification method "queue.bind-ok". - /// - /// This method confirms that the bind was successful. - /// - public interface IQueueBindOk: IMethod { - } - /// Autogenerated type. AMQP specification method "queue.unbind". - /// - /// This method unbinds a queue from an exchange. - /// - public interface IQueueUnbind: IMethod { - /// - /// - /// The client provides a valid access ticket giving "active" - /// access rights to the queue's access realm. - /// - /// - ushort Ticket { get; } - /// - /// Specifies the name of the queue to unbind. - /// - string Queue { get; } - /// - /// The name of the exchange to unbind from. - /// - string Exchange { get; } - /// - /// Specifies the routing key of the binding to unbind. - /// - string RoutingKey { get; } - /// - /// Specifies the arguments of the binding to unbind. - /// - System.Collections.IDictionary Arguments { get; } - } - /// Autogenerated type. AMQP specification method "queue.unbind-ok". - /// - /// This method confirms that the unbind was successful. - /// - public interface IQueueUnbindOk: IMethod { - } - /// Autogenerated type. AMQP specification method "queue.purge". - /// - /// - /// This method removes all messages from a queue. It does not cancel consumers. Purged - /// messages are deleted without any formal "undo" mechanism. - /// - /// - public interface IQueuePurge: IMethod { - /// - /// The access ticket must be for the access realm that holds the queue. - /// - ushort Ticket { get; } - /// - /// - /// Specifies the name of the queue to purge. If the queue name is empty, refers to - /// the current queue for the channel, which is the last declared queue. - /// - /// - string Queue { get; } - /// - /// - /// If set, the server will not respond to the method. The client should not wait - /// for a reply method. If the server could not complete the method it will raise a - /// channel or connection exception. - /// - /// - bool Nowait { get; } - } - /// Autogenerated type. AMQP specification method "queue.purge-ok". - /// - /// This method confirms the purge of a queue. - /// - public interface IQueuePurgeOk: IMethod { - /// - /// Reports the number of messages purged. - /// - uint MessageCount { get; } - } - /// Autogenerated type. AMQP specification method "queue.delete". - /// - /// - /// This method deletes a queue. When a queue is deleted any pending messages are sent - /// to a dead-letter queue if this is defined in the server configuration, and all - /// consumers on the queue are cancelled. - /// - /// - public interface IQueueDelete: IMethod { - /// - /// - /// The client provides a valid access ticket giving "active" access rights to the - /// queue's access realm. - /// - /// - ushort Ticket { get; } - /// - /// - /// Specifies the name of the queue to delete. If the queue name is empty, refers to - /// the current queue for the channel, which is the last declared queue. - /// - /// - string Queue { get; } - /// - /// - /// If set, the server will only delete the queue if it has no consumers. If the - /// queue has consumers the server does does not delete it but raises a channel - /// exception instead. - /// - /// - bool IfUnused { get; } - /// - /// - /// If set, the server will only delete the queue if it has no messages. - /// - /// - bool IfEmpty { get; } - /// - /// - /// If set, the server will not respond to the method. The client should not wait - /// for a reply method. If the server could not complete the method it will raise a - /// channel or connection exception. - /// - /// - bool Nowait { get; } - } - /// Autogenerated type. AMQP specification method "queue.delete-ok". - /// - /// This method confirms the deletion of a queue. - /// - public interface IQueueDeleteOk: IMethod { - /// - /// Reports the number of messages purged. - /// - uint MessageCount { get; } - } - /// Autogenerated type. AMQP specification method "basic.qos". - /// - /// - /// This method requests a specific quality of service. The QoS can be specified for the - /// current channel or for all channels on the connection. The particular properties and - /// semantics of a qos method always depend on the content class semantics. Though the - /// qos method could in principle apply to both peers, it is currently meaningful only - /// for the server. - /// - /// - public interface IBasicQos: IMethod { - /// - /// - /// The client can request that messages be sent in advance so that when the client - /// finishes processing a message, the following message is already held locally, - /// rather than needing to be sent down the channel. Prefetching gives a performance - /// improvement. This field specifies the prefetch window size in octets. The server - /// will send a message in advance if it is equal to or smaller in size than the - /// available prefetch size (and also falls into other prefetch limits). May be set - /// to zero, meaning "no specific limit", although other prefetch limits may still - /// apply. The prefetch-size is ignored if the no-ack option is set. - /// - /// - uint PrefetchSize { get; } - /// - /// - /// Specifies a prefetch window in terms of whole messages. This field may be used - /// in combination with the prefetch-size field; a message will only be sent in - /// advance if both prefetch windows (and those at the channel and connection level) - /// allow it. The prefetch-count is ignored if the no-ack option is set. - /// - /// - ushort PrefetchCount { get; } - /// - /// - /// By default the QoS settings apply to the current channel only. If this field is - /// set, they are applied to the entire connection. - /// - /// - bool Global { get; } - } - /// Autogenerated type. AMQP specification method "basic.qos-ok". - /// - /// - /// This method tells the client that the requested QoS levels could be handled by the - /// server. The requested QoS applies to all active consumers until a new QoS is - /// defined. - /// - /// - public interface IBasicQosOk: IMethod { - } - /// Autogenerated type. AMQP specification method "basic.consume". - /// - /// - /// This method asks the server to start a "consumer", which is a transient request for - /// messages from a specific queue. Consumers last as long as the channel they were - /// created on, or until the client cancels them. - /// - /// - public interface IBasicConsume: IMethod { - // (no documentation) - ushort Ticket { get; } - /// - /// - /// Specifies the name of the queue to consume from. If the queue name is null, - /// refers to the current queue for the channel, which is the last declared queue. - /// - /// - string Queue { get; } - /// - /// - /// Specifies the identifier for the consumer. The consumer tag is local to a - /// connection, so two clients can use the same consumer tags. If this field is - /// empty the server will generate a unique tag. - /// - /// - string ConsumerTag { get; } - // (no documentation) - bool NoLocal { get; } - // (no documentation) - bool NoAck { get; } - /// - /// - /// Request exclusive consumer access, meaning only this consumer can access the - /// queue. - /// - /// - bool Exclusive { get; } - /// - /// - /// If set, the server will not respond to the method. The client should not wait - /// for a reply method. If the server could not complete the method it will raise - /// a channel or connection exception. - /// - /// - bool Nowait { get; } - /// - /// - /// A set of filters for the consume. The syntax and semantics - /// of these filters depends on the providers implementation. - /// - /// - System.Collections.IDictionary Filter { get; } - } - /// Autogenerated type. AMQP specification method "basic.consume-ok". - /// - /// - /// The server provides the client with a consumer tag, which is used by the client - /// for methods called on the consumer at a later stage. - /// - /// - public interface IBasicConsumeOk: IMethod { - /// - /// - /// Holds the consumer tag specified by the client or provided by the server. - /// - /// - string ConsumerTag { get; } - } - /// Autogenerated type. AMQP specification method "basic.cancel". - /// - /// - /// This method cancels a consumer. This does not affect already delivered - /// messages, but it does mean the server will not send any more messages for - /// that consumer. The client may receive an arbitrary number of messages in - /// between sending the cancel method and receiving the cancel-ok reply. - /// - /// - public interface IBasicCancel: IMethod { - // (no documentation) - string ConsumerTag { get; } - /// - /// - /// If set, the server will not respond to the method. The client should not wait - /// for a reply method. If the server could not complete the method it will raise a - /// channel or connection exception. - /// - /// - bool Nowait { get; } - } - /// Autogenerated type. AMQP specification method "basic.cancel-ok". - /// - /// - /// This method confirms that the cancellation was completed. - /// - /// - public interface IBasicCancelOk: IMethod { - // (no documentation) - string ConsumerTag { get; } - } - /// Autogenerated type. AMQP specification method "basic.publish". - /// - /// - /// This method publishes a message to a specific exchange. The message will be routed - /// to queues as defined by the exchange configuration and distributed to any active - /// consumers when the transaction, if any, is committed. - /// - /// - public interface IBasicPublish: IMethod { - // (no documentation) - ushort Ticket { get; } - /// - /// - /// Specifies the name of the exchange to publish to. The exchange name can be - /// empty, meaning the default exchange. If the exchange name is specified, and that - /// exchange does not exist, the server will raise a channel exception. - /// - /// - string Exchange { get; } - /// - /// - /// Specifies the routing key for the message. The routing key is used for routing - /// messages depending on the exchange configuration. - /// - /// - string RoutingKey { get; } - /// - /// - /// This flag tells the server how to react if the message cannot be routed to a - /// queue. If this flag is set, the server will return an unroutable message with a - /// Return method. If this flag is zero, the server silently drops the message. - /// - /// - bool Mandatory { get; } - /// - /// - /// This flag tells the server how to react if the message cannot be routed to a - /// queue consumer immediately. If this flag is set, the server will return an - /// undeliverable message with a Return method. If this flag is zero, the server - /// will queue the message, but with no guarantee that it will ever be consumed. - /// - /// - bool Immediate { get; } - } - /// Autogenerated type. AMQP specification method "basic.return". - /// - /// - /// This method returns an undeliverable message that was published with the "immediate" - /// flag set, or an unroutable message published with the "mandatory" flag set. The - /// reply code and text provide information about the reason that the message was - /// undeliverable. - /// - /// - public interface IBasicReturn: IMethod { - // (no documentation) - ushort ReplyCode { get; } - // (no documentation) - string ReplyText { get; } - /// - /// - /// Specifies the name of the exchange that the message was originally published to. - /// - /// - string Exchange { get; } - /// - /// - /// Specifies the routing key name specified when the message was published. - /// - /// - string RoutingKey { get; } - } - /// Autogenerated type. AMQP specification method "basic.deliver". - /// - /// - /// This method delivers a message to the client, via a consumer. In the asynchronous - /// message delivery model, the client starts a consumer using the Consume method, then - /// the server responds with Deliver methods as and when messages arrive for that - /// consumer. - /// - /// - public interface IBasicDeliver: IMethod { - // (no documentation) - string ConsumerTag { get; } - // (no documentation) - ulong DeliveryTag { get; } - // (no documentation) - bool Redelivered { get; } - /// - /// - /// Specifies the name of the exchange that the message was originally published to. - /// - /// - string Exchange { get; } - /// - /// Specifies the routing key name specified when the message was published. - /// - string RoutingKey { get; } - } - /// Autogenerated type. AMQP specification method "basic.get". - /// - /// - /// This method provides a direct access to the messages in a queue using a synchronous - /// dialogue that is designed for specific types of application where synchronous - /// functionality is more important than performance. - /// - /// - public interface IBasicGet: IMethod { - // (no documentation) - ushort Ticket { get; } - /// - /// - /// Specifies the name of the queue to consume from. If the queue name is null, - /// refers to the current queue for the channel, which is the last declared queue. - /// - /// - string Queue { get; } - // (no documentation) - bool NoAck { get; } - } - /// Autogenerated type. AMQP specification method "basic.get-ok". - /// - /// - /// This method delivers a message to the client following a get method. A message - /// delivered by 'get-ok' must be acknowledged unless the no-ack option was set in the - /// get method. - /// - /// - public interface IBasicGetOk: IMethod { - // (no documentation) - ulong DeliveryTag { get; } - // (no documentation) - bool Redelivered { get; } - /// - /// - /// Specifies the name of the exchange that the message was originally published to. - /// If empty, the message was published to the default exchange. - /// - /// - string Exchange { get; } - /// - /// Specifies the routing key name specified when the message was published. - /// - string RoutingKey { get; } - /// - /// - /// This field reports the number of messages pending on the queue, excluding the - /// message being delivered. Note that this figure is indicative, not reliable, and - /// can change arbitrarily as messages are added to the queue and removed by other - /// clients. - /// - /// - uint MessageCount { get; } - } - /// Autogenerated type. AMQP specification method "basic.get-empty". - /// - /// - /// This method tells the client that the queue has no messages available for the - /// client. - /// - /// - public interface IBasicGetEmpty: IMethod { - /// - /// - /// For use by cluster applications, should not be used by client applications. - /// - /// - string ClusterId { get; } - } - /// Autogenerated type. AMQP specification method "basic.ack". - /// - /// - /// This method acknowledges one or more messages delivered via the Deliver or Get-Ok - /// methods. The client can ask to confirm a single message or a set of messages up to - /// and including a specific message. - /// - /// - public interface IBasicAck: IMethod { - // (no documentation) - ulong DeliveryTag { get; } - /// - /// - /// If set to 1, the delivery tag is treated as "up to and including", so that the - /// client can acknowledge multiple messages with a single method. If set to zero, - /// the delivery tag refers to a single message. If the multiple field is 1, and the - /// delivery tag is zero, tells the server to acknowledge all outstanding messages. - /// - /// - bool Multiple { get; } - } - /// Autogenerated type. AMQP specification method "basic.reject". - /// - /// - /// This method allows a client to reject a message. It can be used to interrupt and - /// cancel large incoming messages, or return untreatable messages to their original - /// queue. - /// - /// - public interface IBasicReject: IMethod { - // (no documentation) - ulong DeliveryTag { get; } - /// - /// - /// If this field is zero, the message will be discarded. If this bit is 1, the - /// server will attempt to requeue the message. - /// - /// - bool Requeue { get; } - } - /// Autogenerated type. AMQP specification method "basic.recover". - /// - /// - /// This method asks the broker to redeliver all unacknowledged messages on a specified - /// channel. Zero or more messages may be redelivered. This method is only allowed on - /// non-transacted channels. - /// - /// - public interface IBasicRecover: IMethod { - /// - /// - /// If this field is zero, the message will be redelivered to the original - /// recipient. If this bit is 1, the server will attempt to requeue the message, - /// potentially then delivering it to an alternative subscriber. - /// - /// - bool Requeue { get; } - } - /// Autogenerated type. AMQP specification method "file.qos". - /// - /// - /// This method requests a specific quality of service. The QoS can be specified for the - /// current channel or for all channels on the connection. The particular properties and - /// semantics of a qos method always depend on the content class semantics. Though the - /// qos method could in principle apply to both peers, it is currently meaningful only - /// for the server. - /// - /// - public interface IFileQos: IMethod { - /// - /// - /// The client can request that messages be sent in advance so that when the client - /// finishes processing a message, the following message is already held locally, - /// rather than needing to be sent down the channel. Prefetching gives a performance - /// improvement. This field specifies the prefetch window size in octets. May be set - /// to zero, meaning "no specific limit". Note that other prefetch limits may still - /// apply. The prefetch-size is ignored if the no-ack option is set. - /// - /// - uint PrefetchSize { get; } - /// - /// - /// Specifies a prefetch window in terms of whole messages. This is compatible with - /// some file API implementations. This field may be used in combination with the - /// prefetch-size field; a message will only be sent in advance if both prefetch - /// windows (and those at the channel and connection level) allow it. The - /// prefetch-count is ignored if the no-ack option is set. - /// - /// - ushort PrefetchCount { get; } - /// - /// - /// By default the QoS settings apply to the current channel only. If this field is - /// set, they are applied to the entire connection. - /// - /// - bool Global { get; } - } - /// Autogenerated type. AMQP specification method "file.qos-ok". - /// - /// - /// This method tells the client that the requested QoS levels could be handled by the - /// server. The requested QoS applies to all active consumers until a new QoS is - /// defined. - /// - /// - public interface IFileQosOk: IMethod { - } - /// Autogenerated type. AMQP specification method "file.consume". - /// - /// - /// This method asks the server to start a "consumer", which is a transient request for - /// messages from a specific queue. Consumers last as long as the channel they were - /// created on, or until the client cancels them. - /// - /// - public interface IFileConsume: IMethod { - // (no documentation) - ushort Ticket { get; } - /// - /// - /// Specifies the name of the queue to consume from. If the queue name is null, - /// refers to the current queue for the channel, which is the last declared queue. - /// - /// - string Queue { get; } - /// - /// - /// Specifies the identifier for the consumer. The consumer tag is local to a - /// connection, so two clients can use the same consumer tags. If this field is - /// empty the server will generate a unique tag. - /// - /// - string ConsumerTag { get; } - // (no documentation) - bool NoLocal { get; } - // (no documentation) - bool NoAck { get; } - /// - /// - /// Request exclusive consumer access, meaning only this consumer can access the - /// queue. - /// - /// - bool Exclusive { get; } - /// - /// - /// If set, the server will not respond to the method. The client should not wait - /// for a reply method. If the server could not complete the method it will raise a - /// channel or connection exception. - /// - /// - bool Nowait { get; } - /// - /// - /// A set of filters for the consume. The syntax and semantics - /// of these filters depends on the providers implementation. - /// - /// - System.Collections.IDictionary Filter { get; } - } - /// Autogenerated type. AMQP specification method "file.consume-ok". - /// - /// - /// This method provides the client with a consumer tag which it MUST use in methods - /// that work with the consumer. - /// - /// - public interface IFileConsumeOk: IMethod { - /// - /// Holds the consumer tag specified by the client or provided by the server. - /// - string ConsumerTag { get; } - } - /// Autogenerated type. AMQP specification method "file.cancel". - /// - /// - /// This method cancels a consumer. This does not affect already delivered messages, but - /// it does mean the server will not send any more messages for that consumer. - /// - /// - public interface IFileCancel: IMethod { - // (no documentation) - string ConsumerTag { get; } - /// - /// - /// If set, the server will not respond to the method. The client should not wait - /// for a reply method. If the server could not complete the method it will raise a - /// channel or connection exception. - /// - /// - bool Nowait { get; } - } - /// Autogenerated type. AMQP specification method "file.cancel-ok". - /// - /// This method confirms that the cancellation was completed. - /// - public interface IFileCancelOk: IMethod { - // (no documentation) - string ConsumerTag { get; } - } - /// Autogenerated type. AMQP specification method "file.open". - /// - /// - /// This method requests permission to start staging a message. Staging means sending - /// the message into a temporary area at the recipient end and then delivering the - /// message by referring to this temporary area. Staging is how the protocol handles - /// partial file transfers - if a message is partially staged and the connection breaks, - /// the next time the sender starts to stage it, it can restart from where it left off. - /// - /// - public interface IFileOpen: IMethod { - /// - /// - /// This is the staging identifier. This is an arbitrary string chosen by the - /// sender. For staging to work correctly the sender must use the same staging - /// identifier when staging the same message a second time after recovery from a - /// failure. A good choice for the staging identifier would be the SHA1 hash of the - /// message properties data (including the original filename, revised time, etc.). - /// - /// - string Identifier { get; } - /// - /// - /// The size of the content in octets. The recipient may use this information to - /// allocate or check available space in advance, to avoid "disk full" errors during - /// staging of very large messages. - /// - /// - ulong ContentSize { get; } - } - /// Autogenerated type. AMQP specification method "file.open-ok". - /// - /// - /// This method confirms that the recipient is ready to accept staged data. If the - /// message was already partially-staged at a previous time the recipient will report - /// the number of octets already staged. - /// - /// - public interface IFileOpenOk: IMethod { - /// - /// - /// The amount of previously-staged content in octets. For a new message this will - /// be zero. - /// - /// - ulong StagedSize { get; } - } - /// Autogenerated type. AMQP specification method "file.stage". - /// - /// - /// This method stages the message, sending the message content to the recipient from - /// the octet offset specified in the Open-Ok method. - /// - /// - public interface IFileStage: IMethod { - } - /// Autogenerated type. AMQP specification method "file.publish". - /// - /// - /// This method publishes a staged file message to a specific exchange. The file message - /// will be routed to queues as defined by the exchange configuration and distributed to - /// any active consumers when the transaction, if any, is committed. - /// - /// - public interface IFilePublish: IMethod { - // (no documentation) - ushort Ticket { get; } - /// - /// - /// Specifies the name of the exchange to publish to. The exchange name can be - /// empty, meaning the default exchange. If the exchange name is specified, and that - /// exchange does not exist, the server will raise a channel exception. - /// - /// - string Exchange { get; } - /// - /// - /// Specifies the routing key for the message. The routing key is used for routing - /// messages depending on the exchange configuration. - /// - /// - string RoutingKey { get; } - /// - /// - /// This flag tells the server how to react if the message cannot be routed to a - /// queue. If this flag is set, the server will return an unroutable message with a - /// Return method. If this flag is zero, the server silently drops the message. - /// - /// - bool Mandatory { get; } - /// - /// - /// This flag tells the server how to react if the message cannot be routed to a - /// queue consumer immediately. If this flag is set, the server will return an - /// undeliverable message with a Return method. If this flag is zero, the server - /// will queue the message, but with no guarantee that it will ever be consumed. - /// - /// - bool Immediate { get; } - /// - /// - /// This is the staging identifier of the message to publish. The message must have - /// been staged. Note that a client can send the Publish method asynchronously - /// without waiting for staging to finish. - /// - /// - string Identifier { get; } - } - /// Autogenerated type. AMQP specification method "file.return". - /// - /// - /// This method returns an undeliverable message that was published with the "immediate" - /// flag set, or an unroutable message published with the "mandatory" flag set. The - /// reply code and text provide information about the reason that the message was - /// undeliverable. - /// - /// - public interface IFileReturn: IMethod { - // (no documentation) - ushort ReplyCode { get; } - // (no documentation) - string ReplyText { get; } - /// - /// - /// Specifies the name of the exchange that the message was originally published to. - /// - /// - string Exchange { get; } - /// - /// Specifies the routing key name specified when the message was published. - /// - string RoutingKey { get; } - } - /// Autogenerated type. AMQP specification method "file.deliver". - /// - /// - /// This method delivers a staged file message to the client, via a consumer. In the - /// asynchronous message delivery model, the client starts a consumer using the Consume - /// method, then the server responds with Deliver methods as and when messages arrive - /// for that consumer. - /// - /// - public interface IFileDeliver: IMethod { - // (no documentation) - string ConsumerTag { get; } - // (no documentation) - ulong DeliveryTag { get; } - // (no documentation) - bool Redelivered { get; } - /// - /// - /// Specifies the name of the exchange that the message was originally published to. - /// - /// - string Exchange { get; } - /// - /// Specifies the routing key name specified when the message was published. - /// - string RoutingKey { get; } - /// - /// - /// This is the staging identifier of the message to deliver. The message must have - /// been staged. Note that a server can send the Deliver method asynchronously - /// without waiting for staging to finish. - /// - /// - string Identifier { get; } - } - /// Autogenerated type. AMQP specification method "file.ack". - /// - /// - /// This method acknowledges one or more messages delivered via the Deliver method. The - /// client can ask to confirm a single message or a set of messages up to and including - /// a specific message. - /// - /// - public interface IFileAck: IMethod { - // (no documentation) - ulong DeliveryTag { get; } - /// - /// - /// If set to 1, the delivery tag is treated as "up to and including", so that the - /// client can acknowledge multiple messages with a single method. If set to zero, - /// the delivery tag refers to a single message. If the multiple field is 1, and the - /// delivery tag is zero, tells the server to acknowledge all outstanding messages. - /// - /// - bool Multiple { get; } - } - /// Autogenerated type. AMQP specification method "file.reject". - /// - /// - /// This method allows a client to reject a message. It can be used to return - /// untreatable messages to their original queue. Note that file content is staged - /// before delivery, so the client will not use this method to interrupt delivery of a - /// large message. - /// - /// - public interface IFileReject: IMethod { - // (no documentation) - ulong DeliveryTag { get; } - /// - /// - /// If this field is zero, the message will be discarded. If this bit is 1, the - /// server will attempt to requeue the message. - /// - /// - bool Requeue { get; } - } - /// Autogenerated type. AMQP specification method "stream.qos". - /// - /// - /// This method requests a specific quality of service. The QoS can be specified for the - /// current channel or for all channels on the connection. The particular properties and - /// semantics of a qos method always depend on the content class semantics. Though the - /// qos method could in principle apply to both peers, it is currently meaningful only - /// for the server. - /// - /// - public interface IStreamQos: IMethod { - /// - /// - /// The client can request that messages be sent in advance so that when the client - /// finishes processing a message, the following message is already held locally, - /// rather than needing to be sent down the channel. Prefetching gives a performance - /// improvement. This field specifies the prefetch window size in octets. May be set - /// to zero, meaning "no specific limit". Note that other prefetch limits may still - /// apply. - /// - /// - uint PrefetchSize { get; } - /// - /// - /// Specifies a prefetch window in terms of whole messages. This field may be used - /// in combination with the prefetch-size field; a message will only be sent in - /// advance if both prefetch windows (and those at the channel and connection level) - /// allow it. - /// - /// - ushort PrefetchCount { get; } - /// - /// - /// Specifies a desired transfer rate in octets per second. This is usually - /// determined by the application that uses the streaming data. A value of zero - /// means "no limit", i.e. as rapidly as possible. - /// - /// - uint ConsumeRate { get; } - /// - /// - /// By default the QoS settings apply to the current channel only. If this field is - /// set, they are applied to the entire connection. - /// - /// - bool Global { get; } - } - /// Autogenerated type. AMQP specification method "stream.qos-ok". - /// - /// - /// This method tells the client that the requested QoS levels could be handled by the - /// server. The requested QoS applies to all active consumers until a new QoS is - /// defined. - /// - /// - public interface IStreamQosOk: IMethod { - } - /// Autogenerated type. AMQP specification method "stream.consume". - /// - /// - /// This method asks the server to start a "consumer", which is a transient request for - /// messages from a specific queue. Consumers last as long as the channel they were - /// created on, or until the client cancels them. - /// - /// - public interface IStreamConsume: IMethod { - // (no documentation) - ushort Ticket { get; } - /// - /// - /// Specifies the name of the queue to consume from. If the queue name is null, - /// refers to the current queue for the channel, which is the last declared queue. - /// - /// - string Queue { get; } - /// - /// - /// Specifies the identifier for the consumer. The consumer tag is local to a - /// connection, so two clients can use the same consumer tags. If this field is - /// empty the server will generate a unique tag. - /// - /// - string ConsumerTag { get; } - // (no documentation) - bool NoLocal { get; } - /// - /// - /// Request exclusive consumer access, meaning only this consumer can access the - /// queue. - /// - /// - bool Exclusive { get; } - /// - /// - /// If set, the server will not respond to the method. The client should not wait - /// for a reply method. If the server could not complete the method it will raise a - /// channel or connection exception. - /// - /// - bool Nowait { get; } - /// - /// - /// A set of filters for the consume. The syntax and semantics - /// of these filters depends on the providers implementation. - /// - /// - System.Collections.IDictionary Filter { get; } - } - /// Autogenerated type. AMQP specification method "stream.consume-ok". - /// - /// - /// This method provides the client with a consumer tag which it may use in methods that - /// work with the consumer. - /// - /// - public interface IStreamConsumeOk: IMethod { - /// - /// Holds the consumer tag specified by the client or provided by the server. - /// - string ConsumerTag { get; } - } - /// Autogenerated type. AMQP specification method "stream.cancel". - /// - /// - /// This method cancels a consumer. Since message delivery is asynchronous the client - /// may continue to receive messages for a short while after cancelling a consumer. It - /// may process or discard these as appropriate. - /// - /// - public interface IStreamCancel: IMethod { - // (no documentation) - string ConsumerTag { get; } - /// - /// - /// If set, the server will not respond to the method. The client should not wait - /// for a reply method. If the server could not complete the method it will raise a - /// channel or connection exception. - /// - /// - bool Nowait { get; } - } - /// Autogenerated type. AMQP specification method "stream.cancel-ok". - /// - /// This method confirms that the cancellation was completed. - /// - public interface IStreamCancelOk: IMethod { - // (no documentation) - string ConsumerTag { get; } - } - /// Autogenerated type. AMQP specification method "stream.publish". - /// - /// - /// This method publishes a message to a specific exchange. The message will be routed - /// to queues as defined by the exchange configuration and distributed to any active - /// consumers as appropriate. - /// - /// - public interface IStreamPublish: IMethod { - // (no documentation) - ushort Ticket { get; } - /// - /// - /// Specifies the name of the exchange to publish to. The exchange name can be - /// empty, meaning the default exchange. If the exchange name is specified, and that - /// exchange does not exist, the server will raise a channel exception. - /// - /// - string Exchange { get; } - /// - /// - /// Specifies the routing key for the message. The routing key is used for routing - /// messages depending on the exchange configuration. - /// - /// - string RoutingKey { get; } - /// - /// - /// This flag tells the server how to react if the message cannot be routed to a - /// queue. If this flag is set, the server will return an unroutable message with a - /// Return method. If this flag is zero, the server silently drops the message. - /// - /// - bool Mandatory { get; } - /// - /// - /// This flag tells the server how to react if the message cannot be routed to a - /// queue consumer immediately. If this flag is set, the server will return an - /// undeliverable message with a Return method. If this flag is zero, the server - /// will queue the message, but with no guarantee that it will ever be consumed. - /// - /// - bool Immediate { get; } - } - /// Autogenerated type. AMQP specification method "stream.return". - /// - /// - /// This method returns an undeliverable message that was published with the "immediate" - /// flag set, or an unroutable message published with the "mandatory" flag set. The - /// reply code and text provide information about the reason that the message was - /// undeliverable. - /// - /// - public interface IStreamReturn: IMethod { - // (no documentation) - ushort ReplyCode { get; } - // (no documentation) - string ReplyText { get; } - /// - /// - /// Specifies the name of the exchange that the message was originally published to. - /// - /// - string Exchange { get; } - /// - /// Specifies the routing key name specified when the message was published. - /// - string RoutingKey { get; } - } - /// Autogenerated type. AMQP specification method "stream.deliver". - /// - /// - /// This method delivers a message to the client, via a consumer. In the asynchronous - /// message delivery model, the client starts a consumer using the Consume method, then - /// the server responds with Deliver methods as and when messages arrive for that - /// consumer. - /// - /// - public interface IStreamDeliver: IMethod { - // (no documentation) - string ConsumerTag { get; } - // (no documentation) - ulong DeliveryTag { get; } - /// - /// - /// Specifies the name of the exchange that the message was originally published to. - /// - /// - string Exchange { get; } - /// - /// - /// Specifies the name of the queue that the message came from. Note that a single - /// channel can start many consumers on different queues. - /// - /// - string Queue { get; } - } - /// Autogenerated type. AMQP specification method "tx.select". - /// - /// - /// This method sets the channel to use standard transactions. The client must use this - /// method at least once on a channel before using the Commit or Rollback methods. - /// - /// - public interface ITxSelect: IMethod { - } - /// Autogenerated type. AMQP specification method "tx.select-ok". - /// - /// - /// This method confirms to the client that the channel was successfully set to use - /// standard transactions. - /// - /// - public interface ITxSelectOk: IMethod { - } - /// Autogenerated type. AMQP specification method "tx.commit". - /// - /// - /// This method commits all messages published and acknowledged in the current - /// transaction. A new transaction starts immediately after a commit. - /// - /// - public interface ITxCommit: IMethod { - } - /// Autogenerated type. AMQP specification method "tx.commit-ok". - /// - /// - /// This method confirms to the client that the commit succeeded. Note that if a commit - /// fails, the server raises a channel exception. - /// - /// - public interface ITxCommitOk: IMethod { - } - /// Autogenerated type. AMQP specification method "tx.rollback". - /// - /// - /// This method abandons all messages published and acknowledged in the current - /// transaction. A new transaction starts immediately after a rollback. - /// - /// - public interface ITxRollback: IMethod { - } - /// Autogenerated type. AMQP specification method "tx.rollback-ok". - /// - /// - /// This method confirms to the client that the rollback succeeded. Note that if an - /// rollback fails, the server raises a channel exception. - /// - /// - public interface ITxRollbackOk: IMethod { - } - /// Autogenerated type. AMQP specification method "dtx.select". - /// - /// - /// This method sets the channel to use distributed transactions. The client must use - /// this method at least once on a channel before using the Start method. - /// - /// - public interface IDtxSelect: IMethod { - } - /// Autogenerated type. AMQP specification method "dtx.select-ok". - /// - /// - /// This method confirms to the client that the channel was successfully set to use - /// distributed transactions. - /// - /// - public interface IDtxSelectOk: IMethod { - } - /// Autogenerated type. AMQP specification method "dtx.start". - /// - /// - /// This method starts a new distributed transaction. This must be the first method on a - /// new channel that uses the distributed transaction mode, before any methods that - /// publish or consume messages. - /// - /// - public interface IDtxStart: IMethod { - /// - /// - /// The distributed transaction key. This identifies the transaction so that the - /// AMQP server can coordinate with the distributed transaction coordinator. - /// - /// - string DtxIdentifier { get; } - } - /// Autogenerated type. AMQP specification method "dtx.start-ok". - /// - /// - /// This method confirms to the client that the transaction started. Note that if a - /// start fails, the server raises a channel exception. - /// - /// - public interface IDtxStartOk: IMethod { - } - /// Autogenerated type. AMQP specification method "tunnel.request". - /// - /// - /// This method tunnels a block of binary data, which can be an encoded - /// AMQP method or other data. The binary data is sent as the content for - /// the Tunnel.Request method. - /// - /// - public interface ITunnelRequest: IMethod { - /// - /// - /// This field table holds arbitrary meta-data that the sender needs to - /// pass to the recipient. - /// - /// - System.Collections.IDictionary MetaData { get; } - } - /// Autogenerated type. AMQP specification method "message.transfer". - /// - /// - /// [WORK IN PROGRESS] This method transfers a message between two peers. When a - /// client uses this method to publish a message to a broker, the - /// destination identifies a specific exchange. The message will - /// then be routed to queues as defined by the exchange - /// configuration and distributed to any active consumers when the - /// transaction, if any, is committed. - /// - /// In the asynchronous message delivery model, the client starts - /// a consumer using the Consume method and passing in a - /// destination, then the broker responds with transfer methods to - /// the specified destination as and when messages arrive for that - /// consumer. - /// - /// If synchronous message delivery is required, the client may - /// issue a get request which on success causes a single message - /// to be transferred to the specified destination. - /// - /// Message acknowledgement is signalled by the return result of - /// this method. - /// - /// - public interface IMessageTransfer: IMethod { - // (no documentation) - ushort Ticket { get; } - /// - /// - /// Specifies the destination to which the message is to be - /// transferred. The destination can be empty, meaning the - /// default exchange or consumer. If the destination is - /// specified, and that exchange or consumer does not exist, the - /// peer must raise a channel exception. - /// - /// - string Destination { get; } - // (no documentation) - bool Redelivered { get; } - /// - /// - /// This flag tells the server how to react if the message - /// cannot be routed to a queue consumer immediately. If this - /// flag is set, the server will reject the message. If this - /// flag is zero, the server will queue the message, but with no - /// guarantee that it will ever be consumed. - /// - /// - bool Immediate { get; } - /// - /// - /// If this is set to a non zero value then a message expiration - /// time will be computed based on the current time plus this - /// value. Messages that live longer than their expiration time - /// will be discarded (or dead lettered). - /// - /// - ulong Ttl { get; } - // (no documentation) - byte Priority { get; } - /// - /// - /// Set on arrival by the broker. - /// - /// - AmqpTimestamp Timestamp { get; } - // (no documentation) - byte DeliveryMode { get; } - /// - /// - /// The expiration header assigned by the broker. After - /// receiving the message the broker sets expiration to the sum - /// of the ttl specified in the publish method and the current - /// time. (ttl = expiration - timestamp) - /// - /// - AmqpTimestamp Expiration { get; } - // (no documentation) - string Exchange { get; } - // (no documentation) - string RoutingKey { get; } - // (no documentation) - string MessageId { get; } - // (no documentation) - string CorrelationId { get; } - // (no documentation) - string ReplyTo { get; } - // (no documentation) - string ContentType { get; } - // (no documentation) - string ContentEncoding { get; } - // (no documentation) - string UserId { get; } - // (no documentation) - string AppId { get; } - // (no documentation) - string TransactionId { get; } - // (no documentation) - byte[] SecurityToken { get; } - // (no documentation) - System.Collections.IDictionary ApplicationHeaders { get; } - // (no documentation) - byte[] Body { get; } - } - /// Autogenerated type. AMQP specification method "message.consume". - /// - /// - /// [WORK IN PROGRESS] This method asks the server to start a "consumer", which is a transient request for - /// messages from a specific queue. Consumers last as long as the channel they were - /// created on, or until the client cancels them. - /// - /// - public interface IMessageConsume: IMethod { - // (no documentation) - ushort Ticket { get; } - /// - /// - /// Specifies the name of the queue to consume from. If the queue name is null, - /// refers to the current queue for the channel, which is the last declared queue. - /// - /// - string Queue { get; } - /// - /// - /// Specifies the destination for the consumer. The destination is local to a - /// connection, so two clients can use the same destination. - /// - /// - string Destination { get; } - // (no documentation) - bool NoLocal { get; } - // (no documentation) - bool NoAck { get; } - /// - /// - /// Request exclusive consumer access, meaning only this consumer can access the - /// queue. - /// - /// - bool Exclusive { get; } - /// - /// - /// A set of filters for the consume. The syntax and semantics - /// of these filters depends on the providers implementation. - /// - /// - System.Collections.IDictionary Filter { get; } - } - /// Autogenerated type. AMQP specification method "message.cancel". - /// - /// - /// [WORK IN PROGRESS] This method cancels a consumer. This does not affect already delivered - /// messages, but it does mean the server will not send any more messages for - /// that consumer. The client may receive an arbitrary number of messages in - /// between sending the cancel method and receiving the cancel-ok reply. - /// - /// - public interface IMessageCancel: IMethod { - // (no documentation) - string Destination { get; } - } - /// Autogenerated type. AMQP specification method "message.get". - /// - /// - /// [WORK IN PROGRESS] This method provides a direct access to the messages in a queue using a synchronous - /// dialogue that is designed for specific types of application where synchronous - /// functionality is more important than performance. - /// - /// - public interface IMessageGet: IMethod { - // (no documentation) - ushort Ticket { get; } - /// - /// - /// Specifies the name of the queue to consume from. If the queue name is null, - /// refers to the current queue for the channel, which is the last declared queue. - /// - /// - string Queue { get; } - /// - /// - /// On normal completion of the get request (i.e. a response of - /// ok). A message will be transferred to the supplied destination. - /// - /// - string Destination { get; } - // (no documentation) - bool NoAck { get; } - } - /// Autogenerated type. AMQP specification method "message.recover". - /// - /// - /// [WORK IN PROGRESS] This method asks the broker to redeliver all unacknowledged - /// messages on a specified channel. Zero or more messages may be - /// redelivered. This method is only allowed on non-transacted - /// channels. - /// - /// - public interface IMessageRecover: IMethod { - /// - /// - /// If this field is zero, the message will be redelivered to - /// the original recipient. If this bit is 1, the server will - /// attempt to requeue the message, potentially then delivering - /// it to an alternative subscriber. - /// - /// - bool Requeue { get; } - } - /// Autogenerated type. AMQP specification method "message.open". - /// - /// - /// [WORK IN PROGRESS] This method creates a reference. A references provides a means - /// to send a message body into a temporary area at the recipient - /// end and then deliver the message by referring to this - /// temporary area. This is how the protocol handles large message - /// transfers. - /// - /// The scope of a ref is defined to be between calls to - /// open (or resume) and close. Between these points it is valid - /// for a ref to be used from any content data type, and so the - /// receiver must hold onto its contents. Should the channel be - /// closed when a ref is still in scope, the receiver may discard - /// its contents (unless it is checkpointed). A ref that is in - /// scope is considered open. - /// - /// - public interface IMessageOpen: IMethod { - // (no documentation) - byte[] Reference { get; } - } - /// Autogenerated type. AMQP specification method "message.close". - /// - /// - /// [WORK IN PROGRESS] This method signals the recipient that no more data will be - /// appended to the reference. - /// - /// - public interface IMessageClose: IMethod { - // (no documentation) - byte[] Reference { get; } - } - /// Autogenerated type. AMQP specification method "message.append". - /// - /// - /// [WORK IN PROGRESS] This method appends data to a reference. - /// - /// - public interface IMessageAppend: IMethod { - // (no documentation) - byte[] Reference { get; } - // (no documentation) - byte[] Bytes { get; } - } - /// Autogenerated type. AMQP specification method "message.checkpoint". - /// - /// - /// [WORK IN PROGRESS] This method provides a means to checkpoint large message - /// transfer. The sender may ask the recipient to checkpoint the - /// contents of a reference using the supplied identifier. The - /// sender may then resume the transfer at a later point. It is at - /// the discretion of the recipient how much data to save with the - /// checkpoint, and the sender MUST honour the offset returned by - /// the resume method. - /// - /// - public interface IMessageCheckpoint: IMethod { - // (no documentation) - byte[] Reference { get; } - /// - /// - /// This is the checkpoint identifier. This is an arbitrary - /// string chosen by the sender. For checkpointing to work - /// correctly the sender must use the same checkpoint identifier - /// when resuming the message. A good choice for the checkpoint - /// identifier would be the SHA1 hash of the message properties - /// data (including the original filename, revised time, etc.). - /// - /// - string Identifier { get; } - } - /// Autogenerated type. AMQP specification method "message.resume". - /// - /// - /// [WORK IN PROGRESS] This method resumes a reference from the last checkpoint. A - /// reference is considered to be open (in scope) after a resume - /// even though it will not have been opened via the open method - /// during this session. - /// - /// - public interface IMessageResume: IMethod { - // (no documentation) - byte[] Reference { get; } - // (no documentation) - string Identifier { get; } - } - /// Autogenerated type. AMQP specification method "message.qos". - /// - /// - /// [WORK IN PROGRESS] This method requests a specific quality of service. The QoS can be specified for the - /// current channel or for all channels on the connection. The particular properties and - /// semantics of a qos method always depend on the content class semantics. Though the - /// qos method could in principle apply to both peers, it is currently meaningful only - /// for the server. - /// - /// - public interface IMessageQos: IMethod { - /// - /// - /// The client can request that messages be sent in advance so that when the client - /// finishes processing a message, the following message is already held locally, - /// rather than needing to be sent down the channel. Prefetching gives a performance - /// improvement. This field specifies the prefetch window size in octets. The server - /// will send a message in advance if it is equal to or smaller in size than the - /// available prefetch size (and also falls into other prefetch limits). May be set - /// to zero, meaning "no specific limit", although other prefetch limits may still - /// apply. The prefetch-size is ignored if the no-ack option is set. - /// - /// - uint PrefetchSize { get; } - /// - /// - /// Specifies a prefetch window in terms of whole messages. This field may be used - /// in combination with the prefetch-size field; a message will only be sent in - /// advance if both prefetch windows (and those at the channel and connection level) - /// allow it. The prefetch-count is ignored if the no-ack option is set. - /// - /// - ushort PrefetchCount { get; } - /// - /// - /// By default the QoS settings apply to the current channel only. If this field is - /// set, they are applied to the entire connection. - /// - /// - bool Global { get; } - } - /// Autogenerated type. AMQP specification method "message.ok". - /// - /// - /// [WORK IN PROGRESS] Signals the normal completion of a method. - /// - /// - public interface IMessageOk: IMethod { - } - /// Autogenerated type. AMQP specification method "message.empty". - /// - /// - /// [WORK IN PROGRESS] Signals that a queue does not contain any messages. - /// - /// - public interface IMessageEmpty: IMethod { - } - /// Autogenerated type. AMQP specification method "message.reject". - /// - /// - /// [WORK IN PROGRESS] This response rejects a message. A message may be rejected for - /// a number of reasons. - /// - /// - public interface IMessageReject: IMethod { - // (no documentation) - ushort Code { get; } - // (no documentation) - string Text { get; } - } - /// Autogenerated type. AMQP specification method "message.offset". - /// - /// - /// [WORK IN PROGRESS] Returns the data offset into a reference body. - /// - /// - public interface IMessageOffset: IMethod { - // (no documentation) - ulong Value { get; } - } - /// Autogenerated type. AMQP specification content header properties for content class "basic" - /// - /// - /// The Basic class provides methods that support an industry-standard messaging model. - /// - /// - public class BasicProperties: RabbitMQ.Client.Impl.BasicProperties { - private string m_contentType; - private string m_contentEncoding; - private System.Collections.IDictionary m_headers; - private byte m_deliveryMode; - private byte m_priority; - private string m_correlationId; - private string m_replyTo; - private string m_expiration; - private string m_messageId; - private AmqpTimestamp m_timestamp; - private string m_type; - private string m_userId; - private string m_appId; - private string m_clusterId; - - private bool contentType_present = false; - private bool contentEncoding_present = false; - private bool headers_present = false; - private bool deliveryMode_present = false; - private bool priority_present = false; - private bool correlationId_present = false; - private bool replyTo_present = false; - private bool expiration_present = false; - private bool messageId_present = false; - private bool timestamp_present = false; - private bool type_present = false; - private bool userId_present = false; - private bool appId_present = false; - private bool clusterId_present = false; - - /// - /// MIME content type - /// - public override string ContentType { - get { - return m_contentType; - } - set { - contentType_present = true; - m_contentType = value; - } - } - /// - /// MIME content encoding - /// - public override string ContentEncoding { - get { - return m_contentEncoding; - } - set { - contentEncoding_present = true; - m_contentEncoding = value; - } - } - /// - /// message header field table - /// - public override System.Collections.IDictionary Headers { - get { - return m_headers; - } - set { - headers_present = true; - m_headers = value; - } - } - /// - /// non-persistent (1) or persistent (2) - /// - public override byte DeliveryMode { - get { - return m_deliveryMode; - } - set { - deliveryMode_present = true; - m_deliveryMode = value; - } - } - /// - /// message priority, 0 to 9 - /// - public override byte Priority { - get { - return m_priority; - } - set { - priority_present = true; - m_priority = value; - } - } - /// - /// application correlation identifier - /// - public override string CorrelationId { - get { - return m_correlationId; - } - set { - correlationId_present = true; - m_correlationId = value; - } - } - /// - /// destination to reply to - /// - public override string ReplyTo { - get { - return m_replyTo; - } - set { - replyTo_present = true; - m_replyTo = value; - } - } - /// - /// message expiration specification - /// - public override string Expiration { - get { - return m_expiration; - } - set { - expiration_present = true; - m_expiration = value; - } - } - /// - /// application message identifier - /// - public override string MessageId { - get { - return m_messageId; - } - set { - messageId_present = true; - m_messageId = value; - } - } - /// - /// message timestamp - /// - public override AmqpTimestamp Timestamp { - get { - return m_timestamp; - } - set { - timestamp_present = true; - m_timestamp = value; - } - } - /// - /// message type name - /// - public override string Type { - get { - return m_type; - } - set { - type_present = true; - m_type = value; - } - } - /// - /// creating user id - /// - public override string UserId { - get { - return m_userId; - } - set { - userId_present = true; - m_userId = value; - } - } - /// - /// creating application id - /// - public override string AppId { - get { - return m_appId; - } - set { - appId_present = true; - m_appId = value; - } - } - /// - /// intra-cluster routing identifier - /// - public override string ClusterId { - get { - return m_clusterId; - } - set { - clusterId_present = true; - m_clusterId = value; - } - } - - public override void ClearContentType() { contentType_present = false; } - public override void ClearContentEncoding() { contentEncoding_present = false; } - public override void ClearHeaders() { headers_present = false; } - public override void ClearDeliveryMode() { deliveryMode_present = false; } - public override void ClearPriority() { priority_present = false; } - public override void ClearCorrelationId() { correlationId_present = false; } - public override void ClearReplyTo() { replyTo_present = false; } - public override void ClearExpiration() { expiration_present = false; } - public override void ClearMessageId() { messageId_present = false; } - public override void ClearTimestamp() { timestamp_present = false; } - public override void ClearType() { type_present = false; } - public override void ClearUserId() { userId_present = false; } - public override void ClearAppId() { appId_present = false; } - public override void ClearClusterId() { clusterId_present = false; } - - public BasicProperties() {} - public override int ProtocolClassId { get { return 60; } } - public override string ProtocolClassName { get { return "basic"; } } - - public override void ReadPropertiesFrom(RabbitMQ.Client.Impl.ContentHeaderPropertyReader reader) { - contentType_present = reader.ReadPresence(); - contentEncoding_present = reader.ReadPresence(); - headers_present = reader.ReadPresence(); - deliveryMode_present = reader.ReadPresence(); - priority_present = reader.ReadPresence(); - correlationId_present = reader.ReadPresence(); - replyTo_present = reader.ReadPresence(); - expiration_present = reader.ReadPresence(); - messageId_present = reader.ReadPresence(); - timestamp_present = reader.ReadPresence(); - type_present = reader.ReadPresence(); - userId_present = reader.ReadPresence(); - appId_present = reader.ReadPresence(); - clusterId_present = reader.ReadPresence(); - reader.FinishPresence(); - if (contentType_present) { m_contentType = reader.ReadShortstr(); } - if (contentEncoding_present) { m_contentEncoding = reader.ReadShortstr(); } - if (headers_present) { m_headers = reader.ReadTable(); } - if (deliveryMode_present) { m_deliveryMode = reader.ReadOctet(); } - if (priority_present) { m_priority = reader.ReadOctet(); } - if (correlationId_present) { m_correlationId = reader.ReadShortstr(); } - if (replyTo_present) { m_replyTo = reader.ReadShortstr(); } - if (expiration_present) { m_expiration = reader.ReadShortstr(); } - if (messageId_present) { m_messageId = reader.ReadShortstr(); } - if (timestamp_present) { m_timestamp = reader.ReadTimestamp(); } - if (type_present) { m_type = reader.ReadShortstr(); } - if (userId_present) { m_userId = reader.ReadShortstr(); } - if (appId_present) { m_appId = reader.ReadShortstr(); } - if (clusterId_present) { m_clusterId = reader.ReadShortstr(); } - } - - public override void WritePropertiesTo(RabbitMQ.Client.Impl.ContentHeaderPropertyWriter writer) { - writer.WritePresence(contentType_present); - writer.WritePresence(contentEncoding_present); - writer.WritePresence(headers_present); - writer.WritePresence(deliveryMode_present); - writer.WritePresence(priority_present); - writer.WritePresence(correlationId_present); - writer.WritePresence(replyTo_present); - writer.WritePresence(expiration_present); - writer.WritePresence(messageId_present); - writer.WritePresence(timestamp_present); - writer.WritePresence(type_present); - writer.WritePresence(userId_present); - writer.WritePresence(appId_present); - writer.WritePresence(clusterId_present); - writer.FinishPresence(); - if (contentType_present) { writer.WriteShortstr(m_contentType); } - if (contentEncoding_present) { writer.WriteShortstr(m_contentEncoding); } - if (headers_present) { writer.WriteTable(m_headers); } - if (deliveryMode_present) { writer.WriteOctet(m_deliveryMode); } - if (priority_present) { writer.WriteOctet(m_priority); } - if (correlationId_present) { writer.WriteShortstr(m_correlationId); } - if (replyTo_present) { writer.WriteShortstr(m_replyTo); } - if (expiration_present) { writer.WriteShortstr(m_expiration); } - if (messageId_present) { writer.WriteShortstr(m_messageId); } - if (timestamp_present) { writer.WriteTimestamp(m_timestamp); } - if (type_present) { writer.WriteShortstr(m_type); } - if (userId_present) { writer.WriteShortstr(m_userId); } - if (appId_present) { writer.WriteShortstr(m_appId); } - if (clusterId_present) { writer.WriteShortstr(m_clusterId); } - } - - public override void AppendPropertyDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append("content-type="); sb.Append(contentType_present ? (m_contentType == null ? "(null)" : m_contentType.ToString()) : "_"); sb.Append(", "); - sb.Append("content-encoding="); sb.Append(contentEncoding_present ? (m_contentEncoding == null ? "(null)" : m_contentEncoding.ToString()) : "_"); sb.Append(", "); - sb.Append("headers="); sb.Append(headers_present ? (m_headers == null ? "(null)" : m_headers.ToString()) : "_"); sb.Append(", "); - sb.Append("delivery-mode="); sb.Append(deliveryMode_present ? m_deliveryMode.ToString() : "_"); sb.Append(", "); - sb.Append("priority="); sb.Append(priority_present ? m_priority.ToString() : "_"); sb.Append(", "); - sb.Append("correlation-id="); sb.Append(correlationId_present ? (m_correlationId == null ? "(null)" : m_correlationId.ToString()) : "_"); sb.Append(", "); - sb.Append("reply-to="); sb.Append(replyTo_present ? (m_replyTo == null ? "(null)" : m_replyTo.ToString()) : "_"); sb.Append(", "); - sb.Append("expiration="); sb.Append(expiration_present ? (m_expiration == null ? "(null)" : m_expiration.ToString()) : "_"); sb.Append(", "); - sb.Append("message-id="); sb.Append(messageId_present ? (m_messageId == null ? "(null)" : m_messageId.ToString()) : "_"); sb.Append(", "); - sb.Append("timestamp="); sb.Append(timestamp_present ? m_timestamp.ToString() : "_"); sb.Append(", "); - sb.Append("type="); sb.Append(type_present ? (m_type == null ? "(null)" : m_type.ToString()) : "_"); sb.Append(", "); - sb.Append("user-id="); sb.Append(userId_present ? (m_userId == null ? "(null)" : m_userId.ToString()) : "_"); sb.Append(", "); - sb.Append("app-id="); sb.Append(appId_present ? (m_appId == null ? "(null)" : m_appId.ToString()) : "_"); sb.Append(", "); - sb.Append("cluster-id="); sb.Append(clusterId_present ? (m_clusterId == null ? "(null)" : m_clusterId.ToString()) : "_"); - sb.Append(")"); - } - } - /// Autogenerated type. AMQP specification content header properties for content class "file" - /// - /// - /// The file class provides methods that support reliable file transfer. File - /// messages have a specific set of properties that are required for interoperability - /// with file transfer applications. File messages and acknowledgements are subject to - /// channel transactions. Note that the file class does not provide message browsing - /// methods; these are not compatible with the staging model. Applications that need - /// browsable file transfer should use Basic content and the Basic class. - /// - /// - public class FileProperties: RabbitMQ.Client.Impl.FileProperties { - private string m_contentType; - private string m_contentEncoding; - private System.Collections.IDictionary m_headers; - private byte m_priority; - private string m_replyTo; - private string m_messageId; - private string m_filename; - private AmqpTimestamp m_timestamp; - private string m_clusterId; - - private bool contentType_present = false; - private bool contentEncoding_present = false; - private bool headers_present = false; - private bool priority_present = false; - private bool replyTo_present = false; - private bool messageId_present = false; - private bool filename_present = false; - private bool timestamp_present = false; - private bool clusterId_present = false; - - /// - /// MIME content type - /// - public override string ContentType { - get { - return m_contentType; - } - set { - contentType_present = true; - m_contentType = value; - } - } - /// - /// MIME content encoding - /// - public override string ContentEncoding { - get { - return m_contentEncoding; - } - set { - contentEncoding_present = true; - m_contentEncoding = value; - } - } - /// - /// message header field table - /// - public override System.Collections.IDictionary Headers { - get { - return m_headers; - } - set { - headers_present = true; - m_headers = value; - } - } - /// - /// message priority, 0 to 9 - /// - public override byte Priority { - get { - return m_priority; - } - set { - priority_present = true; - m_priority = value; - } - } - /// - /// destination to reply to - /// - public override string ReplyTo { - get { - return m_replyTo; - } - set { - replyTo_present = true; - m_replyTo = value; - } - } - /// - /// application message identifier - /// - public override string MessageId { - get { - return m_messageId; - } - set { - messageId_present = true; - m_messageId = value; - } - } - /// - /// message filename - /// - public override string Filename { - get { - return m_filename; - } - set { - filename_present = true; - m_filename = value; - } - } - /// - /// message timestamp - /// - public override AmqpTimestamp Timestamp { - get { - return m_timestamp; - } - set { - timestamp_present = true; - m_timestamp = value; - } - } - /// - /// intra-cluster routing identifier - /// - public override string ClusterId { - get { - return m_clusterId; - } - set { - clusterId_present = true; - m_clusterId = value; - } - } - - public override void ClearContentType() { contentType_present = false; } - public override void ClearContentEncoding() { contentEncoding_present = false; } - public override void ClearHeaders() { headers_present = false; } - public override void ClearPriority() { priority_present = false; } - public override void ClearReplyTo() { replyTo_present = false; } - public override void ClearMessageId() { messageId_present = false; } - public override void ClearFilename() { filename_present = false; } - public override void ClearTimestamp() { timestamp_present = false; } - public override void ClearClusterId() { clusterId_present = false; } - - public FileProperties() {} - public override int ProtocolClassId { get { return 70; } } - public override string ProtocolClassName { get { return "file"; } } - - public override void ReadPropertiesFrom(RabbitMQ.Client.Impl.ContentHeaderPropertyReader reader) { - contentType_present = reader.ReadPresence(); - contentEncoding_present = reader.ReadPresence(); - headers_present = reader.ReadPresence(); - priority_present = reader.ReadPresence(); - replyTo_present = reader.ReadPresence(); - messageId_present = reader.ReadPresence(); - filename_present = reader.ReadPresence(); - timestamp_present = reader.ReadPresence(); - clusterId_present = reader.ReadPresence(); - reader.FinishPresence(); - if (contentType_present) { m_contentType = reader.ReadShortstr(); } - if (contentEncoding_present) { m_contentEncoding = reader.ReadShortstr(); } - if (headers_present) { m_headers = reader.ReadTable(); } - if (priority_present) { m_priority = reader.ReadOctet(); } - if (replyTo_present) { m_replyTo = reader.ReadShortstr(); } - if (messageId_present) { m_messageId = reader.ReadShortstr(); } - if (filename_present) { m_filename = reader.ReadShortstr(); } - if (timestamp_present) { m_timestamp = reader.ReadTimestamp(); } - if (clusterId_present) { m_clusterId = reader.ReadShortstr(); } - } - - public override void WritePropertiesTo(RabbitMQ.Client.Impl.ContentHeaderPropertyWriter writer) { - writer.WritePresence(contentType_present); - writer.WritePresence(contentEncoding_present); - writer.WritePresence(headers_present); - writer.WritePresence(priority_present); - writer.WritePresence(replyTo_present); - writer.WritePresence(messageId_present); - writer.WritePresence(filename_present); - writer.WritePresence(timestamp_present); - writer.WritePresence(clusterId_present); - writer.FinishPresence(); - if (contentType_present) { writer.WriteShortstr(m_contentType); } - if (contentEncoding_present) { writer.WriteShortstr(m_contentEncoding); } - if (headers_present) { writer.WriteTable(m_headers); } - if (priority_present) { writer.WriteOctet(m_priority); } - if (replyTo_present) { writer.WriteShortstr(m_replyTo); } - if (messageId_present) { writer.WriteShortstr(m_messageId); } - if (filename_present) { writer.WriteShortstr(m_filename); } - if (timestamp_present) { writer.WriteTimestamp(m_timestamp); } - if (clusterId_present) { writer.WriteShortstr(m_clusterId); } - } - - public override void AppendPropertyDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append("content-type="); sb.Append(contentType_present ? (m_contentType == null ? "(null)" : m_contentType.ToString()) : "_"); sb.Append(", "); - sb.Append("content-encoding="); sb.Append(contentEncoding_present ? (m_contentEncoding == null ? "(null)" : m_contentEncoding.ToString()) : "_"); sb.Append(", "); - sb.Append("headers="); sb.Append(headers_present ? (m_headers == null ? "(null)" : m_headers.ToString()) : "_"); sb.Append(", "); - sb.Append("priority="); sb.Append(priority_present ? m_priority.ToString() : "_"); sb.Append(", "); - sb.Append("reply-to="); sb.Append(replyTo_present ? (m_replyTo == null ? "(null)" : m_replyTo.ToString()) : "_"); sb.Append(", "); - sb.Append("message-id="); sb.Append(messageId_present ? (m_messageId == null ? "(null)" : m_messageId.ToString()) : "_"); sb.Append(", "); - sb.Append("filename="); sb.Append(filename_present ? (m_filename == null ? "(null)" : m_filename.ToString()) : "_"); sb.Append(", "); - sb.Append("timestamp="); sb.Append(timestamp_present ? m_timestamp.ToString() : "_"); sb.Append(", "); - sb.Append("cluster-id="); sb.Append(clusterId_present ? (m_clusterId == null ? "(null)" : m_clusterId.ToString()) : "_"); - sb.Append(")"); - } - } - /// Autogenerated type. AMQP specification content header properties for content class "stream" - /// - /// - /// The stream class provides methods that support multimedia streaming. The stream class - /// uses the following semantics: one message is one packet of data; delivery is - /// unacknowledged and unreliable; the consumer can specify quality of service parameters - /// that the server can try to adhere to; lower-priority messages may be discarded in favour - /// of high priority messages. - /// - /// - public class StreamProperties: RabbitMQ.Client.Impl.StreamProperties { - private string m_contentType; - private string m_contentEncoding; - private System.Collections.IDictionary m_headers; - private byte m_priority; - private AmqpTimestamp m_timestamp; - - private bool contentType_present = false; - private bool contentEncoding_present = false; - private bool headers_present = false; - private bool priority_present = false; - private bool timestamp_present = false; - - /// - /// MIME content type - /// - public override string ContentType { - get { - return m_contentType; - } - set { - contentType_present = true; - m_contentType = value; - } - } - /// - /// MIME content encoding - /// - public override string ContentEncoding { - get { - return m_contentEncoding; - } - set { - contentEncoding_present = true; - m_contentEncoding = value; - } - } - /// - /// message header field table - /// - public override System.Collections.IDictionary Headers { - get { - return m_headers; - } - set { - headers_present = true; - m_headers = value; - } - } - /// - /// message priority, 0 to 9 - /// - public override byte Priority { - get { - return m_priority; - } - set { - priority_present = true; - m_priority = value; - } - } - /// - /// message timestamp - /// - public override AmqpTimestamp Timestamp { - get { - return m_timestamp; - } - set { - timestamp_present = true; - m_timestamp = value; - } - } - - public override void ClearContentType() { contentType_present = false; } - public override void ClearContentEncoding() { contentEncoding_present = false; } - public override void ClearHeaders() { headers_present = false; } - public override void ClearPriority() { priority_present = false; } - public override void ClearTimestamp() { timestamp_present = false; } - - public StreamProperties() {} - public override int ProtocolClassId { get { return 80; } } - public override string ProtocolClassName { get { return "stream"; } } - - public override void ReadPropertiesFrom(RabbitMQ.Client.Impl.ContentHeaderPropertyReader reader) { - contentType_present = reader.ReadPresence(); - contentEncoding_present = reader.ReadPresence(); - headers_present = reader.ReadPresence(); - priority_present = reader.ReadPresence(); - timestamp_present = reader.ReadPresence(); - reader.FinishPresence(); - if (contentType_present) { m_contentType = reader.ReadShortstr(); } - if (contentEncoding_present) { m_contentEncoding = reader.ReadShortstr(); } - if (headers_present) { m_headers = reader.ReadTable(); } - if (priority_present) { m_priority = reader.ReadOctet(); } - if (timestamp_present) { m_timestamp = reader.ReadTimestamp(); } - } - - public override void WritePropertiesTo(RabbitMQ.Client.Impl.ContentHeaderPropertyWriter writer) { - writer.WritePresence(contentType_present); - writer.WritePresence(contentEncoding_present); - writer.WritePresence(headers_present); - writer.WritePresence(priority_present); - writer.WritePresence(timestamp_present); - writer.FinishPresence(); - if (contentType_present) { writer.WriteShortstr(m_contentType); } - if (contentEncoding_present) { writer.WriteShortstr(m_contentEncoding); } - if (headers_present) { writer.WriteTable(m_headers); } - if (priority_present) { writer.WriteOctet(m_priority); } - if (timestamp_present) { writer.WriteTimestamp(m_timestamp); } - } - - public override void AppendPropertyDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append("content-type="); sb.Append(contentType_present ? (m_contentType == null ? "(null)" : m_contentType.ToString()) : "_"); sb.Append(", "); - sb.Append("content-encoding="); sb.Append(contentEncoding_present ? (m_contentEncoding == null ? "(null)" : m_contentEncoding.ToString()) : "_"); sb.Append(", "); - sb.Append("headers="); sb.Append(headers_present ? (m_headers == null ? "(null)" : m_headers.ToString()) : "_"); sb.Append(", "); - sb.Append("priority="); sb.Append(priority_present ? m_priority.ToString() : "_"); sb.Append(", "); - sb.Append("timestamp="); sb.Append(timestamp_present ? m_timestamp.ToString() : "_"); - sb.Append(")"); - } - } - /// Autogenerated type. AMQP specification content header properties for content class "tunnel" - /// - /// - /// The tunnel methods are used to send blocks of binary data - which can be serialised AMQP - /// methods or other protocol frames - between AMQP peers. - /// - /// - public class TunnelProperties: RabbitMQ.Client.Impl.ContentHeaderBase { - private System.Collections.IDictionary m_headers; - private string m_proxyName; - private string m_dataName; - private byte m_durable; - private byte m_broadcast; - - private bool headers_present = false; - private bool proxyName_present = false; - private bool dataName_present = false; - private bool durable_present = false; - private bool broadcast_present = false; - - /// - /// message header field table - /// - public System.Collections.IDictionary Headers { - get { - return m_headers; - } - set { - headers_present = true; - m_headers = value; - } - } - /// - /// identity of tunnelling proxy - /// - public string ProxyName { - get { - return m_proxyName; - } - set { - proxyName_present = true; - m_proxyName = value; - } - } - /// - /// name or type of message being tunnelled - /// - public string DataName { - get { - return m_dataName; - } - set { - dataName_present = true; - m_dataName = value; - } - } - /// - /// message durability indicator - /// - public byte Durable { - get { - return m_durable; - } - set { - durable_present = true; - m_durable = value; - } - } - /// - /// message broadcast mode - /// - public byte Broadcast { - get { - return m_broadcast; - } - set { - broadcast_present = true; - m_broadcast = value; - } - } - - public void ClearHeaders() { headers_present = false; } - public void ClearProxyName() { proxyName_present = false; } - public void ClearDataName() { dataName_present = false; } - public void ClearDurable() { durable_present = false; } - public void ClearBroadcast() { broadcast_present = false; } - - public TunnelProperties() {} - public override int ProtocolClassId { get { return 110; } } - public override string ProtocolClassName { get { return "tunnel"; } } - - public override void ReadPropertiesFrom(RabbitMQ.Client.Impl.ContentHeaderPropertyReader reader) { - headers_present = reader.ReadPresence(); - proxyName_present = reader.ReadPresence(); - dataName_present = reader.ReadPresence(); - durable_present = reader.ReadPresence(); - broadcast_present = reader.ReadPresence(); - reader.FinishPresence(); - if (headers_present) { m_headers = reader.ReadTable(); } - if (proxyName_present) { m_proxyName = reader.ReadShortstr(); } - if (dataName_present) { m_dataName = reader.ReadShortstr(); } - if (durable_present) { m_durable = reader.ReadOctet(); } - if (broadcast_present) { m_broadcast = reader.ReadOctet(); } - } - - public override void WritePropertiesTo(RabbitMQ.Client.Impl.ContentHeaderPropertyWriter writer) { - writer.WritePresence(headers_present); - writer.WritePresence(proxyName_present); - writer.WritePresence(dataName_present); - writer.WritePresence(durable_present); - writer.WritePresence(broadcast_present); - writer.FinishPresence(); - if (headers_present) { writer.WriteTable(m_headers); } - if (proxyName_present) { writer.WriteShortstr(m_proxyName); } - if (dataName_present) { writer.WriteShortstr(m_dataName); } - if (durable_present) { writer.WriteOctet(m_durable); } - if (broadcast_present) { writer.WriteOctet(m_broadcast); } - } - - public override void AppendPropertyDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append("headers="); sb.Append(headers_present ? (m_headers == null ? "(null)" : m_headers.ToString()) : "_"); sb.Append(", "); - sb.Append("proxy-name="); sb.Append(proxyName_present ? (m_proxyName == null ? "(null)" : m_proxyName.ToString()) : "_"); sb.Append(", "); - sb.Append("data-name="); sb.Append(dataName_present ? (m_dataName == null ? "(null)" : m_dataName.ToString()) : "_"); sb.Append(", "); - sb.Append("durable="); sb.Append(durable_present ? m_durable.ToString() : "_"); sb.Append(", "); - sb.Append("broadcast="); sb.Append(broadcast_present ? m_broadcast.ToString() : "_"); - sb.Append(")"); - } - } -} -namespace RabbitMQ.Client.Framing.Impl.v0_9 { - using RabbitMQ.Client.Framing.v0_9; - public enum ClassId { - Connection = 10, - Channel = 20, - Access = 30, - Exchange = 40, - Queue = 50, - Basic = 60, - File = 70, - Stream = 80, - Tx = 90, - Dtx = 100, - Tunnel = 110, - Message = 120, - Invalid = -1 - } - /// Autogenerated type. Private implementation class - do not use directly. - public class ConnectionStart: RabbitMQ.Client.Impl.MethodBase, IConnectionStart { - public const int ClassId = 10; - public const int MethodId = 10; - - public byte m_versionMajor; - public byte m_versionMinor; - public System.Collections.IDictionary m_serverProperties; - public byte[] m_mechanisms; - public byte[] m_locales; - - byte IConnectionStart.VersionMajor { get { return m_versionMajor; } } - byte IConnectionStart.VersionMinor { get { return m_versionMinor; } } - System.Collections.IDictionary IConnectionStart.ServerProperties { get { return m_serverProperties; } } - byte[] IConnectionStart.Mechanisms { get { return m_mechanisms; } } - byte[] IConnectionStart.Locales { get { return m_locales; } } - - public ConnectionStart() {} - public ConnectionStart( - byte initVersionMajor, - byte initVersionMinor, - System.Collections.IDictionary initServerProperties, - byte[] initMechanisms, - byte[] initLocales) - { - m_versionMajor = initVersionMajor; - m_versionMinor = initVersionMinor; - m_serverProperties = initServerProperties; - m_mechanisms = initMechanisms; - m_locales = initLocales; - } - - public override int ProtocolClassId { get { return 10; } } - public override int ProtocolMethodId { get { return 10; } } - public override string ProtocolMethodName { get { return "connection.start"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_versionMajor = reader.ReadOctet(); - m_versionMinor = reader.ReadOctet(); - m_serverProperties = reader.ReadTable(); - m_mechanisms = reader.ReadLongstr(); - m_locales = reader.ReadLongstr(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteOctet(m_versionMajor); - writer.WriteOctet(m_versionMinor); - writer.WriteTable(m_serverProperties); - writer.WriteLongstr(m_mechanisms); - writer.WriteLongstr(m_locales); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_versionMajor); sb.Append(","); - sb.Append(m_versionMinor); sb.Append(","); - sb.Append(m_serverProperties); sb.Append(","); - sb.Append(m_mechanisms); sb.Append(","); - sb.Append(m_locales); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class ConnectionStartOk: RabbitMQ.Client.Impl.MethodBase, IConnectionStartOk { - public const int ClassId = 10; - public const int MethodId = 11; - - public System.Collections.IDictionary m_clientProperties; - public string m_mechanism; - public byte[] m_response; - public string m_locale; - - System.Collections.IDictionary IConnectionStartOk.ClientProperties { get { return m_clientProperties; } } - string IConnectionStartOk.Mechanism { get { return m_mechanism; } } - byte[] IConnectionStartOk.Response { get { return m_response; } } - string IConnectionStartOk.Locale { get { return m_locale; } } - - public ConnectionStartOk() {} - public ConnectionStartOk( - System.Collections.IDictionary initClientProperties, - string initMechanism, - byte[] initResponse, - string initLocale) - { - m_clientProperties = initClientProperties; - m_mechanism = initMechanism; - m_response = initResponse; - m_locale = initLocale; - } - - public override int ProtocolClassId { get { return 10; } } - public override int ProtocolMethodId { get { return 11; } } - public override string ProtocolMethodName { get { return "connection.start-ok"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_clientProperties = reader.ReadTable(); - m_mechanism = reader.ReadShortstr(); - m_response = reader.ReadLongstr(); - m_locale = reader.ReadShortstr(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteTable(m_clientProperties); - writer.WriteShortstr(m_mechanism); - writer.WriteLongstr(m_response); - writer.WriteShortstr(m_locale); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_clientProperties); sb.Append(","); - sb.Append(m_mechanism); sb.Append(","); - sb.Append(m_response); sb.Append(","); - sb.Append(m_locale); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class ConnectionSecure: RabbitMQ.Client.Impl.MethodBase, IConnectionSecure { - public const int ClassId = 10; - public const int MethodId = 20; - - public byte[] m_challenge; - - byte[] IConnectionSecure.Challenge { get { return m_challenge; } } - - public ConnectionSecure() {} - public ConnectionSecure( - byte[] initChallenge) - { - m_challenge = initChallenge; - } - - public override int ProtocolClassId { get { return 10; } } - public override int ProtocolMethodId { get { return 20; } } - public override string ProtocolMethodName { get { return "connection.secure"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_challenge = reader.ReadLongstr(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteLongstr(m_challenge); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_challenge); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class ConnectionSecureOk: RabbitMQ.Client.Impl.MethodBase, IConnectionSecureOk { - public const int ClassId = 10; - public const int MethodId = 21; - - public byte[] m_response; - - byte[] IConnectionSecureOk.Response { get { return m_response; } } - - public ConnectionSecureOk() {} - public ConnectionSecureOk( - byte[] initResponse) - { - m_response = initResponse; - } - - public override int ProtocolClassId { get { return 10; } } - public override int ProtocolMethodId { get { return 21; } } - public override string ProtocolMethodName { get { return "connection.secure-ok"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_response = reader.ReadLongstr(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteLongstr(m_response); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_response); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class ConnectionTune: RabbitMQ.Client.Impl.MethodBase, IConnectionTune { - public const int ClassId = 10; - public const int MethodId = 30; - - public ushort m_channelMax; - public uint m_frameMax; - public ushort m_heartbeat; - - ushort IConnectionTune.ChannelMax { get { return m_channelMax; } } - uint IConnectionTune.FrameMax { get { return m_frameMax; } } - ushort IConnectionTune.Heartbeat { get { return m_heartbeat; } } - - public ConnectionTune() {} - public ConnectionTune( - ushort initChannelMax, - uint initFrameMax, - ushort initHeartbeat) - { - m_channelMax = initChannelMax; - m_frameMax = initFrameMax; - m_heartbeat = initHeartbeat; - } - - public override int ProtocolClassId { get { return 10; } } - public override int ProtocolMethodId { get { return 30; } } - public override string ProtocolMethodName { get { return "connection.tune"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_channelMax = reader.ReadShort(); - m_frameMax = reader.ReadLong(); - m_heartbeat = reader.ReadShort(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShort(m_channelMax); - writer.WriteLong(m_frameMax); - writer.WriteShort(m_heartbeat); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_channelMax); sb.Append(","); - sb.Append(m_frameMax); sb.Append(","); - sb.Append(m_heartbeat); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class ConnectionTuneOk: RabbitMQ.Client.Impl.MethodBase, IConnectionTuneOk { - public const int ClassId = 10; - public const int MethodId = 31; - - public ushort m_channelMax; - public uint m_frameMax; - public ushort m_heartbeat; - - ushort IConnectionTuneOk.ChannelMax { get { return m_channelMax; } } - uint IConnectionTuneOk.FrameMax { get { return m_frameMax; } } - ushort IConnectionTuneOk.Heartbeat { get { return m_heartbeat; } } - - public ConnectionTuneOk() {} - public ConnectionTuneOk( - ushort initChannelMax, - uint initFrameMax, - ushort initHeartbeat) - { - m_channelMax = initChannelMax; - m_frameMax = initFrameMax; - m_heartbeat = initHeartbeat; - } - - public override int ProtocolClassId { get { return 10; } } - public override int ProtocolMethodId { get { return 31; } } - public override string ProtocolMethodName { get { return "connection.tune-ok"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_channelMax = reader.ReadShort(); - m_frameMax = reader.ReadLong(); - m_heartbeat = reader.ReadShort(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShort(m_channelMax); - writer.WriteLong(m_frameMax); - writer.WriteShort(m_heartbeat); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_channelMax); sb.Append(","); - sb.Append(m_frameMax); sb.Append(","); - sb.Append(m_heartbeat); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class ConnectionOpen: RabbitMQ.Client.Impl.MethodBase, IConnectionOpen { - public const int ClassId = 10; - public const int MethodId = 40; - - public string m_virtualHost; - public string m_capabilities; - public bool m_insist; - - string IConnectionOpen.VirtualHost { get { return m_virtualHost; } } - string IConnectionOpen.Capabilities { get { return m_capabilities; } } - bool IConnectionOpen.Insist { get { return m_insist; } } - - public ConnectionOpen() {} - public ConnectionOpen( - string initVirtualHost, - string initCapabilities, - bool initInsist) - { - m_virtualHost = initVirtualHost; - m_capabilities = initCapabilities; - m_insist = initInsist; - } - - public override int ProtocolClassId { get { return 10; } } - public override int ProtocolMethodId { get { return 40; } } - public override string ProtocolMethodName { get { return "connection.open"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_virtualHost = reader.ReadShortstr(); - m_capabilities = reader.ReadShortstr(); - m_insist = reader.ReadBit(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShortstr(m_virtualHost); - writer.WriteShortstr(m_capabilities); - writer.WriteBit(m_insist); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_virtualHost); sb.Append(","); - sb.Append(m_capabilities); sb.Append(","); - sb.Append(m_insist); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class ConnectionOpenOk: RabbitMQ.Client.Impl.MethodBase, IConnectionOpenOk { - public const int ClassId = 10; - public const int MethodId = 41; - - public string m_knownHosts; - - string IConnectionOpenOk.KnownHosts { get { return m_knownHosts; } } - - public ConnectionOpenOk() {} - public ConnectionOpenOk( - string initKnownHosts) - { - m_knownHosts = initKnownHosts; - } - - public override int ProtocolClassId { get { return 10; } } - public override int ProtocolMethodId { get { return 41; } } - public override string ProtocolMethodName { get { return "connection.open-ok"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_knownHosts = reader.ReadShortstr(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShortstr(m_knownHosts); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_knownHosts); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class ConnectionRedirect: RabbitMQ.Client.Impl.MethodBase, IConnectionRedirect { - public const int ClassId = 10; - public const int MethodId = 42; - - public string m_host; - public string m_knownHosts; - - string IConnectionRedirect.Host { get { return m_host; } } - string IConnectionRedirect.KnownHosts { get { return m_knownHosts; } } - - public ConnectionRedirect() {} - public ConnectionRedirect( - string initHost, - string initKnownHosts) - { - m_host = initHost; - m_knownHosts = initKnownHosts; - } - - public override int ProtocolClassId { get { return 10; } } - public override int ProtocolMethodId { get { return 42; } } - public override string ProtocolMethodName { get { return "connection.redirect"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_host = reader.ReadShortstr(); - m_knownHosts = reader.ReadShortstr(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShortstr(m_host); - writer.WriteShortstr(m_knownHosts); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_host); sb.Append(","); - sb.Append(m_knownHosts); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class ConnectionClose: RabbitMQ.Client.Impl.MethodBase, IConnectionClose { - public const int ClassId = 10; - public const int MethodId = 50; - - public ushort m_replyCode; - public string m_replyText; - public ushort m_classId; - public ushort m_methodId; - - ushort IConnectionClose.ReplyCode { get { return m_replyCode; } } - string IConnectionClose.ReplyText { get { return m_replyText; } } - ushort IConnectionClose.ClassId { get { return m_classId; } } - ushort IConnectionClose.MethodId { get { return m_methodId; } } - - public ConnectionClose() {} - public ConnectionClose( - ushort initReplyCode, - string initReplyText, - ushort initClassId, - ushort initMethodId) - { - m_replyCode = initReplyCode; - m_replyText = initReplyText; - m_classId = initClassId; - m_methodId = initMethodId; - } - - public override int ProtocolClassId { get { return 10; } } - public override int ProtocolMethodId { get { return 50; } } - public override string ProtocolMethodName { get { return "connection.close"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_replyCode = reader.ReadShort(); - m_replyText = reader.ReadShortstr(); - m_classId = reader.ReadShort(); - m_methodId = reader.ReadShort(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShort(m_replyCode); - writer.WriteShortstr(m_replyText); - writer.WriteShort(m_classId); - writer.WriteShort(m_methodId); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_replyCode); sb.Append(","); - sb.Append(m_replyText); sb.Append(","); - sb.Append(m_classId); sb.Append(","); - sb.Append(m_methodId); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class ConnectionCloseOk: RabbitMQ.Client.Impl.MethodBase, IConnectionCloseOk { - public const int ClassId = 10; - public const int MethodId = 51; - - - - public ConnectionCloseOk( -) - { - } - - public override int ProtocolClassId { get { return 10; } } - public override int ProtocolMethodId { get { return 51; } } - public override string ProtocolMethodName { get { return "connection.close-ok"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class ChannelOpen: RabbitMQ.Client.Impl.MethodBase, IChannelOpen { - public const int ClassId = 20; - public const int MethodId = 10; - - public string m_outOfBand; - - string IChannelOpen.OutOfBand { get { return m_outOfBand; } } - - public ChannelOpen() {} - public ChannelOpen( - string initOutOfBand) - { - m_outOfBand = initOutOfBand; - } - - public override int ProtocolClassId { get { return 20; } } - public override int ProtocolMethodId { get { return 10; } } - public override string ProtocolMethodName { get { return "channel.open"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_outOfBand = reader.ReadShortstr(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShortstr(m_outOfBand); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_outOfBand); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class ChannelOpenOk: RabbitMQ.Client.Impl.MethodBase, IChannelOpenOk { - public const int ClassId = 20; - public const int MethodId = 11; - - public byte[] m_channelId; - - byte[] IChannelOpenOk.ChannelId { get { return m_channelId; } } - - public ChannelOpenOk() {} - public ChannelOpenOk( - byte[] initChannelId) - { - m_channelId = initChannelId; - } - - public override int ProtocolClassId { get { return 20; } } - public override int ProtocolMethodId { get { return 11; } } - public override string ProtocolMethodName { get { return "channel.open-ok"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_channelId = reader.ReadLongstr(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteLongstr(m_channelId); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_channelId); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class ChannelFlow: RabbitMQ.Client.Impl.MethodBase, IChannelFlow { - public const int ClassId = 20; - public const int MethodId = 20; - - public bool m_active; - - bool IChannelFlow.Active { get { return m_active; } } - - public ChannelFlow() {} - public ChannelFlow( - bool initActive) - { - m_active = initActive; - } - - public override int ProtocolClassId { get { return 20; } } - public override int ProtocolMethodId { get { return 20; } } - public override string ProtocolMethodName { get { return "channel.flow"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_active = reader.ReadBit(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteBit(m_active); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_active); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class ChannelFlowOk: RabbitMQ.Client.Impl.MethodBase, IChannelFlowOk { - public const int ClassId = 20; - public const int MethodId = 21; - - public bool m_active; - - bool IChannelFlowOk.Active { get { return m_active; } } - - public ChannelFlowOk() {} - public ChannelFlowOk( - bool initActive) - { - m_active = initActive; - } - - public override int ProtocolClassId { get { return 20; } } - public override int ProtocolMethodId { get { return 21; } } - public override string ProtocolMethodName { get { return "channel.flow-ok"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_active = reader.ReadBit(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteBit(m_active); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_active); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class ChannelClose: RabbitMQ.Client.Impl.MethodBase, IChannelClose { - public const int ClassId = 20; - public const int MethodId = 40; - - public ushort m_replyCode; - public string m_replyText; - public ushort m_classId; - public ushort m_methodId; - - ushort IChannelClose.ReplyCode { get { return m_replyCode; } } - string IChannelClose.ReplyText { get { return m_replyText; } } - ushort IChannelClose.ClassId { get { return m_classId; } } - ushort IChannelClose.MethodId { get { return m_methodId; } } - - public ChannelClose() {} - public ChannelClose( - ushort initReplyCode, - string initReplyText, - ushort initClassId, - ushort initMethodId) - { - m_replyCode = initReplyCode; - m_replyText = initReplyText; - m_classId = initClassId; - m_methodId = initMethodId; - } - - public override int ProtocolClassId { get { return 20; } } - public override int ProtocolMethodId { get { return 40; } } - public override string ProtocolMethodName { get { return "channel.close"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_replyCode = reader.ReadShort(); - m_replyText = reader.ReadShortstr(); - m_classId = reader.ReadShort(); - m_methodId = reader.ReadShort(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShort(m_replyCode); - writer.WriteShortstr(m_replyText); - writer.WriteShort(m_classId); - writer.WriteShort(m_methodId); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_replyCode); sb.Append(","); - sb.Append(m_replyText); sb.Append(","); - sb.Append(m_classId); sb.Append(","); - sb.Append(m_methodId); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class ChannelCloseOk: RabbitMQ.Client.Impl.MethodBase, IChannelCloseOk { - public const int ClassId = 20; - public const int MethodId = 41; - - - - public ChannelCloseOk( -) - { - } - - public override int ProtocolClassId { get { return 20; } } - public override int ProtocolMethodId { get { return 41; } } - public override string ProtocolMethodName { get { return "channel.close-ok"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class ChannelResume: RabbitMQ.Client.Impl.MethodBase, IChannelResume { - public const int ClassId = 20; - public const int MethodId = 50; - - public byte[] m_channelId; - - byte[] IChannelResume.ChannelId { get { return m_channelId; } } - - public ChannelResume() {} - public ChannelResume( - byte[] initChannelId) - { - m_channelId = initChannelId; - } - - public override int ProtocolClassId { get { return 20; } } - public override int ProtocolMethodId { get { return 50; } } - public override string ProtocolMethodName { get { return "channel.resume"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_channelId = reader.ReadLongstr(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteLongstr(m_channelId); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_channelId); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class ChannelPing: RabbitMQ.Client.Impl.MethodBase, IChannelPing { - public const int ClassId = 20; - public const int MethodId = 60; - - - - public ChannelPing( -) - { - } - - public override int ProtocolClassId { get { return 20; } } - public override int ProtocolMethodId { get { return 60; } } - public override string ProtocolMethodName { get { return "channel.ping"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class ChannelPong: RabbitMQ.Client.Impl.MethodBase, IChannelPong { - public const int ClassId = 20; - public const int MethodId = 70; - - - - public ChannelPong( -) - { - } - - public override int ProtocolClassId { get { return 20; } } - public override int ProtocolMethodId { get { return 70; } } - public override string ProtocolMethodName { get { return "channel.pong"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class ChannelOk: RabbitMQ.Client.Impl.MethodBase, IChannelOk { - public const int ClassId = 20; - public const int MethodId = 80; - - - - public ChannelOk( -) - { - } - - public override int ProtocolClassId { get { return 20; } } - public override int ProtocolMethodId { get { return 80; } } - public override string ProtocolMethodName { get { return "channel.ok"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class AccessRequest: RabbitMQ.Client.Impl.MethodBase, IAccessRequest { - public const int ClassId = 30; - public const int MethodId = 10; - - public string m_realm; - public bool m_exclusive; - public bool m_passive; - public bool m_active; - public bool m_write; - public bool m_read; - - string IAccessRequest.Realm { get { return m_realm; } } - bool IAccessRequest.Exclusive { get { return m_exclusive; } } - bool IAccessRequest.Passive { get { return m_passive; } } - bool IAccessRequest.Active { get { return m_active; } } - bool IAccessRequest.Write { get { return m_write; } } - bool IAccessRequest.Read { get { return m_read; } } - - public AccessRequest() {} - public AccessRequest( - string initRealm, - bool initExclusive, - bool initPassive, - bool initActive, - bool initWrite, - bool initRead) - { - m_realm = initRealm; - m_exclusive = initExclusive; - m_passive = initPassive; - m_active = initActive; - m_write = initWrite; - m_read = initRead; - } - - public override int ProtocolClassId { get { return 30; } } - public override int ProtocolMethodId { get { return 10; } } - public override string ProtocolMethodName { get { return "access.request"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_realm = reader.ReadShortstr(); - m_exclusive = reader.ReadBit(); - m_passive = reader.ReadBit(); - m_active = reader.ReadBit(); - m_write = reader.ReadBit(); - m_read = reader.ReadBit(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShortstr(m_realm); - writer.WriteBit(m_exclusive); - writer.WriteBit(m_passive); - writer.WriteBit(m_active); - writer.WriteBit(m_write); - writer.WriteBit(m_read); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_realm); sb.Append(","); - sb.Append(m_exclusive); sb.Append(","); - sb.Append(m_passive); sb.Append(","); - sb.Append(m_active); sb.Append(","); - sb.Append(m_write); sb.Append(","); - sb.Append(m_read); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class AccessRequestOk: RabbitMQ.Client.Impl.MethodBase, IAccessRequestOk { - public const int ClassId = 30; - public const int MethodId = 11; - - public ushort m_ticket; - - ushort IAccessRequestOk.Ticket { get { return m_ticket; } } - - public AccessRequestOk() {} - public AccessRequestOk( - ushort initTicket) - { - m_ticket = initTicket; - } - - public override int ProtocolClassId { get { return 30; } } - public override int ProtocolMethodId { get { return 11; } } - public override string ProtocolMethodName { get { return "access.request-ok"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_ticket = reader.ReadShort(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShort(m_ticket); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_ticket); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class ExchangeDeclare: RabbitMQ.Client.Impl.MethodBase, IExchangeDeclare { - public const int ClassId = 40; - public const int MethodId = 10; - - public ushort m_ticket; - public string m_exchange; - public string m_type; - public bool m_passive; - public bool m_durable; - public bool m_autoDelete; - public bool m_internal; - public bool m_nowait; - public System.Collections.IDictionary m_arguments; - - ushort IExchangeDeclare.Ticket { get { return m_ticket; } } - string IExchangeDeclare.Exchange { get { return m_exchange; } } - string IExchangeDeclare.Type { get { return m_type; } } - bool IExchangeDeclare.Passive { get { return m_passive; } } - bool IExchangeDeclare.Durable { get { return m_durable; } } - bool IExchangeDeclare.AutoDelete { get { return m_autoDelete; } } - bool IExchangeDeclare.Internal { get { return m_internal; } } - bool IExchangeDeclare.Nowait { get { return m_nowait; } } - System.Collections.IDictionary IExchangeDeclare.Arguments { get { return m_arguments; } } - - public ExchangeDeclare() {} - public ExchangeDeclare( - ushort initTicket, - string initExchange, - string initType, - bool initPassive, - bool initDurable, - bool initAutoDelete, - bool initInternal, - bool initNowait, - System.Collections.IDictionary initArguments) - { - m_ticket = initTicket; - m_exchange = initExchange; - m_type = initType; - m_passive = initPassive; - m_durable = initDurable; - m_autoDelete = initAutoDelete; - m_internal = initInternal; - m_nowait = initNowait; - m_arguments = initArguments; - } - - public override int ProtocolClassId { get { return 40; } } - public override int ProtocolMethodId { get { return 10; } } - public override string ProtocolMethodName { get { return "exchange.declare"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_ticket = reader.ReadShort(); - m_exchange = reader.ReadShortstr(); - m_type = reader.ReadShortstr(); - m_passive = reader.ReadBit(); - m_durable = reader.ReadBit(); - m_autoDelete = reader.ReadBit(); - m_internal = reader.ReadBit(); - m_nowait = reader.ReadBit(); - m_arguments = reader.ReadTable(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShort(m_ticket); - writer.WriteShortstr(m_exchange); - writer.WriteShortstr(m_type); - writer.WriteBit(m_passive); - writer.WriteBit(m_durable); - writer.WriteBit(m_autoDelete); - writer.WriteBit(m_internal); - writer.WriteBit(m_nowait); - writer.WriteTable(m_arguments); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_ticket); sb.Append(","); - sb.Append(m_exchange); sb.Append(","); - sb.Append(m_type); sb.Append(","); - sb.Append(m_passive); sb.Append(","); - sb.Append(m_durable); sb.Append(","); - sb.Append(m_autoDelete); sb.Append(","); - sb.Append(m_internal); sb.Append(","); - sb.Append(m_nowait); sb.Append(","); - sb.Append(m_arguments); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class ExchangeDeclareOk: RabbitMQ.Client.Impl.MethodBase, IExchangeDeclareOk { - public const int ClassId = 40; - public const int MethodId = 11; - - - - public ExchangeDeclareOk( -) - { - } - - public override int ProtocolClassId { get { return 40; } } - public override int ProtocolMethodId { get { return 11; } } - public override string ProtocolMethodName { get { return "exchange.declare-ok"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class ExchangeDelete: RabbitMQ.Client.Impl.MethodBase, IExchangeDelete { - public const int ClassId = 40; - public const int MethodId = 20; - - public ushort m_ticket; - public string m_exchange; - public bool m_ifUnused; - public bool m_nowait; - - ushort IExchangeDelete.Ticket { get { return m_ticket; } } - string IExchangeDelete.Exchange { get { return m_exchange; } } - bool IExchangeDelete.IfUnused { get { return m_ifUnused; } } - bool IExchangeDelete.Nowait { get { return m_nowait; } } - - public ExchangeDelete() {} - public ExchangeDelete( - ushort initTicket, - string initExchange, - bool initIfUnused, - bool initNowait) - { - m_ticket = initTicket; - m_exchange = initExchange; - m_ifUnused = initIfUnused; - m_nowait = initNowait; - } - - public override int ProtocolClassId { get { return 40; } } - public override int ProtocolMethodId { get { return 20; } } - public override string ProtocolMethodName { get { return "exchange.delete"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_ticket = reader.ReadShort(); - m_exchange = reader.ReadShortstr(); - m_ifUnused = reader.ReadBit(); - m_nowait = reader.ReadBit(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShort(m_ticket); - writer.WriteShortstr(m_exchange); - writer.WriteBit(m_ifUnused); - writer.WriteBit(m_nowait); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_ticket); sb.Append(","); - sb.Append(m_exchange); sb.Append(","); - sb.Append(m_ifUnused); sb.Append(","); - sb.Append(m_nowait); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class ExchangeDeleteOk: RabbitMQ.Client.Impl.MethodBase, IExchangeDeleteOk { - public const int ClassId = 40; - public const int MethodId = 21; - - - - public ExchangeDeleteOk( -) - { - } - - public override int ProtocolClassId { get { return 40; } } - public override int ProtocolMethodId { get { return 21; } } - public override string ProtocolMethodName { get { return "exchange.delete-ok"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class QueueDeclare: RabbitMQ.Client.Impl.MethodBase, IQueueDeclare { - public const int ClassId = 50; - public const int MethodId = 10; - - public ushort m_ticket; - public string m_queue; - public bool m_passive; - public bool m_durable; - public bool m_exclusive; - public bool m_autoDelete; - public bool m_nowait; - public System.Collections.IDictionary m_arguments; - - ushort IQueueDeclare.Ticket { get { return m_ticket; } } - string IQueueDeclare.Queue { get { return m_queue; } } - bool IQueueDeclare.Passive { get { return m_passive; } } - bool IQueueDeclare.Durable { get { return m_durable; } } - bool IQueueDeclare.Exclusive { get { return m_exclusive; } } - bool IQueueDeclare.AutoDelete { get { return m_autoDelete; } } - bool IQueueDeclare.Nowait { get { return m_nowait; } } - System.Collections.IDictionary IQueueDeclare.Arguments { get { return m_arguments; } } - - public QueueDeclare() {} - public QueueDeclare( - ushort initTicket, - string initQueue, - bool initPassive, - bool initDurable, - bool initExclusive, - bool initAutoDelete, - bool initNowait, - System.Collections.IDictionary initArguments) - { - m_ticket = initTicket; - m_queue = initQueue; - m_passive = initPassive; - m_durable = initDurable; - m_exclusive = initExclusive; - m_autoDelete = initAutoDelete; - m_nowait = initNowait; - m_arguments = initArguments; - } - - public override int ProtocolClassId { get { return 50; } } - public override int ProtocolMethodId { get { return 10; } } - public override string ProtocolMethodName { get { return "queue.declare"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_ticket = reader.ReadShort(); - m_queue = reader.ReadShortstr(); - m_passive = reader.ReadBit(); - m_durable = reader.ReadBit(); - m_exclusive = reader.ReadBit(); - m_autoDelete = reader.ReadBit(); - m_nowait = reader.ReadBit(); - m_arguments = reader.ReadTable(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShort(m_ticket); - writer.WriteShortstr(m_queue); - writer.WriteBit(m_passive); - writer.WriteBit(m_durable); - writer.WriteBit(m_exclusive); - writer.WriteBit(m_autoDelete); - writer.WriteBit(m_nowait); - writer.WriteTable(m_arguments); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_ticket); sb.Append(","); - sb.Append(m_queue); sb.Append(","); - sb.Append(m_passive); sb.Append(","); - sb.Append(m_durable); sb.Append(","); - sb.Append(m_exclusive); sb.Append(","); - sb.Append(m_autoDelete); sb.Append(","); - sb.Append(m_nowait); sb.Append(","); - sb.Append(m_arguments); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class QueueDeclareOk: RabbitMQ.Client.Impl.MethodBase, IQueueDeclareOk { - public const int ClassId = 50; - public const int MethodId = 11; - - public string m_queue; - public uint m_messageCount; - public uint m_consumerCount; - - string IQueueDeclareOk.Queue { get { return m_queue; } } - uint IQueueDeclareOk.MessageCount { get { return m_messageCount; } } - uint IQueueDeclareOk.ConsumerCount { get { return m_consumerCount; } } - - public QueueDeclareOk() {} - public QueueDeclareOk( - string initQueue, - uint initMessageCount, - uint initConsumerCount) - { - m_queue = initQueue; - m_messageCount = initMessageCount; - m_consumerCount = initConsumerCount; - } - - public override int ProtocolClassId { get { return 50; } } - public override int ProtocolMethodId { get { return 11; } } - public override string ProtocolMethodName { get { return "queue.declare-ok"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_queue = reader.ReadShortstr(); - m_messageCount = reader.ReadLong(); - m_consumerCount = reader.ReadLong(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShortstr(m_queue); - writer.WriteLong(m_messageCount); - writer.WriteLong(m_consumerCount); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_queue); sb.Append(","); - sb.Append(m_messageCount); sb.Append(","); - sb.Append(m_consumerCount); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class QueueBind: RabbitMQ.Client.Impl.MethodBase, IQueueBind { - public const int ClassId = 50; - public const int MethodId = 20; - - public ushort m_ticket; - public string m_queue; - public string m_exchange; - public string m_routingKey; - public bool m_nowait; - public System.Collections.IDictionary m_arguments; - - ushort IQueueBind.Ticket { get { return m_ticket; } } - string IQueueBind.Queue { get { return m_queue; } } - string IQueueBind.Exchange { get { return m_exchange; } } - string IQueueBind.RoutingKey { get { return m_routingKey; } } - bool IQueueBind.Nowait { get { return m_nowait; } } - System.Collections.IDictionary IQueueBind.Arguments { get { return m_arguments; } } - - public QueueBind() {} - public QueueBind( - ushort initTicket, - string initQueue, - string initExchange, - string initRoutingKey, - bool initNowait, - System.Collections.IDictionary initArguments) - { - m_ticket = initTicket; - m_queue = initQueue; - m_exchange = initExchange; - m_routingKey = initRoutingKey; - m_nowait = initNowait; - m_arguments = initArguments; - } - - public override int ProtocolClassId { get { return 50; } } - public override int ProtocolMethodId { get { return 20; } } - public override string ProtocolMethodName { get { return "queue.bind"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_ticket = reader.ReadShort(); - m_queue = reader.ReadShortstr(); - m_exchange = reader.ReadShortstr(); - m_routingKey = reader.ReadShortstr(); - m_nowait = reader.ReadBit(); - m_arguments = reader.ReadTable(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShort(m_ticket); - writer.WriteShortstr(m_queue); - writer.WriteShortstr(m_exchange); - writer.WriteShortstr(m_routingKey); - writer.WriteBit(m_nowait); - writer.WriteTable(m_arguments); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_ticket); sb.Append(","); - sb.Append(m_queue); sb.Append(","); - sb.Append(m_exchange); sb.Append(","); - sb.Append(m_routingKey); sb.Append(","); - sb.Append(m_nowait); sb.Append(","); - sb.Append(m_arguments); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class QueueBindOk: RabbitMQ.Client.Impl.MethodBase, IQueueBindOk { - public const int ClassId = 50; - public const int MethodId = 21; - - - - public QueueBindOk( -) - { - } - - public override int ProtocolClassId { get { return 50; } } - public override int ProtocolMethodId { get { return 21; } } - public override string ProtocolMethodName { get { return "queue.bind-ok"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class QueueUnbind: RabbitMQ.Client.Impl.MethodBase, IQueueUnbind { - public const int ClassId = 50; - public const int MethodId = 50; - - public ushort m_ticket; - public string m_queue; - public string m_exchange; - public string m_routingKey; - public System.Collections.IDictionary m_arguments; - - ushort IQueueUnbind.Ticket { get { return m_ticket; } } - string IQueueUnbind.Queue { get { return m_queue; } } - string IQueueUnbind.Exchange { get { return m_exchange; } } - string IQueueUnbind.RoutingKey { get { return m_routingKey; } } - System.Collections.IDictionary IQueueUnbind.Arguments { get { return m_arguments; } } - - public QueueUnbind() {} - public QueueUnbind( - ushort initTicket, - string initQueue, - string initExchange, - string initRoutingKey, - System.Collections.IDictionary initArguments) - { - m_ticket = initTicket; - m_queue = initQueue; - m_exchange = initExchange; - m_routingKey = initRoutingKey; - m_arguments = initArguments; - } - - public override int ProtocolClassId { get { return 50; } } - public override int ProtocolMethodId { get { return 50; } } - public override string ProtocolMethodName { get { return "queue.unbind"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_ticket = reader.ReadShort(); - m_queue = reader.ReadShortstr(); - m_exchange = reader.ReadShortstr(); - m_routingKey = reader.ReadShortstr(); - m_arguments = reader.ReadTable(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShort(m_ticket); - writer.WriteShortstr(m_queue); - writer.WriteShortstr(m_exchange); - writer.WriteShortstr(m_routingKey); - writer.WriteTable(m_arguments); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_ticket); sb.Append(","); - sb.Append(m_queue); sb.Append(","); - sb.Append(m_exchange); sb.Append(","); - sb.Append(m_routingKey); sb.Append(","); - sb.Append(m_arguments); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class QueueUnbindOk: RabbitMQ.Client.Impl.MethodBase, IQueueUnbindOk { - public const int ClassId = 50; - public const int MethodId = 51; - - - - public QueueUnbindOk( -) - { - } - - public override int ProtocolClassId { get { return 50; } } - public override int ProtocolMethodId { get { return 51; } } - public override string ProtocolMethodName { get { return "queue.unbind-ok"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class QueuePurge: RabbitMQ.Client.Impl.MethodBase, IQueuePurge { - public const int ClassId = 50; - public const int MethodId = 30; - - public ushort m_ticket; - public string m_queue; - public bool m_nowait; - - ushort IQueuePurge.Ticket { get { return m_ticket; } } - string IQueuePurge.Queue { get { return m_queue; } } - bool IQueuePurge.Nowait { get { return m_nowait; } } - - public QueuePurge() {} - public QueuePurge( - ushort initTicket, - string initQueue, - bool initNowait) - { - m_ticket = initTicket; - m_queue = initQueue; - m_nowait = initNowait; - } - - public override int ProtocolClassId { get { return 50; } } - public override int ProtocolMethodId { get { return 30; } } - public override string ProtocolMethodName { get { return "queue.purge"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_ticket = reader.ReadShort(); - m_queue = reader.ReadShortstr(); - m_nowait = reader.ReadBit(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShort(m_ticket); - writer.WriteShortstr(m_queue); - writer.WriteBit(m_nowait); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_ticket); sb.Append(","); - sb.Append(m_queue); sb.Append(","); - sb.Append(m_nowait); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class QueuePurgeOk: RabbitMQ.Client.Impl.MethodBase, IQueuePurgeOk { - public const int ClassId = 50; - public const int MethodId = 31; - - public uint m_messageCount; - - uint IQueuePurgeOk.MessageCount { get { return m_messageCount; } } - - public QueuePurgeOk() {} - public QueuePurgeOk( - uint initMessageCount) - { - m_messageCount = initMessageCount; - } - - public override int ProtocolClassId { get { return 50; } } - public override int ProtocolMethodId { get { return 31; } } - public override string ProtocolMethodName { get { return "queue.purge-ok"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_messageCount = reader.ReadLong(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteLong(m_messageCount); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_messageCount); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class QueueDelete: RabbitMQ.Client.Impl.MethodBase, IQueueDelete { - public const int ClassId = 50; - public const int MethodId = 40; - - public ushort m_ticket; - public string m_queue; - public bool m_ifUnused; - public bool m_ifEmpty; - public bool m_nowait; - - ushort IQueueDelete.Ticket { get { return m_ticket; } } - string IQueueDelete.Queue { get { return m_queue; } } - bool IQueueDelete.IfUnused { get { return m_ifUnused; } } - bool IQueueDelete.IfEmpty { get { return m_ifEmpty; } } - bool IQueueDelete.Nowait { get { return m_nowait; } } - - public QueueDelete() {} - public QueueDelete( - ushort initTicket, - string initQueue, - bool initIfUnused, - bool initIfEmpty, - bool initNowait) - { - m_ticket = initTicket; - m_queue = initQueue; - m_ifUnused = initIfUnused; - m_ifEmpty = initIfEmpty; - m_nowait = initNowait; - } - - public override int ProtocolClassId { get { return 50; } } - public override int ProtocolMethodId { get { return 40; } } - public override string ProtocolMethodName { get { return "queue.delete"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_ticket = reader.ReadShort(); - m_queue = reader.ReadShortstr(); - m_ifUnused = reader.ReadBit(); - m_ifEmpty = reader.ReadBit(); - m_nowait = reader.ReadBit(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShort(m_ticket); - writer.WriteShortstr(m_queue); - writer.WriteBit(m_ifUnused); - writer.WriteBit(m_ifEmpty); - writer.WriteBit(m_nowait); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_ticket); sb.Append(","); - sb.Append(m_queue); sb.Append(","); - sb.Append(m_ifUnused); sb.Append(","); - sb.Append(m_ifEmpty); sb.Append(","); - sb.Append(m_nowait); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class QueueDeleteOk: RabbitMQ.Client.Impl.MethodBase, IQueueDeleteOk { - public const int ClassId = 50; - public const int MethodId = 41; - - public uint m_messageCount; - - uint IQueueDeleteOk.MessageCount { get { return m_messageCount; } } - - public QueueDeleteOk() {} - public QueueDeleteOk( - uint initMessageCount) - { - m_messageCount = initMessageCount; - } - - public override int ProtocolClassId { get { return 50; } } - public override int ProtocolMethodId { get { return 41; } } - public override string ProtocolMethodName { get { return "queue.delete-ok"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_messageCount = reader.ReadLong(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteLong(m_messageCount); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_messageCount); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class BasicQos: RabbitMQ.Client.Impl.MethodBase, IBasicQos { - public const int ClassId = 60; - public const int MethodId = 10; - - public uint m_prefetchSize; - public ushort m_prefetchCount; - public bool m_global; - - uint IBasicQos.PrefetchSize { get { return m_prefetchSize; } } - ushort IBasicQos.PrefetchCount { get { return m_prefetchCount; } } - bool IBasicQos.Global { get { return m_global; } } - - public BasicQos() {} - public BasicQos( - uint initPrefetchSize, - ushort initPrefetchCount, - bool initGlobal) - { - m_prefetchSize = initPrefetchSize; - m_prefetchCount = initPrefetchCount; - m_global = initGlobal; - } - - public override int ProtocolClassId { get { return 60; } } - public override int ProtocolMethodId { get { return 10; } } - public override string ProtocolMethodName { get { return "basic.qos"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_prefetchSize = reader.ReadLong(); - m_prefetchCount = reader.ReadShort(); - m_global = reader.ReadBit(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteLong(m_prefetchSize); - writer.WriteShort(m_prefetchCount); - writer.WriteBit(m_global); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_prefetchSize); sb.Append(","); - sb.Append(m_prefetchCount); sb.Append(","); - sb.Append(m_global); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class BasicQosOk: RabbitMQ.Client.Impl.MethodBase, IBasicQosOk { - public const int ClassId = 60; - public const int MethodId = 11; - - - - public BasicQosOk( -) - { - } - - public override int ProtocolClassId { get { return 60; } } - public override int ProtocolMethodId { get { return 11; } } - public override string ProtocolMethodName { get { return "basic.qos-ok"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class BasicConsume: RabbitMQ.Client.Impl.MethodBase, IBasicConsume { - public const int ClassId = 60; - public const int MethodId = 20; - - public ushort m_ticket; - public string m_queue; - public string m_consumerTag; - public bool m_noLocal; - public bool m_noAck; - public bool m_exclusive; - public bool m_nowait; - public System.Collections.IDictionary m_filter; - - ushort IBasicConsume.Ticket { get { return m_ticket; } } - string IBasicConsume.Queue { get { return m_queue; } } - string IBasicConsume.ConsumerTag { get { return m_consumerTag; } } - bool IBasicConsume.NoLocal { get { return m_noLocal; } } - bool IBasicConsume.NoAck { get { return m_noAck; } } - bool IBasicConsume.Exclusive { get { return m_exclusive; } } - bool IBasicConsume.Nowait { get { return m_nowait; } } - System.Collections.IDictionary IBasicConsume.Filter { get { return m_filter; } } - - public BasicConsume() {} - public BasicConsume( - ushort initTicket, - string initQueue, - string initConsumerTag, - bool initNoLocal, - bool initNoAck, - bool initExclusive, - bool initNowait, - System.Collections.IDictionary initFilter) - { - m_ticket = initTicket; - m_queue = initQueue; - m_consumerTag = initConsumerTag; - m_noLocal = initNoLocal; - m_noAck = initNoAck; - m_exclusive = initExclusive; - m_nowait = initNowait; - m_filter = initFilter; - } - - public override int ProtocolClassId { get { return 60; } } - public override int ProtocolMethodId { get { return 20; } } - public override string ProtocolMethodName { get { return "basic.consume"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_ticket = reader.ReadShort(); - m_queue = reader.ReadShortstr(); - m_consumerTag = reader.ReadShortstr(); - m_noLocal = reader.ReadBit(); - m_noAck = reader.ReadBit(); - m_exclusive = reader.ReadBit(); - m_nowait = reader.ReadBit(); - m_filter = reader.ReadTable(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShort(m_ticket); - writer.WriteShortstr(m_queue); - writer.WriteShortstr(m_consumerTag); - writer.WriteBit(m_noLocal); - writer.WriteBit(m_noAck); - writer.WriteBit(m_exclusive); - writer.WriteBit(m_nowait); - writer.WriteTable(m_filter); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_ticket); sb.Append(","); - sb.Append(m_queue); sb.Append(","); - sb.Append(m_consumerTag); sb.Append(","); - sb.Append(m_noLocal); sb.Append(","); - sb.Append(m_noAck); sb.Append(","); - sb.Append(m_exclusive); sb.Append(","); - sb.Append(m_nowait); sb.Append(","); - sb.Append(m_filter); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class BasicConsumeOk: RabbitMQ.Client.Impl.MethodBase, IBasicConsumeOk { - public const int ClassId = 60; - public const int MethodId = 21; - - public string m_consumerTag; - - string IBasicConsumeOk.ConsumerTag { get { return m_consumerTag; } } - - public BasicConsumeOk() {} - public BasicConsumeOk( - string initConsumerTag) - { - m_consumerTag = initConsumerTag; - } - - public override int ProtocolClassId { get { return 60; } } - public override int ProtocolMethodId { get { return 21; } } - public override string ProtocolMethodName { get { return "basic.consume-ok"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_consumerTag = reader.ReadShortstr(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShortstr(m_consumerTag); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_consumerTag); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class BasicCancel: RabbitMQ.Client.Impl.MethodBase, IBasicCancel { - public const int ClassId = 60; - public const int MethodId = 30; - - public string m_consumerTag; - public bool m_nowait; - - string IBasicCancel.ConsumerTag { get { return m_consumerTag; } } - bool IBasicCancel.Nowait { get { return m_nowait; } } - - public BasicCancel() {} - public BasicCancel( - string initConsumerTag, - bool initNowait) - { - m_consumerTag = initConsumerTag; - m_nowait = initNowait; - } - - public override int ProtocolClassId { get { return 60; } } - public override int ProtocolMethodId { get { return 30; } } - public override string ProtocolMethodName { get { return "basic.cancel"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_consumerTag = reader.ReadShortstr(); - m_nowait = reader.ReadBit(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShortstr(m_consumerTag); - writer.WriteBit(m_nowait); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_consumerTag); sb.Append(","); - sb.Append(m_nowait); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class BasicCancelOk: RabbitMQ.Client.Impl.MethodBase, IBasicCancelOk { - public const int ClassId = 60; - public const int MethodId = 31; - - public string m_consumerTag; - - string IBasicCancelOk.ConsumerTag { get { return m_consumerTag; } } - - public BasicCancelOk() {} - public BasicCancelOk( - string initConsumerTag) - { - m_consumerTag = initConsumerTag; - } - - public override int ProtocolClassId { get { return 60; } } - public override int ProtocolMethodId { get { return 31; } } - public override string ProtocolMethodName { get { return "basic.cancel-ok"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_consumerTag = reader.ReadShortstr(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShortstr(m_consumerTag); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_consumerTag); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class BasicPublish: RabbitMQ.Client.Impl.MethodBase, IBasicPublish { - public const int ClassId = 60; - public const int MethodId = 40; - - public ushort m_ticket; - public string m_exchange; - public string m_routingKey; - public bool m_mandatory; - public bool m_immediate; - - ushort IBasicPublish.Ticket { get { return m_ticket; } } - string IBasicPublish.Exchange { get { return m_exchange; } } - string IBasicPublish.RoutingKey { get { return m_routingKey; } } - bool IBasicPublish.Mandatory { get { return m_mandatory; } } - bool IBasicPublish.Immediate { get { return m_immediate; } } - - public BasicPublish() {} - public BasicPublish( - ushort initTicket, - string initExchange, - string initRoutingKey, - bool initMandatory, - bool initImmediate) - { - m_ticket = initTicket; - m_exchange = initExchange; - m_routingKey = initRoutingKey; - m_mandatory = initMandatory; - m_immediate = initImmediate; - } - - public override int ProtocolClassId { get { return 60; } } - public override int ProtocolMethodId { get { return 40; } } - public override string ProtocolMethodName { get { return "basic.publish"; } } - public override bool HasContent { get { return true; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_ticket = reader.ReadShort(); - m_exchange = reader.ReadShortstr(); - m_routingKey = reader.ReadShortstr(); - m_mandatory = reader.ReadBit(); - m_immediate = reader.ReadBit(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShort(m_ticket); - writer.WriteShortstr(m_exchange); - writer.WriteShortstr(m_routingKey); - writer.WriteBit(m_mandatory); - writer.WriteBit(m_immediate); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_ticket); sb.Append(","); - sb.Append(m_exchange); sb.Append(","); - sb.Append(m_routingKey); sb.Append(","); - sb.Append(m_mandatory); sb.Append(","); - sb.Append(m_immediate); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class BasicReturn: RabbitMQ.Client.Impl.MethodBase, IBasicReturn { - public const int ClassId = 60; - public const int MethodId = 50; - - public ushort m_replyCode; - public string m_replyText; - public string m_exchange; - public string m_routingKey; - - ushort IBasicReturn.ReplyCode { get { return m_replyCode; } } - string IBasicReturn.ReplyText { get { return m_replyText; } } - string IBasicReturn.Exchange { get { return m_exchange; } } - string IBasicReturn.RoutingKey { get { return m_routingKey; } } - - public BasicReturn() {} - public BasicReturn( - ushort initReplyCode, - string initReplyText, - string initExchange, - string initRoutingKey) - { - m_replyCode = initReplyCode; - m_replyText = initReplyText; - m_exchange = initExchange; - m_routingKey = initRoutingKey; - } - - public override int ProtocolClassId { get { return 60; } } - public override int ProtocolMethodId { get { return 50; } } - public override string ProtocolMethodName { get { return "basic.return"; } } - public override bool HasContent { get { return true; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_replyCode = reader.ReadShort(); - m_replyText = reader.ReadShortstr(); - m_exchange = reader.ReadShortstr(); - m_routingKey = reader.ReadShortstr(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShort(m_replyCode); - writer.WriteShortstr(m_replyText); - writer.WriteShortstr(m_exchange); - writer.WriteShortstr(m_routingKey); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_replyCode); sb.Append(","); - sb.Append(m_replyText); sb.Append(","); - sb.Append(m_exchange); sb.Append(","); - sb.Append(m_routingKey); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class BasicDeliver: RabbitMQ.Client.Impl.MethodBase, IBasicDeliver { - public const int ClassId = 60; - public const int MethodId = 60; - - public string m_consumerTag; - public ulong m_deliveryTag; - public bool m_redelivered; - public string m_exchange; - public string m_routingKey; - - string IBasicDeliver.ConsumerTag { get { return m_consumerTag; } } - ulong IBasicDeliver.DeliveryTag { get { return m_deliveryTag; } } - bool IBasicDeliver.Redelivered { get { return m_redelivered; } } - string IBasicDeliver.Exchange { get { return m_exchange; } } - string IBasicDeliver.RoutingKey { get { return m_routingKey; } } - - public BasicDeliver() {} - public BasicDeliver( - string initConsumerTag, - ulong initDeliveryTag, - bool initRedelivered, - string initExchange, - string initRoutingKey) - { - m_consumerTag = initConsumerTag; - m_deliveryTag = initDeliveryTag; - m_redelivered = initRedelivered; - m_exchange = initExchange; - m_routingKey = initRoutingKey; - } - - public override int ProtocolClassId { get { return 60; } } - public override int ProtocolMethodId { get { return 60; } } - public override string ProtocolMethodName { get { return "basic.deliver"; } } - public override bool HasContent { get { return true; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_consumerTag = reader.ReadShortstr(); - m_deliveryTag = reader.ReadLonglong(); - m_redelivered = reader.ReadBit(); - m_exchange = reader.ReadShortstr(); - m_routingKey = reader.ReadShortstr(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShortstr(m_consumerTag); - writer.WriteLonglong(m_deliveryTag); - writer.WriteBit(m_redelivered); - writer.WriteShortstr(m_exchange); - writer.WriteShortstr(m_routingKey); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_consumerTag); sb.Append(","); - sb.Append(m_deliveryTag); sb.Append(","); - sb.Append(m_redelivered); sb.Append(","); - sb.Append(m_exchange); sb.Append(","); - sb.Append(m_routingKey); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class BasicGet: RabbitMQ.Client.Impl.MethodBase, IBasicGet { - public const int ClassId = 60; - public const int MethodId = 70; - - public ushort m_ticket; - public string m_queue; - public bool m_noAck; - - ushort IBasicGet.Ticket { get { return m_ticket; } } - string IBasicGet.Queue { get { return m_queue; } } - bool IBasicGet.NoAck { get { return m_noAck; } } - - public BasicGet() {} - public BasicGet( - ushort initTicket, - string initQueue, - bool initNoAck) - { - m_ticket = initTicket; - m_queue = initQueue; - m_noAck = initNoAck; - } - - public override int ProtocolClassId { get { return 60; } } - public override int ProtocolMethodId { get { return 70; } } - public override string ProtocolMethodName { get { return "basic.get"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_ticket = reader.ReadShort(); - m_queue = reader.ReadShortstr(); - m_noAck = reader.ReadBit(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShort(m_ticket); - writer.WriteShortstr(m_queue); - writer.WriteBit(m_noAck); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_ticket); sb.Append(","); - sb.Append(m_queue); sb.Append(","); - sb.Append(m_noAck); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class BasicGetOk: RabbitMQ.Client.Impl.MethodBase, IBasicGetOk { - public const int ClassId = 60; - public const int MethodId = 71; - - public ulong m_deliveryTag; - public bool m_redelivered; - public string m_exchange; - public string m_routingKey; - public uint m_messageCount; - - ulong IBasicGetOk.DeliveryTag { get { return m_deliveryTag; } } - bool IBasicGetOk.Redelivered { get { return m_redelivered; } } - string IBasicGetOk.Exchange { get { return m_exchange; } } - string IBasicGetOk.RoutingKey { get { return m_routingKey; } } - uint IBasicGetOk.MessageCount { get { return m_messageCount; } } - - public BasicGetOk() {} - public BasicGetOk( - ulong initDeliveryTag, - bool initRedelivered, - string initExchange, - string initRoutingKey, - uint initMessageCount) - { - m_deliveryTag = initDeliveryTag; - m_redelivered = initRedelivered; - m_exchange = initExchange; - m_routingKey = initRoutingKey; - m_messageCount = initMessageCount; - } - - public override int ProtocolClassId { get { return 60; } } - public override int ProtocolMethodId { get { return 71; } } - public override string ProtocolMethodName { get { return "basic.get-ok"; } } - public override bool HasContent { get { return true; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_deliveryTag = reader.ReadLonglong(); - m_redelivered = reader.ReadBit(); - m_exchange = reader.ReadShortstr(); - m_routingKey = reader.ReadShortstr(); - m_messageCount = reader.ReadLong(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteLonglong(m_deliveryTag); - writer.WriteBit(m_redelivered); - writer.WriteShortstr(m_exchange); - writer.WriteShortstr(m_routingKey); - writer.WriteLong(m_messageCount); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_deliveryTag); sb.Append(","); - sb.Append(m_redelivered); sb.Append(","); - sb.Append(m_exchange); sb.Append(","); - sb.Append(m_routingKey); sb.Append(","); - sb.Append(m_messageCount); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class BasicGetEmpty: RabbitMQ.Client.Impl.MethodBase, IBasicGetEmpty { - public const int ClassId = 60; - public const int MethodId = 72; - - public string m_clusterId; - - string IBasicGetEmpty.ClusterId { get { return m_clusterId; } } - - public BasicGetEmpty() {} - public BasicGetEmpty( - string initClusterId) - { - m_clusterId = initClusterId; - } - - public override int ProtocolClassId { get { return 60; } } - public override int ProtocolMethodId { get { return 72; } } - public override string ProtocolMethodName { get { return "basic.get-empty"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_clusterId = reader.ReadShortstr(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShortstr(m_clusterId); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_clusterId); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class BasicAck: RabbitMQ.Client.Impl.MethodBase, IBasicAck { - public const int ClassId = 60; - public const int MethodId = 80; - - public ulong m_deliveryTag; - public bool m_multiple; - - ulong IBasicAck.DeliveryTag { get { return m_deliveryTag; } } - bool IBasicAck.Multiple { get { return m_multiple; } } - - public BasicAck() {} - public BasicAck( - ulong initDeliveryTag, - bool initMultiple) - { - m_deliveryTag = initDeliveryTag; - m_multiple = initMultiple; - } - - public override int ProtocolClassId { get { return 60; } } - public override int ProtocolMethodId { get { return 80; } } - public override string ProtocolMethodName { get { return "basic.ack"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_deliveryTag = reader.ReadLonglong(); - m_multiple = reader.ReadBit(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteLonglong(m_deliveryTag); - writer.WriteBit(m_multiple); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_deliveryTag); sb.Append(","); - sb.Append(m_multiple); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class BasicReject: RabbitMQ.Client.Impl.MethodBase, IBasicReject { - public const int ClassId = 60; - public const int MethodId = 90; - - public ulong m_deliveryTag; - public bool m_requeue; - - ulong IBasicReject.DeliveryTag { get { return m_deliveryTag; } } - bool IBasicReject.Requeue { get { return m_requeue; } } - - public BasicReject() {} - public BasicReject( - ulong initDeliveryTag, - bool initRequeue) - { - m_deliveryTag = initDeliveryTag; - m_requeue = initRequeue; - } - - public override int ProtocolClassId { get { return 60; } } - public override int ProtocolMethodId { get { return 90; } } - public override string ProtocolMethodName { get { return "basic.reject"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_deliveryTag = reader.ReadLonglong(); - m_requeue = reader.ReadBit(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteLonglong(m_deliveryTag); - writer.WriteBit(m_requeue); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_deliveryTag); sb.Append(","); - sb.Append(m_requeue); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class BasicRecover: RabbitMQ.Client.Impl.MethodBase, IBasicRecover { - public const int ClassId = 60; - public const int MethodId = 100; - - public bool m_requeue; - - bool IBasicRecover.Requeue { get { return m_requeue; } } - - public BasicRecover() {} - public BasicRecover( - bool initRequeue) - { - m_requeue = initRequeue; - } - - public override int ProtocolClassId { get { return 60; } } - public override int ProtocolMethodId { get { return 100; } } - public override string ProtocolMethodName { get { return "basic.recover"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_requeue = reader.ReadBit(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteBit(m_requeue); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_requeue); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class FileQos: RabbitMQ.Client.Impl.MethodBase, IFileQos { - public const int ClassId = 70; - public const int MethodId = 10; - - public uint m_prefetchSize; - public ushort m_prefetchCount; - public bool m_global; - - uint IFileQos.PrefetchSize { get { return m_prefetchSize; } } - ushort IFileQos.PrefetchCount { get { return m_prefetchCount; } } - bool IFileQos.Global { get { return m_global; } } - - public FileQos() {} - public FileQos( - uint initPrefetchSize, - ushort initPrefetchCount, - bool initGlobal) - { - m_prefetchSize = initPrefetchSize; - m_prefetchCount = initPrefetchCount; - m_global = initGlobal; - } - - public override int ProtocolClassId { get { return 70; } } - public override int ProtocolMethodId { get { return 10; } } - public override string ProtocolMethodName { get { return "file.qos"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_prefetchSize = reader.ReadLong(); - m_prefetchCount = reader.ReadShort(); - m_global = reader.ReadBit(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteLong(m_prefetchSize); - writer.WriteShort(m_prefetchCount); - writer.WriteBit(m_global); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_prefetchSize); sb.Append(","); - sb.Append(m_prefetchCount); sb.Append(","); - sb.Append(m_global); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class FileQosOk: RabbitMQ.Client.Impl.MethodBase, IFileQosOk { - public const int ClassId = 70; - public const int MethodId = 11; - - - - public FileQosOk( -) - { - } - - public override int ProtocolClassId { get { return 70; } } - public override int ProtocolMethodId { get { return 11; } } - public override string ProtocolMethodName { get { return "file.qos-ok"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class FileConsume: RabbitMQ.Client.Impl.MethodBase, IFileConsume { - public const int ClassId = 70; - public const int MethodId = 20; - - public ushort m_ticket; - public string m_queue; - public string m_consumerTag; - public bool m_noLocal; - public bool m_noAck; - public bool m_exclusive; - public bool m_nowait; - public System.Collections.IDictionary m_filter; - - ushort IFileConsume.Ticket { get { return m_ticket; } } - string IFileConsume.Queue { get { return m_queue; } } - string IFileConsume.ConsumerTag { get { return m_consumerTag; } } - bool IFileConsume.NoLocal { get { return m_noLocal; } } - bool IFileConsume.NoAck { get { return m_noAck; } } - bool IFileConsume.Exclusive { get { return m_exclusive; } } - bool IFileConsume.Nowait { get { return m_nowait; } } - System.Collections.IDictionary IFileConsume.Filter { get { return m_filter; } } - - public FileConsume() {} - public FileConsume( - ushort initTicket, - string initQueue, - string initConsumerTag, - bool initNoLocal, - bool initNoAck, - bool initExclusive, - bool initNowait, - System.Collections.IDictionary initFilter) - { - m_ticket = initTicket; - m_queue = initQueue; - m_consumerTag = initConsumerTag; - m_noLocal = initNoLocal; - m_noAck = initNoAck; - m_exclusive = initExclusive; - m_nowait = initNowait; - m_filter = initFilter; - } - - public override int ProtocolClassId { get { return 70; } } - public override int ProtocolMethodId { get { return 20; } } - public override string ProtocolMethodName { get { return "file.consume"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_ticket = reader.ReadShort(); - m_queue = reader.ReadShortstr(); - m_consumerTag = reader.ReadShortstr(); - m_noLocal = reader.ReadBit(); - m_noAck = reader.ReadBit(); - m_exclusive = reader.ReadBit(); - m_nowait = reader.ReadBit(); - m_filter = reader.ReadTable(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShort(m_ticket); - writer.WriteShortstr(m_queue); - writer.WriteShortstr(m_consumerTag); - writer.WriteBit(m_noLocal); - writer.WriteBit(m_noAck); - writer.WriteBit(m_exclusive); - writer.WriteBit(m_nowait); - writer.WriteTable(m_filter); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_ticket); sb.Append(","); - sb.Append(m_queue); sb.Append(","); - sb.Append(m_consumerTag); sb.Append(","); - sb.Append(m_noLocal); sb.Append(","); - sb.Append(m_noAck); sb.Append(","); - sb.Append(m_exclusive); sb.Append(","); - sb.Append(m_nowait); sb.Append(","); - sb.Append(m_filter); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class FileConsumeOk: RabbitMQ.Client.Impl.MethodBase, IFileConsumeOk { - public const int ClassId = 70; - public const int MethodId = 21; - - public string m_consumerTag; - - string IFileConsumeOk.ConsumerTag { get { return m_consumerTag; } } - - public FileConsumeOk() {} - public FileConsumeOk( - string initConsumerTag) - { - m_consumerTag = initConsumerTag; - } - - public override int ProtocolClassId { get { return 70; } } - public override int ProtocolMethodId { get { return 21; } } - public override string ProtocolMethodName { get { return "file.consume-ok"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_consumerTag = reader.ReadShortstr(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShortstr(m_consumerTag); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_consumerTag); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class FileCancel: RabbitMQ.Client.Impl.MethodBase, IFileCancel { - public const int ClassId = 70; - public const int MethodId = 30; - - public string m_consumerTag; - public bool m_nowait; - - string IFileCancel.ConsumerTag { get { return m_consumerTag; } } - bool IFileCancel.Nowait { get { return m_nowait; } } - - public FileCancel() {} - public FileCancel( - string initConsumerTag, - bool initNowait) - { - m_consumerTag = initConsumerTag; - m_nowait = initNowait; - } - - public override int ProtocolClassId { get { return 70; } } - public override int ProtocolMethodId { get { return 30; } } - public override string ProtocolMethodName { get { return "file.cancel"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_consumerTag = reader.ReadShortstr(); - m_nowait = reader.ReadBit(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShortstr(m_consumerTag); - writer.WriteBit(m_nowait); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_consumerTag); sb.Append(","); - sb.Append(m_nowait); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class FileCancelOk: RabbitMQ.Client.Impl.MethodBase, IFileCancelOk { - public const int ClassId = 70; - public const int MethodId = 31; - - public string m_consumerTag; - - string IFileCancelOk.ConsumerTag { get { return m_consumerTag; } } - - public FileCancelOk() {} - public FileCancelOk( - string initConsumerTag) - { - m_consumerTag = initConsumerTag; - } - - public override int ProtocolClassId { get { return 70; } } - public override int ProtocolMethodId { get { return 31; } } - public override string ProtocolMethodName { get { return "file.cancel-ok"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_consumerTag = reader.ReadShortstr(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShortstr(m_consumerTag); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_consumerTag); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class FileOpen: RabbitMQ.Client.Impl.MethodBase, IFileOpen { - public const int ClassId = 70; - public const int MethodId = 40; - - public string m_identifier; - public ulong m_contentSize; - - string IFileOpen.Identifier { get { return m_identifier; } } - ulong IFileOpen.ContentSize { get { return m_contentSize; } } - - public FileOpen() {} - public FileOpen( - string initIdentifier, - ulong initContentSize) - { - m_identifier = initIdentifier; - m_contentSize = initContentSize; - } - - public override int ProtocolClassId { get { return 70; } } - public override int ProtocolMethodId { get { return 40; } } - public override string ProtocolMethodName { get { return "file.open"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_identifier = reader.ReadShortstr(); - m_contentSize = reader.ReadLonglong(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShortstr(m_identifier); - writer.WriteLonglong(m_contentSize); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_identifier); sb.Append(","); - sb.Append(m_contentSize); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class FileOpenOk: RabbitMQ.Client.Impl.MethodBase, IFileOpenOk { - public const int ClassId = 70; - public const int MethodId = 41; - - public ulong m_stagedSize; - - ulong IFileOpenOk.StagedSize { get { return m_stagedSize; } } - - public FileOpenOk() {} - public FileOpenOk( - ulong initStagedSize) - { - m_stagedSize = initStagedSize; - } - - public override int ProtocolClassId { get { return 70; } } - public override int ProtocolMethodId { get { return 41; } } - public override string ProtocolMethodName { get { return "file.open-ok"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_stagedSize = reader.ReadLonglong(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteLonglong(m_stagedSize); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_stagedSize); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class FileStage: RabbitMQ.Client.Impl.MethodBase, IFileStage { - public const int ClassId = 70; - public const int MethodId = 50; - - - - public FileStage( -) - { - } - - public override int ProtocolClassId { get { return 70; } } - public override int ProtocolMethodId { get { return 50; } } - public override string ProtocolMethodName { get { return "file.stage"; } } - public override bool HasContent { get { return true; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class FilePublish: RabbitMQ.Client.Impl.MethodBase, IFilePublish { - public const int ClassId = 70; - public const int MethodId = 60; - - public ushort m_ticket; - public string m_exchange; - public string m_routingKey; - public bool m_mandatory; - public bool m_immediate; - public string m_identifier; - - ushort IFilePublish.Ticket { get { return m_ticket; } } - string IFilePublish.Exchange { get { return m_exchange; } } - string IFilePublish.RoutingKey { get { return m_routingKey; } } - bool IFilePublish.Mandatory { get { return m_mandatory; } } - bool IFilePublish.Immediate { get { return m_immediate; } } - string IFilePublish.Identifier { get { return m_identifier; } } - - public FilePublish() {} - public FilePublish( - ushort initTicket, - string initExchange, - string initRoutingKey, - bool initMandatory, - bool initImmediate, - string initIdentifier) - { - m_ticket = initTicket; - m_exchange = initExchange; - m_routingKey = initRoutingKey; - m_mandatory = initMandatory; - m_immediate = initImmediate; - m_identifier = initIdentifier; - } - - public override int ProtocolClassId { get { return 70; } } - public override int ProtocolMethodId { get { return 60; } } - public override string ProtocolMethodName { get { return "file.publish"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_ticket = reader.ReadShort(); - m_exchange = reader.ReadShortstr(); - m_routingKey = reader.ReadShortstr(); - m_mandatory = reader.ReadBit(); - m_immediate = reader.ReadBit(); - m_identifier = reader.ReadShortstr(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShort(m_ticket); - writer.WriteShortstr(m_exchange); - writer.WriteShortstr(m_routingKey); - writer.WriteBit(m_mandatory); - writer.WriteBit(m_immediate); - writer.WriteShortstr(m_identifier); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_ticket); sb.Append(","); - sb.Append(m_exchange); sb.Append(","); - sb.Append(m_routingKey); sb.Append(","); - sb.Append(m_mandatory); sb.Append(","); - sb.Append(m_immediate); sb.Append(","); - sb.Append(m_identifier); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class FileReturn: RabbitMQ.Client.Impl.MethodBase, IFileReturn { - public const int ClassId = 70; - public const int MethodId = 70; - - public ushort m_replyCode; - public string m_replyText; - public string m_exchange; - public string m_routingKey; - - ushort IFileReturn.ReplyCode { get { return m_replyCode; } } - string IFileReturn.ReplyText { get { return m_replyText; } } - string IFileReturn.Exchange { get { return m_exchange; } } - string IFileReturn.RoutingKey { get { return m_routingKey; } } - - public FileReturn() {} - public FileReturn( - ushort initReplyCode, - string initReplyText, - string initExchange, - string initRoutingKey) - { - m_replyCode = initReplyCode; - m_replyText = initReplyText; - m_exchange = initExchange; - m_routingKey = initRoutingKey; - } - - public override int ProtocolClassId { get { return 70; } } - public override int ProtocolMethodId { get { return 70; } } - public override string ProtocolMethodName { get { return "file.return"; } } - public override bool HasContent { get { return true; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_replyCode = reader.ReadShort(); - m_replyText = reader.ReadShortstr(); - m_exchange = reader.ReadShortstr(); - m_routingKey = reader.ReadShortstr(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShort(m_replyCode); - writer.WriteShortstr(m_replyText); - writer.WriteShortstr(m_exchange); - writer.WriteShortstr(m_routingKey); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_replyCode); sb.Append(","); - sb.Append(m_replyText); sb.Append(","); - sb.Append(m_exchange); sb.Append(","); - sb.Append(m_routingKey); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class FileDeliver: RabbitMQ.Client.Impl.MethodBase, IFileDeliver { - public const int ClassId = 70; - public const int MethodId = 80; - - public string m_consumerTag; - public ulong m_deliveryTag; - public bool m_redelivered; - public string m_exchange; - public string m_routingKey; - public string m_identifier; - - string IFileDeliver.ConsumerTag { get { return m_consumerTag; } } - ulong IFileDeliver.DeliveryTag { get { return m_deliveryTag; } } - bool IFileDeliver.Redelivered { get { return m_redelivered; } } - string IFileDeliver.Exchange { get { return m_exchange; } } - string IFileDeliver.RoutingKey { get { return m_routingKey; } } - string IFileDeliver.Identifier { get { return m_identifier; } } - - public FileDeliver() {} - public FileDeliver( - string initConsumerTag, - ulong initDeliveryTag, - bool initRedelivered, - string initExchange, - string initRoutingKey, - string initIdentifier) - { - m_consumerTag = initConsumerTag; - m_deliveryTag = initDeliveryTag; - m_redelivered = initRedelivered; - m_exchange = initExchange; - m_routingKey = initRoutingKey; - m_identifier = initIdentifier; - } - - public override int ProtocolClassId { get { return 70; } } - public override int ProtocolMethodId { get { return 80; } } - public override string ProtocolMethodName { get { return "file.deliver"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_consumerTag = reader.ReadShortstr(); - m_deliveryTag = reader.ReadLonglong(); - m_redelivered = reader.ReadBit(); - m_exchange = reader.ReadShortstr(); - m_routingKey = reader.ReadShortstr(); - m_identifier = reader.ReadShortstr(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShortstr(m_consumerTag); - writer.WriteLonglong(m_deliveryTag); - writer.WriteBit(m_redelivered); - writer.WriteShortstr(m_exchange); - writer.WriteShortstr(m_routingKey); - writer.WriteShortstr(m_identifier); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_consumerTag); sb.Append(","); - sb.Append(m_deliveryTag); sb.Append(","); - sb.Append(m_redelivered); sb.Append(","); - sb.Append(m_exchange); sb.Append(","); - sb.Append(m_routingKey); sb.Append(","); - sb.Append(m_identifier); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class FileAck: RabbitMQ.Client.Impl.MethodBase, IFileAck { - public const int ClassId = 70; - public const int MethodId = 90; - - public ulong m_deliveryTag; - public bool m_multiple; - - ulong IFileAck.DeliveryTag { get { return m_deliveryTag; } } - bool IFileAck.Multiple { get { return m_multiple; } } - - public FileAck() {} - public FileAck( - ulong initDeliveryTag, - bool initMultiple) - { - m_deliveryTag = initDeliveryTag; - m_multiple = initMultiple; - } - - public override int ProtocolClassId { get { return 70; } } - public override int ProtocolMethodId { get { return 90; } } - public override string ProtocolMethodName { get { return "file.ack"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_deliveryTag = reader.ReadLonglong(); - m_multiple = reader.ReadBit(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteLonglong(m_deliveryTag); - writer.WriteBit(m_multiple); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_deliveryTag); sb.Append(","); - sb.Append(m_multiple); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class FileReject: RabbitMQ.Client.Impl.MethodBase, IFileReject { - public const int ClassId = 70; - public const int MethodId = 100; - - public ulong m_deliveryTag; - public bool m_requeue; - - ulong IFileReject.DeliveryTag { get { return m_deliveryTag; } } - bool IFileReject.Requeue { get { return m_requeue; } } - - public FileReject() {} - public FileReject( - ulong initDeliveryTag, - bool initRequeue) - { - m_deliveryTag = initDeliveryTag; - m_requeue = initRequeue; - } - - public override int ProtocolClassId { get { return 70; } } - public override int ProtocolMethodId { get { return 100; } } - public override string ProtocolMethodName { get { return "file.reject"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_deliveryTag = reader.ReadLonglong(); - m_requeue = reader.ReadBit(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteLonglong(m_deliveryTag); - writer.WriteBit(m_requeue); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_deliveryTag); sb.Append(","); - sb.Append(m_requeue); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class StreamQos: RabbitMQ.Client.Impl.MethodBase, IStreamQos { - public const int ClassId = 80; - public const int MethodId = 10; - - public uint m_prefetchSize; - public ushort m_prefetchCount; - public uint m_consumeRate; - public bool m_global; - - uint IStreamQos.PrefetchSize { get { return m_prefetchSize; } } - ushort IStreamQos.PrefetchCount { get { return m_prefetchCount; } } - uint IStreamQos.ConsumeRate { get { return m_consumeRate; } } - bool IStreamQos.Global { get { return m_global; } } - - public StreamQos() {} - public StreamQos( - uint initPrefetchSize, - ushort initPrefetchCount, - uint initConsumeRate, - bool initGlobal) - { - m_prefetchSize = initPrefetchSize; - m_prefetchCount = initPrefetchCount; - m_consumeRate = initConsumeRate; - m_global = initGlobal; - } - - public override int ProtocolClassId { get { return 80; } } - public override int ProtocolMethodId { get { return 10; } } - public override string ProtocolMethodName { get { return "stream.qos"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_prefetchSize = reader.ReadLong(); - m_prefetchCount = reader.ReadShort(); - m_consumeRate = reader.ReadLong(); - m_global = reader.ReadBit(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteLong(m_prefetchSize); - writer.WriteShort(m_prefetchCount); - writer.WriteLong(m_consumeRate); - writer.WriteBit(m_global); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_prefetchSize); sb.Append(","); - sb.Append(m_prefetchCount); sb.Append(","); - sb.Append(m_consumeRate); sb.Append(","); - sb.Append(m_global); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class StreamQosOk: RabbitMQ.Client.Impl.MethodBase, IStreamQosOk { - public const int ClassId = 80; - public const int MethodId = 11; - - - - public StreamQosOk( -) - { - } - - public override int ProtocolClassId { get { return 80; } } - public override int ProtocolMethodId { get { return 11; } } - public override string ProtocolMethodName { get { return "stream.qos-ok"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class StreamConsume: RabbitMQ.Client.Impl.MethodBase, IStreamConsume { - public const int ClassId = 80; - public const int MethodId = 20; - - public ushort m_ticket; - public string m_queue; - public string m_consumerTag; - public bool m_noLocal; - public bool m_exclusive; - public bool m_nowait; - public System.Collections.IDictionary m_filter; - - ushort IStreamConsume.Ticket { get { return m_ticket; } } - string IStreamConsume.Queue { get { return m_queue; } } - string IStreamConsume.ConsumerTag { get { return m_consumerTag; } } - bool IStreamConsume.NoLocal { get { return m_noLocal; } } - bool IStreamConsume.Exclusive { get { return m_exclusive; } } - bool IStreamConsume.Nowait { get { return m_nowait; } } - System.Collections.IDictionary IStreamConsume.Filter { get { return m_filter; } } - - public StreamConsume() {} - public StreamConsume( - ushort initTicket, - string initQueue, - string initConsumerTag, - bool initNoLocal, - bool initExclusive, - bool initNowait, - System.Collections.IDictionary initFilter) - { - m_ticket = initTicket; - m_queue = initQueue; - m_consumerTag = initConsumerTag; - m_noLocal = initNoLocal; - m_exclusive = initExclusive; - m_nowait = initNowait; - m_filter = initFilter; - } - - public override int ProtocolClassId { get { return 80; } } - public override int ProtocolMethodId { get { return 20; } } - public override string ProtocolMethodName { get { return "stream.consume"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_ticket = reader.ReadShort(); - m_queue = reader.ReadShortstr(); - m_consumerTag = reader.ReadShortstr(); - m_noLocal = reader.ReadBit(); - m_exclusive = reader.ReadBit(); - m_nowait = reader.ReadBit(); - m_filter = reader.ReadTable(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShort(m_ticket); - writer.WriteShortstr(m_queue); - writer.WriteShortstr(m_consumerTag); - writer.WriteBit(m_noLocal); - writer.WriteBit(m_exclusive); - writer.WriteBit(m_nowait); - writer.WriteTable(m_filter); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_ticket); sb.Append(","); - sb.Append(m_queue); sb.Append(","); - sb.Append(m_consumerTag); sb.Append(","); - sb.Append(m_noLocal); sb.Append(","); - sb.Append(m_exclusive); sb.Append(","); - sb.Append(m_nowait); sb.Append(","); - sb.Append(m_filter); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class StreamConsumeOk: RabbitMQ.Client.Impl.MethodBase, IStreamConsumeOk { - public const int ClassId = 80; - public const int MethodId = 21; - - public string m_consumerTag; - - string IStreamConsumeOk.ConsumerTag { get { return m_consumerTag; } } - - public StreamConsumeOk() {} - public StreamConsumeOk( - string initConsumerTag) - { - m_consumerTag = initConsumerTag; - } - - public override int ProtocolClassId { get { return 80; } } - public override int ProtocolMethodId { get { return 21; } } - public override string ProtocolMethodName { get { return "stream.consume-ok"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_consumerTag = reader.ReadShortstr(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShortstr(m_consumerTag); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_consumerTag); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class StreamCancel: RabbitMQ.Client.Impl.MethodBase, IStreamCancel { - public const int ClassId = 80; - public const int MethodId = 30; - - public string m_consumerTag; - public bool m_nowait; - - string IStreamCancel.ConsumerTag { get { return m_consumerTag; } } - bool IStreamCancel.Nowait { get { return m_nowait; } } - - public StreamCancel() {} - public StreamCancel( - string initConsumerTag, - bool initNowait) - { - m_consumerTag = initConsumerTag; - m_nowait = initNowait; - } - - public override int ProtocolClassId { get { return 80; } } - public override int ProtocolMethodId { get { return 30; } } - public override string ProtocolMethodName { get { return "stream.cancel"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_consumerTag = reader.ReadShortstr(); - m_nowait = reader.ReadBit(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShortstr(m_consumerTag); - writer.WriteBit(m_nowait); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_consumerTag); sb.Append(","); - sb.Append(m_nowait); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class StreamCancelOk: RabbitMQ.Client.Impl.MethodBase, IStreamCancelOk { - public const int ClassId = 80; - public const int MethodId = 31; - - public string m_consumerTag; - - string IStreamCancelOk.ConsumerTag { get { return m_consumerTag; } } - - public StreamCancelOk() {} - public StreamCancelOk( - string initConsumerTag) - { - m_consumerTag = initConsumerTag; - } - - public override int ProtocolClassId { get { return 80; } } - public override int ProtocolMethodId { get { return 31; } } - public override string ProtocolMethodName { get { return "stream.cancel-ok"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_consumerTag = reader.ReadShortstr(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShortstr(m_consumerTag); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_consumerTag); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class StreamPublish: RabbitMQ.Client.Impl.MethodBase, IStreamPublish { - public const int ClassId = 80; - public const int MethodId = 40; - - public ushort m_ticket; - public string m_exchange; - public string m_routingKey; - public bool m_mandatory; - public bool m_immediate; - - ushort IStreamPublish.Ticket { get { return m_ticket; } } - string IStreamPublish.Exchange { get { return m_exchange; } } - string IStreamPublish.RoutingKey { get { return m_routingKey; } } - bool IStreamPublish.Mandatory { get { return m_mandatory; } } - bool IStreamPublish.Immediate { get { return m_immediate; } } - - public StreamPublish() {} - public StreamPublish( - ushort initTicket, - string initExchange, - string initRoutingKey, - bool initMandatory, - bool initImmediate) - { - m_ticket = initTicket; - m_exchange = initExchange; - m_routingKey = initRoutingKey; - m_mandatory = initMandatory; - m_immediate = initImmediate; - } - - public override int ProtocolClassId { get { return 80; } } - public override int ProtocolMethodId { get { return 40; } } - public override string ProtocolMethodName { get { return "stream.publish"; } } - public override bool HasContent { get { return true; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_ticket = reader.ReadShort(); - m_exchange = reader.ReadShortstr(); - m_routingKey = reader.ReadShortstr(); - m_mandatory = reader.ReadBit(); - m_immediate = reader.ReadBit(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShort(m_ticket); - writer.WriteShortstr(m_exchange); - writer.WriteShortstr(m_routingKey); - writer.WriteBit(m_mandatory); - writer.WriteBit(m_immediate); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_ticket); sb.Append(","); - sb.Append(m_exchange); sb.Append(","); - sb.Append(m_routingKey); sb.Append(","); - sb.Append(m_mandatory); sb.Append(","); - sb.Append(m_immediate); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class StreamReturn: RabbitMQ.Client.Impl.MethodBase, IStreamReturn { - public const int ClassId = 80; - public const int MethodId = 50; - - public ushort m_replyCode; - public string m_replyText; - public string m_exchange; - public string m_routingKey; - - ushort IStreamReturn.ReplyCode { get { return m_replyCode; } } - string IStreamReturn.ReplyText { get { return m_replyText; } } - string IStreamReturn.Exchange { get { return m_exchange; } } - string IStreamReturn.RoutingKey { get { return m_routingKey; } } - - public StreamReturn() {} - public StreamReturn( - ushort initReplyCode, - string initReplyText, - string initExchange, - string initRoutingKey) - { - m_replyCode = initReplyCode; - m_replyText = initReplyText; - m_exchange = initExchange; - m_routingKey = initRoutingKey; - } - - public override int ProtocolClassId { get { return 80; } } - public override int ProtocolMethodId { get { return 50; } } - public override string ProtocolMethodName { get { return "stream.return"; } } - public override bool HasContent { get { return true; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_replyCode = reader.ReadShort(); - m_replyText = reader.ReadShortstr(); - m_exchange = reader.ReadShortstr(); - m_routingKey = reader.ReadShortstr(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShort(m_replyCode); - writer.WriteShortstr(m_replyText); - writer.WriteShortstr(m_exchange); - writer.WriteShortstr(m_routingKey); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_replyCode); sb.Append(","); - sb.Append(m_replyText); sb.Append(","); - sb.Append(m_exchange); sb.Append(","); - sb.Append(m_routingKey); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class StreamDeliver: RabbitMQ.Client.Impl.MethodBase, IStreamDeliver { - public const int ClassId = 80; - public const int MethodId = 60; - - public string m_consumerTag; - public ulong m_deliveryTag; - public string m_exchange; - public string m_queue; - - string IStreamDeliver.ConsumerTag { get { return m_consumerTag; } } - ulong IStreamDeliver.DeliveryTag { get { return m_deliveryTag; } } - string IStreamDeliver.Exchange { get { return m_exchange; } } - string IStreamDeliver.Queue { get { return m_queue; } } - - public StreamDeliver() {} - public StreamDeliver( - string initConsumerTag, - ulong initDeliveryTag, - string initExchange, - string initQueue) - { - m_consumerTag = initConsumerTag; - m_deliveryTag = initDeliveryTag; - m_exchange = initExchange; - m_queue = initQueue; - } - - public override int ProtocolClassId { get { return 80; } } - public override int ProtocolMethodId { get { return 60; } } - public override string ProtocolMethodName { get { return "stream.deliver"; } } - public override bool HasContent { get { return true; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_consumerTag = reader.ReadShortstr(); - m_deliveryTag = reader.ReadLonglong(); - m_exchange = reader.ReadShortstr(); - m_queue = reader.ReadShortstr(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShortstr(m_consumerTag); - writer.WriteLonglong(m_deliveryTag); - writer.WriteShortstr(m_exchange); - writer.WriteShortstr(m_queue); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_consumerTag); sb.Append(","); - sb.Append(m_deliveryTag); sb.Append(","); - sb.Append(m_exchange); sb.Append(","); - sb.Append(m_queue); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class TxSelect: RabbitMQ.Client.Impl.MethodBase, ITxSelect { - public const int ClassId = 90; - public const int MethodId = 10; - - - - public TxSelect( -) - { - } - - public override int ProtocolClassId { get { return 90; } } - public override int ProtocolMethodId { get { return 10; } } - public override string ProtocolMethodName { get { return "tx.select"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class TxSelectOk: RabbitMQ.Client.Impl.MethodBase, ITxSelectOk { - public const int ClassId = 90; - public const int MethodId = 11; - - - - public TxSelectOk( -) - { - } - - public override int ProtocolClassId { get { return 90; } } - public override int ProtocolMethodId { get { return 11; } } - public override string ProtocolMethodName { get { return "tx.select-ok"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class TxCommit: RabbitMQ.Client.Impl.MethodBase, ITxCommit { - public const int ClassId = 90; - public const int MethodId = 20; - - - - public TxCommit( -) - { - } - - public override int ProtocolClassId { get { return 90; } } - public override int ProtocolMethodId { get { return 20; } } - public override string ProtocolMethodName { get { return "tx.commit"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class TxCommitOk: RabbitMQ.Client.Impl.MethodBase, ITxCommitOk { - public const int ClassId = 90; - public const int MethodId = 21; - - - - public TxCommitOk( -) - { - } - - public override int ProtocolClassId { get { return 90; } } - public override int ProtocolMethodId { get { return 21; } } - public override string ProtocolMethodName { get { return "tx.commit-ok"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class TxRollback: RabbitMQ.Client.Impl.MethodBase, ITxRollback { - public const int ClassId = 90; - public const int MethodId = 30; - - - - public TxRollback( -) - { - } - - public override int ProtocolClassId { get { return 90; } } - public override int ProtocolMethodId { get { return 30; } } - public override string ProtocolMethodName { get { return "tx.rollback"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class TxRollbackOk: RabbitMQ.Client.Impl.MethodBase, ITxRollbackOk { - public const int ClassId = 90; - public const int MethodId = 31; - - - - public TxRollbackOk( -) - { - } - - public override int ProtocolClassId { get { return 90; } } - public override int ProtocolMethodId { get { return 31; } } - public override string ProtocolMethodName { get { return "tx.rollback-ok"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class DtxSelect: RabbitMQ.Client.Impl.MethodBase, IDtxSelect { - public const int ClassId = 100; - public const int MethodId = 10; - - - - public DtxSelect( -) - { - } - - public override int ProtocolClassId { get { return 100; } } - public override int ProtocolMethodId { get { return 10; } } - public override string ProtocolMethodName { get { return "dtx.select"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class DtxSelectOk: RabbitMQ.Client.Impl.MethodBase, IDtxSelectOk { - public const int ClassId = 100; - public const int MethodId = 11; - - - - public DtxSelectOk( -) - { - } - - public override int ProtocolClassId { get { return 100; } } - public override int ProtocolMethodId { get { return 11; } } - public override string ProtocolMethodName { get { return "dtx.select-ok"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class DtxStart: RabbitMQ.Client.Impl.MethodBase, IDtxStart { - public const int ClassId = 100; - public const int MethodId = 20; - - public string m_dtxIdentifier; - - string IDtxStart.DtxIdentifier { get { return m_dtxIdentifier; } } - - public DtxStart() {} - public DtxStart( - string initDtxIdentifier) - { - m_dtxIdentifier = initDtxIdentifier; - } - - public override int ProtocolClassId { get { return 100; } } - public override int ProtocolMethodId { get { return 20; } } - public override string ProtocolMethodName { get { return "dtx.start"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_dtxIdentifier = reader.ReadShortstr(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShortstr(m_dtxIdentifier); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_dtxIdentifier); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class DtxStartOk: RabbitMQ.Client.Impl.MethodBase, IDtxStartOk { - public const int ClassId = 100; - public const int MethodId = 21; - - - - public DtxStartOk( -) - { - } - - public override int ProtocolClassId { get { return 100; } } - public override int ProtocolMethodId { get { return 21; } } - public override string ProtocolMethodName { get { return "dtx.start-ok"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class TunnelRequest: RabbitMQ.Client.Impl.MethodBase, ITunnelRequest { - public const int ClassId = 110; - public const int MethodId = 10; - - public System.Collections.IDictionary m_metaData; - - System.Collections.IDictionary ITunnelRequest.MetaData { get { return m_metaData; } } - - public TunnelRequest() {} - public TunnelRequest( - System.Collections.IDictionary initMetaData) - { - m_metaData = initMetaData; - } - - public override int ProtocolClassId { get { return 110; } } - public override int ProtocolMethodId { get { return 10; } } - public override string ProtocolMethodName { get { return "tunnel.request"; } } - public override bool HasContent { get { return true; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_metaData = reader.ReadTable(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteTable(m_metaData); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_metaData); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class MessageTransfer: RabbitMQ.Client.Impl.MethodBase, IMessageTransfer { - public const int ClassId = 120; - public const int MethodId = 10; - - public ushort m_ticket; - public string m_destination; - public bool m_redelivered; - public bool m_immediate; - public ulong m_ttl; - public byte m_priority; - public AmqpTimestamp m_timestamp; - public byte m_deliveryMode; - public AmqpTimestamp m_expiration; - public string m_exchange; - public string m_routingKey; - public string m_messageId; - public string m_correlationId; - public string m_replyTo; - public string m_contentType; - public string m_contentEncoding; - public string m_userId; - public string m_appId; - public string m_transactionId; - public byte[] m_securityToken; - public System.Collections.IDictionary m_applicationHeaders; - public byte[] m_body; - - ushort IMessageTransfer.Ticket { get { return m_ticket; } } - string IMessageTransfer.Destination { get { return m_destination; } } - bool IMessageTransfer.Redelivered { get { return m_redelivered; } } - bool IMessageTransfer.Immediate { get { return m_immediate; } } - ulong IMessageTransfer.Ttl { get { return m_ttl; } } - byte IMessageTransfer.Priority { get { return m_priority; } } - AmqpTimestamp IMessageTransfer.Timestamp { get { return m_timestamp; } } - byte IMessageTransfer.DeliveryMode { get { return m_deliveryMode; } } - AmqpTimestamp IMessageTransfer.Expiration { get { return m_expiration; } } - string IMessageTransfer.Exchange { get { return m_exchange; } } - string IMessageTransfer.RoutingKey { get { return m_routingKey; } } - string IMessageTransfer.MessageId { get { return m_messageId; } } - string IMessageTransfer.CorrelationId { get { return m_correlationId; } } - string IMessageTransfer.ReplyTo { get { return m_replyTo; } } - string IMessageTransfer.ContentType { get { return m_contentType; } } - string IMessageTransfer.ContentEncoding { get { return m_contentEncoding; } } - string IMessageTransfer.UserId { get { return m_userId; } } - string IMessageTransfer.AppId { get { return m_appId; } } - string IMessageTransfer.TransactionId { get { return m_transactionId; } } - byte[] IMessageTransfer.SecurityToken { get { return m_securityToken; } } - System.Collections.IDictionary IMessageTransfer.ApplicationHeaders { get { return m_applicationHeaders; } } - byte[] IMessageTransfer.Body { get { return m_body; } } - - public MessageTransfer() {} - public MessageTransfer( - ushort initTicket, - string initDestination, - bool initRedelivered, - bool initImmediate, - ulong initTtl, - byte initPriority, - AmqpTimestamp initTimestamp, - byte initDeliveryMode, - AmqpTimestamp initExpiration, - string initExchange, - string initRoutingKey, - string initMessageId, - string initCorrelationId, - string initReplyTo, - string initContentType, - string initContentEncoding, - string initUserId, - string initAppId, - string initTransactionId, - byte[] initSecurityToken, - System.Collections.IDictionary initApplicationHeaders, - byte[] initBody) - { - m_ticket = initTicket; - m_destination = initDestination; - m_redelivered = initRedelivered; - m_immediate = initImmediate; - m_ttl = initTtl; - m_priority = initPriority; - m_timestamp = initTimestamp; - m_deliveryMode = initDeliveryMode; - m_expiration = initExpiration; - m_exchange = initExchange; - m_routingKey = initRoutingKey; - m_messageId = initMessageId; - m_correlationId = initCorrelationId; - m_replyTo = initReplyTo; - m_contentType = initContentType; - m_contentEncoding = initContentEncoding; - m_userId = initUserId; - m_appId = initAppId; - m_transactionId = initTransactionId; - m_securityToken = initSecurityToken; - m_applicationHeaders = initApplicationHeaders; - m_body = initBody; - } - - public override int ProtocolClassId { get { return 120; } } - public override int ProtocolMethodId { get { return 10; } } - public override string ProtocolMethodName { get { return "message.transfer"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_ticket = reader.ReadShort(); - m_destination = reader.ReadShortstr(); - m_redelivered = reader.ReadBit(); - m_immediate = reader.ReadBit(); - m_ttl = reader.ReadLonglong(); - m_priority = reader.ReadOctet(); - m_timestamp = reader.ReadTimestamp(); - m_deliveryMode = reader.ReadOctet(); - m_expiration = reader.ReadTimestamp(); - m_exchange = reader.ReadShortstr(); - m_routingKey = reader.ReadShortstr(); - m_messageId = reader.ReadShortstr(); - m_correlationId = reader.ReadShortstr(); - m_replyTo = reader.ReadShortstr(); - m_contentType = reader.ReadShortstr(); - m_contentEncoding = reader.ReadShortstr(); - m_userId = reader.ReadShortstr(); - m_appId = reader.ReadShortstr(); - m_transactionId = reader.ReadShortstr(); - m_securityToken = reader.ReadLongstr(); - m_applicationHeaders = reader.ReadTable(); - m_body = reader.ReadContent(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShort(m_ticket); - writer.WriteShortstr(m_destination); - writer.WriteBit(m_redelivered); - writer.WriteBit(m_immediate); - writer.WriteLonglong(m_ttl); - writer.WriteOctet(m_priority); - writer.WriteTimestamp(m_timestamp); - writer.WriteOctet(m_deliveryMode); - writer.WriteTimestamp(m_expiration); - writer.WriteShortstr(m_exchange); - writer.WriteShortstr(m_routingKey); - writer.WriteShortstr(m_messageId); - writer.WriteShortstr(m_correlationId); - writer.WriteShortstr(m_replyTo); - writer.WriteShortstr(m_contentType); - writer.WriteShortstr(m_contentEncoding); - writer.WriteShortstr(m_userId); - writer.WriteShortstr(m_appId); - writer.WriteShortstr(m_transactionId); - writer.WriteLongstr(m_securityToken); - writer.WriteTable(m_applicationHeaders); - writer.WriteContent(m_body); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_ticket); sb.Append(","); - sb.Append(m_destination); sb.Append(","); - sb.Append(m_redelivered); sb.Append(","); - sb.Append(m_immediate); sb.Append(","); - sb.Append(m_ttl); sb.Append(","); - sb.Append(m_priority); sb.Append(","); - sb.Append(m_timestamp); sb.Append(","); - sb.Append(m_deliveryMode); sb.Append(","); - sb.Append(m_expiration); sb.Append(","); - sb.Append(m_exchange); sb.Append(","); - sb.Append(m_routingKey); sb.Append(","); - sb.Append(m_messageId); sb.Append(","); - sb.Append(m_correlationId); sb.Append(","); - sb.Append(m_replyTo); sb.Append(","); - sb.Append(m_contentType); sb.Append(","); - sb.Append(m_contentEncoding); sb.Append(","); - sb.Append(m_userId); sb.Append(","); - sb.Append(m_appId); sb.Append(","); - sb.Append(m_transactionId); sb.Append(","); - sb.Append(m_securityToken); sb.Append(","); - sb.Append(m_applicationHeaders); sb.Append(","); - sb.Append(m_body); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class MessageConsume: RabbitMQ.Client.Impl.MethodBase, IMessageConsume { - public const int ClassId = 120; - public const int MethodId = 20; - - public ushort m_ticket; - public string m_queue; - public string m_destination; - public bool m_noLocal; - public bool m_noAck; - public bool m_exclusive; - public System.Collections.IDictionary m_filter; - - ushort IMessageConsume.Ticket { get { return m_ticket; } } - string IMessageConsume.Queue { get { return m_queue; } } - string IMessageConsume.Destination { get { return m_destination; } } - bool IMessageConsume.NoLocal { get { return m_noLocal; } } - bool IMessageConsume.NoAck { get { return m_noAck; } } - bool IMessageConsume.Exclusive { get { return m_exclusive; } } - System.Collections.IDictionary IMessageConsume.Filter { get { return m_filter; } } - - public MessageConsume() {} - public MessageConsume( - ushort initTicket, - string initQueue, - string initDestination, - bool initNoLocal, - bool initNoAck, - bool initExclusive, - System.Collections.IDictionary initFilter) - { - m_ticket = initTicket; - m_queue = initQueue; - m_destination = initDestination; - m_noLocal = initNoLocal; - m_noAck = initNoAck; - m_exclusive = initExclusive; - m_filter = initFilter; - } - - public override int ProtocolClassId { get { return 120; } } - public override int ProtocolMethodId { get { return 20; } } - public override string ProtocolMethodName { get { return "message.consume"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_ticket = reader.ReadShort(); - m_queue = reader.ReadShortstr(); - m_destination = reader.ReadShortstr(); - m_noLocal = reader.ReadBit(); - m_noAck = reader.ReadBit(); - m_exclusive = reader.ReadBit(); - m_filter = reader.ReadTable(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShort(m_ticket); - writer.WriteShortstr(m_queue); - writer.WriteShortstr(m_destination); - writer.WriteBit(m_noLocal); - writer.WriteBit(m_noAck); - writer.WriteBit(m_exclusive); - writer.WriteTable(m_filter); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_ticket); sb.Append(","); - sb.Append(m_queue); sb.Append(","); - sb.Append(m_destination); sb.Append(","); - sb.Append(m_noLocal); sb.Append(","); - sb.Append(m_noAck); sb.Append(","); - sb.Append(m_exclusive); sb.Append(","); - sb.Append(m_filter); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class MessageCancel: RabbitMQ.Client.Impl.MethodBase, IMessageCancel { - public const int ClassId = 120; - public const int MethodId = 30; - - public string m_destination; - - string IMessageCancel.Destination { get { return m_destination; } } - - public MessageCancel() {} - public MessageCancel( - string initDestination) - { - m_destination = initDestination; - } - - public override int ProtocolClassId { get { return 120; } } - public override int ProtocolMethodId { get { return 30; } } - public override string ProtocolMethodName { get { return "message.cancel"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_destination = reader.ReadShortstr(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShortstr(m_destination); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_destination); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class MessageGet: RabbitMQ.Client.Impl.MethodBase, IMessageGet { - public const int ClassId = 120; - public const int MethodId = 40; - - public ushort m_ticket; - public string m_queue; - public string m_destination; - public bool m_noAck; - - ushort IMessageGet.Ticket { get { return m_ticket; } } - string IMessageGet.Queue { get { return m_queue; } } - string IMessageGet.Destination { get { return m_destination; } } - bool IMessageGet.NoAck { get { return m_noAck; } } - - public MessageGet() {} - public MessageGet( - ushort initTicket, - string initQueue, - string initDestination, - bool initNoAck) - { - m_ticket = initTicket; - m_queue = initQueue; - m_destination = initDestination; - m_noAck = initNoAck; - } - - public override int ProtocolClassId { get { return 120; } } - public override int ProtocolMethodId { get { return 40; } } - public override string ProtocolMethodName { get { return "message.get"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_ticket = reader.ReadShort(); - m_queue = reader.ReadShortstr(); - m_destination = reader.ReadShortstr(); - m_noAck = reader.ReadBit(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShort(m_ticket); - writer.WriteShortstr(m_queue); - writer.WriteShortstr(m_destination); - writer.WriteBit(m_noAck); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_ticket); sb.Append(","); - sb.Append(m_queue); sb.Append(","); - sb.Append(m_destination); sb.Append(","); - sb.Append(m_noAck); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class MessageRecover: RabbitMQ.Client.Impl.MethodBase, IMessageRecover { - public const int ClassId = 120; - public const int MethodId = 50; - - public bool m_requeue; - - bool IMessageRecover.Requeue { get { return m_requeue; } } - - public MessageRecover() {} - public MessageRecover( - bool initRequeue) - { - m_requeue = initRequeue; - } - - public override int ProtocolClassId { get { return 120; } } - public override int ProtocolMethodId { get { return 50; } } - public override string ProtocolMethodName { get { return "message.recover"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_requeue = reader.ReadBit(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteBit(m_requeue); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_requeue); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class MessageOpen: RabbitMQ.Client.Impl.MethodBase, IMessageOpen { - public const int ClassId = 120; - public const int MethodId = 60; - - public byte[] m_reference; - - byte[] IMessageOpen.Reference { get { return m_reference; } } - - public MessageOpen() {} - public MessageOpen( - byte[] initReference) - { - m_reference = initReference; - } - - public override int ProtocolClassId { get { return 120; } } - public override int ProtocolMethodId { get { return 60; } } - public override string ProtocolMethodName { get { return "message.open"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_reference = reader.ReadLongstr(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteLongstr(m_reference); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_reference); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class MessageClose: RabbitMQ.Client.Impl.MethodBase, IMessageClose { - public const int ClassId = 120; - public const int MethodId = 70; - - public byte[] m_reference; - - byte[] IMessageClose.Reference { get { return m_reference; } } - - public MessageClose() {} - public MessageClose( - byte[] initReference) - { - m_reference = initReference; - } - - public override int ProtocolClassId { get { return 120; } } - public override int ProtocolMethodId { get { return 70; } } - public override string ProtocolMethodName { get { return "message.close"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_reference = reader.ReadLongstr(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteLongstr(m_reference); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_reference); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class MessageAppend: RabbitMQ.Client.Impl.MethodBase, IMessageAppend { - public const int ClassId = 120; - public const int MethodId = 80; - - public byte[] m_reference; - public byte[] m_bytes; - - byte[] IMessageAppend.Reference { get { return m_reference; } } - byte[] IMessageAppend.Bytes { get { return m_bytes; } } - - public MessageAppend() {} - public MessageAppend( - byte[] initReference, - byte[] initBytes) - { - m_reference = initReference; - m_bytes = initBytes; - } - - public override int ProtocolClassId { get { return 120; } } - public override int ProtocolMethodId { get { return 80; } } - public override string ProtocolMethodName { get { return "message.append"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_reference = reader.ReadLongstr(); - m_bytes = reader.ReadLongstr(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteLongstr(m_reference); - writer.WriteLongstr(m_bytes); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_reference); sb.Append(","); - sb.Append(m_bytes); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class MessageCheckpoint: RabbitMQ.Client.Impl.MethodBase, IMessageCheckpoint { - public const int ClassId = 120; - public const int MethodId = 90; - - public byte[] m_reference; - public string m_identifier; - - byte[] IMessageCheckpoint.Reference { get { return m_reference; } } - string IMessageCheckpoint.Identifier { get { return m_identifier; } } - - public MessageCheckpoint() {} - public MessageCheckpoint( - byte[] initReference, - string initIdentifier) - { - m_reference = initReference; - m_identifier = initIdentifier; - } - - public override int ProtocolClassId { get { return 120; } } - public override int ProtocolMethodId { get { return 90; } } - public override string ProtocolMethodName { get { return "message.checkpoint"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_reference = reader.ReadLongstr(); - m_identifier = reader.ReadShortstr(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteLongstr(m_reference); - writer.WriteShortstr(m_identifier); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_reference); sb.Append(","); - sb.Append(m_identifier); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class MessageResume: RabbitMQ.Client.Impl.MethodBase, IMessageResume { - public const int ClassId = 120; - public const int MethodId = 100; - - public byte[] m_reference; - public string m_identifier; - - byte[] IMessageResume.Reference { get { return m_reference; } } - string IMessageResume.Identifier { get { return m_identifier; } } - - public MessageResume() {} - public MessageResume( - byte[] initReference, - string initIdentifier) - { - m_reference = initReference; - m_identifier = initIdentifier; - } - - public override int ProtocolClassId { get { return 120; } } - public override int ProtocolMethodId { get { return 100; } } - public override string ProtocolMethodName { get { return "message.resume"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_reference = reader.ReadLongstr(); - m_identifier = reader.ReadShortstr(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteLongstr(m_reference); - writer.WriteShortstr(m_identifier); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_reference); sb.Append(","); - sb.Append(m_identifier); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class MessageQos: RabbitMQ.Client.Impl.MethodBase, IMessageQos { - public const int ClassId = 120; - public const int MethodId = 110; - - public uint m_prefetchSize; - public ushort m_prefetchCount; - public bool m_global; - - uint IMessageQos.PrefetchSize { get { return m_prefetchSize; } } - ushort IMessageQos.PrefetchCount { get { return m_prefetchCount; } } - bool IMessageQos.Global { get { return m_global; } } - - public MessageQos() {} - public MessageQos( - uint initPrefetchSize, - ushort initPrefetchCount, - bool initGlobal) - { - m_prefetchSize = initPrefetchSize; - m_prefetchCount = initPrefetchCount; - m_global = initGlobal; - } - - public override int ProtocolClassId { get { return 120; } } - public override int ProtocolMethodId { get { return 110; } } - public override string ProtocolMethodName { get { return "message.qos"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_prefetchSize = reader.ReadLong(); - m_prefetchCount = reader.ReadShort(); - m_global = reader.ReadBit(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteLong(m_prefetchSize); - writer.WriteShort(m_prefetchCount); - writer.WriteBit(m_global); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_prefetchSize); sb.Append(","); - sb.Append(m_prefetchCount); sb.Append(","); - sb.Append(m_global); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class MessageOk: RabbitMQ.Client.Impl.MethodBase, IMessageOk { - public const int ClassId = 120; - public const int MethodId = 500; - - - - public MessageOk( -) - { - } - - public override int ProtocolClassId { get { return 120; } } - public override int ProtocolMethodId { get { return 500; } } - public override string ProtocolMethodName { get { return "message.ok"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class MessageEmpty: RabbitMQ.Client.Impl.MethodBase, IMessageEmpty { - public const int ClassId = 120; - public const int MethodId = 510; - - - - public MessageEmpty( -) - { - } - - public override int ProtocolClassId { get { return 120; } } - public override int ProtocolMethodId { get { return 510; } } - public override string ProtocolMethodName { get { return "message.empty"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class MessageReject: RabbitMQ.Client.Impl.MethodBase, IMessageReject { - public const int ClassId = 120; - public const int MethodId = 520; - - public ushort m_code; - public string m_text; - - ushort IMessageReject.Code { get { return m_code; } } - string IMessageReject.Text { get { return m_text; } } - - public MessageReject() {} - public MessageReject( - ushort initCode, - string initText) - { - m_code = initCode; - m_text = initText; - } - - public override int ProtocolClassId { get { return 120; } } - public override int ProtocolMethodId { get { return 520; } } - public override string ProtocolMethodName { get { return "message.reject"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_code = reader.ReadShort(); - m_text = reader.ReadShortstr(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShort(m_code); - writer.WriteShortstr(m_text); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_code); sb.Append(","); - sb.Append(m_text); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class MessageOffset: RabbitMQ.Client.Impl.MethodBase, IMessageOffset { - public const int ClassId = 120; - public const int MethodId = 530; - - public ulong m_value; - - ulong IMessageOffset.Value { get { return m_value; } } - - public MessageOffset() {} - public MessageOffset( - ulong initValue) - { - m_value = initValue; - } - - public override int ProtocolClassId { get { return 120; } } - public override int ProtocolMethodId { get { return 530; } } - public override string ProtocolMethodName { get { return "message.offset"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_value = reader.ReadLonglong(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteLonglong(m_value); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_value); - sb.Append(")"); - } - } - - public class Model: RabbitMQ.Client.Impl.ModelBase { - public Model(RabbitMQ.Client.Impl.ISession session): base(session) {} - public override System.UInt16 _Private_AccessRequest( - System.String @realm, - System.Boolean @exclusive, - System.Boolean @passive, - System.Boolean @active, - System.Boolean @write, - System.Boolean @read) - { - AccessRequest __req = new AccessRequest(); - __req.m_realm = @realm; - __req.m_exclusive = @exclusive; - __req.m_passive = @passive; - __req.m_active = @active; - __req.m_write = @write; - __req.m_read = @read; - RabbitMQ.Client.Impl.MethodBase __repBase = ModelRpc(__req,null,null); - AccessRequestOk __rep = __repBase as AccessRequestOk; - if (__rep == null) throw new UnexpectedMethodException(__repBase); - return __rep.m_ticket; - } - public override void _Private_BasicPublish( - System.UInt16 @ticket, - System.String @exchange, - System.String @routingKey, - System.Boolean @mandatory, - System.Boolean @immediate, - RabbitMQ.Client.IBasicProperties @basicProperties, - System.Byte[] @body) - { - BasicPublish __req = new BasicPublish(); - __req.m_ticket = @ticket; - __req.m_exchange = @exchange; - __req.m_routingKey = @routingKey; - __req.m_mandatory = @mandatory; - __req.m_immediate = @immediate; - ModelSend(__req, (BasicProperties) basicProperties,body); - } - public override void _Private_BasicConsume( - System.UInt16 @ticket, - System.String @queue, - System.String @consumerTag, - System.Boolean @noLocal, - System.Boolean @noAck, - System.Boolean @exclusive, - System.Boolean @nowait, - System.Collections.IDictionary @filter) - { - BasicConsume __req = new BasicConsume(); - __req.m_ticket = @ticket; - __req.m_queue = @queue; - __req.m_consumerTag = @consumerTag; - __req.m_noLocal = @noLocal; - __req.m_noAck = @noAck; - __req.m_exclusive = @exclusive; - __req.m_nowait = @nowait; - __req.m_filter = @filter; - ModelSend(__req,null,null); - } - public override void _Private_BasicCancel( - System.String @consumerTag, - System.Boolean @nowait) - { - BasicCancel __req = new BasicCancel(); - __req.m_consumerTag = @consumerTag; - __req.m_nowait = @nowait; - ModelSend(__req,null,null); - } - public override void _Private_ChannelOpen( - System.String @outOfBand) - { - ChannelOpen __req = new ChannelOpen(); - __req.m_outOfBand = @outOfBand; - RabbitMQ.Client.Impl.MethodBase __repBase = ModelRpc(__req,null,null); - ChannelOpenOk __rep = __repBase as ChannelOpenOk; - if (__rep == null) throw new UnexpectedMethodException(__repBase); - } - public override void _Private_ChannelCloseOk() - { - ChannelCloseOk __req = new ChannelCloseOk(); - ModelSend(__req,null,null); - } - public override void _Private_ChannelClose( - System.UInt16 @replyCode, - System.String @replyText, - System.UInt16 @classId, - System.UInt16 @methodId) - { - ChannelClose __req = new ChannelClose(); - __req.m_replyCode = @replyCode; - __req.m_replyText = @replyText; - __req.m_classId = @classId; - __req.m_methodId = @methodId; - ModelSend(__req,null,null); - } - public override void _Private_BasicGet( - System.UInt16 @ticket, - System.String @queue, - System.Boolean @noAck) - { - BasicGet __req = new BasicGet(); - __req.m_ticket = @ticket; - __req.m_queue = @queue; - __req.m_noAck = @noAck; - ModelSend(__req,null,null); - } - public override RabbitMQ.Client.Impl.ConnectionTuneDetails ConnectionStartOk( - System.Collections.IDictionary @clientProperties, - System.String @mechanism, - System.Byte[] @response, - System.String @locale) - { - ConnectionStartOk __req = new ConnectionStartOk(); - __req.m_clientProperties = @clientProperties; - __req.m_mechanism = @mechanism; - __req.m_response = @response; - __req.m_locale = @locale; - RabbitMQ.Client.Impl.MethodBase __repBase = ModelRpc(__req,null,null); - ConnectionTune __rep = __repBase as ConnectionTune; - if (__rep == null) throw new UnexpectedMethodException(__repBase); - RabbitMQ.Client.Impl.ConnectionTuneDetails __result = new RabbitMQ.Client.Impl.ConnectionTuneDetails(); - __result.channelMax = __rep.m_channelMax; - __result.frameMax = __rep.m_frameMax; - __result.heartbeat = __rep.m_heartbeat; - return __result; - } - public override void ConnectionTuneOk( - System.UInt16 @channelMax, - System.UInt32 @frameMax, - System.UInt16 @heartbeat) - { - ConnectionTuneOk __req = new ConnectionTuneOk(); - __req.m_channelMax = @channelMax; - __req.m_frameMax = @frameMax; - __req.m_heartbeat = @heartbeat; - ModelSend(__req,null,null); - } - public override void _Private_ConnectionOpen( - System.String @virtualHost, - System.String @capabilities, - System.Boolean @insist) - { - ConnectionOpen __req = new ConnectionOpen(); - __req.m_virtualHost = @virtualHost; - __req.m_capabilities = @capabilities; - __req.m_insist = @insist; - ModelSend(__req,null,null); - } - public override void _Private_ConnectionClose( - System.UInt16 @replyCode, - System.String @replyText, - System.UInt16 @classId, - System.UInt16 @methodId) - { - ConnectionClose __req = new ConnectionClose(); - __req.m_replyCode = @replyCode; - __req.m_replyText = @replyText; - __req.m_classId = @classId; - __req.m_methodId = @methodId; - RabbitMQ.Client.Impl.MethodBase __repBase = ModelRpc(__req,null,null); - ConnectionCloseOk __rep = __repBase as ConnectionCloseOk; - if (__rep == null) throw new UnexpectedMethodException(__repBase); - } - public override void _Private_ConnectionCloseOk() - { - ConnectionCloseOk __req = new ConnectionCloseOk(); - ModelSend(__req,null,null); - } - public override RabbitMQ.Client.IBasicProperties CreateBasicProperties() - { - return new BasicProperties(); - } - public override RabbitMQ.Client.IFileProperties CreateFileProperties() - { - return new FileProperties(); - } - public override RabbitMQ.Client.IStreamProperties CreateStreamProperties() - { - return new StreamProperties(); - } - public override void ChannelFlow( - System.Boolean @active) - { - ChannelFlow __req = new ChannelFlow(); - __req.m_active = @active; - RabbitMQ.Client.Impl.MethodBase __repBase = ModelRpc(__req,null,null); - ChannelFlowOk __rep = __repBase as ChannelFlowOk; - if (__rep == null) throw new UnexpectedMethodException(__repBase); - } - public override void ExchangeDeclare( - System.UInt16 @ticket, - System.String @exchange, - System.String @type, - System.Boolean @passive, - System.Boolean @durable, - System.Boolean @autoDelete, - System.Boolean @internal, - System.Boolean @nowait, - System.Collections.IDictionary @arguments) - { - ExchangeDeclare __req = new ExchangeDeclare(); - __req.m_ticket = @ticket; - __req.m_exchange = @exchange; - __req.m_type = @type; - __req.m_passive = @passive; - __req.m_durable = @durable; - __req.m_autoDelete = @autoDelete; - __req.m_internal = @internal; - __req.m_nowait = @nowait; - __req.m_arguments = @arguments; - if (nowait) { - ModelSend(__req,null,null); - } - RabbitMQ.Client.Impl.MethodBase __repBase = ModelRpc(__req,null,null); - ExchangeDeclareOk __rep = __repBase as ExchangeDeclareOk; - if (__rep == null) throw new UnexpectedMethodException(__repBase); - } - public override void ExchangeDelete( - System.UInt16 @ticket, - System.String @exchange, - System.Boolean @ifUnused, - System.Boolean @nowait) - { - ExchangeDelete __req = new ExchangeDelete(); - __req.m_ticket = @ticket; - __req.m_exchange = @exchange; - __req.m_ifUnused = @ifUnused; - __req.m_nowait = @nowait; - if (nowait) { - ModelSend(__req,null,null); - } - RabbitMQ.Client.Impl.MethodBase __repBase = ModelRpc(__req,null,null); - ExchangeDeleteOk __rep = __repBase as ExchangeDeleteOk; - if (__rep == null) throw new UnexpectedMethodException(__repBase); - } - public override System.String QueueDeclare( - System.UInt16 @ticket, - System.String @queue, - System.Boolean @passive, - System.Boolean @durable, - System.Boolean @exclusive, - System.Boolean @autoDelete, - System.Boolean @nowait, - System.Collections.IDictionary @arguments) - { - QueueDeclare __req = new QueueDeclare(); - __req.m_ticket = @ticket; - __req.m_queue = @queue; - __req.m_passive = @passive; - __req.m_durable = @durable; - __req.m_exclusive = @exclusive; - __req.m_autoDelete = @autoDelete; - __req.m_nowait = @nowait; - __req.m_arguments = @arguments; - if (nowait) { - ModelSend(__req,null,null); - return null; - } - RabbitMQ.Client.Impl.MethodBase __repBase = ModelRpc(__req,null,null); - QueueDeclareOk __rep = __repBase as QueueDeclareOk; - if (__rep == null) throw new UnexpectedMethodException(__repBase); - return __rep.m_queue; - } - public override void QueueBind( - System.UInt16 @ticket, - System.String @queue, - System.String @exchange, - System.String @routingKey, - System.Boolean @nowait, - System.Collections.IDictionary @arguments) - { - QueueBind __req = new QueueBind(); - __req.m_ticket = @ticket; - __req.m_queue = @queue; - __req.m_exchange = @exchange; - __req.m_routingKey = @routingKey; - __req.m_nowait = @nowait; - __req.m_arguments = @arguments; - if (nowait) { - ModelSend(__req,null,null); - } - RabbitMQ.Client.Impl.MethodBase __repBase = ModelRpc(__req,null,null); - QueueBindOk __rep = __repBase as QueueBindOk; - if (__rep == null) throw new UnexpectedMethodException(__repBase); - } - public override void QueueUnbind( - System.UInt16 @ticket, - System.String @queue, - System.String @exchange, - System.String @routingKey, - System.Collections.IDictionary @arguments) - { - QueueUnbind __req = new QueueUnbind(); - __req.m_ticket = @ticket; - __req.m_queue = @queue; - __req.m_exchange = @exchange; - __req.m_routingKey = @routingKey; - __req.m_arguments = @arguments; - RabbitMQ.Client.Impl.MethodBase __repBase = ModelRpc(__req,null,null); - QueueUnbindOk __rep = __repBase as QueueUnbindOk; - if (__rep == null) throw new UnexpectedMethodException(__repBase); - } - public override System.UInt32 QueuePurge( - System.UInt16 @ticket, - System.String @queue, - System.Boolean @nowait) - { - QueuePurge __req = new QueuePurge(); - __req.m_ticket = @ticket; - __req.m_queue = @queue; - __req.m_nowait = @nowait; - if (nowait) { - ModelSend(__req,null,null); - return 0xFFFFFFFF; - } - RabbitMQ.Client.Impl.MethodBase __repBase = ModelRpc(__req,null,null); - QueuePurgeOk __rep = __repBase as QueuePurgeOk; - if (__rep == null) throw new UnexpectedMethodException(__repBase); - return __rep.m_messageCount; - } - public override System.UInt32 QueueDelete( - System.UInt16 @ticket, - System.String @queue, - System.Boolean @ifUnused, - System.Boolean @ifEmpty, - System.Boolean @nowait) - { - QueueDelete __req = new QueueDelete(); - __req.m_ticket = @ticket; - __req.m_queue = @queue; - __req.m_ifUnused = @ifUnused; - __req.m_ifEmpty = @ifEmpty; - __req.m_nowait = @nowait; - if (nowait) { - ModelSend(__req,null,null); - return 0xFFFFFFFF; - } - RabbitMQ.Client.Impl.MethodBase __repBase = ModelRpc(__req,null,null); - QueueDeleteOk __rep = __repBase as QueueDeleteOk; - if (__rep == null) throw new UnexpectedMethodException(__repBase); - return __rep.m_messageCount; - } - public override void BasicQos( - System.UInt32 @prefetchSize, - System.UInt16 @prefetchCount, - System.Boolean @global) - { - BasicQos __req = new BasicQos(); - __req.m_prefetchSize = @prefetchSize; - __req.m_prefetchCount = @prefetchCount; - __req.m_global = @global; - RabbitMQ.Client.Impl.MethodBase __repBase = ModelRpc(__req,null,null); - BasicQosOk __rep = __repBase as BasicQosOk; - if (__rep == null) throw new UnexpectedMethodException(__repBase); - } - public override void BasicAck( - System.UInt64 @deliveryTag, - System.Boolean @multiple) - { - BasicAck __req = new BasicAck(); - __req.m_deliveryTag = @deliveryTag; - __req.m_multiple = @multiple; - ModelSend(__req,null,null); - } - public override void BasicReject( - System.UInt64 @deliveryTag, - System.Boolean @requeue) - { - BasicReject __req = new BasicReject(); - __req.m_deliveryTag = @deliveryTag; - __req.m_requeue = @requeue; - ModelSend(__req,null,null); - } - public override void BasicRecover( - System.Boolean @requeue) - { - BasicRecover __req = new BasicRecover(); - __req.m_requeue = @requeue; - ModelSend(__req,null,null); - } - public override void TxSelect() - { - TxSelect __req = new TxSelect(); - RabbitMQ.Client.Impl.MethodBase __repBase = ModelRpc(__req,null,null); - TxSelectOk __rep = __repBase as TxSelectOk; - if (__rep == null) throw new UnexpectedMethodException(__repBase); - } - public override void TxCommit() - { - TxCommit __req = new TxCommit(); - RabbitMQ.Client.Impl.MethodBase __repBase = ModelRpc(__req,null,null); - TxCommitOk __rep = __repBase as TxCommitOk; - if (__rep == null) throw new UnexpectedMethodException(__repBase); - } - public override void TxRollback() - { - TxRollback __req = new TxRollback(); - RabbitMQ.Client.Impl.MethodBase __repBase = ModelRpc(__req,null,null); - TxRollbackOk __rep = __repBase as TxRollbackOk; - if (__rep == null) throw new UnexpectedMethodException(__repBase); - } - public override void DtxSelect() - { - DtxSelect __req = new DtxSelect(); - RabbitMQ.Client.Impl.MethodBase __repBase = ModelRpc(__req,null,null); - DtxSelectOk __rep = __repBase as DtxSelectOk; - if (__rep == null) throw new UnexpectedMethodException(__repBase); - } - public override void DtxStart( - System.String @dtxIdentifier) - { - DtxStart __req = new DtxStart(); - __req.m_dtxIdentifier = @dtxIdentifier; - RabbitMQ.Client.Impl.MethodBase __repBase = ModelRpc(__req,null,null); - DtxStartOk __rep = __repBase as DtxStartOk; - if (__rep == null) throw new UnexpectedMethodException(__repBase); - } - public override bool DispatchAsynchronous(RabbitMQ.Client.Impl.Command cmd) { - RabbitMQ.Client.Impl.MethodBase __method = (RabbitMQ.Client.Impl.MethodBase) cmd.Method; - switch ((__method.ProtocolClassId << 16) | __method.ProtocolMethodId) { - case 3932181: { - BasicConsumeOk __impl = (BasicConsumeOk) __method; - HandleBasicConsumeOk( - __impl.m_consumerTag); - return true; - } - case 3932191: { - BasicCancelOk __impl = (BasicCancelOk) __method; - HandleBasicCancelOk( - __impl.m_consumerTag); - return true; - } - case 3932231: { - BasicGetOk __impl = (BasicGetOk) __method; - HandleBasicGetOk( - __impl.m_deliveryTag, - __impl.m_redelivered, - __impl.m_exchange, - __impl.m_routingKey, - __impl.m_messageCount, - (RabbitMQ.Client.IBasicProperties) cmd.Header, - cmd.Body); - return true; - } - case 3932232: { - HandleBasicGetEmpty(); - return true; - } - case 3932220: { - BasicDeliver __impl = (BasicDeliver) __method; - HandleBasicDeliver( - __impl.m_consumerTag, - __impl.m_deliveryTag, - __impl.m_redelivered, - __impl.m_exchange, - __impl.m_routingKey, - (RabbitMQ.Client.IBasicProperties) cmd.Header, - cmd.Body); - return true; - } - case 3932210: { - BasicReturn __impl = (BasicReturn) __method; - HandleBasicReturn( - __impl.m_replyCode, - __impl.m_replyText, - __impl.m_exchange, - __impl.m_routingKey, - (RabbitMQ.Client.IBasicProperties) cmd.Header, - cmd.Body); - return true; - } - case 1310760: { - ChannelClose __impl = (ChannelClose) __method; - HandleChannelClose( - __impl.m_replyCode, - __impl.m_replyText, - __impl.m_classId, - __impl.m_methodId); - return true; - } - case 1310761: { - HandleChannelCloseOk(); - return true; - } - case 655370: { - ConnectionStart __impl = (ConnectionStart) __method; - HandleConnectionStart( - __impl.m_versionMajor, - __impl.m_versionMinor, - __impl.m_serverProperties, - __impl.m_mechanisms, - __impl.m_locales); - return true; - } - case 655401: { - ConnectionOpenOk __impl = (ConnectionOpenOk) __method; - HandleConnectionOpenOk( - __impl.m_knownHosts); - return true; - } - case 655402: { - ConnectionRedirect __impl = (ConnectionRedirect) __method; - HandleConnectionRedirect( - __impl.m_host, - __impl.m_knownHosts); - return true; - } - case 655410: { - ConnectionClose __impl = (ConnectionClose) __method; - HandleConnectionClose( - __impl.m_replyCode, - __impl.m_replyText, - __impl.m_classId, - __impl.m_methodId); - return true; - } - default: return false; - } - } - } -} diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/mcs/class/RabbitMQ.Client/docs/specs/autogenerated-api-qpid-0-8.cs /tmp/whXnmORr8x/mono-2.4+dfsg/mcs/class/RabbitMQ.Client/docs/specs/autogenerated-api-qpid-0-8.cs --- mono-2.4.0/mcs/class/RabbitMQ.Client/docs/specs/autogenerated-api-qpid-0-8.cs 2009-02-13 23:49:40.000000000 +0000 +++ mono-2.4+dfsg/mcs/class/RabbitMQ.Client/docs/specs/autogenerated-api-qpid-0-8.cs 1970-01-01 01:00:00.000000000 +0100 @@ -1,8254 +0,0 @@ -// Autogenerated code. Do not edit. - -using RabbitMQ.Client; -using RabbitMQ.Client.Exceptions; - -namespace RabbitMQ.Client.Framing.v0_8qpid { - public class Protocol: RabbitMQ.Client.Framing.Impl.v0_8qpid.ProtocolBase { - ///Protocol major version (= 8) - public override int MajorVersion { get { return 8; } } - ///Protocol minor version (= 0) - public override int MinorVersion { get { return 0; } } - ///Protocol API name (= AMQP_0_8_QPID) - public override string ApiName { get { return "AMQP_0_8_QPID"; } } - ///Default TCP port (= 5672) - public override int DefaultPort { get { return 5672; } } - - public override RabbitMQ.Client.Impl.MethodBase DecodeMethodFrom(RabbitMQ.Util.NetworkBinaryReader reader) { - ushort classId = reader.ReadUInt16(); - ushort methodId = reader.ReadUInt16(); - - switch (classId) { - case 10: { - switch (methodId) { - case 10: { - RabbitMQ.Client.Framing.Impl.v0_8qpid.ConnectionStart result = new RabbitMQ.Client.Framing.Impl.v0_8qpid.ConnectionStart(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 11: { - RabbitMQ.Client.Framing.Impl.v0_8qpid.ConnectionStartOk result = new RabbitMQ.Client.Framing.Impl.v0_8qpid.ConnectionStartOk(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 20: { - RabbitMQ.Client.Framing.Impl.v0_8qpid.ConnectionSecure result = new RabbitMQ.Client.Framing.Impl.v0_8qpid.ConnectionSecure(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 21: { - RabbitMQ.Client.Framing.Impl.v0_8qpid.ConnectionSecureOk result = new RabbitMQ.Client.Framing.Impl.v0_8qpid.ConnectionSecureOk(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 30: { - RabbitMQ.Client.Framing.Impl.v0_8qpid.ConnectionTune result = new RabbitMQ.Client.Framing.Impl.v0_8qpid.ConnectionTune(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 31: { - RabbitMQ.Client.Framing.Impl.v0_8qpid.ConnectionTuneOk result = new RabbitMQ.Client.Framing.Impl.v0_8qpid.ConnectionTuneOk(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 40: { - RabbitMQ.Client.Framing.Impl.v0_8qpid.ConnectionOpen result = new RabbitMQ.Client.Framing.Impl.v0_8qpid.ConnectionOpen(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 41: { - RabbitMQ.Client.Framing.Impl.v0_8qpid.ConnectionOpenOk result = new RabbitMQ.Client.Framing.Impl.v0_8qpid.ConnectionOpenOk(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 50: { - RabbitMQ.Client.Framing.Impl.v0_8qpid.ConnectionRedirect result = new RabbitMQ.Client.Framing.Impl.v0_8qpid.ConnectionRedirect(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 60: { - RabbitMQ.Client.Framing.Impl.v0_8qpid.ConnectionClose result = new RabbitMQ.Client.Framing.Impl.v0_8qpid.ConnectionClose(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 61: { - RabbitMQ.Client.Framing.Impl.v0_8qpid.ConnectionCloseOk result = new RabbitMQ.Client.Framing.Impl.v0_8qpid.ConnectionCloseOk(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - default: break; - } - break; - } - case 20: { - switch (methodId) { - case 10: { - RabbitMQ.Client.Framing.Impl.v0_8qpid.ChannelOpen result = new RabbitMQ.Client.Framing.Impl.v0_8qpid.ChannelOpen(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 11: { - RabbitMQ.Client.Framing.Impl.v0_8qpid.ChannelOpenOk result = new RabbitMQ.Client.Framing.Impl.v0_8qpid.ChannelOpenOk(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 20: { - RabbitMQ.Client.Framing.Impl.v0_8qpid.ChannelFlow result = new RabbitMQ.Client.Framing.Impl.v0_8qpid.ChannelFlow(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 21: { - RabbitMQ.Client.Framing.Impl.v0_8qpid.ChannelFlowOk result = new RabbitMQ.Client.Framing.Impl.v0_8qpid.ChannelFlowOk(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 30: { - RabbitMQ.Client.Framing.Impl.v0_8qpid.ChannelAlert result = new RabbitMQ.Client.Framing.Impl.v0_8qpid.ChannelAlert(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 40: { - RabbitMQ.Client.Framing.Impl.v0_8qpid.ChannelClose result = new RabbitMQ.Client.Framing.Impl.v0_8qpid.ChannelClose(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 41: { - RabbitMQ.Client.Framing.Impl.v0_8qpid.ChannelCloseOk result = new RabbitMQ.Client.Framing.Impl.v0_8qpid.ChannelCloseOk(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - default: break; - } - break; - } - case 30: { - switch (methodId) { - case 10: { - RabbitMQ.Client.Framing.Impl.v0_8qpid.AccessRequest result = new RabbitMQ.Client.Framing.Impl.v0_8qpid.AccessRequest(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 11: { - RabbitMQ.Client.Framing.Impl.v0_8qpid.AccessRequestOk result = new RabbitMQ.Client.Framing.Impl.v0_8qpid.AccessRequestOk(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - default: break; - } - break; - } - case 40: { - switch (methodId) { - case 10: { - RabbitMQ.Client.Framing.Impl.v0_8qpid.ExchangeDeclare result = new RabbitMQ.Client.Framing.Impl.v0_8qpid.ExchangeDeclare(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 11: { - RabbitMQ.Client.Framing.Impl.v0_8qpid.ExchangeDeclareOk result = new RabbitMQ.Client.Framing.Impl.v0_8qpid.ExchangeDeclareOk(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 20: { - RabbitMQ.Client.Framing.Impl.v0_8qpid.ExchangeDelete result = new RabbitMQ.Client.Framing.Impl.v0_8qpid.ExchangeDelete(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 21: { - RabbitMQ.Client.Framing.Impl.v0_8qpid.ExchangeDeleteOk result = new RabbitMQ.Client.Framing.Impl.v0_8qpid.ExchangeDeleteOk(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 22: { - RabbitMQ.Client.Framing.Impl.v0_8qpid.ExchangeBound result = new RabbitMQ.Client.Framing.Impl.v0_8qpid.ExchangeBound(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 23: { - RabbitMQ.Client.Framing.Impl.v0_8qpid.ExchangeBoundOk result = new RabbitMQ.Client.Framing.Impl.v0_8qpid.ExchangeBoundOk(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - default: break; - } - break; - } - case 50: { - switch (methodId) { - case 10: { - RabbitMQ.Client.Framing.Impl.v0_8qpid.QueueDeclare result = new RabbitMQ.Client.Framing.Impl.v0_8qpid.QueueDeclare(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 11: { - RabbitMQ.Client.Framing.Impl.v0_8qpid.QueueDeclareOk result = new RabbitMQ.Client.Framing.Impl.v0_8qpid.QueueDeclareOk(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 20: { - RabbitMQ.Client.Framing.Impl.v0_8qpid.QueueBind result = new RabbitMQ.Client.Framing.Impl.v0_8qpid.QueueBind(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 21: { - RabbitMQ.Client.Framing.Impl.v0_8qpid.QueueBindOk result = new RabbitMQ.Client.Framing.Impl.v0_8qpid.QueueBindOk(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 30: { - RabbitMQ.Client.Framing.Impl.v0_8qpid.QueuePurge result = new RabbitMQ.Client.Framing.Impl.v0_8qpid.QueuePurge(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 31: { - RabbitMQ.Client.Framing.Impl.v0_8qpid.QueuePurgeOk result = new RabbitMQ.Client.Framing.Impl.v0_8qpid.QueuePurgeOk(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 40: { - RabbitMQ.Client.Framing.Impl.v0_8qpid.QueueDelete result = new RabbitMQ.Client.Framing.Impl.v0_8qpid.QueueDelete(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 41: { - RabbitMQ.Client.Framing.Impl.v0_8qpid.QueueDeleteOk result = new RabbitMQ.Client.Framing.Impl.v0_8qpid.QueueDeleteOk(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - default: break; - } - break; - } - case 60: { - switch (methodId) { - case 10: { - RabbitMQ.Client.Framing.Impl.v0_8qpid.BasicQos result = new RabbitMQ.Client.Framing.Impl.v0_8qpid.BasicQos(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 11: { - RabbitMQ.Client.Framing.Impl.v0_8qpid.BasicQosOk result = new RabbitMQ.Client.Framing.Impl.v0_8qpid.BasicQosOk(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 20: { - RabbitMQ.Client.Framing.Impl.v0_8qpid.BasicConsume result = new RabbitMQ.Client.Framing.Impl.v0_8qpid.BasicConsume(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 21: { - RabbitMQ.Client.Framing.Impl.v0_8qpid.BasicConsumeOk result = new RabbitMQ.Client.Framing.Impl.v0_8qpid.BasicConsumeOk(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 30: { - RabbitMQ.Client.Framing.Impl.v0_8qpid.BasicCancel result = new RabbitMQ.Client.Framing.Impl.v0_8qpid.BasicCancel(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 31: { - RabbitMQ.Client.Framing.Impl.v0_8qpid.BasicCancelOk result = new RabbitMQ.Client.Framing.Impl.v0_8qpid.BasicCancelOk(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 40: { - RabbitMQ.Client.Framing.Impl.v0_8qpid.BasicPublish result = new RabbitMQ.Client.Framing.Impl.v0_8qpid.BasicPublish(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 50: { - RabbitMQ.Client.Framing.Impl.v0_8qpid.BasicReturn result = new RabbitMQ.Client.Framing.Impl.v0_8qpid.BasicReturn(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 60: { - RabbitMQ.Client.Framing.Impl.v0_8qpid.BasicDeliver result = new RabbitMQ.Client.Framing.Impl.v0_8qpid.BasicDeliver(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 70: { - RabbitMQ.Client.Framing.Impl.v0_8qpid.BasicGet result = new RabbitMQ.Client.Framing.Impl.v0_8qpid.BasicGet(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 71: { - RabbitMQ.Client.Framing.Impl.v0_8qpid.BasicGetOk result = new RabbitMQ.Client.Framing.Impl.v0_8qpid.BasicGetOk(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 72: { - RabbitMQ.Client.Framing.Impl.v0_8qpid.BasicGetEmpty result = new RabbitMQ.Client.Framing.Impl.v0_8qpid.BasicGetEmpty(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 80: { - RabbitMQ.Client.Framing.Impl.v0_8qpid.BasicAck result = new RabbitMQ.Client.Framing.Impl.v0_8qpid.BasicAck(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 90: { - RabbitMQ.Client.Framing.Impl.v0_8qpid.BasicReject result = new RabbitMQ.Client.Framing.Impl.v0_8qpid.BasicReject(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 100: { - RabbitMQ.Client.Framing.Impl.v0_8qpid.BasicRecover result = new RabbitMQ.Client.Framing.Impl.v0_8qpid.BasicRecover(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 101: { - RabbitMQ.Client.Framing.Impl.v0_8qpid.BasicRecoverOk result = new RabbitMQ.Client.Framing.Impl.v0_8qpid.BasicRecoverOk(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - default: break; - } - break; - } - case 70: { - switch (methodId) { - case 10: { - RabbitMQ.Client.Framing.Impl.v0_8qpid.FileQos result = new RabbitMQ.Client.Framing.Impl.v0_8qpid.FileQos(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 11: { - RabbitMQ.Client.Framing.Impl.v0_8qpid.FileQosOk result = new RabbitMQ.Client.Framing.Impl.v0_8qpid.FileQosOk(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 20: { - RabbitMQ.Client.Framing.Impl.v0_8qpid.FileConsume result = new RabbitMQ.Client.Framing.Impl.v0_8qpid.FileConsume(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 21: { - RabbitMQ.Client.Framing.Impl.v0_8qpid.FileConsumeOk result = new RabbitMQ.Client.Framing.Impl.v0_8qpid.FileConsumeOk(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 30: { - RabbitMQ.Client.Framing.Impl.v0_8qpid.FileCancel result = new RabbitMQ.Client.Framing.Impl.v0_8qpid.FileCancel(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 31: { - RabbitMQ.Client.Framing.Impl.v0_8qpid.FileCancelOk result = new RabbitMQ.Client.Framing.Impl.v0_8qpid.FileCancelOk(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 40: { - RabbitMQ.Client.Framing.Impl.v0_8qpid.FileOpen result = new RabbitMQ.Client.Framing.Impl.v0_8qpid.FileOpen(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 41: { - RabbitMQ.Client.Framing.Impl.v0_8qpid.FileOpenOk result = new RabbitMQ.Client.Framing.Impl.v0_8qpid.FileOpenOk(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 50: { - RabbitMQ.Client.Framing.Impl.v0_8qpid.FileStage result = new RabbitMQ.Client.Framing.Impl.v0_8qpid.FileStage(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 60: { - RabbitMQ.Client.Framing.Impl.v0_8qpid.FilePublish result = new RabbitMQ.Client.Framing.Impl.v0_8qpid.FilePublish(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 70: { - RabbitMQ.Client.Framing.Impl.v0_8qpid.FileReturn result = new RabbitMQ.Client.Framing.Impl.v0_8qpid.FileReturn(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 80: { - RabbitMQ.Client.Framing.Impl.v0_8qpid.FileDeliver result = new RabbitMQ.Client.Framing.Impl.v0_8qpid.FileDeliver(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 90: { - RabbitMQ.Client.Framing.Impl.v0_8qpid.FileAck result = new RabbitMQ.Client.Framing.Impl.v0_8qpid.FileAck(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 100: { - RabbitMQ.Client.Framing.Impl.v0_8qpid.FileReject result = new RabbitMQ.Client.Framing.Impl.v0_8qpid.FileReject(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - default: break; - } - break; - } - case 80: { - switch (methodId) { - case 10: { - RabbitMQ.Client.Framing.Impl.v0_8qpid.StreamQos result = new RabbitMQ.Client.Framing.Impl.v0_8qpid.StreamQos(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 11: { - RabbitMQ.Client.Framing.Impl.v0_8qpid.StreamQosOk result = new RabbitMQ.Client.Framing.Impl.v0_8qpid.StreamQosOk(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 20: { - RabbitMQ.Client.Framing.Impl.v0_8qpid.StreamConsume result = new RabbitMQ.Client.Framing.Impl.v0_8qpid.StreamConsume(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 21: { - RabbitMQ.Client.Framing.Impl.v0_8qpid.StreamConsumeOk result = new RabbitMQ.Client.Framing.Impl.v0_8qpid.StreamConsumeOk(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 30: { - RabbitMQ.Client.Framing.Impl.v0_8qpid.StreamCancel result = new RabbitMQ.Client.Framing.Impl.v0_8qpid.StreamCancel(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 31: { - RabbitMQ.Client.Framing.Impl.v0_8qpid.StreamCancelOk result = new RabbitMQ.Client.Framing.Impl.v0_8qpid.StreamCancelOk(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 40: { - RabbitMQ.Client.Framing.Impl.v0_8qpid.StreamPublish result = new RabbitMQ.Client.Framing.Impl.v0_8qpid.StreamPublish(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 50: { - RabbitMQ.Client.Framing.Impl.v0_8qpid.StreamReturn result = new RabbitMQ.Client.Framing.Impl.v0_8qpid.StreamReturn(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 60: { - RabbitMQ.Client.Framing.Impl.v0_8qpid.StreamDeliver result = new RabbitMQ.Client.Framing.Impl.v0_8qpid.StreamDeliver(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - default: break; - } - break; - } - case 90: { - switch (methodId) { - case 10: { - RabbitMQ.Client.Framing.Impl.v0_8qpid.TxSelect result = new RabbitMQ.Client.Framing.Impl.v0_8qpid.TxSelect(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 11: { - RabbitMQ.Client.Framing.Impl.v0_8qpid.TxSelectOk result = new RabbitMQ.Client.Framing.Impl.v0_8qpid.TxSelectOk(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 20: { - RabbitMQ.Client.Framing.Impl.v0_8qpid.TxCommit result = new RabbitMQ.Client.Framing.Impl.v0_8qpid.TxCommit(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 21: { - RabbitMQ.Client.Framing.Impl.v0_8qpid.TxCommitOk result = new RabbitMQ.Client.Framing.Impl.v0_8qpid.TxCommitOk(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 30: { - RabbitMQ.Client.Framing.Impl.v0_8qpid.TxRollback result = new RabbitMQ.Client.Framing.Impl.v0_8qpid.TxRollback(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 31: { - RabbitMQ.Client.Framing.Impl.v0_8qpid.TxRollbackOk result = new RabbitMQ.Client.Framing.Impl.v0_8qpid.TxRollbackOk(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - default: break; - } - break; - } - case 100: { - switch (methodId) { - case 10: { - RabbitMQ.Client.Framing.Impl.v0_8qpid.DtxSelect result = new RabbitMQ.Client.Framing.Impl.v0_8qpid.DtxSelect(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 11: { - RabbitMQ.Client.Framing.Impl.v0_8qpid.DtxSelectOk result = new RabbitMQ.Client.Framing.Impl.v0_8qpid.DtxSelectOk(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 20: { - RabbitMQ.Client.Framing.Impl.v0_8qpid.DtxStart result = new RabbitMQ.Client.Framing.Impl.v0_8qpid.DtxStart(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 21: { - RabbitMQ.Client.Framing.Impl.v0_8qpid.DtxStartOk result = new RabbitMQ.Client.Framing.Impl.v0_8qpid.DtxStartOk(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - default: break; - } - break; - } - case 110: { - switch (methodId) { - case 10: { - RabbitMQ.Client.Framing.Impl.v0_8qpid.TunnelRequest result = new RabbitMQ.Client.Framing.Impl.v0_8qpid.TunnelRequest(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - default: break; - } - break; - } - case 120: { - switch (methodId) { - case 10: { - RabbitMQ.Client.Framing.Impl.v0_8qpid.TestInteger result = new RabbitMQ.Client.Framing.Impl.v0_8qpid.TestInteger(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 11: { - RabbitMQ.Client.Framing.Impl.v0_8qpid.TestIntegerOk result = new RabbitMQ.Client.Framing.Impl.v0_8qpid.TestIntegerOk(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 20: { - RabbitMQ.Client.Framing.Impl.v0_8qpid.TestString result = new RabbitMQ.Client.Framing.Impl.v0_8qpid.TestString(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 21: { - RabbitMQ.Client.Framing.Impl.v0_8qpid.TestStringOk result = new RabbitMQ.Client.Framing.Impl.v0_8qpid.TestStringOk(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 30: { - RabbitMQ.Client.Framing.Impl.v0_8qpid.TestTable result = new RabbitMQ.Client.Framing.Impl.v0_8qpid.TestTable(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 31: { - RabbitMQ.Client.Framing.Impl.v0_8qpid.TestTableOk result = new RabbitMQ.Client.Framing.Impl.v0_8qpid.TestTableOk(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 40: { - RabbitMQ.Client.Framing.Impl.v0_8qpid.TestContent result = new RabbitMQ.Client.Framing.Impl.v0_8qpid.TestContent(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - case 41: { - RabbitMQ.Client.Framing.Impl.v0_8qpid.TestContentOk result = new RabbitMQ.Client.Framing.Impl.v0_8qpid.TestContentOk(); - result.ReadArgumentsFrom(new RabbitMQ.Client.Impl.MethodArgumentReader(reader)); - return result; - } - default: break; - } - break; - } - default: break; - } - throw new RabbitMQ.Client.Impl.UnknownClassOrMethodException(classId, methodId); - } - - public override RabbitMQ.Client.Impl.ContentHeaderBase DecodeContentHeaderFrom(RabbitMQ.Util.NetworkBinaryReader reader) { - ushort classId = reader.ReadUInt16(); - - switch (classId) { - case 60: return new BasicProperties(); - case 70: return new FileProperties(); - case 80: return new StreamProperties(); - case 110: return new TunnelProperties(); - case 120: return new TestProperties(); - default: break; - } - throw new RabbitMQ.Client.Impl.UnknownClassOrMethodException(classId, 0); - } - } - public class Constants { - ///(= 1) - public const int FrameMethod = 1; - ///(= 2) - public const int FrameHeader = 2; - ///(= 3) - public const int FrameBody = 3; - ///(= 4) - public const int FrameOobMethod = 4; - ///(= 5) - public const int FrameOobHeader = 5; - ///(= 6) - public const int FrameOobBody = 6; - ///(= 7) - public const int FrameTrace = 7; - ///(= 8) - public const int FrameHeartbeat = 8; - ///(= 4096) - public const int FrameMinSize = 4096; - ///(= 206) - public const int FrameEnd = 206; - ///(= 200) - public const int ReplySuccess = 200; - ///(= 310) - public const int NotDelivered = 310; - ///(= 311) - public const int ContentTooLarge = 311; - ///(= 320) - public const int ConnectionForced = 320; - ///(= 402) - public const int InvalidPath = 402; - ///(= 403) - public const int AccessRefused = 403; - ///(= 404) - public const int NotFound = 404; - ///(= 405) - public const int ResourceLocked = 405; - ///(= 501) - public const int FrameError = 501; - ///(= 502) - public const int SyntaxError = 502; - ///(= 503) - public const int CommandInvalid = 503; - ///(= 504) - public const int ChannelError = 504; - ///(= 506) - public const int ResourceError = 506; - ///(= 530) - public const int NotAllowed = 530; - ///(= 540) - public const int NotImplemented = 540; - ///(= 541) - public const int InternalError = 541; - } - /// Autogenerated type. AMQP specification method "connection.start". - /// - /// - /// This method starts the connection negotiation process by telling - /// the client the protocol version that the server proposes, along - /// with a list of security mechanisms which the client can use for - /// authentication. - /// - /// - public interface IConnectionStart: IMethod { - /// - /// - /// The protocol major version that the server agrees to use, which - /// cannot be higher than the client's major version. - /// - /// - byte VersionMajor { get; } - /// - /// - /// The protocol minor version that the server agrees to use, which - /// cannot be higher than the client's minor version. - /// - /// - byte VersionMinor { get; } - // (no documentation) - System.Collections.IDictionary ServerProperties { get; } - /// - /// - /// A list of the security mechanisms that the server supports, delimited - /// by spaces. Currently ASL supports these mechanisms: PLAIN. - /// - /// - byte[] Mechanisms { get; } - /// - /// - /// A list of the message locales that the server supports, delimited - /// by spaces. The locale defines the language in which the server - /// will send reply texts. - /// - /// - byte[] Locales { get; } - } - /// Autogenerated type. AMQP specification method "connection.start-ok". - /// - /// - /// This method selects a SASL security mechanism. ASL uses SASL - /// (RFC2222) to negotiate authentication and encryption. - /// - /// - public interface IConnectionStartOk: IMethod { - // (no documentation) - System.Collections.IDictionary ClientProperties { get; } - /// - /// - /// A single security mechanisms selected by the client, which must be - /// one of those specified by the server. - /// - /// - string Mechanism { get; } - /// - /// - /// A block of opaque data passed to the security mechanism. The contents - /// of this data are defined by the SASL security mechanism. For the - /// PLAIN security mechanism this is defined as a field table holding - /// two fields, LOGIN and PASSWORD. - /// - /// - byte[] Response { get; } - /// - /// - /// A single message local selected by the client, which must be one - /// of those specified by the server. - /// - /// - string Locale { get; } - } - /// Autogenerated type. AMQP specification method "connection.secure". - /// - /// - /// The SASL protocol works by exchanging challenges and responses until - /// both peers have received sufficient information to authenticate each - /// other. This method challenges the client to provide more information. - /// - /// - public interface IConnectionSecure: IMethod { - /// - /// - /// Challenge information, a block of opaque binary data passed to - /// the security mechanism. - /// - /// - byte[] Challenge { get; } - } - /// Autogenerated type. AMQP specification method "connection.secure-ok". - /// - /// - /// This method attempts to authenticate, passing a block of SASL data - /// for the security mechanism at the server side. - /// - /// - public interface IConnectionSecureOk: IMethod { - /// - /// - /// A block of opaque data passed to the security mechanism. The contents - /// of this data are defined by the SASL security mechanism. - /// - /// - byte[] Response { get; } - } - /// Autogenerated type. AMQP specification method "connection.tune". - /// - /// - /// This method proposes a set of connection configuration values - /// to the client. The client can accept and/or adjust these. - /// - /// - public interface IConnectionTune: IMethod { - /// - /// - /// The maximum total number of channels that the server allows - /// per connection. Zero means that the server does not impose a - /// fixed limit, but the number of allowed channels may be limited - /// by available server resources. - /// - /// - ushort ChannelMax { get; } - /// - /// - /// The largest frame size that the server proposes for the - /// connection. The client can negotiate a lower value. Zero means - /// that the server does not impose any specific limit but may reject - /// very large frames if it cannot allocate resources for them. - /// - /// - uint FrameMax { get; } - /// - /// - /// The delay, in seconds, of the connection heartbeat that the server - /// wants. Zero means the server does not want a heartbeat. - /// - /// - ushort Heartbeat { get; } - } - /// Autogenerated type. AMQP specification method "connection.tune-ok". - /// - /// - /// This method sends the client's connection tuning parameters to the - /// server. Certain fields are negotiated, others provide capability - /// information. - /// - /// - public interface IConnectionTuneOk: IMethod { - /// - /// - /// The maximum total number of channels that the client will use - /// per connection. May not be higher than the value specified by - /// the server. - /// - /// - ushort ChannelMax { get; } - /// - /// - /// The largest frame size that the client and server will use for - /// the connection. Zero means that the client does not impose any - /// specific limit but may reject very large frames if it cannot - /// allocate resources for them. Note that the frame-max limit - /// applies principally to content frames, where large contents - /// can be broken into frames of arbitrary size. - /// - /// - uint FrameMax { get; } - /// - /// - /// The delay, in seconds, of the connection heartbeat that the client - /// wants. Zero means the client does not want a heartbeat. - /// - /// - ushort Heartbeat { get; } - } - /// Autogenerated type. AMQP specification method "connection.open". - /// - /// - /// This method opens a connection to a virtual host, which is a - /// collection of resources, and acts to separate multiple application - /// domains within a server. - /// - /// - public interface IConnectionOpen: IMethod { - /// - /// - /// The name of the virtual host to work with. - /// - /// - string VirtualHost { get; } - /// - /// - /// The client may specify a number of capability names, delimited by - /// spaces. The server can use this string to how to process the - /// client's connection request. - /// - /// - string Capabilities { get; } - /// - /// - /// In a configuration with multiple load-sharing servers, the server - /// may respond to a Connection.Open method with a Connection.Redirect. - /// The insist option tells the server that the client is insisting on - /// a connection to the specified server. - /// - /// - bool Insist { get; } - } - /// Autogenerated type. AMQP specification method "connection.open-ok". - /// - /// - /// This method signals to the client that the connection is ready for - /// use. - /// - /// - public interface IConnectionOpenOk: IMethod { - // (no documentation) - string KnownHosts { get; } - } - /// Autogenerated type. AMQP specification method "connection.redirect". - /// - /// - /// This method redirects the client to another server, based on the - /// requested virtual host and/or capabilities. - /// - /// - public interface IConnectionRedirect: IMethod { - /// - /// - /// Specifies the server to connect to. This is an IP address or a - /// DNS name, optionally followed by a colon and a port number. If - /// no port number is specified, the client should use the default - /// port number for the protocol. - /// - /// - string Host { get; } - // (no documentation) - string KnownHosts { get; } - } - /// Autogenerated type. AMQP specification method "connection.close". - /// - /// - /// This method indicates that the sender wants to close the connection. - /// This may be due to internal conditions (e.g. a forced shut-down) or - /// due to an error handling a specific method, i.e. an exception. When - /// a close is due to an exception, the sender provides the class and - /// method id of the method which caused the exception. - /// - /// - public interface IConnectionClose: IMethod { - // (no documentation) - ushort ReplyCode { get; } - // (no documentation) - string ReplyText { get; } - /// - /// - /// When the close is provoked by a method exception, this is the - /// class of the method. - /// - /// - ushort ClassId { get; } - /// - /// - /// When the close is provoked by a method exception, this is the - /// ID of the method. - /// - /// - ushort MethodId { get; } - } - /// Autogenerated type. AMQP specification method "connection.close-ok". - /// - /// - /// This method confirms a Connection.Close method and tells the - /// recipient that it is safe to release resources for the connection - /// and close the socket. - /// - /// - public interface IConnectionCloseOk: IMethod { - } - /// Autogenerated type. AMQP specification method "channel.open". - /// - /// - /// This method opens a virtual connection (a channel). - /// - /// - public interface IChannelOpen: IMethod { - /// - /// - /// Configures out-of-band transfers on this channel. The syntax and - /// meaning of this field will be formally defined at a later date. - /// - /// - string OutOfBand { get; } - } - /// Autogenerated type. AMQP specification method "channel.open-ok". - /// - /// - /// This method signals to the client that the channel is ready for use. - /// - /// - public interface IChannelOpenOk: IMethod { - } - /// Autogenerated type. AMQP specification method "channel.flow". - /// - /// - /// This method asks the peer to pause or restart the flow of content - /// data. This is a simple flow-control mechanism that a peer can use - /// to avoid oveflowing its queues or otherwise finding itself receiving - /// more messages than it can process. Note that this method is not - /// intended for window control. The peer that receives a request to - /// stop sending content should finish sending the current content, if - /// any, and then wait until it receives a Flow restart method. - /// - /// - public interface IChannelFlow: IMethod { - /// - /// - /// If 1, the peer starts sending content frames. If 0, the peer - /// stops sending content frames. - /// - /// - bool Active { get; } - } - /// Autogenerated type. AMQP specification method "channel.flow-ok". - /// - /// - /// Confirms to the peer that a flow command was received and processed. - /// - /// - public interface IChannelFlowOk: IMethod { - /// - /// - /// Confirms the setting of the processed flow method: 1 means the - /// peer will start sending or continue to send content frames; 0 - /// means it will not. - /// - /// - bool Active { get; } - } - /// Autogenerated type. AMQP specification method "channel.alert". - /// - /// - /// This method allows the server to send a non-fatal warning to the - /// client. This is used for methods that are normally asynchronous - /// and thus do not have confirmations, and for which the server may - /// detect errors that need to be reported. Fatal errors are handled - /// as channel or connection exceptions; non-fatal errors are sent - /// through this method. - /// - /// - public interface IChannelAlert: IMethod { - // (no documentation) - ushort ReplyCode { get; } - // (no documentation) - string ReplyText { get; } - /// - /// - /// A set of fields that provide more information about the - /// problem. The meaning of these fields are defined on a - /// per-reply-code basis (TO BE DEFINED). - /// - /// - System.Collections.IDictionary Details { get; } - } - /// Autogenerated type. AMQP specification method "channel.close". - /// - /// - /// This method indicates that the sender wants to close the channel. - /// This may be due to internal conditions (e.g. a forced shut-down) or - /// due to an error handling a specific method, i.e. an exception. When - /// a close is due to an exception, the sender provides the class and - /// method id of the method which caused the exception. - /// - /// - public interface IChannelClose: IMethod { - // (no documentation) - ushort ReplyCode { get; } - // (no documentation) - string ReplyText { get; } - /// - /// - /// When the close is provoked by a method exception, this is the - /// class of the method. - /// - /// - ushort ClassId { get; } - /// - /// - /// When the close is provoked by a method exception, this is the - /// ID of the method. - /// - /// - ushort MethodId { get; } - } - /// Autogenerated type. AMQP specification method "channel.close-ok". - /// - /// - /// This method confirms a Channel.Close method and tells the recipient - /// that it is safe to release resources for the channel and close the - /// socket. - /// - /// - public interface IChannelCloseOk: IMethod { - } - /// Autogenerated type. AMQP specification method "access.request". - /// - /// - /// This method requests an access ticket for an access realm. - /// The server responds by granting the access ticket. If the - /// client does not have access rights to the requested realm - /// this causes a connection exception. Access tickets are a - /// per-channel resource. - /// - /// - public interface IAccessRequest: IMethod { - // (no documentation) - string Realm { get; } - /// - /// - /// Request exclusive access to the realm. If the server cannot grant - /// this - because there are other active tickets for the realm - it - /// raises a channel exception. - /// - /// - bool Exclusive { get; } - /// - /// - /// Request message passive access to the specified access realm. - /// Passive access lets a client get information about resources in - /// the realm but not to make any changes to them. - /// - /// - bool Passive { get; } - /// - /// - /// Request message active access to the specified access realm. - /// Acvtive access lets a client get create and delete resources in - /// the realm. - /// - /// - bool Active { get; } - /// - /// - /// Request write access to the specified access realm. Write access - /// lets a client publish messages to all exchanges in the realm. - /// - /// - bool Write { get; } - /// - /// - /// Request read access to the specified access realm. Read access - /// lets a client consume messages from queues in the realm. - /// - /// - bool Read { get; } - } - /// Autogenerated type. AMQP specification method "access.request-ok". - /// - /// - /// This method provides the client with an access ticket. The access - /// ticket is valid within the current channel and for the lifespan of - /// the channel. - /// - /// - public interface IAccessRequestOk: IMethod { - // (no documentation) - ushort Ticket { get; } - } - /// Autogenerated type. AMQP specification method "exchange.declare". - /// - /// - /// This method creates an exchange if it does not already exist, and if the - /// exchange exists, verifies that it is of the correct and expected class. - /// - /// - public interface IExchangeDeclare: IMethod { - /// - /// - /// When a client defines a new exchange, this belongs to the access realm - /// of the ticket used. All further work done with that exchange must be - /// done with an access ticket for the same realm. - /// - /// - ushort Ticket { get; } - // (no documentation) - string Exchange { get; } - /// - /// - /// Each exchange belongs to one of a set of exchange types implemented - /// by the server. The exchange types define the functionality of the - /// exchange - i.e. how messages are routed through it. It is not valid - /// or meaningful to attempt to change the type of an existing exchange. - /// - /// - string Type { get; } - /// - /// - /// If set, the server will not create the exchange. The client can use - /// this to check whether an exchange exists without modifying the server - /// state. - /// - /// - bool Passive { get; } - /// - /// - /// If set when creating a new exchange, the exchange will be marked as - /// durable. Durable exchanges remain active when a server restarts. - /// Non-durable exchanges (transient exchanges) are purged if/when a - /// server restarts. - /// - /// - bool Durable { get; } - /// - /// - /// If set, the exchange is deleted when all queues have finished - /// using it. - /// - /// - bool AutoDelete { get; } - /// - /// - /// If set, the exchange may not be used directly by publishers, but - /// only when bound to other exchanges. Internal exchanges are used to - /// construct wiring that is not visible to applications. - /// - /// - bool Internal { get; } - /// - /// - /// If set, the server will not respond to the method. The client should - /// not wait for a reply method. If the server could not complete the - /// method it will raise a channel or connection exception. - /// - /// - bool Nowait { get; } - /// - /// - /// A set of arguments for the declaration. The syntax and semantics - /// of these arguments depends on the server implementation. This - /// field is ignored if passive is 1. - /// - /// - System.Collections.IDictionary Arguments { get; } - } - /// Autogenerated type. AMQP specification method "exchange.declare-ok". - /// - /// - /// This method confirms a Declare method and confirms the name of the - /// exchange, essential for automatically-named exchanges. - /// - /// - public interface IExchangeDeclareOk: IMethod { - } - /// Autogenerated type. AMQP specification method "exchange.delete". - /// - /// - /// This method deletes an exchange. When an exchange is deleted all queue - /// bindings on the exchange are cancelled. - /// - /// - public interface IExchangeDelete: IMethod { - // (no documentation) - ushort Ticket { get; } - // (no documentation) - string Exchange { get; } - /// - /// - /// If set, the server will only delete the exchange if it has no queue - /// bindings. If the exchange has queue bindings the server does not - /// delete it but raises a channel exception instead. - /// - /// - bool IfUnused { get; } - /// - /// - /// If set, the server will not respond to the method. The client should - /// not wait for a reply method. If the server could not complete the - /// method it will raise a channel or connection exception. - /// - /// - bool Nowait { get; } - } - /// Autogenerated type. AMQP specification method "exchange.delete-ok". - /// - /// - /// This method confirms the deletion of an exchange. - /// - /// - public interface IExchangeDeleteOk: IMethod { - } - /// Autogenerated type. AMQP specification method "exchange.bound". - // (no documentation) - public interface IExchangeBound: IMethod { - // (no documentation) - string Exchange { get; } - /// - /// - /// Specifies the routing key for the message. The routing key is - /// used for routing messages depending on the exchange configuration. - /// - /// - string RoutingKey { get; } - // (no documentation) - string Queue { get; } - } - /// Autogenerated type. AMQP specification method "exchange.bound-ok". - // (no documentation) - public interface IExchangeBoundOk: IMethod { - // (no documentation) - ushort ReplyCode { get; } - // (no documentation) - string ReplyText { get; } - } - /// Autogenerated type. AMQP specification method "queue.declare". - /// - /// - /// This method creates or checks a queue. When creating a new queue - /// the client can specify various properties that control the durability - /// of the queue and its contents, and the level of sharing for the queue. - /// - /// - public interface IQueueDeclare: IMethod { - /// - /// - /// When a client defines a new queue, this belongs to the access realm - /// of the ticket used. All further work done with that queue must be - /// done with an access ticket for the same realm. - /// - /// - ushort Ticket { get; } - // (no documentation) - string Queue { get; } - /// - /// - /// If set, the server will not create the queue. The client can use - /// this to check whether a queue exists without modifying the server - /// state. - /// - /// - bool Passive { get; } - /// - /// - /// If set when creating a new queue, the queue will be marked as - /// durable. Durable queues remain active when a server restarts. - /// Non-durable queues (transient queues) are purged if/when a - /// server restarts. Note that durable queues do not necessarily - /// hold persistent messages, although it does not make sense to - /// send persistent messages to a transient queue. - /// - /// - bool Durable { get; } - /// - /// - /// Exclusive queues may only be consumed from by the current connection. - /// Setting the 'exclusive' flag always implies 'auto-delete'. - /// - /// - bool Exclusive { get; } - /// - /// - /// If set, the queue is deleted when all consumers have finished - /// using it. Last consumer can be cancelled either explicitly or because - /// its channel is closed. If there was no consumer ever on the queue, it - /// won't be deleted. - /// - /// - bool AutoDelete { get; } - /// - /// - /// If set, the server will not respond to the method. The client should - /// not wait for a reply method. If the server could not complete the - /// method it will raise a channel or connection exception. - /// - /// - bool Nowait { get; } - /// - /// - /// A set of arguments for the declaration. The syntax and semantics - /// of these arguments depends on the server implementation. This - /// field is ignored if passive is 1. - /// - /// - System.Collections.IDictionary Arguments { get; } - } - /// Autogenerated type. AMQP specification method "queue.declare-ok". - /// - /// - /// This method confirms a Declare method and confirms the name of the - /// queue, essential for automatically-named queues. - /// - /// - public interface IQueueDeclareOk: IMethod { - /// - /// - /// Reports the name of the queue. If the server generated a queue - /// name, this field contains that name. - /// - /// - string Queue { get; } - /// - /// - /// Reports the number of messages in the queue, which will be zero - /// for newly-created queues. - /// - /// - uint MessageCount { get; } - /// - /// - /// Reports the number of active consumers for the queue. Note that - /// consumers can suspend activity (Channel.Flow) in which case they - /// do not appear in this count. - /// - /// - uint ConsumerCount { get; } - } - /// Autogenerated type. AMQP specification method "queue.bind". - /// - /// - /// This method binds a queue to an exchange. Until a queue is - /// bound it will not receive any messages. In a classic messaging - /// model, store-and-forward queues are bound to a dest exchange - /// and subscription queues are bound to a dest_wild exchange. - /// - /// - public interface IQueueBind: IMethod { - /// - /// - /// The client provides a valid access ticket giving "active" - /// access rights to the queue's access realm. - /// - /// - ushort Ticket { get; } - /// - /// - /// Specifies the name of the queue to bind. If the queue name is - /// empty, refers to the current queue for the channel, which is - /// the last declared queue. - /// - /// - string Queue { get; } - // (no documentation) - string Exchange { get; } - /// - /// - /// Specifies the routing key for the binding. The routing key is - /// used for routing messages depending on the exchange configuration. - /// Not all exchanges use a routing key - refer to the specific - /// exchange documentation. If the routing key is empty and the queue - /// name is empty, the routing key will be the current queue for the - /// channel, which is the last declared queue. - /// - /// - string RoutingKey { get; } - /// - /// - /// If set, the server will not respond to the method. The client should - /// not wait for a reply method. If the server could not complete the - /// method it will raise a channel or connection exception. - /// - /// - bool Nowait { get; } - /// - /// - /// A set of arguments for the binding. The syntax and semantics of - /// these arguments depends on the exchange class. - /// - /// - System.Collections.IDictionary Arguments { get; } - } - /// Autogenerated type. AMQP specification method "queue.bind-ok". - /// - /// - /// This method confirms that the bind was successful. - /// - /// - public interface IQueueBindOk: IMethod { - } - /// Autogenerated type. AMQP specification method "queue.purge". - /// - /// - /// This method removes all messages from a queue. It does not cancel - /// consumers. Purged messages are deleted without any formal "undo" - /// mechanism. - /// - /// - public interface IQueuePurge: IMethod { - /// - /// - /// The access ticket must be for the access realm that holds the - /// queue. - /// - /// - ushort Ticket { get; } - /// - /// - /// Specifies the name of the queue to purge. If the queue name is - /// empty, refers to the current queue for the channel, which is - /// the last declared queue. - /// - /// - string Queue { get; } - /// - /// - /// If set, the server will not respond to the method. The client should - /// not wait for a reply method. If the server could not complete the - /// method it will raise a channel or connection exception. - /// - /// - bool Nowait { get; } - } - /// Autogenerated type. AMQP specification method "queue.purge-ok". - /// - /// - /// This method confirms the purge of a queue. - /// - /// - public interface IQueuePurgeOk: IMethod { - /// - /// - /// Reports the number of messages purged. - /// - /// - uint MessageCount { get; } - } - /// Autogenerated type. AMQP specification method "queue.delete". - /// - /// - /// This method deletes a queue. When a queue is deleted any pending - /// messages are sent to a dead-letter queue if this is defined in the - /// server configuration, and all consumers on the queue are cancelled. - /// - /// - public interface IQueueDelete: IMethod { - /// - /// - /// The client provides a valid access ticket giving "active" - /// access rights to the queue's access realm. - /// - /// - ushort Ticket { get; } - /// - /// - /// Specifies the name of the queue to delete. If the queue name is - /// empty, refers to the current queue for the channel, which is the - /// last declared queue. - /// - /// - string Queue { get; } - /// - /// - /// If set, the server will only delete the queue if it has no - /// consumers. If the queue has consumers the server does does not - /// delete it but raises a channel exception instead. - /// - /// - bool IfUnused { get; } - /// - /// - /// If set, the server will only delete the queue if it has no - /// messages. If the queue is not empty the server raises a channel - /// exception. - /// - /// - bool IfEmpty { get; } - /// - /// - /// If set, the server will not respond to the method. The client should - /// not wait for a reply method. If the server could not complete the - /// method it will raise a channel or connection exception. - /// - /// - bool Nowait { get; } - } - /// Autogenerated type. AMQP specification method "queue.delete-ok". - /// - /// - /// This method confirms the deletion of a queue. - /// - /// - public interface IQueueDeleteOk: IMethod { - /// - /// - /// Reports the number of messages purged. - /// - /// - uint MessageCount { get; } - } - /// Autogenerated type. AMQP specification method "basic.qos". - /// - /// - /// This method requests a specific quality of service. The QoS can - /// be specified for the current channel or for all channels on the - /// connection. The particular properties and semantics of a qos method - /// always depend on the content class semantics. Though the qos method - /// could in principle apply to both peers, it is currently meaningful - /// only for the server. - /// - /// - public interface IBasicQos: IMethod { - /// - /// - /// The client can request that messages be sent in advance so that - /// when the client finishes processing a message, the following - /// message is already held locally, rather than needing to be sent - /// down the channel. Prefetching gives a performance improvement. - /// This field specifies the prefetch window size in octets. The - /// server will send a message in advance if it is equal to or - /// smaller in size than the available prefetch size (and also falls - /// into other prefetch limits). May be set to zero, meaning "no - /// specific limit", although other prefetch limits may still apply. - /// The prefetch-size is ignored if the no-ack option is set. - /// - /// - uint PrefetchSize { get; } - /// - /// - /// Specifies a prefetch window in terms of whole messages. This - /// field may be used in combination with the prefetch-size field; - /// a message will only be sent in advance if both prefetch windows - /// (and those at the channel and connection level) allow it. - /// The prefetch-count is ignored if the no-ack option is set. - /// - /// - ushort PrefetchCount { get; } - /// - /// - /// By default the QoS settings apply to the current channel only. If - /// this field is set, they are applied to the entire connection. - /// - /// - bool Global { get; } - } - /// Autogenerated type. AMQP specification method "basic.qos-ok". - /// - /// - /// This method tells the client that the requested QoS levels could - /// be handled by the server. The requested QoS applies to all active - /// consumers until a new QoS is defined. - /// - /// - public interface IBasicQosOk: IMethod { - } - /// Autogenerated type. AMQP specification method "basic.consume". - /// - /// - /// This method asks the server to start a "consumer", which is a - /// transient request for messages from a specific queue. Consumers - /// last as long as the channel they were created on, or until the - /// client cancels them. - /// - /// - public interface IBasicConsume: IMethod { - /// - /// - /// The client MUST provide a valid access ticket giving "read" access - /// rights to the realm for the queue. - /// - /// - ushort Ticket { get; } - /// - /// - /// Specifies the name of the queue to consume from. If the queue name - /// is null, refers to the current queue for the channel, which is the - /// last declared queue. - /// - /// - string Queue { get; } - /// - /// - /// Specifies the identifier for the consumer. The consumer tag is - /// local to a connection, so two clients can use the same consumer - /// tags. If this field is empty the server will generate a unique - /// tag. - /// - /// - string ConsumerTag { get; } - // (no documentation) - bool NoLocal { get; } - // (no documentation) - bool NoAck { get; } - /// - /// - /// Request exclusive consumer access, meaning only this consumer can - /// access the queue. - /// - /// - bool Exclusive { get; } - /// - /// - /// If set, the server will not respond to the method. The client should - /// not wait for a reply method. If the server could not complete the - /// method it will raise a channel or connection exception. - /// - /// - bool Nowait { get; } - /// - /// - /// A set of arguments for the consume. The syntax and semantics - /// of these arguments depends on the server implementation. This - /// field is ignored if passive is 1. - /// - /// - System.Collections.IDictionary Arguments { get; } - } - /// Autogenerated type. AMQP specification method "basic.consume-ok". - /// - /// - /// The server provides the client with a consumer tag, which is used - /// by the client for methods called on the consumer at a later stage. - /// - /// - public interface IBasicConsumeOk: IMethod { - /// - /// - /// Holds the consumer tag specified by the client or provided by - /// the server. - /// - /// - string ConsumerTag { get; } - } - /// Autogenerated type. AMQP specification method "basic.cancel". - /// - /// - /// This method cancels a consumer. This does not affect already - /// delivered messages, but it does mean the server will not send any - /// more messages for that consumer. The client may receive an - /// abitrary number of messages in between sending the cancel method - /// and receiving the cancel-ok reply. - /// - /// - public interface IBasicCancel: IMethod { - // (no documentation) - string ConsumerTag { get; } - /// - /// - /// If set, the server will not respond to the method. The client should - /// not wait for a reply method. If the server could not complete the - /// method it will raise a channel or connection exception. - /// - /// - bool Nowait { get; } - } - /// Autogenerated type. AMQP specification method "basic.cancel-ok". - /// - /// - /// This method confirms that the cancellation was completed. - /// - /// - public interface IBasicCancelOk: IMethod { - // (no documentation) - string ConsumerTag { get; } - } - /// Autogenerated type. AMQP specification method "basic.publish". - /// - /// - /// This method publishes a message to a specific exchange. The message - /// will be routed to queues as defined by the exchange configuration - /// and distributed to any active consumers when the transaction, if any, - /// is committed. - /// - /// - public interface IBasicPublish: IMethod { - /// - /// - /// The client MUST provide a valid access ticket giving "write" - /// access rights to the access realm for the exchange. - /// - /// - ushort Ticket { get; } - /// - /// - /// Specifies the name of the exchange to publish to. The exchange - /// name can be empty, meaning the default exchange. If the exchange - /// name is specified, and that exchange does not exist, the server - /// will raise a channel exception. - /// - /// - string Exchange { get; } - /// - /// - /// Specifies the routing key for the message. The routing key is - /// used for routing messages depending on the exchange configuration. - /// - /// - string RoutingKey { get; } - /// - /// - /// This flag tells the server how to react if the message cannot be - /// routed to a queue. If this flag is set, the server will return an - /// unroutable message with a Return method. If this flag is zero, the - /// server silently drops the message. - /// - /// - bool Mandatory { get; } - /// - /// - /// This flag tells the server how to react if the message cannot be - /// routed to a queue consumer immediately. If this flag is set, the - /// server will return an undeliverable message with a Return method. - /// If this flag is zero, the server will queue the message, but with - /// no guarantee that it will ever be consumed. - /// - /// - bool Immediate { get; } - } - /// Autogenerated type. AMQP specification method "basic.return". - /// - /// - /// This method returns an undeliverable message that was published - /// with the "immediate" flag set, or an unroutable message published - /// with the "mandatory" flag set. The reply code and text provide - /// information about the reason that the message was undeliverable. - /// - /// - public interface IBasicReturn: IMethod { - // (no documentation) - ushort ReplyCode { get; } - // (no documentation) - string ReplyText { get; } - /// - /// - /// Specifies the name of the exchange that the message was - /// originally published to. - /// - /// - string Exchange { get; } - /// - /// - /// Specifies the routing key name specified when the message was - /// published. - /// - /// - string RoutingKey { get; } - } - /// Autogenerated type. AMQP specification method "basic.deliver". - /// - /// - /// This method delivers a message to the client, via a consumer. In - /// the asynchronous message delivery model, the client starts a - /// consumer using the Consume method, then the server responds with - /// Deliver methods as and when messages arrive for that consumer. - /// - /// - public interface IBasicDeliver: IMethod { - // (no documentation) - string ConsumerTag { get; } - // (no documentation) - ulong DeliveryTag { get; } - // (no documentation) - bool Redelivered { get; } - /// - /// - /// Specifies the name of the exchange that the message was - /// originally published to. - /// - /// - string Exchange { get; } - /// - /// - /// Specifies the routing key name specified when the message was - /// published. - /// - /// - string RoutingKey { get; } - } - /// Autogenerated type. AMQP specification method "basic.get". - /// - /// - /// This method provides a direct access to the messages in a queue - /// using a synchronous dialogue that is designed for specific types of - /// application where synchronous functionality is more important than - /// performance. - /// - /// - public interface IBasicGet: IMethod { - /// - /// - /// The client MUST provide a valid access ticket giving "read" - /// access rights to the realm for the queue. - /// - /// - ushort Ticket { get; } - /// - /// - /// Specifies the name of the queue to consume from. If the queue name - /// is null, refers to the current queue for the channel, which is the - /// last declared queue. - /// - /// - string Queue { get; } - // (no documentation) - bool NoAck { get; } - } - /// Autogenerated type. AMQP specification method "basic.get-ok". - /// - /// - /// This method delivers a message to the client following a get - /// method. A message delivered by 'get-ok' must be acknowledged - /// unless the no-ack option was set in the get method. - /// - /// - public interface IBasicGetOk: IMethod { - // (no documentation) - ulong DeliveryTag { get; } - // (no documentation) - bool Redelivered { get; } - /// - /// - /// Specifies the name of the exchange that the message was originally - /// published to. If empty, the message was published to the default - /// exchange. - /// - /// - string Exchange { get; } - /// - /// - /// Specifies the routing key name specified when the message was - /// published. - /// - /// - string RoutingKey { get; } - /// - /// - /// This field reports the number of messages pending on the queue, - /// excluding the message being delivered. Note that this figure is - /// indicative, not reliable, and can change arbitrarily as messages - /// are added to the queue and removed by other clients. - /// - /// - uint MessageCount { get; } - } - /// Autogenerated type. AMQP specification method "basic.get-empty". - /// - /// - /// This method tells the client that the queue has no messages - /// available for the client. - /// - /// - public interface IBasicGetEmpty: IMethod { - /// - /// - /// For use by cluster applications, should not be used by - /// client applications. - /// - /// - string ClusterId { get; } - } - /// Autogenerated type. AMQP specification method "basic.ack". - /// - /// - /// This method acknowledges one or more messages delivered via the - /// Deliver or Get-Ok methods. The client can ask to confirm a - /// single message or a set of messages up to and including a specific - /// message. - /// - /// - public interface IBasicAck: IMethod { - // (no documentation) - ulong DeliveryTag { get; } - /// - /// - /// If set to 1, the delivery tag is treated as "up to and including", - /// so that the client can acknowledge multiple messages with a single - /// method. If set to zero, the delivery tag refers to a single - /// message. If the multiple field is 1, and the delivery tag is zero, - /// tells the server to acknowledge all outstanding mesages. - /// - /// - bool Multiple { get; } - } - /// Autogenerated type. AMQP specification method "basic.reject". - /// - /// - /// This method allows a client to reject a message. It can be used to - /// interrupt and cancel large incoming messages, or return untreatable - /// messages to their original queue. - /// - /// - public interface IBasicReject: IMethod { - // (no documentation) - ulong DeliveryTag { get; } - /// - /// - /// If this field is zero, the message will be discarded. If this bit - /// is 1, the server will attempt to requeue the message. - /// - /// - bool Requeue { get; } - } - /// Autogenerated type. AMQP specification method "basic.recover". - /// - /// - /// This method asks the broker to redeliver all unacknowledged messages on a - /// specified channel. Zero or more messages may be redelivered. This method - /// is only allowed on non-transacted channels. - /// - /// - public interface IBasicRecover: IMethod { - /// - /// - /// If this field is zero, the message will be redelivered to the original - /// recipient. If this bit is 1, the server will attempt to requeue the - /// message, potentially then delivering it to an alternative subscriber. - /// - /// - bool Requeue { get; } - } - /// Autogenerated type. AMQP specification method "basic.recover-ok". - /// - /// - /// This method confirms to the client that the recover succeeded. - /// Note that if an recover fails, the server raises a channel exception. - /// - /// - public interface IBasicRecoverOk: IMethod { - } - /// Autogenerated type. AMQP specification method "file.qos". - /// - /// - /// This method requests a specific quality of service. The QoS can - /// be specified for the current channel or for all channels on the - /// connection. The particular properties and semantics of a qos method - /// always depend on the content class semantics. Though the qos method - /// could in principle apply to both peers, it is currently meaningful - /// only for the server. - /// - /// - public interface IFileQos: IMethod { - /// - /// - /// The client can request that messages be sent in advance so that - /// when the client finishes processing a message, the following - /// message is already held locally, rather than needing to be sent - /// down the channel. Prefetching gives a performance improvement. - /// This field specifies the prefetch window size in octets. May be - /// set to zero, meaning "no specific limit". Note that other - /// prefetch limits may still apply. The prefetch-size is ignored - /// if the no-ack option is set. - /// - /// - uint PrefetchSize { get; } - /// - /// - /// Specifies a prefetch window in terms of whole messages. This - /// is compatible with some file API implementations. This field - /// may be used in combination with the prefetch-size field; a - /// message will only be sent in advance if both prefetch windows - /// (and those at the channel and connection level) allow it. - /// The prefetch-count is ignored if the no-ack option is set. - /// - /// - ushort PrefetchCount { get; } - /// - /// - /// By default the QoS settings apply to the current channel only. If - /// this field is set, they are applied to the entire connection. - /// - /// - bool Global { get; } - } - /// Autogenerated type. AMQP specification method "file.qos-ok". - /// - /// - /// This method tells the client that the requested QoS levels could - /// be handled by the server. The requested QoS applies to all active - /// consumers until a new QoS is defined. - /// - /// - public interface IFileQosOk: IMethod { - } - /// Autogenerated type. AMQP specification method "file.consume". - /// - /// - /// This method asks the server to start a "consumer", which is a - /// transient request for messages from a specific queue. Consumers - /// last as long as the channel they were created on, or until the - /// client cancels them. - /// - /// - public interface IFileConsume: IMethod { - /// - /// - /// The client MUST provide a valid access ticket giving "read" access - /// rights to the realm for the queue. - /// - /// - ushort Ticket { get; } - /// - /// - /// Specifies the name of the queue to consume from. If the queue name - /// is null, refers to the current queue for the channel, which is the - /// last declared queue. - /// - /// - string Queue { get; } - /// - /// - /// Specifies the identifier for the consumer. The consumer tag is - /// local to a connection, so two clients can use the same consumer - /// tags. If this field is empty the server will generate a unique - /// tag. - /// - /// - string ConsumerTag { get; } - // (no documentation) - bool NoLocal { get; } - // (no documentation) - bool NoAck { get; } - /// - /// - /// Request exclusive consumer access, meaning only this consumer can - /// access the queue. - /// - /// - bool Exclusive { get; } - /// - /// - /// If set, the server will not respond to the method. The client should - /// not wait for a reply method. If the server could not complete the - /// method it will raise a channel or connection exception. - /// - /// - bool Nowait { get; } - } - /// Autogenerated type. AMQP specification method "file.consume-ok". - /// - /// - /// This method provides the client with a consumer tag which it MUST - /// use in methods that work with the consumer. - /// - /// - public interface IFileConsumeOk: IMethod { - /// - /// - /// Holds the consumer tag specified by the client or provided by - /// the server. - /// - /// - string ConsumerTag { get; } - } - /// Autogenerated type. AMQP specification method "file.cancel". - /// - /// - /// This method cancels a consumer. This does not affect already - /// delivered messages, but it does mean the server will not send any - /// more messages for that consumer. - /// - /// - public interface IFileCancel: IMethod { - // (no documentation) - string ConsumerTag { get; } - /// - /// - /// If set, the server will not respond to the method. The client should - /// not wait for a reply method. If the server could not complete the - /// method it will raise a channel or connection exception. - /// - /// - bool Nowait { get; } - } - /// Autogenerated type. AMQP specification method "file.cancel-ok". - /// - /// - /// This method confirms that the cancellation was completed. - /// - /// - public interface IFileCancelOk: IMethod { - // (no documentation) - string ConsumerTag { get; } - } - /// Autogenerated type. AMQP specification method "file.open". - /// - /// - /// This method requests permission to start staging a message. Staging - /// means sending the message into a temporary area at the recipient end - /// and then delivering the message by referring to this temporary area. - /// Staging is how the protocol handles partial file transfers - if a - /// message is partially staged and the connection breaks, the next time - /// the sender starts to stage it, it can restart from where it left off. - /// - /// - public interface IFileOpen: IMethod { - /// - /// - /// This is the staging identifier. This is an arbitrary string chosen - /// by the sender. For staging to work correctly the sender must use - /// the same staging identifier when staging the same message a second - /// time after recovery from a failure. A good choice for the staging - /// identifier would be the SHA1 hash of the message properties data - /// (including the original filename, revised time, etc.). - /// - /// - string Identifier { get; } - /// - /// - /// The size of the content in octets. The recipient may use this - /// information to allocate or check available space in advance, to - /// avoid "disk full" errors during staging of very large messages. - /// - /// - ulong ContentSize { get; } - } - /// Autogenerated type. AMQP specification method "file.open-ok". - /// - /// - /// This method confirms that the recipient is ready to accept staged - /// data. If the message was already partially-staged at a previous - /// time the recipient will report the number of octets already staged. - /// - /// - public interface IFileOpenOk: IMethod { - /// - /// - /// The amount of previously-staged content in octets. For a new - /// message this will be zero. - /// - /// - ulong StagedSize { get; } - } - /// Autogenerated type. AMQP specification method "file.stage". - /// - /// - /// This method stages the message, sending the message content to the - /// recipient from the octet offset specified in the Open-Ok method. - /// - /// - public interface IFileStage: IMethod { - } - /// Autogenerated type. AMQP specification method "file.publish". - /// - /// - /// This method publishes a staged file message to a specific exchange. - /// The file message will be routed to queues as defined by the exchange - /// configuration and distributed to any active consumers when the - /// transaction, if any, is committed. - /// - /// - public interface IFilePublish: IMethod { - /// - /// - /// The client MUST provide a valid access ticket giving "write" - /// access rights to the access realm for the exchange. - /// - /// - ushort Ticket { get; } - /// - /// - /// Specifies the name of the exchange to publish to. The exchange - /// name can be empty, meaning the default exchange. If the exchange - /// name is specified, and that exchange does not exist, the server - /// will raise a channel exception. - /// - /// - string Exchange { get; } - /// - /// - /// Specifies the routing key for the message. The routing key is - /// used for routing messages depending on the exchange configuration. - /// - /// - string RoutingKey { get; } - /// - /// - /// This flag tells the server how to react if the message cannot be - /// routed to a queue. If this flag is set, the server will return an - /// unroutable message with a Return method. If this flag is zero, the - /// server silently drops the message. - /// - /// - bool Mandatory { get; } - /// - /// - /// This flag tells the server how to react if the message cannot be - /// routed to a queue consumer immediately. If this flag is set, the - /// server will return an undeliverable message with a Return method. - /// If this flag is zero, the server will queue the message, but with - /// no guarantee that it will ever be consumed. - /// - /// - bool Immediate { get; } - /// - /// - /// This is the staging identifier of the message to publish. The - /// message must have been staged. Note that a client can send the - /// Publish method asynchronously without waiting for staging to - /// finish. - /// - /// - string Identifier { get; } - } - /// Autogenerated type. AMQP specification method "file.return". - /// - /// - /// This method returns an undeliverable message that was published - /// with the "immediate" flag set, or an unroutable message published - /// with the "mandatory" flag set. The reply code and text provide - /// information about the reason that the message was undeliverable. - /// - /// - public interface IFileReturn: IMethod { - // (no documentation) - ushort ReplyCode { get; } - // (no documentation) - string ReplyText { get; } - /// - /// - /// Specifies the name of the exchange that the message was - /// originally published to. - /// - /// - string Exchange { get; } - /// - /// - /// Specifies the routing key name specified when the message was - /// published. - /// - /// - string RoutingKey { get; } - } - /// Autogenerated type. AMQP specification method "file.deliver". - /// - /// - /// This method delivers a staged file message to the client, via a - /// consumer. In the asynchronous message delivery model, the client - /// starts a consumer using the Consume method, then the server - /// responds with Deliver methods as and when messages arrive for - /// that consumer. - /// - /// - public interface IFileDeliver: IMethod { - // (no documentation) - string ConsumerTag { get; } - // (no documentation) - ulong DeliveryTag { get; } - // (no documentation) - bool Redelivered { get; } - /// - /// - /// Specifies the name of the exchange that the message was originally - /// published to. - /// - /// - string Exchange { get; } - /// - /// - /// Specifies the routing key name specified when the message was - /// published. - /// - /// - string RoutingKey { get; } - /// - /// - /// This is the staging identifier of the message to deliver. The - /// message must have been staged. Note that a server can send the - /// Deliver method asynchronously without waiting for staging to - /// finish. - /// - /// - string Identifier { get; } - } - /// Autogenerated type. AMQP specification method "file.ack". - /// - /// - /// This method acknowledges one or more messages delivered via the - /// Deliver method. The client can ask to confirm a single message or - /// a set of messages up to and including a specific message. - /// - /// - public interface IFileAck: IMethod { - // (no documentation) - ulong DeliveryTag { get; } - /// - /// - /// If set to 1, the delivery tag is treated as "up to and including", - /// so that the client can acknowledge multiple messages with a single - /// method. If set to zero, the delivery tag refers to a single - /// message. If the multiple field is 1, and the delivery tag is zero, - /// tells the server to acknowledge all outstanding mesages. - /// - /// - bool Multiple { get; } - } - /// Autogenerated type. AMQP specification method "file.reject". - /// - /// - /// This method allows a client to reject a message. It can be used to - /// return untreatable messages to their original queue. Note that file - /// content is staged before delivery, so the client will not use this - /// method to interrupt delivery of a large message. - /// - /// - public interface IFileReject: IMethod { - // (no documentation) - ulong DeliveryTag { get; } - /// - /// - /// If this field is zero, the message will be discarded. If this bit - /// is 1, the server will attempt to requeue the message. - /// - /// - bool Requeue { get; } - } - /// Autogenerated type. AMQP specification method "stream.qos". - /// - /// - /// This method requests a specific quality of service. The QoS can - /// be specified for the current channel or for all channels on the - /// connection. The particular properties and semantics of a qos method - /// always depend on the content class semantics. Though the qos method - /// could in principle apply to both peers, it is currently meaningful - /// only for the server. - /// - /// - public interface IStreamQos: IMethod { - /// - /// - /// The client can request that messages be sent in advance so that - /// when the client finishes processing a message, the following - /// message is already held locally, rather than needing to be sent - /// down the channel. Prefetching gives a performance improvement. - /// This field specifies the prefetch window size in octets. May be - /// set to zero, meaning "no specific limit". Note that other - /// prefetch limits may still apply. - /// - /// - uint PrefetchSize { get; } - /// - /// - /// Specifies a prefetch window in terms of whole messages. This - /// field may be used in combination with the prefetch-size field; - /// a message will only be sent in advance if both prefetch windows - /// (and those at the channel and connection level) allow it. - /// - /// - ushort PrefetchCount { get; } - /// - /// - /// Specifies a desired transfer rate in octets per second. This is - /// usually determined by the application that uses the streaming - /// data. A value of zero means "no limit", i.e. as rapidly as - /// possible. - /// - /// - uint ConsumeRate { get; } - /// - /// - /// By default the QoS settings apply to the current channel only. If - /// this field is set, they are applied to the entire connection. - /// - /// - bool Global { get; } - } - /// Autogenerated type. AMQP specification method "stream.qos-ok". - /// - /// - /// This method tells the client that the requested QoS levels could - /// be handled by the server. The requested QoS applies to all active - /// consumers until a new QoS is defined. - /// - /// - public interface IStreamQosOk: IMethod { - } - /// Autogenerated type. AMQP specification method "stream.consume". - /// - /// - /// This method asks the server to start a "consumer", which is a - /// transient request for messages from a specific queue. Consumers - /// last as long as the channel they were created on, or until the - /// client cancels them. - /// - /// - public interface IStreamConsume: IMethod { - /// - /// - /// The client MUST provide a valid access ticket giving "read" access - /// rights to the realm for the queue. - /// - /// - ushort Ticket { get; } - /// - /// - /// Specifies the name of the queue to consume from. If the queue name - /// is null, refers to the current queue for the channel, which is the - /// last declared queue. - /// - /// - string Queue { get; } - /// - /// - /// Specifies the identifier for the consumer. The consumer tag is - /// local to a connection, so two clients can use the same consumer - /// tags. If this field is empty the server will generate a unique - /// tag. - /// - /// - string ConsumerTag { get; } - // (no documentation) - bool NoLocal { get; } - /// - /// - /// Request exclusive consumer access, meaning only this consumer can - /// access the queue. - /// - /// - bool Exclusive { get; } - /// - /// - /// If set, the server will not respond to the method. The client should - /// not wait for a reply method. If the server could not complete the - /// method it will raise a channel or connection exception. - /// - /// - bool Nowait { get; } - } - /// Autogenerated type. AMQP specification method "stream.consume-ok". - /// - /// - /// This method provides the client with a consumer tag which it may - /// use in methods that work with the consumer. - /// - /// - public interface IStreamConsumeOk: IMethod { - /// - /// - /// Holds the consumer tag specified by the client or provided by - /// the server. - /// - /// - string ConsumerTag { get; } - } - /// Autogenerated type. AMQP specification method "stream.cancel". - /// - /// - /// This method cancels a consumer. Since message delivery is - /// asynchronous the client may continue to receive messages for - /// a short while after canceling a consumer. It may process or - /// discard these as appropriate. - /// - /// - public interface IStreamCancel: IMethod { - // (no documentation) - string ConsumerTag { get; } - /// - /// - /// If set, the server will not respond to the method. The client should - /// not wait for a reply method. If the server could not complete the - /// method it will raise a channel or connection exception. - /// - /// - bool Nowait { get; } - } - /// Autogenerated type. AMQP specification method "stream.cancel-ok". - /// - /// - /// This method confirms that the cancellation was completed. - /// - /// - public interface IStreamCancelOk: IMethod { - // (no documentation) - string ConsumerTag { get; } - } - /// Autogenerated type. AMQP specification method "stream.publish". - /// - /// - /// This method publishes a message to a specific exchange. The message - /// will be routed to queues as defined by the exchange configuration - /// and distributed to any active consumers as appropriate. - /// - /// - public interface IStreamPublish: IMethod { - /// - /// - /// The client MUST provide a valid access ticket giving "write" - /// access rights to the access realm for the exchange. - /// - /// - ushort Ticket { get; } - /// - /// - /// Specifies the name of the exchange to publish to. The exchange - /// name can be empty, meaning the default exchange. If the exchange - /// name is specified, and that exchange does not exist, the server - /// will raise a channel exception. - /// - /// - string Exchange { get; } - /// - /// - /// Specifies the routing key for the message. The routing key is - /// used for routing messages depending on the exchange configuration. - /// - /// - string RoutingKey { get; } - /// - /// - /// This flag tells the server how to react if the message cannot be - /// routed to a queue. If this flag is set, the server will return an - /// unroutable message with a Return method. If this flag is zero, the - /// server silently drops the message. - /// - /// - bool Mandatory { get; } - /// - /// - /// This flag tells the server how to react if the message cannot be - /// routed to a queue consumer immediately. If this flag is set, the - /// server will return an undeliverable message with a Return method. - /// If this flag is zero, the server will queue the message, but with - /// no guarantee that it will ever be consumed. - /// - /// - bool Immediate { get; } - } - /// Autogenerated type. AMQP specification method "stream.return". - /// - /// - /// This method returns an undeliverable message that was published - /// with the "immediate" flag set, or an unroutable message published - /// with the "mandatory" flag set. The reply code and text provide - /// information about the reason that the message was undeliverable. - /// - /// - public interface IStreamReturn: IMethod { - // (no documentation) - ushort ReplyCode { get; } - // (no documentation) - string ReplyText { get; } - /// - /// - /// Specifies the name of the exchange that the message was - /// originally published to. - /// - /// - string Exchange { get; } - /// - /// - /// Specifies the routing key name specified when the message was - /// published. - /// - /// - string RoutingKey { get; } - } - /// Autogenerated type. AMQP specification method "stream.deliver". - /// - /// - /// This method delivers a message to the client, via a consumer. In - /// the asynchronous message delivery model, the client starts a - /// consumer using the Consume method, then the server responds with - /// Deliver methods as and when messages arrive for that consumer. - /// - /// - public interface IStreamDeliver: IMethod { - // (no documentation) - string ConsumerTag { get; } - // (no documentation) - ulong DeliveryTag { get; } - /// - /// - /// Specifies the name of the exchange that the message was originally - /// published to. - /// - /// - string Exchange { get; } - /// - /// - /// Specifies the name of the queue that the message came from. Note - /// that a single channel can start many consumers on different - /// queues. - /// - /// - string Queue { get; } - } - /// Autogenerated type. AMQP specification method "tx.select". - /// - /// - /// This method sets the channel to use standard transactions. The - /// client must use this method at least once on a channel before - /// using the Commit or Rollback methods. - /// - /// - public interface ITxSelect: IMethod { - } - /// Autogenerated type. AMQP specification method "tx.select-ok". - /// - /// - /// This method confirms to the client that the channel was successfully - /// set to use standard transactions. - /// - /// - public interface ITxSelectOk: IMethod { - } - /// Autogenerated type. AMQP specification method "tx.commit". - /// - /// - /// This method commits all messages published and acknowledged in - /// the current transaction. A new transaction starts immediately - /// after a commit. - /// - /// - public interface ITxCommit: IMethod { - } - /// Autogenerated type. AMQP specification method "tx.commit-ok". - /// - /// - /// This method confirms to the client that the commit succeeded. - /// Note that if a commit fails, the server raises a channel exception. - /// - /// - public interface ITxCommitOk: IMethod { - } - /// Autogenerated type. AMQP specification method "tx.rollback". - /// - /// - /// This method abandons all messages published and acknowledged in - /// the current transaction. A new transaction starts immediately - /// after a rollback. - /// - /// - public interface ITxRollback: IMethod { - } - /// Autogenerated type. AMQP specification method "tx.rollback-ok". - /// - /// - /// This method confirms to the client that the rollback succeeded. - /// Note that if an rollback fails, the server raises a channel exception. - /// - /// - public interface ITxRollbackOk: IMethod { - } - /// Autogenerated type. AMQP specification method "dtx.select". - /// - /// - /// This method sets the channel to use distributed transactions. The - /// client must use this method at least once on a channel before - /// using the Start method. - /// - /// - public interface IDtxSelect: IMethod { - } - /// Autogenerated type. AMQP specification method "dtx.select-ok". - /// - /// - /// This method confirms to the client that the channel was successfully - /// set to use distributed transactions. - /// - /// - public interface IDtxSelectOk: IMethod { - } - /// Autogenerated type. AMQP specification method "dtx.start". - /// - /// - /// This method starts a new distributed transaction. This must be - /// the first method on a new channel that uses the distributed - /// transaction mode, before any methods that publish or consume - /// messages. - /// - /// - public interface IDtxStart: IMethod { - /// - /// - /// The distributed transaction key. This identifies the transaction - /// so that the AMQP server can coordinate with the distributed - /// transaction coordinator. - /// - /// - string DtxIdentifier { get; } - } - /// Autogenerated type. AMQP specification method "dtx.start-ok". - /// - /// - /// This method confirms to the client that the transaction started. - /// Note that if a start fails, the server raises a channel exception. - /// - /// - public interface IDtxStartOk: IMethod { - } - /// Autogenerated type. AMQP specification method "tunnel.request". - /// - /// - /// This method tunnels a block of binary data, which can be an - /// encoded AMQP method or other data. The binary data is sent - /// as the content for the Tunnel.Request method. - /// - /// - public interface ITunnelRequest: IMethod { - /// - /// - /// This field table holds arbitrary meta-data that the sender needs - /// to pass to the recipient. - /// - /// - System.Collections.IDictionary MetaData { get; } - } - /// Autogenerated type. AMQP specification method "test.integer". - /// - /// - /// This method tests the peer's capability to correctly marshal integer - /// data. - /// - /// - public interface ITestInteger: IMethod { - /// - /// - /// An octet integer test value. - /// - /// - byte Integer1 { get; } - /// - /// - /// A short integer test value. - /// - /// - ushort Integer2 { get; } - /// - /// - /// A long integer test value. - /// - /// - uint Integer3 { get; } - /// - /// - /// A long long integer test value. - /// - /// - ulong Integer4 { get; } - /// - /// - /// The client must execute this operation on the provided integer - /// test fields and return the result. - /// - /// - byte Operation { get; } - } - /// Autogenerated type. AMQP specification method "test.integer-ok". - /// - /// - /// This method reports the result of an Integer method. - /// - /// - public interface ITestIntegerOk: IMethod { - /// - /// - /// The result of the tested operation. - /// - /// - ulong Result { get; } - } - /// Autogenerated type. AMQP specification method "test.string". - /// - /// - /// This method tests the peer's capability to correctly marshal string - /// data. - /// - /// - public interface ITestString: IMethod { - /// - /// - /// An short string test value. - /// - /// - string String1 { get; } - /// - /// - /// A long string test value. - /// - /// - byte[] String2 { get; } - /// - /// - /// The client must execute this operation on the provided string - /// test fields and return the result. - /// - /// - byte Operation { get; } - } - /// Autogenerated type. AMQP specification method "test.string-ok". - /// - /// - /// This method reports the result of a String method. - /// - /// - public interface ITestStringOk: IMethod { - /// - /// - /// The result of the tested operation. - /// - /// - byte[] Result { get; } - } - /// Autogenerated type. AMQP specification method "test.table". - /// - /// - /// This method tests the peer's capability to correctly marshal field - /// table data. - /// - /// - public interface ITestTable: IMethod { - /// - /// - /// A field table of test values. - /// - /// - System.Collections.IDictionary Table { get; } - /// - /// - /// The client must execute this operation on the provided field - /// table integer values and return the result. - /// - /// - byte IntegerOp { get; } - /// - /// - /// The client must execute this operation on the provided field - /// table string values and return the result. - /// - /// - byte StringOp { get; } - } - /// Autogenerated type. AMQP specification method "test.table-ok". - /// - /// - /// This method reports the result of a Table method. - /// - /// - public interface ITestTableOk: IMethod { - /// - /// - /// The result of the tested integer operation. - /// - /// - ulong IntegerResult { get; } - /// - /// - /// The result of the tested string operation. - /// - /// - byte[] StringResult { get; } - } - /// Autogenerated type. AMQP specification method "test.content". - /// - /// - /// This method tests the peer's capability to correctly marshal content. - /// - /// - public interface ITestContent: IMethod { - } - /// Autogenerated type. AMQP specification method "test.content-ok". - /// - /// - /// This method reports the result of a Content method. It contains the - /// content checksum and echoes the original content as provided. - /// - /// - public interface ITestContentOk: IMethod { - /// - /// - /// The 32-bit checksum of the content, calculated by adding the - /// content into a 32-bit accumulator. - /// - /// - uint ContentChecksum { get; } - } - /// Autogenerated type. AMQP specification content header properties for content class "basic" - /// - /// - /// The Basic class provides methods that support an industry-standard - /// messaging model. - /// - /// - public class BasicProperties: RabbitMQ.Client.Impl.BasicProperties { - private string m_contentType; - private string m_contentEncoding; - private System.Collections.IDictionary m_headers; - private byte m_deliveryMode; - private byte m_priority; - private string m_correlationId; - private string m_replyTo; - private string m_expiration; - private string m_messageId; - private AmqpTimestamp m_timestamp; - private string m_type; - private string m_userId; - private string m_appId; - private string m_clusterId; - - private bool contentType_present = false; - private bool contentEncoding_present = false; - private bool headers_present = false; - private bool deliveryMode_present = false; - private bool priority_present = false; - private bool correlationId_present = false; - private bool replyTo_present = false; - private bool expiration_present = false; - private bool messageId_present = false; - private bool timestamp_present = false; - private bool type_present = false; - private bool userId_present = false; - private bool appId_present = false; - private bool clusterId_present = false; - - // (no documentation) - public override string ContentType { - get { - return m_contentType; - } - set { - contentType_present = true; - m_contentType = value; - } - } - // (no documentation) - public override string ContentEncoding { - get { - return m_contentEncoding; - } - set { - contentEncoding_present = true; - m_contentEncoding = value; - } - } - // (no documentation) - public override System.Collections.IDictionary Headers { - get { - return m_headers; - } - set { - headers_present = true; - m_headers = value; - } - } - // (no documentation) - public override byte DeliveryMode { - get { - return m_deliveryMode; - } - set { - deliveryMode_present = true; - m_deliveryMode = value; - } - } - // (no documentation) - public override byte Priority { - get { - return m_priority; - } - set { - priority_present = true; - m_priority = value; - } - } - // (no documentation) - public override string CorrelationId { - get { - return m_correlationId; - } - set { - correlationId_present = true; - m_correlationId = value; - } - } - // (no documentation) - public override string ReplyTo { - get { - return m_replyTo; - } - set { - replyTo_present = true; - m_replyTo = value; - } - } - // (no documentation) - public override string Expiration { - get { - return m_expiration; - } - set { - expiration_present = true; - m_expiration = value; - } - } - // (no documentation) - public override string MessageId { - get { - return m_messageId; - } - set { - messageId_present = true; - m_messageId = value; - } - } - // (no documentation) - public override AmqpTimestamp Timestamp { - get { - return m_timestamp; - } - set { - timestamp_present = true; - m_timestamp = value; - } - } - // (no documentation) - public override string Type { - get { - return m_type; - } - set { - type_present = true; - m_type = value; - } - } - // (no documentation) - public override string UserId { - get { - return m_userId; - } - set { - userId_present = true; - m_userId = value; - } - } - // (no documentation) - public override string AppId { - get { - return m_appId; - } - set { - appId_present = true; - m_appId = value; - } - } - // (no documentation) - public override string ClusterId { - get { - return m_clusterId; - } - set { - clusterId_present = true; - m_clusterId = value; - } - } - - public override void ClearContentType() { contentType_present = false; } - public override void ClearContentEncoding() { contentEncoding_present = false; } - public override void ClearHeaders() { headers_present = false; } - public override void ClearDeliveryMode() { deliveryMode_present = false; } - public override void ClearPriority() { priority_present = false; } - public override void ClearCorrelationId() { correlationId_present = false; } - public override void ClearReplyTo() { replyTo_present = false; } - public override void ClearExpiration() { expiration_present = false; } - public override void ClearMessageId() { messageId_present = false; } - public override void ClearTimestamp() { timestamp_present = false; } - public override void ClearType() { type_present = false; } - public override void ClearUserId() { userId_present = false; } - public override void ClearAppId() { appId_present = false; } - public override void ClearClusterId() { clusterId_present = false; } - - public BasicProperties() {} - public override int ProtocolClassId { get { return 60; } } - public override string ProtocolClassName { get { return "basic"; } } - - public override void ReadPropertiesFrom(RabbitMQ.Client.Impl.ContentHeaderPropertyReader reader) { - contentType_present = reader.ReadPresence(); - contentEncoding_present = reader.ReadPresence(); - headers_present = reader.ReadPresence(); - deliveryMode_present = reader.ReadPresence(); - priority_present = reader.ReadPresence(); - correlationId_present = reader.ReadPresence(); - replyTo_present = reader.ReadPresence(); - expiration_present = reader.ReadPresence(); - messageId_present = reader.ReadPresence(); - timestamp_present = reader.ReadPresence(); - type_present = reader.ReadPresence(); - userId_present = reader.ReadPresence(); - appId_present = reader.ReadPresence(); - clusterId_present = reader.ReadPresence(); - reader.FinishPresence(); - if (contentType_present) { m_contentType = reader.ReadShortstr(); } - if (contentEncoding_present) { m_contentEncoding = reader.ReadShortstr(); } - if (headers_present) { m_headers = reader.ReadTable(); } - if (deliveryMode_present) { m_deliveryMode = reader.ReadOctet(); } - if (priority_present) { m_priority = reader.ReadOctet(); } - if (correlationId_present) { m_correlationId = reader.ReadShortstr(); } - if (replyTo_present) { m_replyTo = reader.ReadShortstr(); } - if (expiration_present) { m_expiration = reader.ReadShortstr(); } - if (messageId_present) { m_messageId = reader.ReadShortstr(); } - if (timestamp_present) { m_timestamp = reader.ReadTimestamp(); } - if (type_present) { m_type = reader.ReadShortstr(); } - if (userId_present) { m_userId = reader.ReadShortstr(); } - if (appId_present) { m_appId = reader.ReadShortstr(); } - if (clusterId_present) { m_clusterId = reader.ReadShortstr(); } - } - - public override void WritePropertiesTo(RabbitMQ.Client.Impl.ContentHeaderPropertyWriter writer) { - writer.WritePresence(contentType_present); - writer.WritePresence(contentEncoding_present); - writer.WritePresence(headers_present); - writer.WritePresence(deliveryMode_present); - writer.WritePresence(priority_present); - writer.WritePresence(correlationId_present); - writer.WritePresence(replyTo_present); - writer.WritePresence(expiration_present); - writer.WritePresence(messageId_present); - writer.WritePresence(timestamp_present); - writer.WritePresence(type_present); - writer.WritePresence(userId_present); - writer.WritePresence(appId_present); - writer.WritePresence(clusterId_present); - writer.FinishPresence(); - if (contentType_present) { writer.WriteShortstr(m_contentType); } - if (contentEncoding_present) { writer.WriteShortstr(m_contentEncoding); } - if (headers_present) { writer.WriteTable(m_headers); } - if (deliveryMode_present) { writer.WriteOctet(m_deliveryMode); } - if (priority_present) { writer.WriteOctet(m_priority); } - if (correlationId_present) { writer.WriteShortstr(m_correlationId); } - if (replyTo_present) { writer.WriteShortstr(m_replyTo); } - if (expiration_present) { writer.WriteShortstr(m_expiration); } - if (messageId_present) { writer.WriteShortstr(m_messageId); } - if (timestamp_present) { writer.WriteTimestamp(m_timestamp); } - if (type_present) { writer.WriteShortstr(m_type); } - if (userId_present) { writer.WriteShortstr(m_userId); } - if (appId_present) { writer.WriteShortstr(m_appId); } - if (clusterId_present) { writer.WriteShortstr(m_clusterId); } - } - - public override void AppendPropertyDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append("content type="); sb.Append(contentType_present ? (m_contentType == null ? "(null)" : m_contentType.ToString()) : "_"); sb.Append(", "); - sb.Append("content encoding="); sb.Append(contentEncoding_present ? (m_contentEncoding == null ? "(null)" : m_contentEncoding.ToString()) : "_"); sb.Append(", "); - sb.Append("headers="); sb.Append(headers_present ? (m_headers == null ? "(null)" : m_headers.ToString()) : "_"); sb.Append(", "); - sb.Append("delivery mode="); sb.Append(deliveryMode_present ? m_deliveryMode.ToString() : "_"); sb.Append(", "); - sb.Append("priority="); sb.Append(priority_present ? m_priority.ToString() : "_"); sb.Append(", "); - sb.Append("correlation id="); sb.Append(correlationId_present ? (m_correlationId == null ? "(null)" : m_correlationId.ToString()) : "_"); sb.Append(", "); - sb.Append("reply to="); sb.Append(replyTo_present ? (m_replyTo == null ? "(null)" : m_replyTo.ToString()) : "_"); sb.Append(", "); - sb.Append("expiration="); sb.Append(expiration_present ? (m_expiration == null ? "(null)" : m_expiration.ToString()) : "_"); sb.Append(", "); - sb.Append("message id="); sb.Append(messageId_present ? (m_messageId == null ? "(null)" : m_messageId.ToString()) : "_"); sb.Append(", "); - sb.Append("timestamp="); sb.Append(timestamp_present ? m_timestamp.ToString() : "_"); sb.Append(", "); - sb.Append("type="); sb.Append(type_present ? (m_type == null ? "(null)" : m_type.ToString()) : "_"); sb.Append(", "); - sb.Append("user id="); sb.Append(userId_present ? (m_userId == null ? "(null)" : m_userId.ToString()) : "_"); sb.Append(", "); - sb.Append("app id="); sb.Append(appId_present ? (m_appId == null ? "(null)" : m_appId.ToString()) : "_"); sb.Append(", "); - sb.Append("cluster id="); sb.Append(clusterId_present ? (m_clusterId == null ? "(null)" : m_clusterId.ToString()) : "_"); - sb.Append(")"); - } - } - /// Autogenerated type. AMQP specification content header properties for content class "file" - /// - /// - /// The file class provides methods that support reliable file transfer. - /// File messages have a specific set of properties that are required for - /// interoperability with file transfer applications. File messages and - /// acknowledgements are subject to channel transactions. Note that the - /// file class does not provide message browsing methods; these are not - /// compatible with the staging model. Applications that need browsable - /// file transfer should use Basic content and the Basic class. - /// - /// - public class FileProperties: RabbitMQ.Client.Impl.FileProperties { - private string m_contentType; - private string m_contentEncoding; - private System.Collections.IDictionary m_headers; - private byte m_priority; - private string m_replyTo; - private string m_messageId; - private string m_filename; - private AmqpTimestamp m_timestamp; - private string m_clusterId; - - private bool contentType_present = false; - private bool contentEncoding_present = false; - private bool headers_present = false; - private bool priority_present = false; - private bool replyTo_present = false; - private bool messageId_present = false; - private bool filename_present = false; - private bool timestamp_present = false; - private bool clusterId_present = false; - - // (no documentation) - public override string ContentType { - get { - return m_contentType; - } - set { - contentType_present = true; - m_contentType = value; - } - } - // (no documentation) - public override string ContentEncoding { - get { - return m_contentEncoding; - } - set { - contentEncoding_present = true; - m_contentEncoding = value; - } - } - // (no documentation) - public override System.Collections.IDictionary Headers { - get { - return m_headers; - } - set { - headers_present = true; - m_headers = value; - } - } - // (no documentation) - public override byte Priority { - get { - return m_priority; - } - set { - priority_present = true; - m_priority = value; - } - } - // (no documentation) - public override string ReplyTo { - get { - return m_replyTo; - } - set { - replyTo_present = true; - m_replyTo = value; - } - } - // (no documentation) - public override string MessageId { - get { - return m_messageId; - } - set { - messageId_present = true; - m_messageId = value; - } - } - // (no documentation) - public override string Filename { - get { - return m_filename; - } - set { - filename_present = true; - m_filename = value; - } - } - // (no documentation) - public override AmqpTimestamp Timestamp { - get { - return m_timestamp; - } - set { - timestamp_present = true; - m_timestamp = value; - } - } - // (no documentation) - public override string ClusterId { - get { - return m_clusterId; - } - set { - clusterId_present = true; - m_clusterId = value; - } - } - - public override void ClearContentType() { contentType_present = false; } - public override void ClearContentEncoding() { contentEncoding_present = false; } - public override void ClearHeaders() { headers_present = false; } - public override void ClearPriority() { priority_present = false; } - public override void ClearReplyTo() { replyTo_present = false; } - public override void ClearMessageId() { messageId_present = false; } - public override void ClearFilename() { filename_present = false; } - public override void ClearTimestamp() { timestamp_present = false; } - public override void ClearClusterId() { clusterId_present = false; } - - public FileProperties() {} - public override int ProtocolClassId { get { return 70; } } - public override string ProtocolClassName { get { return "file"; } } - - public override void ReadPropertiesFrom(RabbitMQ.Client.Impl.ContentHeaderPropertyReader reader) { - contentType_present = reader.ReadPresence(); - contentEncoding_present = reader.ReadPresence(); - headers_present = reader.ReadPresence(); - priority_present = reader.ReadPresence(); - replyTo_present = reader.ReadPresence(); - messageId_present = reader.ReadPresence(); - filename_present = reader.ReadPresence(); - timestamp_present = reader.ReadPresence(); - clusterId_present = reader.ReadPresence(); - reader.FinishPresence(); - if (contentType_present) { m_contentType = reader.ReadShortstr(); } - if (contentEncoding_present) { m_contentEncoding = reader.ReadShortstr(); } - if (headers_present) { m_headers = reader.ReadTable(); } - if (priority_present) { m_priority = reader.ReadOctet(); } - if (replyTo_present) { m_replyTo = reader.ReadShortstr(); } - if (messageId_present) { m_messageId = reader.ReadShortstr(); } - if (filename_present) { m_filename = reader.ReadShortstr(); } - if (timestamp_present) { m_timestamp = reader.ReadTimestamp(); } - if (clusterId_present) { m_clusterId = reader.ReadShortstr(); } - } - - public override void WritePropertiesTo(RabbitMQ.Client.Impl.ContentHeaderPropertyWriter writer) { - writer.WritePresence(contentType_present); - writer.WritePresence(contentEncoding_present); - writer.WritePresence(headers_present); - writer.WritePresence(priority_present); - writer.WritePresence(replyTo_present); - writer.WritePresence(messageId_present); - writer.WritePresence(filename_present); - writer.WritePresence(timestamp_present); - writer.WritePresence(clusterId_present); - writer.FinishPresence(); - if (contentType_present) { writer.WriteShortstr(m_contentType); } - if (contentEncoding_present) { writer.WriteShortstr(m_contentEncoding); } - if (headers_present) { writer.WriteTable(m_headers); } - if (priority_present) { writer.WriteOctet(m_priority); } - if (replyTo_present) { writer.WriteShortstr(m_replyTo); } - if (messageId_present) { writer.WriteShortstr(m_messageId); } - if (filename_present) { writer.WriteShortstr(m_filename); } - if (timestamp_present) { writer.WriteTimestamp(m_timestamp); } - if (clusterId_present) { writer.WriteShortstr(m_clusterId); } - } - - public override void AppendPropertyDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append("content type="); sb.Append(contentType_present ? (m_contentType == null ? "(null)" : m_contentType.ToString()) : "_"); sb.Append(", "); - sb.Append("content encoding="); sb.Append(contentEncoding_present ? (m_contentEncoding == null ? "(null)" : m_contentEncoding.ToString()) : "_"); sb.Append(", "); - sb.Append("headers="); sb.Append(headers_present ? (m_headers == null ? "(null)" : m_headers.ToString()) : "_"); sb.Append(", "); - sb.Append("priority="); sb.Append(priority_present ? m_priority.ToString() : "_"); sb.Append(", "); - sb.Append("reply to="); sb.Append(replyTo_present ? (m_replyTo == null ? "(null)" : m_replyTo.ToString()) : "_"); sb.Append(", "); - sb.Append("message id="); sb.Append(messageId_present ? (m_messageId == null ? "(null)" : m_messageId.ToString()) : "_"); sb.Append(", "); - sb.Append("filename="); sb.Append(filename_present ? (m_filename == null ? "(null)" : m_filename.ToString()) : "_"); sb.Append(", "); - sb.Append("timestamp="); sb.Append(timestamp_present ? m_timestamp.ToString() : "_"); sb.Append(", "); - sb.Append("cluster id="); sb.Append(clusterId_present ? (m_clusterId == null ? "(null)" : m_clusterId.ToString()) : "_"); - sb.Append(")"); - } - } - /// Autogenerated type. AMQP specification content header properties for content class "stream" - /// - /// - /// The stream class provides methods that support multimedia streaming. - /// The stream class uses the following semantics: one message is one - /// packet of data; delivery is unacknowleged and unreliable; the consumer - /// can specify quality of service parameters that the server can try to - /// adhere to; lower-priority messages may be discarded in favour of high - /// priority messages. - /// - /// - public class StreamProperties: RabbitMQ.Client.Impl.StreamProperties { - private string m_contentType; - private string m_contentEncoding; - private System.Collections.IDictionary m_headers; - private byte m_priority; - private AmqpTimestamp m_timestamp; - - private bool contentType_present = false; - private bool contentEncoding_present = false; - private bool headers_present = false; - private bool priority_present = false; - private bool timestamp_present = false; - - // (no documentation) - public override string ContentType { - get { - return m_contentType; - } - set { - contentType_present = true; - m_contentType = value; - } - } - // (no documentation) - public override string ContentEncoding { - get { - return m_contentEncoding; - } - set { - contentEncoding_present = true; - m_contentEncoding = value; - } - } - // (no documentation) - public override System.Collections.IDictionary Headers { - get { - return m_headers; - } - set { - headers_present = true; - m_headers = value; - } - } - // (no documentation) - public override byte Priority { - get { - return m_priority; - } - set { - priority_present = true; - m_priority = value; - } - } - // (no documentation) - public override AmqpTimestamp Timestamp { - get { - return m_timestamp; - } - set { - timestamp_present = true; - m_timestamp = value; - } - } - - public override void ClearContentType() { contentType_present = false; } - public override void ClearContentEncoding() { contentEncoding_present = false; } - public override void ClearHeaders() { headers_present = false; } - public override void ClearPriority() { priority_present = false; } - public override void ClearTimestamp() { timestamp_present = false; } - - public StreamProperties() {} - public override int ProtocolClassId { get { return 80; } } - public override string ProtocolClassName { get { return "stream"; } } - - public override void ReadPropertiesFrom(RabbitMQ.Client.Impl.ContentHeaderPropertyReader reader) { - contentType_present = reader.ReadPresence(); - contentEncoding_present = reader.ReadPresence(); - headers_present = reader.ReadPresence(); - priority_present = reader.ReadPresence(); - timestamp_present = reader.ReadPresence(); - reader.FinishPresence(); - if (contentType_present) { m_contentType = reader.ReadShortstr(); } - if (contentEncoding_present) { m_contentEncoding = reader.ReadShortstr(); } - if (headers_present) { m_headers = reader.ReadTable(); } - if (priority_present) { m_priority = reader.ReadOctet(); } - if (timestamp_present) { m_timestamp = reader.ReadTimestamp(); } - } - - public override void WritePropertiesTo(RabbitMQ.Client.Impl.ContentHeaderPropertyWriter writer) { - writer.WritePresence(contentType_present); - writer.WritePresence(contentEncoding_present); - writer.WritePresence(headers_present); - writer.WritePresence(priority_present); - writer.WritePresence(timestamp_present); - writer.FinishPresence(); - if (contentType_present) { writer.WriteShortstr(m_contentType); } - if (contentEncoding_present) { writer.WriteShortstr(m_contentEncoding); } - if (headers_present) { writer.WriteTable(m_headers); } - if (priority_present) { writer.WriteOctet(m_priority); } - if (timestamp_present) { writer.WriteTimestamp(m_timestamp); } - } - - public override void AppendPropertyDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append("content type="); sb.Append(contentType_present ? (m_contentType == null ? "(null)" : m_contentType.ToString()) : "_"); sb.Append(", "); - sb.Append("content encoding="); sb.Append(contentEncoding_present ? (m_contentEncoding == null ? "(null)" : m_contentEncoding.ToString()) : "_"); sb.Append(", "); - sb.Append("headers="); sb.Append(headers_present ? (m_headers == null ? "(null)" : m_headers.ToString()) : "_"); sb.Append(", "); - sb.Append("priority="); sb.Append(priority_present ? m_priority.ToString() : "_"); sb.Append(", "); - sb.Append("timestamp="); sb.Append(timestamp_present ? m_timestamp.ToString() : "_"); - sb.Append(")"); - } - } - /// Autogenerated type. AMQP specification content header properties for content class "tunnel" - /// - /// - /// The tunnel methods are used to send blocks of binary data - which - /// can be serialised AMQP methods or other protocol frames - between - /// AMQP peers. - /// - /// - public class TunnelProperties: RabbitMQ.Client.Impl.ContentHeaderBase { - private System.Collections.IDictionary m_headers; - private string m_proxyName; - private string m_dataName; - private byte m_durable; - private byte m_broadcast; - - private bool headers_present = false; - private bool proxyName_present = false; - private bool dataName_present = false; - private bool durable_present = false; - private bool broadcast_present = false; - - // (no documentation) - public System.Collections.IDictionary Headers { - get { - return m_headers; - } - set { - headers_present = true; - m_headers = value; - } - } - // (no documentation) - public string ProxyName { - get { - return m_proxyName; - } - set { - proxyName_present = true; - m_proxyName = value; - } - } - // (no documentation) - public string DataName { - get { - return m_dataName; - } - set { - dataName_present = true; - m_dataName = value; - } - } - // (no documentation) - public byte Durable { - get { - return m_durable; - } - set { - durable_present = true; - m_durable = value; - } - } - // (no documentation) - public byte Broadcast { - get { - return m_broadcast; - } - set { - broadcast_present = true; - m_broadcast = value; - } - } - - public void ClearHeaders() { headers_present = false; } - public void ClearProxyName() { proxyName_present = false; } - public void ClearDataName() { dataName_present = false; } - public void ClearDurable() { durable_present = false; } - public void ClearBroadcast() { broadcast_present = false; } - - public TunnelProperties() {} - public override int ProtocolClassId { get { return 110; } } - public override string ProtocolClassName { get { return "tunnel"; } } - - public override void ReadPropertiesFrom(RabbitMQ.Client.Impl.ContentHeaderPropertyReader reader) { - headers_present = reader.ReadPresence(); - proxyName_present = reader.ReadPresence(); - dataName_present = reader.ReadPresence(); - durable_present = reader.ReadPresence(); - broadcast_present = reader.ReadPresence(); - reader.FinishPresence(); - if (headers_present) { m_headers = reader.ReadTable(); } - if (proxyName_present) { m_proxyName = reader.ReadShortstr(); } - if (dataName_present) { m_dataName = reader.ReadShortstr(); } - if (durable_present) { m_durable = reader.ReadOctet(); } - if (broadcast_present) { m_broadcast = reader.ReadOctet(); } - } - - public override void WritePropertiesTo(RabbitMQ.Client.Impl.ContentHeaderPropertyWriter writer) { - writer.WritePresence(headers_present); - writer.WritePresence(proxyName_present); - writer.WritePresence(dataName_present); - writer.WritePresence(durable_present); - writer.WritePresence(broadcast_present); - writer.FinishPresence(); - if (headers_present) { writer.WriteTable(m_headers); } - if (proxyName_present) { writer.WriteShortstr(m_proxyName); } - if (dataName_present) { writer.WriteShortstr(m_dataName); } - if (durable_present) { writer.WriteOctet(m_durable); } - if (broadcast_present) { writer.WriteOctet(m_broadcast); } - } - - public override void AppendPropertyDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append("headers="); sb.Append(headers_present ? (m_headers == null ? "(null)" : m_headers.ToString()) : "_"); sb.Append(", "); - sb.Append("proxy name="); sb.Append(proxyName_present ? (m_proxyName == null ? "(null)" : m_proxyName.ToString()) : "_"); sb.Append(", "); - sb.Append("data name="); sb.Append(dataName_present ? (m_dataName == null ? "(null)" : m_dataName.ToString()) : "_"); sb.Append(", "); - sb.Append("durable="); sb.Append(durable_present ? m_durable.ToString() : "_"); sb.Append(", "); - sb.Append("broadcast="); sb.Append(broadcast_present ? m_broadcast.ToString() : "_"); - sb.Append(")"); - } - } - /// Autogenerated type. AMQP specification content header properties for content class "test" - /// - /// - /// The test class provides methods for a peer to test the basic - /// operational correctness of another peer. The test methods are - /// intended to ensure that all peers respect at least the basic - /// elements of the protocol, such as frame and content organisation - /// and field types. We assume that a specially-designed peer, a - /// "monitor client" would perform such tests. - /// - /// - public class TestProperties: RabbitMQ.Client.Impl.ContentHeaderBase { - - - - - public TestProperties() {} - public override int ProtocolClassId { get { return 120; } } - public override string ProtocolClassName { get { return "test"; } } - - public override void ReadPropertiesFrom(RabbitMQ.Client.Impl.ContentHeaderPropertyReader reader) { - reader.FinishPresence(); - } - - public override void WritePropertiesTo(RabbitMQ.Client.Impl.ContentHeaderPropertyWriter writer) { - writer.FinishPresence(); - } - - public override void AppendPropertyDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(")"); - } - } -} -namespace RabbitMQ.Client.Framing.Impl.v0_8qpid { - using RabbitMQ.Client.Framing.v0_8qpid; - public enum ClassId { - Connection = 10, - Channel = 20, - Access = 30, - Exchange = 40, - Queue = 50, - Basic = 60, - File = 70, - Stream = 80, - Tx = 90, - Dtx = 100, - Tunnel = 110, - Test = 120, - Invalid = -1 - } - /// Autogenerated type. Private implementation class - do not use directly. - public class ConnectionStart: RabbitMQ.Client.Impl.MethodBase, IConnectionStart { - public const int ClassId = 10; - public const int MethodId = 10; - - public byte m_versionMajor; - public byte m_versionMinor; - public System.Collections.IDictionary m_serverProperties; - public byte[] m_mechanisms; - public byte[] m_locales; - - byte IConnectionStart.VersionMajor { get { return m_versionMajor; } } - byte IConnectionStart.VersionMinor { get { return m_versionMinor; } } - System.Collections.IDictionary IConnectionStart.ServerProperties { get { return m_serverProperties; } } - byte[] IConnectionStart.Mechanisms { get { return m_mechanisms; } } - byte[] IConnectionStart.Locales { get { return m_locales; } } - - public ConnectionStart() {} - public ConnectionStart( - byte initVersionMajor, - byte initVersionMinor, - System.Collections.IDictionary initServerProperties, - byte[] initMechanisms, - byte[] initLocales) - { - m_versionMajor = initVersionMajor; - m_versionMinor = initVersionMinor; - m_serverProperties = initServerProperties; - m_mechanisms = initMechanisms; - m_locales = initLocales; - } - - public override int ProtocolClassId { get { return 10; } } - public override int ProtocolMethodId { get { return 10; } } - public override string ProtocolMethodName { get { return "connection.start"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_versionMajor = reader.ReadOctet(); - m_versionMinor = reader.ReadOctet(); - m_serverProperties = reader.ReadTable(); - m_mechanisms = reader.ReadLongstr(); - m_locales = reader.ReadLongstr(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteOctet(m_versionMajor); - writer.WriteOctet(m_versionMinor); - writer.WriteTable(m_serverProperties); - writer.WriteLongstr(m_mechanisms); - writer.WriteLongstr(m_locales); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_versionMajor); sb.Append(","); - sb.Append(m_versionMinor); sb.Append(","); - sb.Append(m_serverProperties); sb.Append(","); - sb.Append(m_mechanisms); sb.Append(","); - sb.Append(m_locales); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class ConnectionStartOk: RabbitMQ.Client.Impl.MethodBase, IConnectionStartOk { - public const int ClassId = 10; - public const int MethodId = 11; - - public System.Collections.IDictionary m_clientProperties; - public string m_mechanism; - public byte[] m_response; - public string m_locale; - - System.Collections.IDictionary IConnectionStartOk.ClientProperties { get { return m_clientProperties; } } - string IConnectionStartOk.Mechanism { get { return m_mechanism; } } - byte[] IConnectionStartOk.Response { get { return m_response; } } - string IConnectionStartOk.Locale { get { return m_locale; } } - - public ConnectionStartOk() {} - public ConnectionStartOk( - System.Collections.IDictionary initClientProperties, - string initMechanism, - byte[] initResponse, - string initLocale) - { - m_clientProperties = initClientProperties; - m_mechanism = initMechanism; - m_response = initResponse; - m_locale = initLocale; - } - - public override int ProtocolClassId { get { return 10; } } - public override int ProtocolMethodId { get { return 11; } } - public override string ProtocolMethodName { get { return "connection.start-ok"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_clientProperties = reader.ReadTable(); - m_mechanism = reader.ReadShortstr(); - m_response = reader.ReadLongstr(); - m_locale = reader.ReadShortstr(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteTable(m_clientProperties); - writer.WriteShortstr(m_mechanism); - writer.WriteLongstr(m_response); - writer.WriteShortstr(m_locale); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_clientProperties); sb.Append(","); - sb.Append(m_mechanism); sb.Append(","); - sb.Append(m_response); sb.Append(","); - sb.Append(m_locale); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class ConnectionSecure: RabbitMQ.Client.Impl.MethodBase, IConnectionSecure { - public const int ClassId = 10; - public const int MethodId = 20; - - public byte[] m_challenge; - - byte[] IConnectionSecure.Challenge { get { return m_challenge; } } - - public ConnectionSecure() {} - public ConnectionSecure( - byte[] initChallenge) - { - m_challenge = initChallenge; - } - - public override int ProtocolClassId { get { return 10; } } - public override int ProtocolMethodId { get { return 20; } } - public override string ProtocolMethodName { get { return "connection.secure"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_challenge = reader.ReadLongstr(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteLongstr(m_challenge); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_challenge); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class ConnectionSecureOk: RabbitMQ.Client.Impl.MethodBase, IConnectionSecureOk { - public const int ClassId = 10; - public const int MethodId = 21; - - public byte[] m_response; - - byte[] IConnectionSecureOk.Response { get { return m_response; } } - - public ConnectionSecureOk() {} - public ConnectionSecureOk( - byte[] initResponse) - { - m_response = initResponse; - } - - public override int ProtocolClassId { get { return 10; } } - public override int ProtocolMethodId { get { return 21; } } - public override string ProtocolMethodName { get { return "connection.secure-ok"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_response = reader.ReadLongstr(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteLongstr(m_response); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_response); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class ConnectionTune: RabbitMQ.Client.Impl.MethodBase, IConnectionTune { - public const int ClassId = 10; - public const int MethodId = 30; - - public ushort m_channelMax; - public uint m_frameMax; - public ushort m_heartbeat; - - ushort IConnectionTune.ChannelMax { get { return m_channelMax; } } - uint IConnectionTune.FrameMax { get { return m_frameMax; } } - ushort IConnectionTune.Heartbeat { get { return m_heartbeat; } } - - public ConnectionTune() {} - public ConnectionTune( - ushort initChannelMax, - uint initFrameMax, - ushort initHeartbeat) - { - m_channelMax = initChannelMax; - m_frameMax = initFrameMax; - m_heartbeat = initHeartbeat; - } - - public override int ProtocolClassId { get { return 10; } } - public override int ProtocolMethodId { get { return 30; } } - public override string ProtocolMethodName { get { return "connection.tune"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_channelMax = reader.ReadShort(); - m_frameMax = reader.ReadLong(); - m_heartbeat = reader.ReadShort(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShort(m_channelMax); - writer.WriteLong(m_frameMax); - writer.WriteShort(m_heartbeat); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_channelMax); sb.Append(","); - sb.Append(m_frameMax); sb.Append(","); - sb.Append(m_heartbeat); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class ConnectionTuneOk: RabbitMQ.Client.Impl.MethodBase, IConnectionTuneOk { - public const int ClassId = 10; - public const int MethodId = 31; - - public ushort m_channelMax; - public uint m_frameMax; - public ushort m_heartbeat; - - ushort IConnectionTuneOk.ChannelMax { get { return m_channelMax; } } - uint IConnectionTuneOk.FrameMax { get { return m_frameMax; } } - ushort IConnectionTuneOk.Heartbeat { get { return m_heartbeat; } } - - public ConnectionTuneOk() {} - public ConnectionTuneOk( - ushort initChannelMax, - uint initFrameMax, - ushort initHeartbeat) - { - m_channelMax = initChannelMax; - m_frameMax = initFrameMax; - m_heartbeat = initHeartbeat; - } - - public override int ProtocolClassId { get { return 10; } } - public override int ProtocolMethodId { get { return 31; } } - public override string ProtocolMethodName { get { return "connection.tune-ok"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_channelMax = reader.ReadShort(); - m_frameMax = reader.ReadLong(); - m_heartbeat = reader.ReadShort(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShort(m_channelMax); - writer.WriteLong(m_frameMax); - writer.WriteShort(m_heartbeat); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_channelMax); sb.Append(","); - sb.Append(m_frameMax); sb.Append(","); - sb.Append(m_heartbeat); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class ConnectionOpen: RabbitMQ.Client.Impl.MethodBase, IConnectionOpen { - public const int ClassId = 10; - public const int MethodId = 40; - - public string m_virtualHost; - public string m_capabilities; - public bool m_insist; - - string IConnectionOpen.VirtualHost { get { return m_virtualHost; } } - string IConnectionOpen.Capabilities { get { return m_capabilities; } } - bool IConnectionOpen.Insist { get { return m_insist; } } - - public ConnectionOpen() {} - public ConnectionOpen( - string initVirtualHost, - string initCapabilities, - bool initInsist) - { - m_virtualHost = initVirtualHost; - m_capabilities = initCapabilities; - m_insist = initInsist; - } - - public override int ProtocolClassId { get { return 10; } } - public override int ProtocolMethodId { get { return 40; } } - public override string ProtocolMethodName { get { return "connection.open"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_virtualHost = reader.ReadShortstr(); - m_capabilities = reader.ReadShortstr(); - m_insist = reader.ReadBit(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShortstr(m_virtualHost); - writer.WriteShortstr(m_capabilities); - writer.WriteBit(m_insist); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_virtualHost); sb.Append(","); - sb.Append(m_capabilities); sb.Append(","); - sb.Append(m_insist); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class ConnectionOpenOk: RabbitMQ.Client.Impl.MethodBase, IConnectionOpenOk { - public const int ClassId = 10; - public const int MethodId = 41; - - public string m_knownHosts; - - string IConnectionOpenOk.KnownHosts { get { return m_knownHosts; } } - - public ConnectionOpenOk() {} - public ConnectionOpenOk( - string initKnownHosts) - { - m_knownHosts = initKnownHosts; - } - - public override int ProtocolClassId { get { return 10; } } - public override int ProtocolMethodId { get { return 41; } } - public override string ProtocolMethodName { get { return "connection.open-ok"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_knownHosts = reader.ReadShortstr(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShortstr(m_knownHosts); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_knownHosts); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class ConnectionRedirect: RabbitMQ.Client.Impl.MethodBase, IConnectionRedirect { - public const int ClassId = 10; - public const int MethodId = 50; - - public string m_host; - public string m_knownHosts; - - string IConnectionRedirect.Host { get { return m_host; } } - string IConnectionRedirect.KnownHosts { get { return m_knownHosts; } } - - public ConnectionRedirect() {} - public ConnectionRedirect( - string initHost, - string initKnownHosts) - { - m_host = initHost; - m_knownHosts = initKnownHosts; - } - - public override int ProtocolClassId { get { return 10; } } - public override int ProtocolMethodId { get { return 50; } } - public override string ProtocolMethodName { get { return "connection.redirect"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_host = reader.ReadShortstr(); - m_knownHosts = reader.ReadShortstr(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShortstr(m_host); - writer.WriteShortstr(m_knownHosts); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_host); sb.Append(","); - sb.Append(m_knownHosts); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class ConnectionClose: RabbitMQ.Client.Impl.MethodBase, IConnectionClose { - public const int ClassId = 10; - public const int MethodId = 60; - - public ushort m_replyCode; - public string m_replyText; - public ushort m_classId; - public ushort m_methodId; - - ushort IConnectionClose.ReplyCode { get { return m_replyCode; } } - string IConnectionClose.ReplyText { get { return m_replyText; } } - ushort IConnectionClose.ClassId { get { return m_classId; } } - ushort IConnectionClose.MethodId { get { return m_methodId; } } - - public ConnectionClose() {} - public ConnectionClose( - ushort initReplyCode, - string initReplyText, - ushort initClassId, - ushort initMethodId) - { - m_replyCode = initReplyCode; - m_replyText = initReplyText; - m_classId = initClassId; - m_methodId = initMethodId; - } - - public override int ProtocolClassId { get { return 10; } } - public override int ProtocolMethodId { get { return 60; } } - public override string ProtocolMethodName { get { return "connection.close"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_replyCode = reader.ReadShort(); - m_replyText = reader.ReadShortstr(); - m_classId = reader.ReadShort(); - m_methodId = reader.ReadShort(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShort(m_replyCode); - writer.WriteShortstr(m_replyText); - writer.WriteShort(m_classId); - writer.WriteShort(m_methodId); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_replyCode); sb.Append(","); - sb.Append(m_replyText); sb.Append(","); - sb.Append(m_classId); sb.Append(","); - sb.Append(m_methodId); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class ConnectionCloseOk: RabbitMQ.Client.Impl.MethodBase, IConnectionCloseOk { - public const int ClassId = 10; - public const int MethodId = 61; - - - - public ConnectionCloseOk( -) - { - } - - public override int ProtocolClassId { get { return 10; } } - public override int ProtocolMethodId { get { return 61; } } - public override string ProtocolMethodName { get { return "connection.close-ok"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class ChannelOpen: RabbitMQ.Client.Impl.MethodBase, IChannelOpen { - public const int ClassId = 20; - public const int MethodId = 10; - - public string m_outOfBand; - - string IChannelOpen.OutOfBand { get { return m_outOfBand; } } - - public ChannelOpen() {} - public ChannelOpen( - string initOutOfBand) - { - m_outOfBand = initOutOfBand; - } - - public override int ProtocolClassId { get { return 20; } } - public override int ProtocolMethodId { get { return 10; } } - public override string ProtocolMethodName { get { return "channel.open"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_outOfBand = reader.ReadShortstr(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShortstr(m_outOfBand); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_outOfBand); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class ChannelOpenOk: RabbitMQ.Client.Impl.MethodBase, IChannelOpenOk { - public const int ClassId = 20; - public const int MethodId = 11; - - - - public ChannelOpenOk( -) - { - } - - public override int ProtocolClassId { get { return 20; } } - public override int ProtocolMethodId { get { return 11; } } - public override string ProtocolMethodName { get { return "channel.open-ok"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class ChannelFlow: RabbitMQ.Client.Impl.MethodBase, IChannelFlow { - public const int ClassId = 20; - public const int MethodId = 20; - - public bool m_active; - - bool IChannelFlow.Active { get { return m_active; } } - - public ChannelFlow() {} - public ChannelFlow( - bool initActive) - { - m_active = initActive; - } - - public override int ProtocolClassId { get { return 20; } } - public override int ProtocolMethodId { get { return 20; } } - public override string ProtocolMethodName { get { return "channel.flow"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_active = reader.ReadBit(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteBit(m_active); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_active); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class ChannelFlowOk: RabbitMQ.Client.Impl.MethodBase, IChannelFlowOk { - public const int ClassId = 20; - public const int MethodId = 21; - - public bool m_active; - - bool IChannelFlowOk.Active { get { return m_active; } } - - public ChannelFlowOk() {} - public ChannelFlowOk( - bool initActive) - { - m_active = initActive; - } - - public override int ProtocolClassId { get { return 20; } } - public override int ProtocolMethodId { get { return 21; } } - public override string ProtocolMethodName { get { return "channel.flow-ok"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_active = reader.ReadBit(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteBit(m_active); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_active); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class ChannelAlert: RabbitMQ.Client.Impl.MethodBase, IChannelAlert { - public const int ClassId = 20; - public const int MethodId = 30; - - public ushort m_replyCode; - public string m_replyText; - public System.Collections.IDictionary m_details; - - ushort IChannelAlert.ReplyCode { get { return m_replyCode; } } - string IChannelAlert.ReplyText { get { return m_replyText; } } - System.Collections.IDictionary IChannelAlert.Details { get { return m_details; } } - - public ChannelAlert() {} - public ChannelAlert( - ushort initReplyCode, - string initReplyText, - System.Collections.IDictionary initDetails) - { - m_replyCode = initReplyCode; - m_replyText = initReplyText; - m_details = initDetails; - } - - public override int ProtocolClassId { get { return 20; } } - public override int ProtocolMethodId { get { return 30; } } - public override string ProtocolMethodName { get { return "channel.alert"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_replyCode = reader.ReadShort(); - m_replyText = reader.ReadShortstr(); - m_details = reader.ReadTable(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShort(m_replyCode); - writer.WriteShortstr(m_replyText); - writer.WriteTable(m_details); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_replyCode); sb.Append(","); - sb.Append(m_replyText); sb.Append(","); - sb.Append(m_details); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class ChannelClose: RabbitMQ.Client.Impl.MethodBase, IChannelClose { - public const int ClassId = 20; - public const int MethodId = 40; - - public ushort m_replyCode; - public string m_replyText; - public ushort m_classId; - public ushort m_methodId; - - ushort IChannelClose.ReplyCode { get { return m_replyCode; } } - string IChannelClose.ReplyText { get { return m_replyText; } } - ushort IChannelClose.ClassId { get { return m_classId; } } - ushort IChannelClose.MethodId { get { return m_methodId; } } - - public ChannelClose() {} - public ChannelClose( - ushort initReplyCode, - string initReplyText, - ushort initClassId, - ushort initMethodId) - { - m_replyCode = initReplyCode; - m_replyText = initReplyText; - m_classId = initClassId; - m_methodId = initMethodId; - } - - public override int ProtocolClassId { get { return 20; } } - public override int ProtocolMethodId { get { return 40; } } - public override string ProtocolMethodName { get { return "channel.close"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_replyCode = reader.ReadShort(); - m_replyText = reader.ReadShortstr(); - m_classId = reader.ReadShort(); - m_methodId = reader.ReadShort(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShort(m_replyCode); - writer.WriteShortstr(m_replyText); - writer.WriteShort(m_classId); - writer.WriteShort(m_methodId); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_replyCode); sb.Append(","); - sb.Append(m_replyText); sb.Append(","); - sb.Append(m_classId); sb.Append(","); - sb.Append(m_methodId); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class ChannelCloseOk: RabbitMQ.Client.Impl.MethodBase, IChannelCloseOk { - public const int ClassId = 20; - public const int MethodId = 41; - - - - public ChannelCloseOk( -) - { - } - - public override int ProtocolClassId { get { return 20; } } - public override int ProtocolMethodId { get { return 41; } } - public override string ProtocolMethodName { get { return "channel.close-ok"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class AccessRequest: RabbitMQ.Client.Impl.MethodBase, IAccessRequest { - public const int ClassId = 30; - public const int MethodId = 10; - - public string m_realm; - public bool m_exclusive; - public bool m_passive; - public bool m_active; - public bool m_write; - public bool m_read; - - string IAccessRequest.Realm { get { return m_realm; } } - bool IAccessRequest.Exclusive { get { return m_exclusive; } } - bool IAccessRequest.Passive { get { return m_passive; } } - bool IAccessRequest.Active { get { return m_active; } } - bool IAccessRequest.Write { get { return m_write; } } - bool IAccessRequest.Read { get { return m_read; } } - - public AccessRequest() {} - public AccessRequest( - string initRealm, - bool initExclusive, - bool initPassive, - bool initActive, - bool initWrite, - bool initRead) - { - m_realm = initRealm; - m_exclusive = initExclusive; - m_passive = initPassive; - m_active = initActive; - m_write = initWrite; - m_read = initRead; - } - - public override int ProtocolClassId { get { return 30; } } - public override int ProtocolMethodId { get { return 10; } } - public override string ProtocolMethodName { get { return "access.request"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_realm = reader.ReadShortstr(); - m_exclusive = reader.ReadBit(); - m_passive = reader.ReadBit(); - m_active = reader.ReadBit(); - m_write = reader.ReadBit(); - m_read = reader.ReadBit(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShortstr(m_realm); - writer.WriteBit(m_exclusive); - writer.WriteBit(m_passive); - writer.WriteBit(m_active); - writer.WriteBit(m_write); - writer.WriteBit(m_read); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_realm); sb.Append(","); - sb.Append(m_exclusive); sb.Append(","); - sb.Append(m_passive); sb.Append(","); - sb.Append(m_active); sb.Append(","); - sb.Append(m_write); sb.Append(","); - sb.Append(m_read); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class AccessRequestOk: RabbitMQ.Client.Impl.MethodBase, IAccessRequestOk { - public const int ClassId = 30; - public const int MethodId = 11; - - public ushort m_ticket; - - ushort IAccessRequestOk.Ticket { get { return m_ticket; } } - - public AccessRequestOk() {} - public AccessRequestOk( - ushort initTicket) - { - m_ticket = initTicket; - } - - public override int ProtocolClassId { get { return 30; } } - public override int ProtocolMethodId { get { return 11; } } - public override string ProtocolMethodName { get { return "access.request-ok"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_ticket = reader.ReadShort(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShort(m_ticket); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_ticket); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class ExchangeDeclare: RabbitMQ.Client.Impl.MethodBase, IExchangeDeclare { - public const int ClassId = 40; - public const int MethodId = 10; - - public ushort m_ticket; - public string m_exchange; - public string m_type; - public bool m_passive; - public bool m_durable; - public bool m_autoDelete; - public bool m_internal; - public bool m_nowait; - public System.Collections.IDictionary m_arguments; - - ushort IExchangeDeclare.Ticket { get { return m_ticket; } } - string IExchangeDeclare.Exchange { get { return m_exchange; } } - string IExchangeDeclare.Type { get { return m_type; } } - bool IExchangeDeclare.Passive { get { return m_passive; } } - bool IExchangeDeclare.Durable { get { return m_durable; } } - bool IExchangeDeclare.AutoDelete { get { return m_autoDelete; } } - bool IExchangeDeclare.Internal { get { return m_internal; } } - bool IExchangeDeclare.Nowait { get { return m_nowait; } } - System.Collections.IDictionary IExchangeDeclare.Arguments { get { return m_arguments; } } - - public ExchangeDeclare() {} - public ExchangeDeclare( - ushort initTicket, - string initExchange, - string initType, - bool initPassive, - bool initDurable, - bool initAutoDelete, - bool initInternal, - bool initNowait, - System.Collections.IDictionary initArguments) - { - m_ticket = initTicket; - m_exchange = initExchange; - m_type = initType; - m_passive = initPassive; - m_durable = initDurable; - m_autoDelete = initAutoDelete; - m_internal = initInternal; - m_nowait = initNowait; - m_arguments = initArguments; - } - - public override int ProtocolClassId { get { return 40; } } - public override int ProtocolMethodId { get { return 10; } } - public override string ProtocolMethodName { get { return "exchange.declare"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_ticket = reader.ReadShort(); - m_exchange = reader.ReadShortstr(); - m_type = reader.ReadShortstr(); - m_passive = reader.ReadBit(); - m_durable = reader.ReadBit(); - m_autoDelete = reader.ReadBit(); - m_internal = reader.ReadBit(); - m_nowait = reader.ReadBit(); - m_arguments = reader.ReadTable(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShort(m_ticket); - writer.WriteShortstr(m_exchange); - writer.WriteShortstr(m_type); - writer.WriteBit(m_passive); - writer.WriteBit(m_durable); - writer.WriteBit(m_autoDelete); - writer.WriteBit(m_internal); - writer.WriteBit(m_nowait); - writer.WriteTable(m_arguments); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_ticket); sb.Append(","); - sb.Append(m_exchange); sb.Append(","); - sb.Append(m_type); sb.Append(","); - sb.Append(m_passive); sb.Append(","); - sb.Append(m_durable); sb.Append(","); - sb.Append(m_autoDelete); sb.Append(","); - sb.Append(m_internal); sb.Append(","); - sb.Append(m_nowait); sb.Append(","); - sb.Append(m_arguments); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class ExchangeDeclareOk: RabbitMQ.Client.Impl.MethodBase, IExchangeDeclareOk { - public const int ClassId = 40; - public const int MethodId = 11; - - - - public ExchangeDeclareOk( -) - { - } - - public override int ProtocolClassId { get { return 40; } } - public override int ProtocolMethodId { get { return 11; } } - public override string ProtocolMethodName { get { return "exchange.declare-ok"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class ExchangeDelete: RabbitMQ.Client.Impl.MethodBase, IExchangeDelete { - public const int ClassId = 40; - public const int MethodId = 20; - - public ushort m_ticket; - public string m_exchange; - public bool m_ifUnused; - public bool m_nowait; - - ushort IExchangeDelete.Ticket { get { return m_ticket; } } - string IExchangeDelete.Exchange { get { return m_exchange; } } - bool IExchangeDelete.IfUnused { get { return m_ifUnused; } } - bool IExchangeDelete.Nowait { get { return m_nowait; } } - - public ExchangeDelete() {} - public ExchangeDelete( - ushort initTicket, - string initExchange, - bool initIfUnused, - bool initNowait) - { - m_ticket = initTicket; - m_exchange = initExchange; - m_ifUnused = initIfUnused; - m_nowait = initNowait; - } - - public override int ProtocolClassId { get { return 40; } } - public override int ProtocolMethodId { get { return 20; } } - public override string ProtocolMethodName { get { return "exchange.delete"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_ticket = reader.ReadShort(); - m_exchange = reader.ReadShortstr(); - m_ifUnused = reader.ReadBit(); - m_nowait = reader.ReadBit(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShort(m_ticket); - writer.WriteShortstr(m_exchange); - writer.WriteBit(m_ifUnused); - writer.WriteBit(m_nowait); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_ticket); sb.Append(","); - sb.Append(m_exchange); sb.Append(","); - sb.Append(m_ifUnused); sb.Append(","); - sb.Append(m_nowait); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class ExchangeDeleteOk: RabbitMQ.Client.Impl.MethodBase, IExchangeDeleteOk { - public const int ClassId = 40; - public const int MethodId = 21; - - - - public ExchangeDeleteOk( -) - { - } - - public override int ProtocolClassId { get { return 40; } } - public override int ProtocolMethodId { get { return 21; } } - public override string ProtocolMethodName { get { return "exchange.delete-ok"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class ExchangeBound: RabbitMQ.Client.Impl.MethodBase, IExchangeBound { - public const int ClassId = 40; - public const int MethodId = 22; - - public string m_exchange; - public string m_routingKey; - public string m_queue; - - string IExchangeBound.Exchange { get { return m_exchange; } } - string IExchangeBound.RoutingKey { get { return m_routingKey; } } - string IExchangeBound.Queue { get { return m_queue; } } - - public ExchangeBound() {} - public ExchangeBound( - string initExchange, - string initRoutingKey, - string initQueue) - { - m_exchange = initExchange; - m_routingKey = initRoutingKey; - m_queue = initQueue; - } - - public override int ProtocolClassId { get { return 40; } } - public override int ProtocolMethodId { get { return 22; } } - public override string ProtocolMethodName { get { return "exchange.bound"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_exchange = reader.ReadShortstr(); - m_routingKey = reader.ReadShortstr(); - m_queue = reader.ReadShortstr(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShortstr(m_exchange); - writer.WriteShortstr(m_routingKey); - writer.WriteShortstr(m_queue); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_exchange); sb.Append(","); - sb.Append(m_routingKey); sb.Append(","); - sb.Append(m_queue); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class ExchangeBoundOk: RabbitMQ.Client.Impl.MethodBase, IExchangeBoundOk { - public const int ClassId = 40; - public const int MethodId = 23; - - public ushort m_replyCode; - public string m_replyText; - - ushort IExchangeBoundOk.ReplyCode { get { return m_replyCode; } } - string IExchangeBoundOk.ReplyText { get { return m_replyText; } } - - public ExchangeBoundOk() {} - public ExchangeBoundOk( - ushort initReplyCode, - string initReplyText) - { - m_replyCode = initReplyCode; - m_replyText = initReplyText; - } - - public override int ProtocolClassId { get { return 40; } } - public override int ProtocolMethodId { get { return 23; } } - public override string ProtocolMethodName { get { return "exchange.bound-ok"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_replyCode = reader.ReadShort(); - m_replyText = reader.ReadShortstr(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShort(m_replyCode); - writer.WriteShortstr(m_replyText); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_replyCode); sb.Append(","); - sb.Append(m_replyText); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class QueueDeclare: RabbitMQ.Client.Impl.MethodBase, IQueueDeclare { - public const int ClassId = 50; - public const int MethodId = 10; - - public ushort m_ticket; - public string m_queue; - public bool m_passive; - public bool m_durable; - public bool m_exclusive; - public bool m_autoDelete; - public bool m_nowait; - public System.Collections.IDictionary m_arguments; - - ushort IQueueDeclare.Ticket { get { return m_ticket; } } - string IQueueDeclare.Queue { get { return m_queue; } } - bool IQueueDeclare.Passive { get { return m_passive; } } - bool IQueueDeclare.Durable { get { return m_durable; } } - bool IQueueDeclare.Exclusive { get { return m_exclusive; } } - bool IQueueDeclare.AutoDelete { get { return m_autoDelete; } } - bool IQueueDeclare.Nowait { get { return m_nowait; } } - System.Collections.IDictionary IQueueDeclare.Arguments { get { return m_arguments; } } - - public QueueDeclare() {} - public QueueDeclare( - ushort initTicket, - string initQueue, - bool initPassive, - bool initDurable, - bool initExclusive, - bool initAutoDelete, - bool initNowait, - System.Collections.IDictionary initArguments) - { - m_ticket = initTicket; - m_queue = initQueue; - m_passive = initPassive; - m_durable = initDurable; - m_exclusive = initExclusive; - m_autoDelete = initAutoDelete; - m_nowait = initNowait; - m_arguments = initArguments; - } - - public override int ProtocolClassId { get { return 50; } } - public override int ProtocolMethodId { get { return 10; } } - public override string ProtocolMethodName { get { return "queue.declare"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_ticket = reader.ReadShort(); - m_queue = reader.ReadShortstr(); - m_passive = reader.ReadBit(); - m_durable = reader.ReadBit(); - m_exclusive = reader.ReadBit(); - m_autoDelete = reader.ReadBit(); - m_nowait = reader.ReadBit(); - m_arguments = reader.ReadTable(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShort(m_ticket); - writer.WriteShortstr(m_queue); - writer.WriteBit(m_passive); - writer.WriteBit(m_durable); - writer.WriteBit(m_exclusive); - writer.WriteBit(m_autoDelete); - writer.WriteBit(m_nowait); - writer.WriteTable(m_arguments); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_ticket); sb.Append(","); - sb.Append(m_queue); sb.Append(","); - sb.Append(m_passive); sb.Append(","); - sb.Append(m_durable); sb.Append(","); - sb.Append(m_exclusive); sb.Append(","); - sb.Append(m_autoDelete); sb.Append(","); - sb.Append(m_nowait); sb.Append(","); - sb.Append(m_arguments); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class QueueDeclareOk: RabbitMQ.Client.Impl.MethodBase, IQueueDeclareOk { - public const int ClassId = 50; - public const int MethodId = 11; - - public string m_queue; - public uint m_messageCount; - public uint m_consumerCount; - - string IQueueDeclareOk.Queue { get { return m_queue; } } - uint IQueueDeclareOk.MessageCount { get { return m_messageCount; } } - uint IQueueDeclareOk.ConsumerCount { get { return m_consumerCount; } } - - public QueueDeclareOk() {} - public QueueDeclareOk( - string initQueue, - uint initMessageCount, - uint initConsumerCount) - { - m_queue = initQueue; - m_messageCount = initMessageCount; - m_consumerCount = initConsumerCount; - } - - public override int ProtocolClassId { get { return 50; } } - public override int ProtocolMethodId { get { return 11; } } - public override string ProtocolMethodName { get { return "queue.declare-ok"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_queue = reader.ReadShortstr(); - m_messageCount = reader.ReadLong(); - m_consumerCount = reader.ReadLong(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShortstr(m_queue); - writer.WriteLong(m_messageCount); - writer.WriteLong(m_consumerCount); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_queue); sb.Append(","); - sb.Append(m_messageCount); sb.Append(","); - sb.Append(m_consumerCount); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class QueueBind: RabbitMQ.Client.Impl.MethodBase, IQueueBind { - public const int ClassId = 50; - public const int MethodId = 20; - - public ushort m_ticket; - public string m_queue; - public string m_exchange; - public string m_routingKey; - public bool m_nowait; - public System.Collections.IDictionary m_arguments; - - ushort IQueueBind.Ticket { get { return m_ticket; } } - string IQueueBind.Queue { get { return m_queue; } } - string IQueueBind.Exchange { get { return m_exchange; } } - string IQueueBind.RoutingKey { get { return m_routingKey; } } - bool IQueueBind.Nowait { get { return m_nowait; } } - System.Collections.IDictionary IQueueBind.Arguments { get { return m_arguments; } } - - public QueueBind() {} - public QueueBind( - ushort initTicket, - string initQueue, - string initExchange, - string initRoutingKey, - bool initNowait, - System.Collections.IDictionary initArguments) - { - m_ticket = initTicket; - m_queue = initQueue; - m_exchange = initExchange; - m_routingKey = initRoutingKey; - m_nowait = initNowait; - m_arguments = initArguments; - } - - public override int ProtocolClassId { get { return 50; } } - public override int ProtocolMethodId { get { return 20; } } - public override string ProtocolMethodName { get { return "queue.bind"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_ticket = reader.ReadShort(); - m_queue = reader.ReadShortstr(); - m_exchange = reader.ReadShortstr(); - m_routingKey = reader.ReadShortstr(); - m_nowait = reader.ReadBit(); - m_arguments = reader.ReadTable(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShort(m_ticket); - writer.WriteShortstr(m_queue); - writer.WriteShortstr(m_exchange); - writer.WriteShortstr(m_routingKey); - writer.WriteBit(m_nowait); - writer.WriteTable(m_arguments); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_ticket); sb.Append(","); - sb.Append(m_queue); sb.Append(","); - sb.Append(m_exchange); sb.Append(","); - sb.Append(m_routingKey); sb.Append(","); - sb.Append(m_nowait); sb.Append(","); - sb.Append(m_arguments); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class QueueBindOk: RabbitMQ.Client.Impl.MethodBase, IQueueBindOk { - public const int ClassId = 50; - public const int MethodId = 21; - - - - public QueueBindOk( -) - { - } - - public override int ProtocolClassId { get { return 50; } } - public override int ProtocolMethodId { get { return 21; } } - public override string ProtocolMethodName { get { return "queue.bind-ok"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class QueuePurge: RabbitMQ.Client.Impl.MethodBase, IQueuePurge { - public const int ClassId = 50; - public const int MethodId = 30; - - public ushort m_ticket; - public string m_queue; - public bool m_nowait; - - ushort IQueuePurge.Ticket { get { return m_ticket; } } - string IQueuePurge.Queue { get { return m_queue; } } - bool IQueuePurge.Nowait { get { return m_nowait; } } - - public QueuePurge() {} - public QueuePurge( - ushort initTicket, - string initQueue, - bool initNowait) - { - m_ticket = initTicket; - m_queue = initQueue; - m_nowait = initNowait; - } - - public override int ProtocolClassId { get { return 50; } } - public override int ProtocolMethodId { get { return 30; } } - public override string ProtocolMethodName { get { return "queue.purge"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_ticket = reader.ReadShort(); - m_queue = reader.ReadShortstr(); - m_nowait = reader.ReadBit(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShort(m_ticket); - writer.WriteShortstr(m_queue); - writer.WriteBit(m_nowait); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_ticket); sb.Append(","); - sb.Append(m_queue); sb.Append(","); - sb.Append(m_nowait); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class QueuePurgeOk: RabbitMQ.Client.Impl.MethodBase, IQueuePurgeOk { - public const int ClassId = 50; - public const int MethodId = 31; - - public uint m_messageCount; - - uint IQueuePurgeOk.MessageCount { get { return m_messageCount; } } - - public QueuePurgeOk() {} - public QueuePurgeOk( - uint initMessageCount) - { - m_messageCount = initMessageCount; - } - - public override int ProtocolClassId { get { return 50; } } - public override int ProtocolMethodId { get { return 31; } } - public override string ProtocolMethodName { get { return "queue.purge-ok"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_messageCount = reader.ReadLong(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteLong(m_messageCount); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_messageCount); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class QueueDelete: RabbitMQ.Client.Impl.MethodBase, IQueueDelete { - public const int ClassId = 50; - public const int MethodId = 40; - - public ushort m_ticket; - public string m_queue; - public bool m_ifUnused; - public bool m_ifEmpty; - public bool m_nowait; - - ushort IQueueDelete.Ticket { get { return m_ticket; } } - string IQueueDelete.Queue { get { return m_queue; } } - bool IQueueDelete.IfUnused { get { return m_ifUnused; } } - bool IQueueDelete.IfEmpty { get { return m_ifEmpty; } } - bool IQueueDelete.Nowait { get { return m_nowait; } } - - public QueueDelete() {} - public QueueDelete( - ushort initTicket, - string initQueue, - bool initIfUnused, - bool initIfEmpty, - bool initNowait) - { - m_ticket = initTicket; - m_queue = initQueue; - m_ifUnused = initIfUnused; - m_ifEmpty = initIfEmpty; - m_nowait = initNowait; - } - - public override int ProtocolClassId { get { return 50; } } - public override int ProtocolMethodId { get { return 40; } } - public override string ProtocolMethodName { get { return "queue.delete"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_ticket = reader.ReadShort(); - m_queue = reader.ReadShortstr(); - m_ifUnused = reader.ReadBit(); - m_ifEmpty = reader.ReadBit(); - m_nowait = reader.ReadBit(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShort(m_ticket); - writer.WriteShortstr(m_queue); - writer.WriteBit(m_ifUnused); - writer.WriteBit(m_ifEmpty); - writer.WriteBit(m_nowait); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_ticket); sb.Append(","); - sb.Append(m_queue); sb.Append(","); - sb.Append(m_ifUnused); sb.Append(","); - sb.Append(m_ifEmpty); sb.Append(","); - sb.Append(m_nowait); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class QueueDeleteOk: RabbitMQ.Client.Impl.MethodBase, IQueueDeleteOk { - public const int ClassId = 50; - public const int MethodId = 41; - - public uint m_messageCount; - - uint IQueueDeleteOk.MessageCount { get { return m_messageCount; } } - - public QueueDeleteOk() {} - public QueueDeleteOk( - uint initMessageCount) - { - m_messageCount = initMessageCount; - } - - public override int ProtocolClassId { get { return 50; } } - public override int ProtocolMethodId { get { return 41; } } - public override string ProtocolMethodName { get { return "queue.delete-ok"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_messageCount = reader.ReadLong(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteLong(m_messageCount); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_messageCount); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class BasicQos: RabbitMQ.Client.Impl.MethodBase, IBasicQos { - public const int ClassId = 60; - public const int MethodId = 10; - - public uint m_prefetchSize; - public ushort m_prefetchCount; - public bool m_global; - - uint IBasicQos.PrefetchSize { get { return m_prefetchSize; } } - ushort IBasicQos.PrefetchCount { get { return m_prefetchCount; } } - bool IBasicQos.Global { get { return m_global; } } - - public BasicQos() {} - public BasicQos( - uint initPrefetchSize, - ushort initPrefetchCount, - bool initGlobal) - { - m_prefetchSize = initPrefetchSize; - m_prefetchCount = initPrefetchCount; - m_global = initGlobal; - } - - public override int ProtocolClassId { get { return 60; } } - public override int ProtocolMethodId { get { return 10; } } - public override string ProtocolMethodName { get { return "basic.qos"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_prefetchSize = reader.ReadLong(); - m_prefetchCount = reader.ReadShort(); - m_global = reader.ReadBit(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteLong(m_prefetchSize); - writer.WriteShort(m_prefetchCount); - writer.WriteBit(m_global); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_prefetchSize); sb.Append(","); - sb.Append(m_prefetchCount); sb.Append(","); - sb.Append(m_global); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class BasicQosOk: RabbitMQ.Client.Impl.MethodBase, IBasicQosOk { - public const int ClassId = 60; - public const int MethodId = 11; - - - - public BasicQosOk( -) - { - } - - public override int ProtocolClassId { get { return 60; } } - public override int ProtocolMethodId { get { return 11; } } - public override string ProtocolMethodName { get { return "basic.qos-ok"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class BasicConsume: RabbitMQ.Client.Impl.MethodBase, IBasicConsume { - public const int ClassId = 60; - public const int MethodId = 20; - - public ushort m_ticket; - public string m_queue; - public string m_consumerTag; - public bool m_noLocal; - public bool m_noAck; - public bool m_exclusive; - public bool m_nowait; - public System.Collections.IDictionary m_arguments; - - ushort IBasicConsume.Ticket { get { return m_ticket; } } - string IBasicConsume.Queue { get { return m_queue; } } - string IBasicConsume.ConsumerTag { get { return m_consumerTag; } } - bool IBasicConsume.NoLocal { get { return m_noLocal; } } - bool IBasicConsume.NoAck { get { return m_noAck; } } - bool IBasicConsume.Exclusive { get { return m_exclusive; } } - bool IBasicConsume.Nowait { get { return m_nowait; } } - System.Collections.IDictionary IBasicConsume.Arguments { get { return m_arguments; } } - - public BasicConsume() {} - public BasicConsume( - ushort initTicket, - string initQueue, - string initConsumerTag, - bool initNoLocal, - bool initNoAck, - bool initExclusive, - bool initNowait, - System.Collections.IDictionary initArguments) - { - m_ticket = initTicket; - m_queue = initQueue; - m_consumerTag = initConsumerTag; - m_noLocal = initNoLocal; - m_noAck = initNoAck; - m_exclusive = initExclusive; - m_nowait = initNowait; - m_arguments = initArguments; - } - - public override int ProtocolClassId { get { return 60; } } - public override int ProtocolMethodId { get { return 20; } } - public override string ProtocolMethodName { get { return "basic.consume"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_ticket = reader.ReadShort(); - m_queue = reader.ReadShortstr(); - m_consumerTag = reader.ReadShortstr(); - m_noLocal = reader.ReadBit(); - m_noAck = reader.ReadBit(); - m_exclusive = reader.ReadBit(); - m_nowait = reader.ReadBit(); - m_arguments = reader.ReadTable(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShort(m_ticket); - writer.WriteShortstr(m_queue); - writer.WriteShortstr(m_consumerTag); - writer.WriteBit(m_noLocal); - writer.WriteBit(m_noAck); - writer.WriteBit(m_exclusive); - writer.WriteBit(m_nowait); - writer.WriteTable(m_arguments); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_ticket); sb.Append(","); - sb.Append(m_queue); sb.Append(","); - sb.Append(m_consumerTag); sb.Append(","); - sb.Append(m_noLocal); sb.Append(","); - sb.Append(m_noAck); sb.Append(","); - sb.Append(m_exclusive); sb.Append(","); - sb.Append(m_nowait); sb.Append(","); - sb.Append(m_arguments); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class BasicConsumeOk: RabbitMQ.Client.Impl.MethodBase, IBasicConsumeOk { - public const int ClassId = 60; - public const int MethodId = 21; - - public string m_consumerTag; - - string IBasicConsumeOk.ConsumerTag { get { return m_consumerTag; } } - - public BasicConsumeOk() {} - public BasicConsumeOk( - string initConsumerTag) - { - m_consumerTag = initConsumerTag; - } - - public override int ProtocolClassId { get { return 60; } } - public override int ProtocolMethodId { get { return 21; } } - public override string ProtocolMethodName { get { return "basic.consume-ok"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_consumerTag = reader.ReadShortstr(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShortstr(m_consumerTag); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_consumerTag); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class BasicCancel: RabbitMQ.Client.Impl.MethodBase, IBasicCancel { - public const int ClassId = 60; - public const int MethodId = 30; - - public string m_consumerTag; - public bool m_nowait; - - string IBasicCancel.ConsumerTag { get { return m_consumerTag; } } - bool IBasicCancel.Nowait { get { return m_nowait; } } - - public BasicCancel() {} - public BasicCancel( - string initConsumerTag, - bool initNowait) - { - m_consumerTag = initConsumerTag; - m_nowait = initNowait; - } - - public override int ProtocolClassId { get { return 60; } } - public override int ProtocolMethodId { get { return 30; } } - public override string ProtocolMethodName { get { return "basic.cancel"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_consumerTag = reader.ReadShortstr(); - m_nowait = reader.ReadBit(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShortstr(m_consumerTag); - writer.WriteBit(m_nowait); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_consumerTag); sb.Append(","); - sb.Append(m_nowait); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class BasicCancelOk: RabbitMQ.Client.Impl.MethodBase, IBasicCancelOk { - public const int ClassId = 60; - public const int MethodId = 31; - - public string m_consumerTag; - - string IBasicCancelOk.ConsumerTag { get { return m_consumerTag; } } - - public BasicCancelOk() {} - public BasicCancelOk( - string initConsumerTag) - { - m_consumerTag = initConsumerTag; - } - - public override int ProtocolClassId { get { return 60; } } - public override int ProtocolMethodId { get { return 31; } } - public override string ProtocolMethodName { get { return "basic.cancel-ok"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_consumerTag = reader.ReadShortstr(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShortstr(m_consumerTag); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_consumerTag); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class BasicPublish: RabbitMQ.Client.Impl.MethodBase, IBasicPublish { - public const int ClassId = 60; - public const int MethodId = 40; - - public ushort m_ticket; - public string m_exchange; - public string m_routingKey; - public bool m_mandatory; - public bool m_immediate; - - ushort IBasicPublish.Ticket { get { return m_ticket; } } - string IBasicPublish.Exchange { get { return m_exchange; } } - string IBasicPublish.RoutingKey { get { return m_routingKey; } } - bool IBasicPublish.Mandatory { get { return m_mandatory; } } - bool IBasicPublish.Immediate { get { return m_immediate; } } - - public BasicPublish() {} - public BasicPublish( - ushort initTicket, - string initExchange, - string initRoutingKey, - bool initMandatory, - bool initImmediate) - { - m_ticket = initTicket; - m_exchange = initExchange; - m_routingKey = initRoutingKey; - m_mandatory = initMandatory; - m_immediate = initImmediate; - } - - public override int ProtocolClassId { get { return 60; } } - public override int ProtocolMethodId { get { return 40; } } - public override string ProtocolMethodName { get { return "basic.publish"; } } - public override bool HasContent { get { return true; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_ticket = reader.ReadShort(); - m_exchange = reader.ReadShortstr(); - m_routingKey = reader.ReadShortstr(); - m_mandatory = reader.ReadBit(); - m_immediate = reader.ReadBit(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShort(m_ticket); - writer.WriteShortstr(m_exchange); - writer.WriteShortstr(m_routingKey); - writer.WriteBit(m_mandatory); - writer.WriteBit(m_immediate); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_ticket); sb.Append(","); - sb.Append(m_exchange); sb.Append(","); - sb.Append(m_routingKey); sb.Append(","); - sb.Append(m_mandatory); sb.Append(","); - sb.Append(m_immediate); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class BasicReturn: RabbitMQ.Client.Impl.MethodBase, IBasicReturn { - public const int ClassId = 60; - public const int MethodId = 50; - - public ushort m_replyCode; - public string m_replyText; - public string m_exchange; - public string m_routingKey; - - ushort IBasicReturn.ReplyCode { get { return m_replyCode; } } - string IBasicReturn.ReplyText { get { return m_replyText; } } - string IBasicReturn.Exchange { get { return m_exchange; } } - string IBasicReturn.RoutingKey { get { return m_routingKey; } } - - public BasicReturn() {} - public BasicReturn( - ushort initReplyCode, - string initReplyText, - string initExchange, - string initRoutingKey) - { - m_replyCode = initReplyCode; - m_replyText = initReplyText; - m_exchange = initExchange; - m_routingKey = initRoutingKey; - } - - public override int ProtocolClassId { get { return 60; } } - public override int ProtocolMethodId { get { return 50; } } - public override string ProtocolMethodName { get { return "basic.return"; } } - public override bool HasContent { get { return true; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_replyCode = reader.ReadShort(); - m_replyText = reader.ReadShortstr(); - m_exchange = reader.ReadShortstr(); - m_routingKey = reader.ReadShortstr(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShort(m_replyCode); - writer.WriteShortstr(m_replyText); - writer.WriteShortstr(m_exchange); - writer.WriteShortstr(m_routingKey); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_replyCode); sb.Append(","); - sb.Append(m_replyText); sb.Append(","); - sb.Append(m_exchange); sb.Append(","); - sb.Append(m_routingKey); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class BasicDeliver: RabbitMQ.Client.Impl.MethodBase, IBasicDeliver { - public const int ClassId = 60; - public const int MethodId = 60; - - public string m_consumerTag; - public ulong m_deliveryTag; - public bool m_redelivered; - public string m_exchange; - public string m_routingKey; - - string IBasicDeliver.ConsumerTag { get { return m_consumerTag; } } - ulong IBasicDeliver.DeliveryTag { get { return m_deliveryTag; } } - bool IBasicDeliver.Redelivered { get { return m_redelivered; } } - string IBasicDeliver.Exchange { get { return m_exchange; } } - string IBasicDeliver.RoutingKey { get { return m_routingKey; } } - - public BasicDeliver() {} - public BasicDeliver( - string initConsumerTag, - ulong initDeliveryTag, - bool initRedelivered, - string initExchange, - string initRoutingKey) - { - m_consumerTag = initConsumerTag; - m_deliveryTag = initDeliveryTag; - m_redelivered = initRedelivered; - m_exchange = initExchange; - m_routingKey = initRoutingKey; - } - - public override int ProtocolClassId { get { return 60; } } - public override int ProtocolMethodId { get { return 60; } } - public override string ProtocolMethodName { get { return "basic.deliver"; } } - public override bool HasContent { get { return true; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_consumerTag = reader.ReadShortstr(); - m_deliveryTag = reader.ReadLonglong(); - m_redelivered = reader.ReadBit(); - m_exchange = reader.ReadShortstr(); - m_routingKey = reader.ReadShortstr(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShortstr(m_consumerTag); - writer.WriteLonglong(m_deliveryTag); - writer.WriteBit(m_redelivered); - writer.WriteShortstr(m_exchange); - writer.WriteShortstr(m_routingKey); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_consumerTag); sb.Append(","); - sb.Append(m_deliveryTag); sb.Append(","); - sb.Append(m_redelivered); sb.Append(","); - sb.Append(m_exchange); sb.Append(","); - sb.Append(m_routingKey); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class BasicGet: RabbitMQ.Client.Impl.MethodBase, IBasicGet { - public const int ClassId = 60; - public const int MethodId = 70; - - public ushort m_ticket; - public string m_queue; - public bool m_noAck; - - ushort IBasicGet.Ticket { get { return m_ticket; } } - string IBasicGet.Queue { get { return m_queue; } } - bool IBasicGet.NoAck { get { return m_noAck; } } - - public BasicGet() {} - public BasicGet( - ushort initTicket, - string initQueue, - bool initNoAck) - { - m_ticket = initTicket; - m_queue = initQueue; - m_noAck = initNoAck; - } - - public override int ProtocolClassId { get { return 60; } } - public override int ProtocolMethodId { get { return 70; } } - public override string ProtocolMethodName { get { return "basic.get"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_ticket = reader.ReadShort(); - m_queue = reader.ReadShortstr(); - m_noAck = reader.ReadBit(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShort(m_ticket); - writer.WriteShortstr(m_queue); - writer.WriteBit(m_noAck); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_ticket); sb.Append(","); - sb.Append(m_queue); sb.Append(","); - sb.Append(m_noAck); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class BasicGetOk: RabbitMQ.Client.Impl.MethodBase, IBasicGetOk { - public const int ClassId = 60; - public const int MethodId = 71; - - public ulong m_deliveryTag; - public bool m_redelivered; - public string m_exchange; - public string m_routingKey; - public uint m_messageCount; - - ulong IBasicGetOk.DeliveryTag { get { return m_deliveryTag; } } - bool IBasicGetOk.Redelivered { get { return m_redelivered; } } - string IBasicGetOk.Exchange { get { return m_exchange; } } - string IBasicGetOk.RoutingKey { get { return m_routingKey; } } - uint IBasicGetOk.MessageCount { get { return m_messageCount; } } - - public BasicGetOk() {} - public BasicGetOk( - ulong initDeliveryTag, - bool initRedelivered, - string initExchange, - string initRoutingKey, - uint initMessageCount) - { - m_deliveryTag = initDeliveryTag; - m_redelivered = initRedelivered; - m_exchange = initExchange; - m_routingKey = initRoutingKey; - m_messageCount = initMessageCount; - } - - public override int ProtocolClassId { get { return 60; } } - public override int ProtocolMethodId { get { return 71; } } - public override string ProtocolMethodName { get { return "basic.get-ok"; } } - public override bool HasContent { get { return true; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_deliveryTag = reader.ReadLonglong(); - m_redelivered = reader.ReadBit(); - m_exchange = reader.ReadShortstr(); - m_routingKey = reader.ReadShortstr(); - m_messageCount = reader.ReadLong(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteLonglong(m_deliveryTag); - writer.WriteBit(m_redelivered); - writer.WriteShortstr(m_exchange); - writer.WriteShortstr(m_routingKey); - writer.WriteLong(m_messageCount); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_deliveryTag); sb.Append(","); - sb.Append(m_redelivered); sb.Append(","); - sb.Append(m_exchange); sb.Append(","); - sb.Append(m_routingKey); sb.Append(","); - sb.Append(m_messageCount); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class BasicGetEmpty: RabbitMQ.Client.Impl.MethodBase, IBasicGetEmpty { - public const int ClassId = 60; - public const int MethodId = 72; - - public string m_clusterId; - - string IBasicGetEmpty.ClusterId { get { return m_clusterId; } } - - public BasicGetEmpty() {} - public BasicGetEmpty( - string initClusterId) - { - m_clusterId = initClusterId; - } - - public override int ProtocolClassId { get { return 60; } } - public override int ProtocolMethodId { get { return 72; } } - public override string ProtocolMethodName { get { return "basic.get-empty"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_clusterId = reader.ReadShortstr(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShortstr(m_clusterId); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_clusterId); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class BasicAck: RabbitMQ.Client.Impl.MethodBase, IBasicAck { - public const int ClassId = 60; - public const int MethodId = 80; - - public ulong m_deliveryTag; - public bool m_multiple; - - ulong IBasicAck.DeliveryTag { get { return m_deliveryTag; } } - bool IBasicAck.Multiple { get { return m_multiple; } } - - public BasicAck() {} - public BasicAck( - ulong initDeliveryTag, - bool initMultiple) - { - m_deliveryTag = initDeliveryTag; - m_multiple = initMultiple; - } - - public override int ProtocolClassId { get { return 60; } } - public override int ProtocolMethodId { get { return 80; } } - public override string ProtocolMethodName { get { return "basic.ack"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_deliveryTag = reader.ReadLonglong(); - m_multiple = reader.ReadBit(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteLonglong(m_deliveryTag); - writer.WriteBit(m_multiple); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_deliveryTag); sb.Append(","); - sb.Append(m_multiple); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class BasicReject: RabbitMQ.Client.Impl.MethodBase, IBasicReject { - public const int ClassId = 60; - public const int MethodId = 90; - - public ulong m_deliveryTag; - public bool m_requeue; - - ulong IBasicReject.DeliveryTag { get { return m_deliveryTag; } } - bool IBasicReject.Requeue { get { return m_requeue; } } - - public BasicReject() {} - public BasicReject( - ulong initDeliveryTag, - bool initRequeue) - { - m_deliveryTag = initDeliveryTag; - m_requeue = initRequeue; - } - - public override int ProtocolClassId { get { return 60; } } - public override int ProtocolMethodId { get { return 90; } } - public override string ProtocolMethodName { get { return "basic.reject"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_deliveryTag = reader.ReadLonglong(); - m_requeue = reader.ReadBit(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteLonglong(m_deliveryTag); - writer.WriteBit(m_requeue); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_deliveryTag); sb.Append(","); - sb.Append(m_requeue); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class BasicRecover: RabbitMQ.Client.Impl.MethodBase, IBasicRecover { - public const int ClassId = 60; - public const int MethodId = 100; - - public bool m_requeue; - - bool IBasicRecover.Requeue { get { return m_requeue; } } - - public BasicRecover() {} - public BasicRecover( - bool initRequeue) - { - m_requeue = initRequeue; - } - - public override int ProtocolClassId { get { return 60; } } - public override int ProtocolMethodId { get { return 100; } } - public override string ProtocolMethodName { get { return "basic.recover"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_requeue = reader.ReadBit(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteBit(m_requeue); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_requeue); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class BasicRecoverOk: RabbitMQ.Client.Impl.MethodBase, IBasicRecoverOk { - public const int ClassId = 60; - public const int MethodId = 101; - - - - public BasicRecoverOk( -) - { - } - - public override int ProtocolClassId { get { return 60; } } - public override int ProtocolMethodId { get { return 101; } } - public override string ProtocolMethodName { get { return "basic.recover-ok"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class FileQos: RabbitMQ.Client.Impl.MethodBase, IFileQos { - public const int ClassId = 70; - public const int MethodId = 10; - - public uint m_prefetchSize; - public ushort m_prefetchCount; - public bool m_global; - - uint IFileQos.PrefetchSize { get { return m_prefetchSize; } } - ushort IFileQos.PrefetchCount { get { return m_prefetchCount; } } - bool IFileQos.Global { get { return m_global; } } - - public FileQos() {} - public FileQos( - uint initPrefetchSize, - ushort initPrefetchCount, - bool initGlobal) - { - m_prefetchSize = initPrefetchSize; - m_prefetchCount = initPrefetchCount; - m_global = initGlobal; - } - - public override int ProtocolClassId { get { return 70; } } - public override int ProtocolMethodId { get { return 10; } } - public override string ProtocolMethodName { get { return "file.qos"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_prefetchSize = reader.ReadLong(); - m_prefetchCount = reader.ReadShort(); - m_global = reader.ReadBit(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteLong(m_prefetchSize); - writer.WriteShort(m_prefetchCount); - writer.WriteBit(m_global); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_prefetchSize); sb.Append(","); - sb.Append(m_prefetchCount); sb.Append(","); - sb.Append(m_global); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class FileQosOk: RabbitMQ.Client.Impl.MethodBase, IFileQosOk { - public const int ClassId = 70; - public const int MethodId = 11; - - - - public FileQosOk( -) - { - } - - public override int ProtocolClassId { get { return 70; } } - public override int ProtocolMethodId { get { return 11; } } - public override string ProtocolMethodName { get { return "file.qos-ok"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class FileConsume: RabbitMQ.Client.Impl.MethodBase, IFileConsume { - public const int ClassId = 70; - public const int MethodId = 20; - - public ushort m_ticket; - public string m_queue; - public string m_consumerTag; - public bool m_noLocal; - public bool m_noAck; - public bool m_exclusive; - public bool m_nowait; - - ushort IFileConsume.Ticket { get { return m_ticket; } } - string IFileConsume.Queue { get { return m_queue; } } - string IFileConsume.ConsumerTag { get { return m_consumerTag; } } - bool IFileConsume.NoLocal { get { return m_noLocal; } } - bool IFileConsume.NoAck { get { return m_noAck; } } - bool IFileConsume.Exclusive { get { return m_exclusive; } } - bool IFileConsume.Nowait { get { return m_nowait; } } - - public FileConsume() {} - public FileConsume( - ushort initTicket, - string initQueue, - string initConsumerTag, - bool initNoLocal, - bool initNoAck, - bool initExclusive, - bool initNowait) - { - m_ticket = initTicket; - m_queue = initQueue; - m_consumerTag = initConsumerTag; - m_noLocal = initNoLocal; - m_noAck = initNoAck; - m_exclusive = initExclusive; - m_nowait = initNowait; - } - - public override int ProtocolClassId { get { return 70; } } - public override int ProtocolMethodId { get { return 20; } } - public override string ProtocolMethodName { get { return "file.consume"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_ticket = reader.ReadShort(); - m_queue = reader.ReadShortstr(); - m_consumerTag = reader.ReadShortstr(); - m_noLocal = reader.ReadBit(); - m_noAck = reader.ReadBit(); - m_exclusive = reader.ReadBit(); - m_nowait = reader.ReadBit(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShort(m_ticket); - writer.WriteShortstr(m_queue); - writer.WriteShortstr(m_consumerTag); - writer.WriteBit(m_noLocal); - writer.WriteBit(m_noAck); - writer.WriteBit(m_exclusive); - writer.WriteBit(m_nowait); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_ticket); sb.Append(","); - sb.Append(m_queue); sb.Append(","); - sb.Append(m_consumerTag); sb.Append(","); - sb.Append(m_noLocal); sb.Append(","); - sb.Append(m_noAck); sb.Append(","); - sb.Append(m_exclusive); sb.Append(","); - sb.Append(m_nowait); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class FileConsumeOk: RabbitMQ.Client.Impl.MethodBase, IFileConsumeOk { - public const int ClassId = 70; - public const int MethodId = 21; - - public string m_consumerTag; - - string IFileConsumeOk.ConsumerTag { get { return m_consumerTag; } } - - public FileConsumeOk() {} - public FileConsumeOk( - string initConsumerTag) - { - m_consumerTag = initConsumerTag; - } - - public override int ProtocolClassId { get { return 70; } } - public override int ProtocolMethodId { get { return 21; } } - public override string ProtocolMethodName { get { return "file.consume-ok"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_consumerTag = reader.ReadShortstr(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShortstr(m_consumerTag); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_consumerTag); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class FileCancel: RabbitMQ.Client.Impl.MethodBase, IFileCancel { - public const int ClassId = 70; - public const int MethodId = 30; - - public string m_consumerTag; - public bool m_nowait; - - string IFileCancel.ConsumerTag { get { return m_consumerTag; } } - bool IFileCancel.Nowait { get { return m_nowait; } } - - public FileCancel() {} - public FileCancel( - string initConsumerTag, - bool initNowait) - { - m_consumerTag = initConsumerTag; - m_nowait = initNowait; - } - - public override int ProtocolClassId { get { return 70; } } - public override int ProtocolMethodId { get { return 30; } } - public override string ProtocolMethodName { get { return "file.cancel"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_consumerTag = reader.ReadShortstr(); - m_nowait = reader.ReadBit(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShortstr(m_consumerTag); - writer.WriteBit(m_nowait); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_consumerTag); sb.Append(","); - sb.Append(m_nowait); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class FileCancelOk: RabbitMQ.Client.Impl.MethodBase, IFileCancelOk { - public const int ClassId = 70; - public const int MethodId = 31; - - public string m_consumerTag; - - string IFileCancelOk.ConsumerTag { get { return m_consumerTag; } } - - public FileCancelOk() {} - public FileCancelOk( - string initConsumerTag) - { - m_consumerTag = initConsumerTag; - } - - public override int ProtocolClassId { get { return 70; } } - public override int ProtocolMethodId { get { return 31; } } - public override string ProtocolMethodName { get { return "file.cancel-ok"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_consumerTag = reader.ReadShortstr(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShortstr(m_consumerTag); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_consumerTag); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class FileOpen: RabbitMQ.Client.Impl.MethodBase, IFileOpen { - public const int ClassId = 70; - public const int MethodId = 40; - - public string m_identifier; - public ulong m_contentSize; - - string IFileOpen.Identifier { get { return m_identifier; } } - ulong IFileOpen.ContentSize { get { return m_contentSize; } } - - public FileOpen() {} - public FileOpen( - string initIdentifier, - ulong initContentSize) - { - m_identifier = initIdentifier; - m_contentSize = initContentSize; - } - - public override int ProtocolClassId { get { return 70; } } - public override int ProtocolMethodId { get { return 40; } } - public override string ProtocolMethodName { get { return "file.open"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_identifier = reader.ReadShortstr(); - m_contentSize = reader.ReadLonglong(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShortstr(m_identifier); - writer.WriteLonglong(m_contentSize); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_identifier); sb.Append(","); - sb.Append(m_contentSize); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class FileOpenOk: RabbitMQ.Client.Impl.MethodBase, IFileOpenOk { - public const int ClassId = 70; - public const int MethodId = 41; - - public ulong m_stagedSize; - - ulong IFileOpenOk.StagedSize { get { return m_stagedSize; } } - - public FileOpenOk() {} - public FileOpenOk( - ulong initStagedSize) - { - m_stagedSize = initStagedSize; - } - - public override int ProtocolClassId { get { return 70; } } - public override int ProtocolMethodId { get { return 41; } } - public override string ProtocolMethodName { get { return "file.open-ok"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_stagedSize = reader.ReadLonglong(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteLonglong(m_stagedSize); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_stagedSize); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class FileStage: RabbitMQ.Client.Impl.MethodBase, IFileStage { - public const int ClassId = 70; - public const int MethodId = 50; - - - - public FileStage( -) - { - } - - public override int ProtocolClassId { get { return 70; } } - public override int ProtocolMethodId { get { return 50; } } - public override string ProtocolMethodName { get { return "file.stage"; } } - public override bool HasContent { get { return true; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class FilePublish: RabbitMQ.Client.Impl.MethodBase, IFilePublish { - public const int ClassId = 70; - public const int MethodId = 60; - - public ushort m_ticket; - public string m_exchange; - public string m_routingKey; - public bool m_mandatory; - public bool m_immediate; - public string m_identifier; - - ushort IFilePublish.Ticket { get { return m_ticket; } } - string IFilePublish.Exchange { get { return m_exchange; } } - string IFilePublish.RoutingKey { get { return m_routingKey; } } - bool IFilePublish.Mandatory { get { return m_mandatory; } } - bool IFilePublish.Immediate { get { return m_immediate; } } - string IFilePublish.Identifier { get { return m_identifier; } } - - public FilePublish() {} - public FilePublish( - ushort initTicket, - string initExchange, - string initRoutingKey, - bool initMandatory, - bool initImmediate, - string initIdentifier) - { - m_ticket = initTicket; - m_exchange = initExchange; - m_routingKey = initRoutingKey; - m_mandatory = initMandatory; - m_immediate = initImmediate; - m_identifier = initIdentifier; - } - - public override int ProtocolClassId { get { return 70; } } - public override int ProtocolMethodId { get { return 60; } } - public override string ProtocolMethodName { get { return "file.publish"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_ticket = reader.ReadShort(); - m_exchange = reader.ReadShortstr(); - m_routingKey = reader.ReadShortstr(); - m_mandatory = reader.ReadBit(); - m_immediate = reader.ReadBit(); - m_identifier = reader.ReadShortstr(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShort(m_ticket); - writer.WriteShortstr(m_exchange); - writer.WriteShortstr(m_routingKey); - writer.WriteBit(m_mandatory); - writer.WriteBit(m_immediate); - writer.WriteShortstr(m_identifier); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_ticket); sb.Append(","); - sb.Append(m_exchange); sb.Append(","); - sb.Append(m_routingKey); sb.Append(","); - sb.Append(m_mandatory); sb.Append(","); - sb.Append(m_immediate); sb.Append(","); - sb.Append(m_identifier); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class FileReturn: RabbitMQ.Client.Impl.MethodBase, IFileReturn { - public const int ClassId = 70; - public const int MethodId = 70; - - public ushort m_replyCode; - public string m_replyText; - public string m_exchange; - public string m_routingKey; - - ushort IFileReturn.ReplyCode { get { return m_replyCode; } } - string IFileReturn.ReplyText { get { return m_replyText; } } - string IFileReturn.Exchange { get { return m_exchange; } } - string IFileReturn.RoutingKey { get { return m_routingKey; } } - - public FileReturn() {} - public FileReturn( - ushort initReplyCode, - string initReplyText, - string initExchange, - string initRoutingKey) - { - m_replyCode = initReplyCode; - m_replyText = initReplyText; - m_exchange = initExchange; - m_routingKey = initRoutingKey; - } - - public override int ProtocolClassId { get { return 70; } } - public override int ProtocolMethodId { get { return 70; } } - public override string ProtocolMethodName { get { return "file.return"; } } - public override bool HasContent { get { return true; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_replyCode = reader.ReadShort(); - m_replyText = reader.ReadShortstr(); - m_exchange = reader.ReadShortstr(); - m_routingKey = reader.ReadShortstr(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShort(m_replyCode); - writer.WriteShortstr(m_replyText); - writer.WriteShortstr(m_exchange); - writer.WriteShortstr(m_routingKey); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_replyCode); sb.Append(","); - sb.Append(m_replyText); sb.Append(","); - sb.Append(m_exchange); sb.Append(","); - sb.Append(m_routingKey); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class FileDeliver: RabbitMQ.Client.Impl.MethodBase, IFileDeliver { - public const int ClassId = 70; - public const int MethodId = 80; - - public string m_consumerTag; - public ulong m_deliveryTag; - public bool m_redelivered; - public string m_exchange; - public string m_routingKey; - public string m_identifier; - - string IFileDeliver.ConsumerTag { get { return m_consumerTag; } } - ulong IFileDeliver.DeliveryTag { get { return m_deliveryTag; } } - bool IFileDeliver.Redelivered { get { return m_redelivered; } } - string IFileDeliver.Exchange { get { return m_exchange; } } - string IFileDeliver.RoutingKey { get { return m_routingKey; } } - string IFileDeliver.Identifier { get { return m_identifier; } } - - public FileDeliver() {} - public FileDeliver( - string initConsumerTag, - ulong initDeliveryTag, - bool initRedelivered, - string initExchange, - string initRoutingKey, - string initIdentifier) - { - m_consumerTag = initConsumerTag; - m_deliveryTag = initDeliveryTag; - m_redelivered = initRedelivered; - m_exchange = initExchange; - m_routingKey = initRoutingKey; - m_identifier = initIdentifier; - } - - public override int ProtocolClassId { get { return 70; } } - public override int ProtocolMethodId { get { return 80; } } - public override string ProtocolMethodName { get { return "file.deliver"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_consumerTag = reader.ReadShortstr(); - m_deliveryTag = reader.ReadLonglong(); - m_redelivered = reader.ReadBit(); - m_exchange = reader.ReadShortstr(); - m_routingKey = reader.ReadShortstr(); - m_identifier = reader.ReadShortstr(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShortstr(m_consumerTag); - writer.WriteLonglong(m_deliveryTag); - writer.WriteBit(m_redelivered); - writer.WriteShortstr(m_exchange); - writer.WriteShortstr(m_routingKey); - writer.WriteShortstr(m_identifier); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_consumerTag); sb.Append(","); - sb.Append(m_deliveryTag); sb.Append(","); - sb.Append(m_redelivered); sb.Append(","); - sb.Append(m_exchange); sb.Append(","); - sb.Append(m_routingKey); sb.Append(","); - sb.Append(m_identifier); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class FileAck: RabbitMQ.Client.Impl.MethodBase, IFileAck { - public const int ClassId = 70; - public const int MethodId = 90; - - public ulong m_deliveryTag; - public bool m_multiple; - - ulong IFileAck.DeliveryTag { get { return m_deliveryTag; } } - bool IFileAck.Multiple { get { return m_multiple; } } - - public FileAck() {} - public FileAck( - ulong initDeliveryTag, - bool initMultiple) - { - m_deliveryTag = initDeliveryTag; - m_multiple = initMultiple; - } - - public override int ProtocolClassId { get { return 70; } } - public override int ProtocolMethodId { get { return 90; } } - public override string ProtocolMethodName { get { return "file.ack"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_deliveryTag = reader.ReadLonglong(); - m_multiple = reader.ReadBit(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteLonglong(m_deliveryTag); - writer.WriteBit(m_multiple); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_deliveryTag); sb.Append(","); - sb.Append(m_multiple); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class FileReject: RabbitMQ.Client.Impl.MethodBase, IFileReject { - public const int ClassId = 70; - public const int MethodId = 100; - - public ulong m_deliveryTag; - public bool m_requeue; - - ulong IFileReject.DeliveryTag { get { return m_deliveryTag; } } - bool IFileReject.Requeue { get { return m_requeue; } } - - public FileReject() {} - public FileReject( - ulong initDeliveryTag, - bool initRequeue) - { - m_deliveryTag = initDeliveryTag; - m_requeue = initRequeue; - } - - public override int ProtocolClassId { get { return 70; } } - public override int ProtocolMethodId { get { return 100; } } - public override string ProtocolMethodName { get { return "file.reject"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_deliveryTag = reader.ReadLonglong(); - m_requeue = reader.ReadBit(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteLonglong(m_deliveryTag); - writer.WriteBit(m_requeue); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_deliveryTag); sb.Append(","); - sb.Append(m_requeue); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class StreamQos: RabbitMQ.Client.Impl.MethodBase, IStreamQos { - public const int ClassId = 80; - public const int MethodId = 10; - - public uint m_prefetchSize; - public ushort m_prefetchCount; - public uint m_consumeRate; - public bool m_global; - - uint IStreamQos.PrefetchSize { get { return m_prefetchSize; } } - ushort IStreamQos.PrefetchCount { get { return m_prefetchCount; } } - uint IStreamQos.ConsumeRate { get { return m_consumeRate; } } - bool IStreamQos.Global { get { return m_global; } } - - public StreamQos() {} - public StreamQos( - uint initPrefetchSize, - ushort initPrefetchCount, - uint initConsumeRate, - bool initGlobal) - { - m_prefetchSize = initPrefetchSize; - m_prefetchCount = initPrefetchCount; - m_consumeRate = initConsumeRate; - m_global = initGlobal; - } - - public override int ProtocolClassId { get { return 80; } } - public override int ProtocolMethodId { get { return 10; } } - public override string ProtocolMethodName { get { return "stream.qos"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_prefetchSize = reader.ReadLong(); - m_prefetchCount = reader.ReadShort(); - m_consumeRate = reader.ReadLong(); - m_global = reader.ReadBit(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteLong(m_prefetchSize); - writer.WriteShort(m_prefetchCount); - writer.WriteLong(m_consumeRate); - writer.WriteBit(m_global); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_prefetchSize); sb.Append(","); - sb.Append(m_prefetchCount); sb.Append(","); - sb.Append(m_consumeRate); sb.Append(","); - sb.Append(m_global); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class StreamQosOk: RabbitMQ.Client.Impl.MethodBase, IStreamQosOk { - public const int ClassId = 80; - public const int MethodId = 11; - - - - public StreamQosOk( -) - { - } - - public override int ProtocolClassId { get { return 80; } } - public override int ProtocolMethodId { get { return 11; } } - public override string ProtocolMethodName { get { return "stream.qos-ok"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class StreamConsume: RabbitMQ.Client.Impl.MethodBase, IStreamConsume { - public const int ClassId = 80; - public const int MethodId = 20; - - public ushort m_ticket; - public string m_queue; - public string m_consumerTag; - public bool m_noLocal; - public bool m_exclusive; - public bool m_nowait; - - ushort IStreamConsume.Ticket { get { return m_ticket; } } - string IStreamConsume.Queue { get { return m_queue; } } - string IStreamConsume.ConsumerTag { get { return m_consumerTag; } } - bool IStreamConsume.NoLocal { get { return m_noLocal; } } - bool IStreamConsume.Exclusive { get { return m_exclusive; } } - bool IStreamConsume.Nowait { get { return m_nowait; } } - - public StreamConsume() {} - public StreamConsume( - ushort initTicket, - string initQueue, - string initConsumerTag, - bool initNoLocal, - bool initExclusive, - bool initNowait) - { - m_ticket = initTicket; - m_queue = initQueue; - m_consumerTag = initConsumerTag; - m_noLocal = initNoLocal; - m_exclusive = initExclusive; - m_nowait = initNowait; - } - - public override int ProtocolClassId { get { return 80; } } - public override int ProtocolMethodId { get { return 20; } } - public override string ProtocolMethodName { get { return "stream.consume"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_ticket = reader.ReadShort(); - m_queue = reader.ReadShortstr(); - m_consumerTag = reader.ReadShortstr(); - m_noLocal = reader.ReadBit(); - m_exclusive = reader.ReadBit(); - m_nowait = reader.ReadBit(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShort(m_ticket); - writer.WriteShortstr(m_queue); - writer.WriteShortstr(m_consumerTag); - writer.WriteBit(m_noLocal); - writer.WriteBit(m_exclusive); - writer.WriteBit(m_nowait); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_ticket); sb.Append(","); - sb.Append(m_queue); sb.Append(","); - sb.Append(m_consumerTag); sb.Append(","); - sb.Append(m_noLocal); sb.Append(","); - sb.Append(m_exclusive); sb.Append(","); - sb.Append(m_nowait); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class StreamConsumeOk: RabbitMQ.Client.Impl.MethodBase, IStreamConsumeOk { - public const int ClassId = 80; - public const int MethodId = 21; - - public string m_consumerTag; - - string IStreamConsumeOk.ConsumerTag { get { return m_consumerTag; } } - - public StreamConsumeOk() {} - public StreamConsumeOk( - string initConsumerTag) - { - m_consumerTag = initConsumerTag; - } - - public override int ProtocolClassId { get { return 80; } } - public override int ProtocolMethodId { get { return 21; } } - public override string ProtocolMethodName { get { return "stream.consume-ok"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_consumerTag = reader.ReadShortstr(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShortstr(m_consumerTag); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_consumerTag); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class StreamCancel: RabbitMQ.Client.Impl.MethodBase, IStreamCancel { - public const int ClassId = 80; - public const int MethodId = 30; - - public string m_consumerTag; - public bool m_nowait; - - string IStreamCancel.ConsumerTag { get { return m_consumerTag; } } - bool IStreamCancel.Nowait { get { return m_nowait; } } - - public StreamCancel() {} - public StreamCancel( - string initConsumerTag, - bool initNowait) - { - m_consumerTag = initConsumerTag; - m_nowait = initNowait; - } - - public override int ProtocolClassId { get { return 80; } } - public override int ProtocolMethodId { get { return 30; } } - public override string ProtocolMethodName { get { return "stream.cancel"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_consumerTag = reader.ReadShortstr(); - m_nowait = reader.ReadBit(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShortstr(m_consumerTag); - writer.WriteBit(m_nowait); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_consumerTag); sb.Append(","); - sb.Append(m_nowait); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class StreamCancelOk: RabbitMQ.Client.Impl.MethodBase, IStreamCancelOk { - public const int ClassId = 80; - public const int MethodId = 31; - - public string m_consumerTag; - - string IStreamCancelOk.ConsumerTag { get { return m_consumerTag; } } - - public StreamCancelOk() {} - public StreamCancelOk( - string initConsumerTag) - { - m_consumerTag = initConsumerTag; - } - - public override int ProtocolClassId { get { return 80; } } - public override int ProtocolMethodId { get { return 31; } } - public override string ProtocolMethodName { get { return "stream.cancel-ok"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_consumerTag = reader.ReadShortstr(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShortstr(m_consumerTag); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_consumerTag); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class StreamPublish: RabbitMQ.Client.Impl.MethodBase, IStreamPublish { - public const int ClassId = 80; - public const int MethodId = 40; - - public ushort m_ticket; - public string m_exchange; - public string m_routingKey; - public bool m_mandatory; - public bool m_immediate; - - ushort IStreamPublish.Ticket { get { return m_ticket; } } - string IStreamPublish.Exchange { get { return m_exchange; } } - string IStreamPublish.RoutingKey { get { return m_routingKey; } } - bool IStreamPublish.Mandatory { get { return m_mandatory; } } - bool IStreamPublish.Immediate { get { return m_immediate; } } - - public StreamPublish() {} - public StreamPublish( - ushort initTicket, - string initExchange, - string initRoutingKey, - bool initMandatory, - bool initImmediate) - { - m_ticket = initTicket; - m_exchange = initExchange; - m_routingKey = initRoutingKey; - m_mandatory = initMandatory; - m_immediate = initImmediate; - } - - public override int ProtocolClassId { get { return 80; } } - public override int ProtocolMethodId { get { return 40; } } - public override string ProtocolMethodName { get { return "stream.publish"; } } - public override bool HasContent { get { return true; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_ticket = reader.ReadShort(); - m_exchange = reader.ReadShortstr(); - m_routingKey = reader.ReadShortstr(); - m_mandatory = reader.ReadBit(); - m_immediate = reader.ReadBit(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShort(m_ticket); - writer.WriteShortstr(m_exchange); - writer.WriteShortstr(m_routingKey); - writer.WriteBit(m_mandatory); - writer.WriteBit(m_immediate); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_ticket); sb.Append(","); - sb.Append(m_exchange); sb.Append(","); - sb.Append(m_routingKey); sb.Append(","); - sb.Append(m_mandatory); sb.Append(","); - sb.Append(m_immediate); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class StreamReturn: RabbitMQ.Client.Impl.MethodBase, IStreamReturn { - public const int ClassId = 80; - public const int MethodId = 50; - - public ushort m_replyCode; - public string m_replyText; - public string m_exchange; - public string m_routingKey; - - ushort IStreamReturn.ReplyCode { get { return m_replyCode; } } - string IStreamReturn.ReplyText { get { return m_replyText; } } - string IStreamReturn.Exchange { get { return m_exchange; } } - string IStreamReturn.RoutingKey { get { return m_routingKey; } } - - public StreamReturn() {} - public StreamReturn( - ushort initReplyCode, - string initReplyText, - string initExchange, - string initRoutingKey) - { - m_replyCode = initReplyCode; - m_replyText = initReplyText; - m_exchange = initExchange; - m_routingKey = initRoutingKey; - } - - public override int ProtocolClassId { get { return 80; } } - public override int ProtocolMethodId { get { return 50; } } - public override string ProtocolMethodName { get { return "stream.return"; } } - public override bool HasContent { get { return true; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_replyCode = reader.ReadShort(); - m_replyText = reader.ReadShortstr(); - m_exchange = reader.ReadShortstr(); - m_routingKey = reader.ReadShortstr(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShort(m_replyCode); - writer.WriteShortstr(m_replyText); - writer.WriteShortstr(m_exchange); - writer.WriteShortstr(m_routingKey); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_replyCode); sb.Append(","); - sb.Append(m_replyText); sb.Append(","); - sb.Append(m_exchange); sb.Append(","); - sb.Append(m_routingKey); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class StreamDeliver: RabbitMQ.Client.Impl.MethodBase, IStreamDeliver { - public const int ClassId = 80; - public const int MethodId = 60; - - public string m_consumerTag; - public ulong m_deliveryTag; - public string m_exchange; - public string m_queue; - - string IStreamDeliver.ConsumerTag { get { return m_consumerTag; } } - ulong IStreamDeliver.DeliveryTag { get { return m_deliveryTag; } } - string IStreamDeliver.Exchange { get { return m_exchange; } } - string IStreamDeliver.Queue { get { return m_queue; } } - - public StreamDeliver() {} - public StreamDeliver( - string initConsumerTag, - ulong initDeliveryTag, - string initExchange, - string initQueue) - { - m_consumerTag = initConsumerTag; - m_deliveryTag = initDeliveryTag; - m_exchange = initExchange; - m_queue = initQueue; - } - - public override int ProtocolClassId { get { return 80; } } - public override int ProtocolMethodId { get { return 60; } } - public override string ProtocolMethodName { get { return "stream.deliver"; } } - public override bool HasContent { get { return true; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_consumerTag = reader.ReadShortstr(); - m_deliveryTag = reader.ReadLonglong(); - m_exchange = reader.ReadShortstr(); - m_queue = reader.ReadShortstr(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShortstr(m_consumerTag); - writer.WriteLonglong(m_deliveryTag); - writer.WriteShortstr(m_exchange); - writer.WriteShortstr(m_queue); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_consumerTag); sb.Append(","); - sb.Append(m_deliveryTag); sb.Append(","); - sb.Append(m_exchange); sb.Append(","); - sb.Append(m_queue); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class TxSelect: RabbitMQ.Client.Impl.MethodBase, ITxSelect { - public const int ClassId = 90; - public const int MethodId = 10; - - - - public TxSelect( -) - { - } - - public override int ProtocolClassId { get { return 90; } } - public override int ProtocolMethodId { get { return 10; } } - public override string ProtocolMethodName { get { return "tx.select"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class TxSelectOk: RabbitMQ.Client.Impl.MethodBase, ITxSelectOk { - public const int ClassId = 90; - public const int MethodId = 11; - - - - public TxSelectOk( -) - { - } - - public override int ProtocolClassId { get { return 90; } } - public override int ProtocolMethodId { get { return 11; } } - public override string ProtocolMethodName { get { return "tx.select-ok"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class TxCommit: RabbitMQ.Client.Impl.MethodBase, ITxCommit { - public const int ClassId = 90; - public const int MethodId = 20; - - - - public TxCommit( -) - { - } - - public override int ProtocolClassId { get { return 90; } } - public override int ProtocolMethodId { get { return 20; } } - public override string ProtocolMethodName { get { return "tx.commit"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class TxCommitOk: RabbitMQ.Client.Impl.MethodBase, ITxCommitOk { - public const int ClassId = 90; - public const int MethodId = 21; - - - - public TxCommitOk( -) - { - } - - public override int ProtocolClassId { get { return 90; } } - public override int ProtocolMethodId { get { return 21; } } - public override string ProtocolMethodName { get { return "tx.commit-ok"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class TxRollback: RabbitMQ.Client.Impl.MethodBase, ITxRollback { - public const int ClassId = 90; - public const int MethodId = 30; - - - - public TxRollback( -) - { - } - - public override int ProtocolClassId { get { return 90; } } - public override int ProtocolMethodId { get { return 30; } } - public override string ProtocolMethodName { get { return "tx.rollback"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class TxRollbackOk: RabbitMQ.Client.Impl.MethodBase, ITxRollbackOk { - public const int ClassId = 90; - public const int MethodId = 31; - - - - public TxRollbackOk( -) - { - } - - public override int ProtocolClassId { get { return 90; } } - public override int ProtocolMethodId { get { return 31; } } - public override string ProtocolMethodName { get { return "tx.rollback-ok"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class DtxSelect: RabbitMQ.Client.Impl.MethodBase, IDtxSelect { - public const int ClassId = 100; - public const int MethodId = 10; - - - - public DtxSelect( -) - { - } - - public override int ProtocolClassId { get { return 100; } } - public override int ProtocolMethodId { get { return 10; } } - public override string ProtocolMethodName { get { return "dtx.select"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class DtxSelectOk: RabbitMQ.Client.Impl.MethodBase, IDtxSelectOk { - public const int ClassId = 100; - public const int MethodId = 11; - - - - public DtxSelectOk( -) - { - } - - public override int ProtocolClassId { get { return 100; } } - public override int ProtocolMethodId { get { return 11; } } - public override string ProtocolMethodName { get { return "dtx.select-ok"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class DtxStart: RabbitMQ.Client.Impl.MethodBase, IDtxStart { - public const int ClassId = 100; - public const int MethodId = 20; - - public string m_dtxIdentifier; - - string IDtxStart.DtxIdentifier { get { return m_dtxIdentifier; } } - - public DtxStart() {} - public DtxStart( - string initDtxIdentifier) - { - m_dtxIdentifier = initDtxIdentifier; - } - - public override int ProtocolClassId { get { return 100; } } - public override int ProtocolMethodId { get { return 20; } } - public override string ProtocolMethodName { get { return "dtx.start"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_dtxIdentifier = reader.ReadShortstr(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShortstr(m_dtxIdentifier); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_dtxIdentifier); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class DtxStartOk: RabbitMQ.Client.Impl.MethodBase, IDtxStartOk { - public const int ClassId = 100; - public const int MethodId = 21; - - - - public DtxStartOk( -) - { - } - - public override int ProtocolClassId { get { return 100; } } - public override int ProtocolMethodId { get { return 21; } } - public override string ProtocolMethodName { get { return "dtx.start-ok"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class TunnelRequest: RabbitMQ.Client.Impl.MethodBase, ITunnelRequest { - public const int ClassId = 110; - public const int MethodId = 10; - - public System.Collections.IDictionary m_metaData; - - System.Collections.IDictionary ITunnelRequest.MetaData { get { return m_metaData; } } - - public TunnelRequest() {} - public TunnelRequest( - System.Collections.IDictionary initMetaData) - { - m_metaData = initMetaData; - } - - public override int ProtocolClassId { get { return 110; } } - public override int ProtocolMethodId { get { return 10; } } - public override string ProtocolMethodName { get { return "tunnel.request"; } } - public override bool HasContent { get { return true; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_metaData = reader.ReadTable(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteTable(m_metaData); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_metaData); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class TestInteger: RabbitMQ.Client.Impl.MethodBase, ITestInteger { - public const int ClassId = 120; - public const int MethodId = 10; - - public byte m_integer1; - public ushort m_integer2; - public uint m_integer3; - public ulong m_integer4; - public byte m_operation; - - byte ITestInteger.Integer1 { get { return m_integer1; } } - ushort ITestInteger.Integer2 { get { return m_integer2; } } - uint ITestInteger.Integer3 { get { return m_integer3; } } - ulong ITestInteger.Integer4 { get { return m_integer4; } } - byte ITestInteger.Operation { get { return m_operation; } } - - public TestInteger() {} - public TestInteger( - byte initInteger1, - ushort initInteger2, - uint initInteger3, - ulong initInteger4, - byte initOperation) - { - m_integer1 = initInteger1; - m_integer2 = initInteger2; - m_integer3 = initInteger3; - m_integer4 = initInteger4; - m_operation = initOperation; - } - - public override int ProtocolClassId { get { return 120; } } - public override int ProtocolMethodId { get { return 10; } } - public override string ProtocolMethodName { get { return "test.integer"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_integer1 = reader.ReadOctet(); - m_integer2 = reader.ReadShort(); - m_integer3 = reader.ReadLong(); - m_integer4 = reader.ReadLonglong(); - m_operation = reader.ReadOctet(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteOctet(m_integer1); - writer.WriteShort(m_integer2); - writer.WriteLong(m_integer3); - writer.WriteLonglong(m_integer4); - writer.WriteOctet(m_operation); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_integer1); sb.Append(","); - sb.Append(m_integer2); sb.Append(","); - sb.Append(m_integer3); sb.Append(","); - sb.Append(m_integer4); sb.Append(","); - sb.Append(m_operation); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class TestIntegerOk: RabbitMQ.Client.Impl.MethodBase, ITestIntegerOk { - public const int ClassId = 120; - public const int MethodId = 11; - - public ulong m_result; - - ulong ITestIntegerOk.Result { get { return m_result; } } - - public TestIntegerOk() {} - public TestIntegerOk( - ulong initResult) - { - m_result = initResult; - } - - public override int ProtocolClassId { get { return 120; } } - public override int ProtocolMethodId { get { return 11; } } - public override string ProtocolMethodName { get { return "test.integer-ok"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_result = reader.ReadLonglong(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteLonglong(m_result); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_result); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class TestString: RabbitMQ.Client.Impl.MethodBase, ITestString { - public const int ClassId = 120; - public const int MethodId = 20; - - public string m_string1; - public byte[] m_string2; - public byte m_operation; - - string ITestString.String1 { get { return m_string1; } } - byte[] ITestString.String2 { get { return m_string2; } } - byte ITestString.Operation { get { return m_operation; } } - - public TestString() {} - public TestString( - string initString1, - byte[] initString2, - byte initOperation) - { - m_string1 = initString1; - m_string2 = initString2; - m_operation = initOperation; - } - - public override int ProtocolClassId { get { return 120; } } - public override int ProtocolMethodId { get { return 20; } } - public override string ProtocolMethodName { get { return "test.string"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_string1 = reader.ReadShortstr(); - m_string2 = reader.ReadLongstr(); - m_operation = reader.ReadOctet(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteShortstr(m_string1); - writer.WriteLongstr(m_string2); - writer.WriteOctet(m_operation); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_string1); sb.Append(","); - sb.Append(m_string2); sb.Append(","); - sb.Append(m_operation); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class TestStringOk: RabbitMQ.Client.Impl.MethodBase, ITestStringOk { - public const int ClassId = 120; - public const int MethodId = 21; - - public byte[] m_result; - - byte[] ITestStringOk.Result { get { return m_result; } } - - public TestStringOk() {} - public TestStringOk( - byte[] initResult) - { - m_result = initResult; - } - - public override int ProtocolClassId { get { return 120; } } - public override int ProtocolMethodId { get { return 21; } } - public override string ProtocolMethodName { get { return "test.string-ok"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_result = reader.ReadLongstr(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteLongstr(m_result); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_result); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class TestTable: RabbitMQ.Client.Impl.MethodBase, ITestTable { - public const int ClassId = 120; - public const int MethodId = 30; - - public System.Collections.IDictionary m_table; - public byte m_integerOp; - public byte m_stringOp; - - System.Collections.IDictionary ITestTable.Table { get { return m_table; } } - byte ITestTable.IntegerOp { get { return m_integerOp; } } - byte ITestTable.StringOp { get { return m_stringOp; } } - - public TestTable() {} - public TestTable( - System.Collections.IDictionary initTable, - byte initIntegerOp, - byte initStringOp) - { - m_table = initTable; - m_integerOp = initIntegerOp; - m_stringOp = initStringOp; - } - - public override int ProtocolClassId { get { return 120; } } - public override int ProtocolMethodId { get { return 30; } } - public override string ProtocolMethodName { get { return "test.table"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_table = reader.ReadTable(); - m_integerOp = reader.ReadOctet(); - m_stringOp = reader.ReadOctet(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteTable(m_table); - writer.WriteOctet(m_integerOp); - writer.WriteOctet(m_stringOp); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_table); sb.Append(","); - sb.Append(m_integerOp); sb.Append(","); - sb.Append(m_stringOp); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class TestTableOk: RabbitMQ.Client.Impl.MethodBase, ITestTableOk { - public const int ClassId = 120; - public const int MethodId = 31; - - public ulong m_integerResult; - public byte[] m_stringResult; - - ulong ITestTableOk.IntegerResult { get { return m_integerResult; } } - byte[] ITestTableOk.StringResult { get { return m_stringResult; } } - - public TestTableOk() {} - public TestTableOk( - ulong initIntegerResult, - byte[] initStringResult) - { - m_integerResult = initIntegerResult; - m_stringResult = initStringResult; - } - - public override int ProtocolClassId { get { return 120; } } - public override int ProtocolMethodId { get { return 31; } } - public override string ProtocolMethodName { get { return "test.table-ok"; } } - public override bool HasContent { get { return false; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_integerResult = reader.ReadLonglong(); - m_stringResult = reader.ReadLongstr(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteLonglong(m_integerResult); - writer.WriteLongstr(m_stringResult); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_integerResult); sb.Append(","); - sb.Append(m_stringResult); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class TestContent: RabbitMQ.Client.Impl.MethodBase, ITestContent { - public const int ClassId = 120; - public const int MethodId = 40; - - - - public TestContent( -) - { - } - - public override int ProtocolClassId { get { return 120; } } - public override int ProtocolMethodId { get { return 40; } } - public override string ProtocolMethodName { get { return "test.content"; } } - public override bool HasContent { get { return true; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(")"); - } - } - /// Autogenerated type. Private implementation class - do not use directly. - public class TestContentOk: RabbitMQ.Client.Impl.MethodBase, ITestContentOk { - public const int ClassId = 120; - public const int MethodId = 41; - - public uint m_contentChecksum; - - uint ITestContentOk.ContentChecksum { get { return m_contentChecksum; } } - - public TestContentOk() {} - public TestContentOk( - uint initContentChecksum) - { - m_contentChecksum = initContentChecksum; - } - - public override int ProtocolClassId { get { return 120; } } - public override int ProtocolMethodId { get { return 41; } } - public override string ProtocolMethodName { get { return "test.content-ok"; } } - public override bool HasContent { get { return true; } } - - public override void ReadArgumentsFrom(RabbitMQ.Client.Impl.MethodArgumentReader reader) { - m_contentChecksum = reader.ReadLong(); - } - - public override void WriteArgumentsTo(RabbitMQ.Client.Impl.MethodArgumentWriter writer) { - writer.WriteLong(m_contentChecksum); - } - - public override void AppendArgumentDebugStringTo(System.Text.StringBuilder sb) { - sb.Append("("); - sb.Append(m_contentChecksum); - sb.Append(")"); - } - } - - public class Model: RabbitMQ.Client.Impl.ModelBase { - public Model(RabbitMQ.Client.Impl.ISession session): base(session) {} - public override System.UInt16 _Private_AccessRequest( - System.String @realm, - System.Boolean @exclusive, - System.Boolean @passive, - System.Boolean @active, - System.Boolean @write, - System.Boolean @read) - { - AccessRequest __req = new AccessRequest(); - __req.m_realm = @realm; - __req.m_exclusive = @exclusive; - __req.m_passive = @passive; - __req.m_active = @active; - __req.m_write = @write; - __req.m_read = @read; - RabbitMQ.Client.Impl.MethodBase __repBase = ModelRpc(__req,null,null); - AccessRequestOk __rep = __repBase as AccessRequestOk; - if (__rep == null) throw new UnexpectedMethodException(__repBase); - return __rep.m_ticket; - } - public override void _Private_BasicPublish( - System.UInt16 @ticket, - System.String @exchange, - System.String @routingKey, - System.Boolean @mandatory, - System.Boolean @immediate, - RabbitMQ.Client.IBasicProperties @basicProperties, - System.Byte[] @body) - { - BasicPublish __req = new BasicPublish(); - __req.m_ticket = @ticket; - __req.m_exchange = @exchange; - __req.m_routingKey = @routingKey; - __req.m_mandatory = @mandatory; - __req.m_immediate = @immediate; - ModelSend(__req, (BasicProperties) basicProperties,body); - } - public override void _Private_BasicConsume( - System.UInt16 @ticket, - System.String @queue, - System.String @consumerTag, - System.Boolean @noLocal, - System.Boolean @noAck, - System.Boolean @exclusive, - System.Boolean @nowait, - System.Collections.IDictionary @filter) - { - BasicConsume __req = new BasicConsume(); - __req.m_ticket = @ticket; - __req.m_queue = @queue; - __req.m_consumerTag = @consumerTag; - __req.m_noLocal = @noLocal; - __req.m_noAck = @noAck; - __req.m_exclusive = @exclusive; - __req.m_nowait = @nowait; - __req.m_arguments = @filter; - ModelSend(__req,null,null); - } - public override void _Private_BasicCancel( - System.String @consumerTag, - System.Boolean @nowait) - { - BasicCancel __req = new BasicCancel(); - __req.m_consumerTag = @consumerTag; - __req.m_nowait = @nowait; - ModelSend(__req,null,null); - } - public override void _Private_ChannelOpen( - System.String @outOfBand) - { - ChannelOpen __req = new ChannelOpen(); - __req.m_outOfBand = @outOfBand; - RabbitMQ.Client.Impl.MethodBase __repBase = ModelRpc(__req,null,null); - ChannelOpenOk __rep = __repBase as ChannelOpenOk; - if (__rep == null) throw new UnexpectedMethodException(__repBase); - } - public override void _Private_ChannelCloseOk() - { - ChannelCloseOk __req = new ChannelCloseOk(); - ModelSend(__req,null,null); - } - public override void _Private_ChannelClose( - System.UInt16 @replyCode, - System.String @replyText, - System.UInt16 @classId, - System.UInt16 @methodId) - { - ChannelClose __req = new ChannelClose(); - __req.m_replyCode = @replyCode; - __req.m_replyText = @replyText; - __req.m_classId = @classId; - __req.m_methodId = @methodId; - ModelSend(__req,null,null); - } - public override void _Private_BasicGet( - System.UInt16 @ticket, - System.String @queue, - System.Boolean @noAck) - { - BasicGet __req = new BasicGet(); - __req.m_ticket = @ticket; - __req.m_queue = @queue; - __req.m_noAck = @noAck; - ModelSend(__req,null,null); - } - public override RabbitMQ.Client.Impl.ConnectionTuneDetails ConnectionStartOk( - System.Collections.IDictionary @clientProperties, - System.String @mechanism, - System.Byte[] @response, - System.String @locale) - { - ConnectionStartOk __req = new ConnectionStartOk(); - __req.m_clientProperties = @clientProperties; - __req.m_mechanism = @mechanism; - __req.m_response = @response; - __req.m_locale = @locale; - RabbitMQ.Client.Impl.MethodBase __repBase = ModelRpc(__req,null,null); - ConnectionTune __rep = __repBase as ConnectionTune; - if (__rep == null) throw new UnexpectedMethodException(__repBase); - RabbitMQ.Client.Impl.ConnectionTuneDetails __result = new RabbitMQ.Client.Impl.ConnectionTuneDetails(); - __result.channelMax = __rep.m_channelMax; - __result.frameMax = __rep.m_frameMax; - __result.heartbeat = __rep.m_heartbeat; - return __result; - } - public override void ConnectionTuneOk( - System.UInt16 @channelMax, - System.UInt32 @frameMax, - System.UInt16 @heartbeat) - { - ConnectionTuneOk __req = new ConnectionTuneOk(); - __req.m_channelMax = @channelMax; - __req.m_frameMax = @frameMax; - __req.m_heartbeat = @heartbeat; - ModelSend(__req,null,null); - } - public override void _Private_ConnectionOpen( - System.String @virtualHost, - System.String @capabilities, - System.Boolean @insist) - { - ConnectionOpen __req = new ConnectionOpen(); - __req.m_virtualHost = @virtualHost; - __req.m_capabilities = @capabilities; - __req.m_insist = @insist; - ModelSend(__req,null,null); - } - public override void _Private_ConnectionClose( - System.UInt16 @replyCode, - System.String @replyText, - System.UInt16 @classId, - System.UInt16 @methodId) - { - ConnectionClose __req = new ConnectionClose(); - __req.m_replyCode = @replyCode; - __req.m_replyText = @replyText; - __req.m_classId = @classId; - __req.m_methodId = @methodId; - RabbitMQ.Client.Impl.MethodBase __repBase = ModelRpc(__req,null,null); - ConnectionCloseOk __rep = __repBase as ConnectionCloseOk; - if (__rep == null) throw new UnexpectedMethodException(__repBase); - } - public override void _Private_ConnectionCloseOk() - { - ConnectionCloseOk __req = new ConnectionCloseOk(); - ModelSend(__req,null,null); - } - public override RabbitMQ.Client.IBasicProperties CreateBasicProperties() - { - return new BasicProperties(); - } - public override RabbitMQ.Client.IFileProperties CreateFileProperties() - { - return new FileProperties(); - } - public override RabbitMQ.Client.IStreamProperties CreateStreamProperties() - { - return new StreamProperties(); - } - public override void ChannelFlow( - System.Boolean @active) - { - ChannelFlow __req = new ChannelFlow(); - __req.m_active = @active; - RabbitMQ.Client.Impl.MethodBase __repBase = ModelRpc(__req,null,null); - ChannelFlowOk __rep = __repBase as ChannelFlowOk; - if (__rep == null) throw new UnexpectedMethodException(__repBase); - } - public override void ExchangeDeclare( - System.UInt16 @ticket, - System.String @exchange, - System.String @type, - System.Boolean @passive, - System.Boolean @durable, - System.Boolean @autoDelete, - System.Boolean @internal, - System.Boolean @nowait, - System.Collections.IDictionary @arguments) - { - ExchangeDeclare __req = new ExchangeDeclare(); - __req.m_ticket = @ticket; - __req.m_exchange = @exchange; - __req.m_type = @type; - __req.m_passive = @passive; - __req.m_durable = @durable; - __req.m_autoDelete = @autoDelete; - __req.m_internal = @internal; - __req.m_nowait = @nowait; - __req.m_arguments = @arguments; - if (nowait) { - ModelSend(__req,null,null); - } - RabbitMQ.Client.Impl.MethodBase __repBase = ModelRpc(__req,null,null); - ExchangeDeclareOk __rep = __repBase as ExchangeDeclareOk; - if (__rep == null) throw new UnexpectedMethodException(__repBase); - } - public override void ExchangeDelete( - System.UInt16 @ticket, - System.String @exchange, - System.Boolean @ifUnused, - System.Boolean @nowait) - { - ExchangeDelete __req = new ExchangeDelete(); - __req.m_ticket = @ticket; - __req.m_exchange = @exchange; - __req.m_ifUnused = @ifUnused; - __req.m_nowait = @nowait; - if (nowait) { - ModelSend(__req,null,null); - } - RabbitMQ.Client.Impl.MethodBase __repBase = ModelRpc(__req,null,null); - ExchangeDeleteOk __rep = __repBase as ExchangeDeleteOk; - if (__rep == null) throw new UnexpectedMethodException(__repBase); - } - public override System.String QueueDeclare( - System.UInt16 @ticket, - System.String @queue, - System.Boolean @passive, - System.Boolean @durable, - System.Boolean @exclusive, - System.Boolean @autoDelete, - System.Boolean @nowait, - System.Collections.IDictionary @arguments) - { - QueueDeclare __req = new QueueDeclare(); - __req.m_ticket = @ticket; - __req.m_queue = @queue; - __req.m_passive = @passive; - __req.m_durable = @durable; - __req.m_exclusive = @exclusive; - __req.m_autoDelete = @autoDelete; - __req.m_nowait = @nowait; - __req.m_arguments = @arguments; - if (nowait) { - ModelSend(__req,null,null); - return null; - } - RabbitMQ.Client.Impl.MethodBase __repBase = ModelRpc(__req,null,null); - QueueDeclareOk __rep = __repBase as QueueDeclareOk; - if (__rep == null) throw new UnexpectedMethodException(__repBase); - return __rep.m_queue; - } - public override void QueueBind( - System.UInt16 @ticket, - System.String @queue, - System.String @exchange, - System.String @routingKey, - System.Boolean @nowait, - System.Collections.IDictionary @arguments) - { - QueueBind __req = new QueueBind(); - __req.m_ticket = @ticket; - __req.m_queue = @queue; - __req.m_exchange = @exchange; - __req.m_routingKey = @routingKey; - __req.m_nowait = @nowait; - __req.m_arguments = @arguments; - if (nowait) { - ModelSend(__req,null,null); - } - RabbitMQ.Client.Impl.MethodBase __repBase = ModelRpc(__req,null,null); - QueueBindOk __rep = __repBase as QueueBindOk; - if (__rep == null) throw new UnexpectedMethodException(__repBase); - } - public override void QueueUnbind( - System.UInt16 @ticket, - System.String @queue, - System.String @exchange, - System.String @routingKey, - System.Collections.IDictionary @arguments) - { - throw new UnsupportedMethodException("QueueUnbind"); - } - public override System.UInt32 QueuePurge( - System.UInt16 @ticket, - System.String @queue, - System.Boolean @nowait) - { - QueuePurge __req = new QueuePurge(); - __req.m_ticket = @ticket; - __req.m_queue = @queue; - __req.m_nowait = @nowait; - if (nowait) { - ModelSend(__req,null,null); - return 0xFFFFFFFF; - } - RabbitMQ.Client.Impl.MethodBase __repBase = ModelRpc(__req,null,null); - QueuePurgeOk __rep = __repBase as QueuePurgeOk; - if (__rep == null) throw new UnexpectedMethodException(__repBase); - return __rep.m_messageCount; - } - public override System.UInt32 QueueDelete( - System.UInt16 @ticket, - System.String @queue, - System.Boolean @ifUnused, - System.Boolean @ifEmpty, - System.Boolean @nowait) - { - QueueDelete __req = new QueueDelete(); - __req.m_ticket = @ticket; - __req.m_queue = @queue; - __req.m_ifUnused = @ifUnused; - __req.m_ifEmpty = @ifEmpty; - __req.m_nowait = @nowait; - if (nowait) { - ModelSend(__req,null,null); - return 0xFFFFFFFF; - } - RabbitMQ.Client.Impl.MethodBase __repBase = ModelRpc(__req,null,null); - QueueDeleteOk __rep = __repBase as QueueDeleteOk; - if (__rep == null) throw new UnexpectedMethodException(__repBase); - return __rep.m_messageCount; - } - public override void BasicQos( - System.UInt32 @prefetchSize, - System.UInt16 @prefetchCount, - System.Boolean @global) - { - BasicQos __req = new BasicQos(); - __req.m_prefetchSize = @prefetchSize; - __req.m_prefetchCount = @prefetchCount; - __req.m_global = @global; - RabbitMQ.Client.Impl.MethodBase __repBase = ModelRpc(__req,null,null); - BasicQosOk __rep = __repBase as BasicQosOk; - if (__rep == null) throw new UnexpectedMethodException(__repBase); - } - public override void BasicAck( - System.UInt64 @deliveryTag, - System.Boolean @multiple) - { - BasicAck __req = new BasicAck(); - __req.m_deliveryTag = @deliveryTag; - __req.m_multiple = @multiple; - ModelSend(__req,null,null); - } - public override void BasicReject( - System.UInt64 @deliveryTag, - System.Boolean @requeue) - { - BasicReject __req = new BasicReject(); - __req.m_deliveryTag = @deliveryTag; - __req.m_requeue = @requeue; - ModelSend(__req,null,null); - } - public override void BasicRecover( - System.Boolean @requeue) - { - BasicRecover __req = new BasicRecover(); - __req.m_requeue = @requeue; - RabbitMQ.Client.Impl.MethodBase __repBase = ModelRpc(__req,null,null); - BasicRecoverOk __rep = __repBase as BasicRecoverOk; - if (__rep == null) throw new UnexpectedMethodException(__repBase); - } - public override void TxSelect() - { - TxSelect __req = new TxSelect(); - RabbitMQ.Client.Impl.MethodBase __repBase = ModelRpc(__req,null,null); - TxSelectOk __rep = __repBase as TxSelectOk; - if (__rep == null) throw new UnexpectedMethodException(__repBase); - } - public override void TxCommit() - { - TxCommit __req = new TxCommit(); - RabbitMQ.Client.Impl.MethodBase __repBase = ModelRpc(__req,null,null); - TxCommitOk __rep = __repBase as TxCommitOk; - if (__rep == null) throw new UnexpectedMethodException(__repBase); - } - public override void TxRollback() - { - TxRollback __req = new TxRollback(); - RabbitMQ.Client.Impl.MethodBase __repBase = ModelRpc(__req,null,null); - TxRollbackOk __rep = __repBase as TxRollbackOk; - if (__rep == null) throw new UnexpectedMethodException(__repBase); - } - public override void DtxSelect() - { - DtxSelect __req = new DtxSelect(); - RabbitMQ.Client.Impl.MethodBase __repBase = ModelRpc(__req,null,null); - DtxSelectOk __rep = __repBase as DtxSelectOk; - if (__rep == null) throw new UnexpectedMethodException(__repBase); - } - public override void DtxStart( - System.String @dtxIdentifier) - { - DtxStart __req = new DtxStart(); - __req.m_dtxIdentifier = @dtxIdentifier; - RabbitMQ.Client.Impl.MethodBase __repBase = ModelRpc(__req,null,null); - DtxStartOk __rep = __repBase as DtxStartOk; - if (__rep == null) throw new UnexpectedMethodException(__repBase); - } - public override bool DispatchAsynchronous(RabbitMQ.Client.Impl.Command cmd) { - RabbitMQ.Client.Impl.MethodBase __method = (RabbitMQ.Client.Impl.MethodBase) cmd.Method; - switch ((__method.ProtocolClassId << 16) | __method.ProtocolMethodId) { - case 3932181: { - BasicConsumeOk __impl = (BasicConsumeOk) __method; - HandleBasicConsumeOk( - __impl.m_consumerTag); - return true; - } - case 3932191: { - BasicCancelOk __impl = (BasicCancelOk) __method; - HandleBasicCancelOk( - __impl.m_consumerTag); - return true; - } - case 3932231: { - BasicGetOk __impl = (BasicGetOk) __method; - HandleBasicGetOk( - __impl.m_deliveryTag, - __impl.m_redelivered, - __impl.m_exchange, - __impl.m_routingKey, - __impl.m_messageCount, - (RabbitMQ.Client.IBasicProperties) cmd.Header, - cmd.Body); - return true; - } - case 3932232: { - HandleBasicGetEmpty(); - return true; - } - case 3932220: { - BasicDeliver __impl = (BasicDeliver) __method; - HandleBasicDeliver( - __impl.m_consumerTag, - __impl.m_deliveryTag, - __impl.m_redelivered, - __impl.m_exchange, - __impl.m_routingKey, - (RabbitMQ.Client.IBasicProperties) cmd.Header, - cmd.Body); - return true; - } - case 3932210: { - BasicReturn __impl = (BasicReturn) __method; - HandleBasicReturn( - __impl.m_replyCode, - __impl.m_replyText, - __impl.m_exchange, - __impl.m_routingKey, - (RabbitMQ.Client.IBasicProperties) cmd.Header, - cmd.Body); - return true; - } - case 1310760: { - ChannelClose __impl = (ChannelClose) __method; - HandleChannelClose( - __impl.m_replyCode, - __impl.m_replyText, - __impl.m_classId, - __impl.m_methodId); - return true; - } - case 1310761: { - HandleChannelCloseOk(); - return true; - } - case 655370: { - ConnectionStart __impl = (ConnectionStart) __method; - HandleConnectionStart( - __impl.m_versionMajor, - __impl.m_versionMinor, - __impl.m_serverProperties, - __impl.m_mechanisms, - __impl.m_locales); - return true; - } - case 655401: { - ConnectionOpenOk __impl = (ConnectionOpenOk) __method; - HandleConnectionOpenOk( - __impl.m_knownHosts); - return true; - } - case 655410: { - ConnectionRedirect __impl = (ConnectionRedirect) __method; - HandleConnectionRedirect( - __impl.m_host, - __impl.m_knownHosts); - return true; - } - case 655420: { - ConnectionClose __impl = (ConnectionClose) __method; - HandleConnectionClose( - __impl.m_replyCode, - __impl.m_replyText, - __impl.m_classId, - __impl.m_methodId); - return true; - } - default: return false; - } - } - } -} diff -Nru /tmp/aeIREhC8RL/mono-2.4.0/mcs/class/RabbitMQ.Client/docs/specs/qpid-amqp.0-8.xml /tmp/whXnmORr8x/mono-2.4+dfsg/mcs/class/RabbitMQ.Client/docs/specs/qpid-amqp.0-8.xml --- mono-2.4.0/mcs/class/RabbitMQ.Client/docs/specs/qpid-amqp.0-8.xml 2009-02-13 23:49:40.000000000 +0000 +++ mono-2.4+dfsg/mcs/class/RabbitMQ.Client/docs/specs/qpid-amqp.0-8.xml 1970-01-01 01:00:00.000000000 +0100 @@ -1,3996 +0,0 @@ - - - - - - - - AMQ Protocol 0.80 - - - - - - - - - - - - - - Indicates that the method completed successfully. This reply code is - reserved for future use - the current protocol design does not use - positive confirmation and reply codes are sent only in case of an - error. - - - The client asked for a specific message that is no longer available. - The message was delivered to another client, or was purged from the - queue for some other reason. - - - The client attempted to transfer content larger than the server - could accept at the present time. The client may retry at a later - time. - - - An operator intervened to close the connection for some reason. - The client may retry at some later date. - - - The client tried to work with an unknown virtual host or cluster. - - - The client attempted to work with a server entity to which it has - no due to security settings. - - - The client attempted to work with a server entity that does not exist. - - - The client attempted to work with a server entity to which it has - no access because another client is working with it. - - - The client sent a malformed frame that the server could not decode. - This strongly implies a programming error in the client. - - - The client sent a frame that contained illegal values for one or more - fields. This strongly implies a programming error in the client. - - - The client sent an invalid sequence of frames, attempting to perform - an operation that was considered invalid by the server. This usually - implies a programming error in the client. - - - The client attempted to work with a channel that had not been - correctly opened. This most likely indicates a fault in the client - layer. - - - The server could not complete the method because it lacked sufficient - resources. This may be due to the client creating too many of some - type of entity. - - - The client tried to work with some entity in a manner that is - prohibited by the server, due to security settings or by some other - criteria. - - - The client tried to use functionality that is not implemented in the - server. - - - The server could not complete the method because of an internal error. - The server may require intervention by an operator in order to resume - normal operations. - - - - access ticket granted by server - - An access ticket granted by the server for a certain set of access - rights within a specific realm. Access tickets are valid within the - channel where they were created, and expire when the channel closes. - - - - - - consumer tag - - Identifier for the consumer, valid within the current connection. - - - The consumer tag is valid only within the channel from which the - consumer was created. I.e. a client MUST NOT create a consumer in - one channel and then use it in another. - - - - server-assigned delivery tag - - The server-assigned and channel-specific delivery tag - - - The delivery tag is valid only within the channel from which the - message was received. I.e. a client MUST NOT receive a message on - one channel and then acknowledge it on another. - - - The server MUST NOT use a zero value for delivery tags. Zero is - reserved for client use, meaning "all messages so far received". - - - - exchange name - - The exchange name is a client-selected string that identifies - the exchange for publish methods. Exchange names may consist - of any mixture of digits, letters, and underscores. Exchange - names are scoped by the virtual host. - - - - -list of known hosts - -Specifies the list of equivalent or alternative hosts that the server -knows about, which will normally include the current server itself. -Clients can cache this information and use it when reconnecting to a -server after a failure. - - -The server MAY leave this field empty if it knows of no other -hosts than itself. - - - - - no acknowledgement needed - - If this field is set the server does not expect acknowledgments - for messages. That is, when a message is delivered to the client - the server automatically and silently acknowledges it on behalf - of the client. This functionality increases performance but at - the cost of reliability. Messages can get lost if a client dies - before it can deliver them to the application. - - - - do not deliver own messages - - If the no-local field is set the server will not send messages to - the client that published them. - - - - - Must start with a slash "/" and continue with path names - separated by slashes. A path name consists of any combination - of at least one of [A-Za-z0-9] plus zero or more of [.-_+!=:]. - - - - - - - -This string provides a set of peer properties, used for -identification, debugging, and general information. - - -The properties SHOULD contain these fields: -"product", giving the name of the peer product, "version", giving -the name of the peer version, "platform", giving the name of the -operating system, "copyright", if appropriate, and "information", -giving other general information. - - - - queue name - - The queue name identifies the queue within the vhost. Queue - names may consist of any mixture of digits, letters, and - underscores. - - - - - message is being redelivered - - This indicates that the message has been previously delivered to - this or another client. - - - The server SHOULD try to signal redelivered messages when it can. - When redelivering a message that was not successfully acknowledged, - the server SHOULD deliver it to the original client if possible. - - - The client MUST NOT rely on the redelivered field but MUST take it - as a hint that the message may already have been processed. A - fully robust client must be able to track duplicate received messages - on non-transacted, and locally-transacted channels. - - - -reply code from server - - The reply code. The AMQ reply codes are defined in AMQ RFC 011. - - - - -localised reply text - - The localised reply text. This text can be logged as an aid to - resolving issues. - - - - - - work with socket connections - - The connection class provides methods for a client to establish a - network connection to a server, and for both peers to operate the - connection thereafter. - - - connection = open-connection *use-connection close-connection - open-connection = C:protocol-header - S:START C:START-OK - *challenge - S:TUNE C:TUNE-OK - C:OPEN S:OPEN-OK | S:REDIRECT - challenge = S:SECURE C:SECURE-OK - use-connection = *channel - close-connection = C:CLOSE S:CLOSE-OK - / S:CLOSE C:CLOSE-OK - - - - - - start connection negotiation - - This method starts the connection negotiation process by telling - the client the protocol version that the server proposes, along - with a list of security mechanisms which the client can use for - authentication. - - - If the client cannot handle the protocol version suggested by the - server it MUST close the socket connection. - - - The server MUST provide a protocol version that is lower than or - equal to that requested by the client in the protocol header. If - the server cannot support the specified protocol it MUST NOT send - this method, but MUST close the socket connection. - - - - - protocol major version - - The protocol major version that the server agrees to use, which - cannot be higher than the client's major version. - - - - protocol major version - - The protocol minor version that the server agrees to use, which - cannot be higher than the client's minor version. - - - - server properties - - - available security mechanisms - - A list of the security mechanisms that the server supports, delimited - by spaces. Currently ASL supports these mechanisms: PLAIN. - - - - - - available message locales - - A list of the message locales that the server supports, delimited - by spaces. The locale defines the language in which the server - will send reply texts. - - - All servers MUST support at least the en_US locale. - - - - - - select security mechanism and locale - - This method selects a SASL security mechanism. ASL uses SASL - (RFC2222) to negotiate authentication and encryption. - - - - client properties - - - selected security mechanism - - A single security mechanisms selected by the client, which must be - one of those specified by the server. - - - The client SHOULD authenticate using the highest-level security - profile it can handle from the list provided by the server. - - - The mechanism field MUST contain one of the security mechanisms - proposed by the server in the Start method. If it doesn't, the - server MUST close the socket. - - - - - security response data - - A block of opaque data passed to the security mechanism. The contents - of this data are defined by the SASL security mechanism. For the - PLAIN security mechanism this is defined as a field table holding - two fields, LOGIN and PASSWORD. - - - - - selected message locale - - A single message local selected by the client, which must be one - of those specified by the server. - - - - - - - security mechanism challenge - - The SASL protocol works by exchanging challenges and responses until - both peers have received sufficient information to authenticate each - other. This method challenges the client to provide more information. - - - - - security challenge data - - Challenge information, a block of opaque binary data passed to - the security mechanism. - - - - - - security mechanism response - - This method attempts to authenticate, passing a block of SASL data - for the security mechanism at the server side. - - - - security response data - - A block of opaque data passed to the security mechanism. The contents - of this data are defined by the SASL security mechanism. - - - - - - - propose connection tuning parameters - - This method proposes a set of connection configuration values - to the client. The client can accept and/or adjust these. - - - - - proposed maximum channels - - The maximum total number of channels that the server allows - per connection. Zero means that the server does not impose a - fixed limit, but the number of allowed channels may be limited - by available server resources. - - - - proposed maximum frame size - - The largest frame size that the server proposes for the - connection. The client can negotiate a lower value. Zero means - that the server does not impose any specific limit but may reject - very large frames if it cannot allocate resources for them. - - - Until the frame-max has been negotiated, both peers MUST accept - frames of up to 4096 octets large. The minimum non-zero value for - the frame-max field is 4096. - - - - desired heartbeat delay - - The delay, in seconds, of the connection heartbeat that the server - wants. Zero means the server does not want a heartbeat. - - - - - negotiate connection tuning parameters - - This method sends the client's connection tuning parameters to the - server. Certain fields are negotiated, others provide capability - information. - - - - negotiated maximum channels - - The maximum total number of channels that the client will use - per connection. May not be higher than the value specified by - the server. - - - The server MAY ignore the channel-max value or MAY use it for - tuning its resource allocation. - - - - - - negotiated maximum frame size - - The largest frame size that the client and server will use for - the connection. Zero means that the client does not impose any - specific limit but may reject very large frames if it cannot - allocate resources for them. Note that the frame-max limit - applies principally to content frames, where large contents - can be broken into frames of arbitrary size. - - - Until the frame-max has been negotiated, both peers must accept - frames of up to 4096 octets large. The minimum non-zero value for - the frame-max field is 4096. - - - - desired heartbeat delay - - The delay, in seconds, of the connection heartbeat that the client - wants. Zero means the client does not want a heartbeat. - - - - - - open connection to virtual host - - This method opens a connection to a virtual host, which is a - collection of resources, and acts to separate multiple application - domains within a server. - - - The client MUST open the context before doing any work on the - connection. - - - - - - virtual host name - - - The name of the virtual host to work with. - - - If the server supports multiple virtual hosts, it MUST enforce a - full separation of exchanges, queues, and all associated entities - per virtual host. An application, connected to a specific virtual - host, MUST NOT be able to access resources of another virtual host. - - - The server SHOULD verify that the client has permission to access - the specified virtual host. - - - The server MAY configure arbitrary limits per virtual host, such - as the number of each type of entity that may be used, per - connection and/or in total. - - - - required capabilities - - The client may specify a number of capability names, delimited by - spaces. The server can use this string to how to process the - client's connection request. - - - - insist on connecting to server - - In a configuration with multiple load-sharing servers, the server - may respond to a Connection.Open method with a Connection.Redirect. - The insist option tells the server that the client is insisting on - a connection to the specified server. - - - When the client uses the insist option, the server SHOULD accept - the client connection unless it is technically unable to do so. - - - - - signal that the connection is ready - - This method signals to the client that the connection is ready for - use. - - - - - - asks the client to use a different server - - This method redirects the client to another server, based on the - requested virtual host and/or capabilities. - - - When getting the Connection.Redirect method, the client SHOULD - reconnect to the host specified, and if that host is not present, - to any of the hosts specified in the known-hosts list. - - - - server to connect to - - Specifies the server to connect to. This is an IP address or a - DNS name, optionally followed by a colon and a port number. If - no port number is specified, the client should use the default - port number for the protocol. - - - - - - - - request a connection close - - This method indicates that the sender wants to close the connection. - This may be due to internal conditions (e.g. a forced shut-down) or - due to an error handling a specific method, i.e. an exception. When - a close is due to an exception, the sender provides the class and - method id of the method which caused the exception. - - - After sending this method any received method except the Close-OK - method MUST be discarded. - - - The peer sending this method MAY use a counter or timeout to - detect failure of the other peer to respond correctly with - the Close-OK method. - - - When a server receives the Close method from a client it MUST - delete all server-side resources associated with the client's - context. A client CANNOT reconnect to a context after sending - or receiving a Close method. - - - - - - - - failing method class - - When the close is provoked by a method exception, this is the - class of the method. - - - - failing method ID - - When the close is provoked by a method exception, this is the - ID of the method. - - - - - confirm a connection close - - This method confirms a Connection.Close method and tells the - recipient that it is safe to release resources for the connection - and close the socket. - - - A peer that detects a socket closure without having received a - Close-Ok handshake method SHOULD log the error. - - - - - - - - work with channels - - The channel class provides methods for a client to establish a virtual - connection - a channel - to a server and for both peers to operate the - virtual connection thereafter. - - - channel = open-channel *use-channel close-channel - open-channel = C:OPEN S:OPEN-OK - use-channel = C:FLOW S:FLOW-OK - / S:FLOW C:FLOW-OK - / S:ALERT - / functional-class - close-channel = C:CLOSE S:CLOSE-OK - / S:CLOSE C:CLOSE-OK - - - - - - open a channel for use - - This method opens a virtual connection (a channel). - - - This method MUST NOT be called when the channel is already open. - - - - - out-of-band settings - - Configures out-of-band transfers on this channel. The syntax and - meaning of this field will be formally defined at a later date. - - - - - - signal that the channel is ready - - This method signals to the client that the channel is ready for use. - - - - - - enable/disable flow from peer - - This method asks the peer to pause or restart the flow of content - data. This is a simple flow-control mechanism that a peer can use - to avoid oveflowing its queues or otherwise finding itself receiving - more messages than it can process. Note that this method is not - intended for window control. The peer that receives a request to - stop sending content should finish sending the current content, if - any, and then wait until it receives a Flow restart method. - - - When a new channel is opened, it is active. Some applications - assume that channels are inactive until started. To emulate this - behaviour a client MAY open the channel, then pause it. - - - When sending content data in multiple frames, a peer SHOULD monitor - the channel for incoming methods and respond to a Channel.Flow as - rapidly as possible. - - - A peer MAY use the Channel.Flow method to throttle incoming content - data for internal reasons, for example, when exchangeing data over a - slower connection. - - - The peer that requests a Channel.Flow method MAY disconnect and/or - ban a peer that does not respect the request. - - - - - - start/stop content frames - - If 1, the peer starts sending content frames. If 0, the peer - stops sending content frames. - - - - - confirm a flow method - - Confirms to the peer that a flow command was received and processed. - - - - - current flow setting - - Confirms the setting of the processed flow method: 1 means the - peer will start sending or continue to send content frames; 0 - means it will not. - - - - - - send a non-fatal warning message - - This method allows the server to send a non-fatal warning to the - client. This is used for methods that are normally asynchronous - and thus do not have confirmations, and for which the server may - detect errors that need to be reported. Fatal errors are handled - as channel or connection exceptions; non-fatal errors are sent - through this method. - - - - - - detailed information for warning - - A set of fields that provide more information about the - problem. The meaning of these fields are defined on a - per-reply-code basis (TO BE DEFINED). - - - - - - request a channel close - - This method indicates that the sender wants to close the channel. - This may be due to internal conditions (e.g. a forced shut-down) or - due to an error handling a specific method, i.e. an exception. When - a close is due to an exception, the sender provides the class and - method id of the method which caused the exception. - - - After sending this method any received method except - Channel.Close-OK MUST be discarded. - - - The peer sending this method MAY use a counter or timeout to detect - failure of the other peer to respond correctly with Channel.Close-OK.. - - - - - - - - failing method class - - When the close is provoked by a method exception, this is the - class of the method. - - - - failing method ID - - When the close is provoked by a method exception, this is the - ID of the method. - - - - - confirm a channel close - - This method confirms a Channel.Close method and tells the recipient - that it is safe to release resources for the channel and close the - socket. - - - A peer that detects a socket closure without having received a - Channel.Close-Ok handshake method SHOULD log the error. - - - - - - - - work with access tickets - - The protocol control access to server resources using access tickets. - A client must explicitly request access tickets before doing work. - An access ticket grants a client the right to use a specific set of - resources - called a "realm" - in specific ways. - - - access = C:REQUEST S:REQUEST-OK - - - - - - request an access ticket - - This method requests an access ticket for an access realm. - The server responds by granting the access ticket. If the - client does not have access rights to the requested realm - this causes a connection exception. Access tickets are a - per-channel resource. - - - The realm name MUST start with either "/data" (for application - resources) or "/admin" (for server administration resources). - If the realm starts with any other path, the server MUST raise - a connection exception with reply code 403 (access refused). - - - The server MUST implement the /data realm and MAY implement the - /admin realm. The mapping of resources to realms is not - defined in the protocol - this is a server-side configuration - issue. - - - - - name of requested realm - - If the specified realm is not known to the server, the server - must raise a channel exception with reply code 402 (invalid - path). - - - - request exclusive access - - Request exclusive access to the realm. If the server cannot grant - this - because there are other active tickets for the realm - it - raises a channel exception. - - - - request passive access - - Request message passive access to the specified access realm. - Passive access lets a client get information about resources in - the realm but not to make any changes to them. - - - - request active access - - Request message active access to the specified access realm. - Acvtive access lets a client get create and delete resources in - the realm. - - - - request write access - - Request write access to the specified access realm. Write access - lets a client publish messages to all exchanges in the realm. - - - - request read access - - Request read access to the specified access realm. Read access - lets a client consume messages from queues in the realm. - - - - - grant access to server resources - - This method provides the client with an access ticket. The access - ticket is valid within the current channel and for the lifespan of - the channel. - - - The client MUST NOT use access tickets except within the same - channel as originally granted. - - - The server MUST isolate access tickets per channel and treat an - attempt by a client to mix these as a connection exception. - - - - - - - - work with exchanges - - Exchanges match and distribute messages across queues. Exchanges can be - configured in the server or created at runtime. - - - exchange = C:DECLARE S:DECLARE-OK - / C:DELETE S:DELETE-OK - - - - - amq_exchange_19 - The server MUST implement the direct and fanout exchange types, and - predeclare the corresponding exchanges named amq.direct and amq.fanout - in each virtual host. The server MUST also predeclare a direct - exchange to act as the default exchange for content Publish methods - and for default queue bindings. - - - amq_exchange_20 - The server SHOULD implement the topic exchange type, and predeclare - the corresponding exchange named amq.topic in each virtual host. - - - amq_exchange_21 - The server MAY implement the system exchange type, and predeclare the - corresponding exchanges named amq.system in each virtual host. If the - client attempts to bind a queue to the system exchange, the server - MUST raise a connection exception with reply code 507 (not allowed). - - - amq_exchange_22 - The default exchange MUST be defined as internal, and be inaccessible - to the client except by specifying an empty exchange name in a content - Publish method. That is, the server MUST NOT let clients make explicit - bindings to this exchange. - - - - declare exchange, create if needed - - This method creates an exchange if it does not already exist, and if the - exchange exists, verifies that it is of the correct and expected class. - - - amq_exchange_23 - The server SHOULD support a minimum of 16 exchanges per virtual host - and ideally, impose no limit except as defined by available resources. - - - - - - When a client defines a new exchange, this belongs to the access realm - of the ticket used. All further work done with that exchange must be - done with an access ticket for the same realm. - - - The client MUST provide a valid access ticket giving "active" access - to the realm in which the exchange exists or will be created, or - "passive" access if the if-exists flag is set. - - - - - amq_exchange_15 - Exchange names starting with "amq." are reserved for predeclared - and standardised exchanges. If the client attempts to create an - exchange starting with "amq.", the server MUST raise a channel - exception with reply code 403 (access refused). - - - - - exchange type - - Each exchange belongs to one of a set of exchange types implemented - by the server. The exchange types define the functionality of the - exchange - i.e. how messages are routed through it. It is not valid - or meaningful to attempt to change the type of an existing exchange. - - - amq_exchange_16 - If the exchange already exists with a different type, the server - MUST raise a connection exception with a reply code 507 (not allowed). - - - amq_exchange_18 - If the server does not support the requested exchange type it MUST - raise a connection exception with a reply code 503 (command invalid). - - - - - do not create exchange - - If set, the server will not create the exchange. The client can use - this to check whether an exchange exists without modifying the server - state. - - - amq_exchange_05 - If set, and the exchange does not already exist, the server MUST - raise a channel exception with reply code 404 (not found). - - - - request a durable exchange - - If set when creating a new exchange, the exchange will be marked as - durable. Durable exchanges remain active when a server restarts. - Non-durable exchanges (transient exchanges) are purged if/when a - server restarts. - - - amq_exchange_24 - The server MUST support both durable and transient exchanges. - - - The server MUST ignore the durable field if the exchange already - exists. - - - - auto-delete when unused - - If set, the exchange is deleted when all queues have finished - using it. - - - amq_exchange_02 - The server SHOULD allow for a reasonable delay between the point - when it determines that an exchange is not being used (or no longer - used), and the point when it deletes the exchange. At the least it - must allow a client to create an exchange and then bind a queue to - it, with a small but non-zero delay between these two actions. - - - amq_exchange_25 - The server MUST ignore the auto-delete field if the exchange already - exists. - - - - create internal exchange - - If set, the exchange may not be used directly by publishers, but - only when bound to other exchanges. Internal exchanges are used to - construct wiring that is not visible to applications. - - - - - do not send a reply method - - If set, the server will not respond to the method. The client should - not wait for a reply method. If the server could not complete the - method it will raise a channel or connection exception. - - - - - arguments for declaration - - A set of arguments for the declaration. The syntax and semantics - of these arguments depends on the server implementation. This - field is ignored if passive is 1. - - - - - confirms an exchange declaration - - This method confirms a Declare method and confirms the name of the - exchange, essential for automatically-named exchanges. - - - - - - delete an exchange - - This method deletes an exchange. When an exchange is deleted all queue - bindings on the exchange are cancelled. - - - - - - The client MUST provide a valid access ticket giving "active" - access rights to the exchange's access realm. - - - - - amq_exchange_11 - The exchange MUST exist. Attempting to delete a non-existing exchange - causes a channel exception. - - - - - delete only if unused - - If set, the server will only delete the exchange if it has no queue - bindings. If the exchange has queue bindings the server does not - delete it but raises a channel exception instead. - - - amq_exchange_12 - If set, the server SHOULD delete the exchange but only if it has - no queue bindings. - - - amq_exchange_13 - If set, the server SHOULD raise a channel exception if the exchange is in - use. - - - - - do not send a reply method - - If set, the server will not respond to the method. The client should - not wait for a reply method. If the server could not complete the - method it will raise a channel or connection exception. - - - - - - confirm deletion of an exchange - - This method confirms the deletion of an exchange. - - - - - - - - Message routing key - - Specifies the routing key for the message. The routing key is - used for routing messages depending on the exchange configuration. - - - - - - - - - - - - - - - - work with queues - - - Queues store and forward messages. Queues can be configured in the server - or created at runtime. Queues must be attached to at least one exchange - in order to receive messages from publishers. - - - queue = C:DECLARE S:DECLARE-OK - / C:BIND S:BIND-OK - / C:PURGE S:PURGE-OK - / C:DELETE S:DELETE-OK - - - - - amq_queue_33 - A server MUST allow any content class to be sent to any queue, in any - mix, and queue and delivery these content classes independently. Note - that all methods that fetch content off queues are specific to a given - content class. - - - - declare queue, create if needed - - This method creates or checks a queue. When creating a new queue - the client can specify various properties that control the durability - of the queue and its contents, and the level of sharing for the queue. - - - amq_queue_34 - The server MUST create a default binding for a newly-created queue - to the default exchange, which is an exchange of type 'direct'. - - - amq_queue_35 - The server SHOULD support a minimum of 256 queues per virtual host - and ideally, impose no limit except as defined by available resources. - - - - - - When a client defines a new queue, this belongs to the access realm - of the ticket used. All further work done with that queue must be - done with an access ticket for the same realm. - - - The client provides a valid access ticket giving "active" access - to the realm in which the queue exists or will be created, or - "passive" access if the if-exists flag is set. - - - - - amq_queue_10 - The queue name MAY be empty, in which case the server MUST create - a new queue with a unique generated name and return this to the - client in the Declare-Ok method. - - - amq_queue_32 - Queue names starting with "amq." are reserved for predeclared and - standardised server queues. If the queue name starts with "amq." - and the passive option is zero, the server MUST raise a connection - exception with reply code 403 (access refused). - - - - - do not create queue - - If set, the server will not create the queue. The client can use - this to check whether a queue exists without modifying the server - state. - - - amq_queue_05 - If set, and the queue does not already exist, the server MUST - respond with a reply code 404 (not found) and raise a channel - exception. - - - - request a durable queue - - If set when creating a new queue, the queue will be marked as - durable. Durable queues remain active when a server restarts. - Non-durable queues (transient queues) are purged if/when a - server restarts. Note that durable queues do not necessarily - hold persistent messages, although it does not make sense to - send persistent messages to a transient queue. - - - amq_queue_03 - The server MUST recreate the durable queue after a restart. - - - amq_queue_36 - The server MUST support both durable and transient queues. - - - amq_queue_37 - The server MUST ignore the durable field if the queue already - exists. - - - - request an exclusive queue - - Exclusive queues may only be consumed from by the current connection. - Setting the 'exclusive' flag always implies 'auto-delete'. - - - amq_queue_38 - The server MUST support both exclusive (private) and non-exclusive - (shared) queues. - - - amq_queue_04 - The server MUST raise a channel exception if 'exclusive' is specified - and the queue already exists and is owned by a different connection. - - - - auto-delete queue when unused - - If set, the queue is deleted when all consumers have finished - using it. Last consumer can be cancelled either explicitly or because - its channel is closed. If there was no consumer ever on the queue, it - won't be deleted. - - - amq_queue_02 - The server SHOULD allow for a reasonable delay between the point - when it determines that a queue is not being used (or no longer - used), and the point when it deletes the queue. At the least it - must allow a client to create a queue and then create a consumer - to read from it, with a small but non-zero delay between these - two actions. The server should equally allow for clients that may - be disconnected prematurely, and wish to re-consume from the same - queue without losing messages. We would recommend a configurable - timeout, with a suitable default value being one minute. - - - amq_queue_31 - The server MUST ignore the auto-delete field if the queue already - exists. - - - - do not send a reply method - - If set, the server will not respond to the method. The client should - not wait for a reply method. If the server could not complete the - method it will raise a channel or connection exception. - - - - - arguments for declaration - - A set of arguments for the declaration. The syntax and semantics - of these arguments depends on the server implementation. This - field is ignored if passive is 1. - - - - - confirms a queue definition - - This method confirms a Declare method and confirms the name of the - queue, essential for automatically-named queues. - - - - - Reports the name of the queue. If the server generated a queue - name, this field contains that name. - - - - - number of messages in queue - - Reports the number of messages in the queue, which will be zero - for newly-created queues. - - - - number of consumers - - Reports the number of active consumers for the queue. Note that - consumers can suspend activity (Channel.Flow) in which case they - do not appear in this count. - - - - - - bind queue to an exchange - - This method binds a queue to an exchange. Until a queue is - bound it will not receive any messages. In a classic messaging - model, store-and-forward queues are bound to a dest exchange - and subscription queues are bound to a dest_wild exchange. - - - amq_queue_25 - A server MUST allow ignore duplicate bindings - that is, two or - more bind methods for a specific queue, with identical arguments - - without treating these as an error. - - - amq_queue_39 - If a bind fails, the server MUST raise a connection exception. - - - amq_queue_12 - The server MUST NOT allow a durable queue to bind to a transient - exchange. If the client attempts this the server MUST raise a - channel exception. - - - amq_queue_13 - Bindings for durable queues are automatically durable and the - server SHOULD restore such bindings after a server restart. - - - amq_queue_17 - If the client attempts to an exchange that was declared as internal, - the server MUST raise a connection exception with reply code 530 - (not allowed). - - - amq_queue_40 - The server SHOULD support at least 4 bindings per queue, and - ideally, impose no limit except as defined by available resources. - - - - - - The client provides a valid access ticket giving "active" - access rights to the queue's access realm. - - - - - - Specifies the name of the queue to bind. If the queue name is - empty, refers to the current queue for the channel, which is - the last declared queue. - - - If the client did not previously declare a queue, and the queue - name in this method is empty, the server MUST raise a connection - exception with reply code 530 (not allowed). - - - If the queue does not exist the server MUST raise a channel exception - with reply code 404 (not found). - - - - - The name of the exchange to bind to. - - amq_queue_14 - If the exchange does not exist the server MUST raise a channel - exception with reply code 404 (not found). - - - - message routing key - - Specifies the routing key for the binding. The routing key is - used for routing messages depending on the exchange configuration. - Not all exchanges use a routing key - refer to the specific - exchange documentation. If the routing key is empty and the queue - name is empty, the routing key will be the current queue for the - channel, which is the last declared queue. - - - - - do not send a reply method - - If set, the server will not respond to the method. The client should - not wait for a reply method. If the server could not complete the - method it will raise a channel or connection exception. - - - - - arguments for binding - - A set of arguments for the binding. The syntax and semantics of - these arguments depends on the exchange class. - - - - - confirm bind successful - - This method confirms that the bind was successful. - - - - - - purge a queue - - This method removes all messages from a queue. It does not cancel - consumers. Purged messages are deleted without any formal "undo" - mechanism. - - - amq_queue_15 - A call to purge MUST result in an empty queue. - - - amq_queue_41 - On transacted channels the server MUST not purge messages that have - already been sent to a client but not yet acknowledged. - - - amq_queue_42 - The server MAY implement a purge queue or log that allows system - administrators to recover accidentally-purged messages. The server - SHOULD NOT keep purged messages in the same storage spaces as the - live messages since the volumes of purged messages may get very - large. - - - - - - The access ticket must be for the access realm that holds the - queue. - - - The client MUST provide a valid access ticket giving "read" access - rights to the queue's access realm. Note that purging a queue is - equivalent to reading all messages and discarding them. - - - - - Specifies the name of the queue to purge. If the queue name is - empty, refers to the current queue for the channel, which is - the last declared queue. - - - If the client did not previously declare a queue, and the queue - name in this method is empty, the server MUST raise a connection - exception with reply code 530 (not allowed). - - - The queue must exist. Attempting to purge a non-existing queue - causes a channel exception. - - - - - do not send a reply method - - If set, the server will not respond to the method. The client should - not wait for a reply method. If the server could not complete the - method it will raise a channel or connection exception. - - - - - confirms a queue purge - - This method confirms the purge of a queue. - - - - number of messages purged - - Reports the number of messages purged. - - - - - - delete a queue - - This method deletes a queue. When a queue is deleted any pending - messages are sent to a dead-letter queue if this is defined in the - server configuration, and all consumers on the queue are cancelled. - - - amq_queue_43 - The server SHOULD use a dead-letter queue to hold messages that - were pending on a deleted queue, and MAY provide facilities for - a system administrator to move these messages back to an active - queue. - - - - - - The client provides a valid access ticket giving "active" - access rights to the queue's access realm. - - - - - - Specifies the name of the queue to delete. If the queue name is - empty, refers to the current queue for the channel, which is the - last declared queue. - - - If the client did not previously declare a queue, and the queue - name in this method is empty, the server MUST raise a connection - exception with reply code 530 (not allowed). - - - The queue must exist. Attempting to delete a non-existing queue - causes a channel exception. - - - - - delete only if unused - - If set, the server will only delete the queue if it has no - consumers. If the queue has consumers the server does does not - delete it but raises a channel exception instead. - - - amq_queue_29 - amq_queue_30 - The server MUST respect the if-unused flag when deleting a queue. - - - - delete only if empty - amq_queue_27 - - If set, the server will only delete the queue if it has no - messages. If the queue is not empty the server raises a channel - exception. - - - - do not send a reply method - - If set, the server will not respond to the method. The client should - not wait for a reply method. If the server could not complete the - method it will raise a channel or connection exception. - - - - - - confirm deletion of a queue - - This method confirms the deletion of a queue. - - - - number of messages purged - - Reports the number of messages purged. - - - - - - - work with basic content - - The Basic class provides methods that support an industry-standard - messaging model. - - - - basic = C:QOS S:QOS-OK - / C:CONSUME S:CONSUME-OK - / C:CANCEL S:CANCEL-OK - / C:PUBLISH content - / S:RETURN content - / S:DELIVER content - / C:GET ( S:GET-OK content / S:GET-EMPTY ) - / C:ACK - / C:REJECT - - - - - - - The server SHOULD respect the persistent property of basic messages - and SHOULD make a best-effort to hold persistent basic messages on a - reliable storage mechanism. - - - The server MUST NOT discard a persistent basic message in case of a - queue overflow. The server MAY use the Channel.Flow method to slow - or stop a basic message publisher when necessary. - - - The server MAY overflow non-persistent basic messages to persistent - storage and MAY discard or dead-letter non-persistent basic messages - on a priority basis if the queue size exceeds some configured limit. - - - The server MUST implement at least 2 priority levels for basic - messages, where priorities 0-4 and 5-9 are treated as two distinct - levels. The server MAY implement up to 10 priority levels. - - - The server MUST deliver messages of the same priority in order - irrespective of their individual persistence. - - - The server MUST support both automatic and explicit acknowledgements - on Basic content. - - - - - - MIME content type - - - MIME content encoding - - - Message header field table - - - Non-persistent (1) or persistent (2) - - - The message priority, 0 to 9 - - - The application correlation identifier - - - The destination to reply to - - - Message expiration specification - - - The application message identifier - - - The message timestamp - - - The message type name - - - The creating user id - - - The creating application id - - - Intra-cluster routing identifier - - - - - - - specify quality of service - - This method requests a specific quality of service. The QoS can - be specified for the current channel or for all channels on the - connection. The particular properties and semantics of a qos method - always depend on the content class semantics. Though the qos method - could in principle apply to both peers, it is currently meaningful - only for the server. - - - - - - prefetch window in octets - - The client can request that messages be sent in advance so that - when the client finishes processing a message, the following - message is already held locally, rather than needing to be sent - down the channel. Prefetching gives a performance improvement. - This field specifies the prefetch window size in octets. The - server will send a message in advance if it is equal to or - smaller in size than the available prefetch size (and also falls - into other prefetch limits). May be set to zero, meaning "no - specific limit", although other prefetch limits may still apply. - The prefetch-size is ignored if the no-ack option is set. - - - The server MUST ignore this setting when the client is not - processing any messages - i.e. the prefetch size does not limit - the transfer of single messages to a client, only the sending in - advance of more messages while the client still has one or more - unacknowledged messages. - - - - - prefetch window in messages - - Specifies a prefetch window in terms of whole messages. This - field may be used in combination with the prefetch-size field; - a message will only be sent in advance if both prefetch windows - (and those at the channel and connection level) allow it. - The prefetch-count is ignored if the no-ack option is set. - - - The server MAY send less data in advance than allowed by the - client's specified prefetch windows but it MUST NOT send more. - - - - - apply to entire connection - - By default the QoS settings apply to the current channel only. If - this field is set, they are applied to the entire connection. - - - - - - confirm the requested qos - - This method tells the client that the requested QoS levels could - be handled by the server. The requested QoS applies to all active - consumers until a new QoS is defined. - - - - - - - - start a queue consumer - - This method asks the server to start a "consumer", which is a - transient request for messages from a specific queue. Consumers - last as long as the channel they were created on, or until the - client cancels them. - - - The server SHOULD support at least 16 consumers per queue, unless - the queue was declared as private, and ideally, impose no limit - except as defined by available resources. - - - - - - - The client MUST provide a valid access ticket giving "read" access - rights to the realm for the queue. - - - - - - Specifies the name of the queue to consume from. If the queue name - is null, refers to the current queue for the channel, which is the - last declared queue. - - - If the client did not previously declare a queue, and the queue name - in this method is empty, the server MUST raise a connection exception - with reply code 530 (not allowed). - - - - - - Specifies the identifier for the consumer. The consumer tag is - local to a connection, so two clients can use the same consumer - tags. If this field is empty the server will generate a unique - tag. - - - The tag MUST NOT refer to an existing consumer. If the client - attempts to create two consumers with the same non-empty tag - the server MUST raise a connection exception with reply code - 530 (not allowed). - - - - - - - - - request exclusive access - - Request exclusive consumer access, meaning only this consumer can - access the queue. - - - If the server cannot grant exclusive access to the queue when asked, - - because there are other consumers active - it MUST raise a channel - exception with return code 403 (access refused). - - - - - do not send a reply method - - If set, the server will not respond to the method. The client should - not wait for a reply method. If the server could not complete the - method it will raise a channel or connection exception. - - - - - - A set of arguments for the consume. The syntax and semantics - of these arguments depends on the server implementation. This - field is ignored if passive is 1. - - - - - - confirm a new consumer - - The server provides the client with a consumer tag, which is used - by the client for methods called on the consumer at a later stage. - - - - - - Holds the consumer tag specified by the client or provided by - the server. - - - - - - - - - end a queue consumer - - This method cancels a consumer. This does not affect already - delivered messages, but it does mean the server will not send any - more messages for that consumer. The client may receive an - abitrary number of messages in between sending the cancel method - and receiving the cancel-ok reply. - - - If the queue no longer exists when the client sends a cancel command, - or the consumer has been cancelled for other reasons, this command - has no effect. - - - - - - - - do not send a reply method - - If set, the server will not respond to the method. The client should - not wait for a reply method. If the server could not complete the - method it will raise a channel or connection exception. - - - - - - confirm a cancelled consumer - - This method confirms that the cancellation was completed. - - - - - - - - - - - publish a message - - This method publishes a message to a specific exchange. The message - will be routed to queues as defined by the exchange configuration - and distributed to any active consumers when the transaction, if any, - is committed. - - - - - - The client MUST provide a valid access ticket giving "write" - access rights to the access realm for the exchange. - - - - - - Specifies the name of the exchange to publish to. The exchange - name can be empty, meaning the default exchange. If the exchange - name is specified, and that exchange does not exist, the server - will raise a channel exception. - - - The server MUST accept a blank exchange name to mean the default - exchange. - - - If the exchange was declared as an internal exchange, the server - MUST raise a channel exception with a reply code 403 (access - refused). - - - The exchange MAY refuse basic content in which case it MUST raise - a channel exception with reply code 540 (not implemented). - - - - - Message routing key - - Specifies the routing key for the message. The routing key is - used for routing messages depending on the exchange configuration. - - - - - indicate mandatory routing - - This flag tells the server how to react if the message cannot be - routed to a queue. If this flag is set, the server will return an - unroutable message with a Return method. If this flag is zero, the - server silently drops the message. - - - The server SHOULD implement the mandatory flag. - - - - - request immediate delivery - - This flag tells the server how to react if the message cannot be - routed to a queue consumer immediately. If this flag is set, the - server will return an undeliverable message with a Return method. - If this flag is zero, the server will queue the message, but with - no guarantee that it will ever be consumed. - - - The server SHOULD implement the immediate flag. - - - - - - return a failed message - - This method returns an undeliverable message that was published - with the "immediate" flag set, or an unroutable message published - with the "mandatory" flag set. The reply code and text provide - information about the reason that the message was undeliverable. - - - - - - - - - Specifies the name of the exchange that the message was - originally published to. - - - - - Message routing key - - Specifies the routing key name specified when the message was - published. - - - - - - - - - notify the client of a consumer message - - This method delivers a message to the client, via a consumer. In - the asynchronous message delivery model, the client starts a - consumer using the Consume method, then the server responds with - Deliver methods as and when messages arrive for that consumer. - - - The server SHOULD track the number of times a message has been - delivered to clients and when a message is redelivered a certain - number of times - e.g. 5 times - without being acknowledged, the - server SHOULD consider the message to be unprocessable (possibly - causing client applications to abort), and move the message to a - dead letter queue. - - - - - - - - - - - - Specifies the name of the exchange that the message was - originally published to. - - - - - Message routing key - - Specifies the routing key name specified when the message was - published. - - - - - - - - - direct access to a queue - - This method provides a direct access to the messages in a queue - using a synchronous dialogue that is designed for specific types of - application where synchronous functionality is more important than - performance. - - - - - - - - The client MUST provide a valid access ticket giving "read" - access rights to the realm for the queue. - - - - - - Specifies the name of the queue to consume from. If the queue name - is null, refers to the current queue for the channel, which is the - last declared queue. - - - If the client did not previously declare a queue, and the queue name - in this method is empty, the server MUST raise a connection exception - with reply code 530 (not allowed). - - - - - - - - provide client with a message - - This method delivers a message to the client following a get - method. A message delivered by 'get-ok' must be acknowledged - unless the no-ack option was set in the get method. - - - - - - - - - - Specifies the name of the exchange that the message was originally - published to. If empty, the message was published to the default - exchange. - - - - - Message routing key - - Specifies the routing key name specified when the message was - published. - - - - - number of messages pending - - This field reports the number of messages pending on the queue, - excluding the message being delivered. Note that this figure is - indicative, not reliable, and can change arbitrarily as messages - are added to the queue and removed by other clients. - - - - - - - indicate no messages available - - This method tells the client that the queue has no messages - available for the client. - - - - - Cluster id - - For use by cluster applications, should not be used by - client applications. - - - - - - - - acknowledge one or more messages - - This method acknowledges one or more messages delivered via the - Deliver or Get-Ok methods. The client can ask to confirm a - single message or a set of messages up to and including a specific - message. - - - - - - acknowledge multiple messages - - If set to 1, the delivery tag is treated as "up to and including", - so that the client can acknowledge multiple messages with a single - method. If set to zero, the delivery tag refers to a single - message. If the multiple field is 1, and the delivery tag is zero, - tells the server to acknowledge all outstanding mesages. - - - The server MUST validate that a non-zero delivery-tag refers to an - delivered message, and raise a channel exception if this is not the - case. - - - - - - - - reject an incoming message - - This method allows a client to reject a message. It can be used to - interrupt and cancel large incoming messages, or return untreatable - messages to their original queue. - - - The server SHOULD be capable of accepting and process the Reject - method while sending message content with a Deliver or Get-Ok - method. I.e. the server should read and process incoming methods - while sending output frames. To cancel a partially-send content, - the server sends a content body frame of size 1 (i.e. with no data - except the frame-end octet). - - - The server SHOULD interpret this method as meaning that the client - is unable to process the message at this time. - - - A client MUST NOT use this method as a means of selecting messages - to process. A rejected message MAY be discarded or dead-lettered, - not necessarily passed to another client. - - - - - - - requeue the message - - If this field is zero, the message will be discarded. If this bit - is 1, the server will attempt to requeue the message. - - - The server MUST NOT deliver the message to the same client within - the context of the current channel. The recommended strategy is - to attempt to deliver the message to an alternative consumer, and - if that is not possible, to move the message to a dead-letter - queue. The server MAY use more sophisticated tracking to hold - the message on the queue and redeliver it to the same client at - a later stage. - - - - - - redeliver unacknowledged messages - - This method asks the broker to redeliver all unacknowledged messages on a - specified channel. Zero or more messages may be redelivered. This method - is only allowed on non-transacted channels. - - - - - requeue the message - - If this field is zero, the message will be redelivered to the original - recipient. If this bit is 1, the server will attempt to requeue the - message, potentially then delivering it to an alternative subscriber. - - - - The server MUST set the redelivered flag on all messages that are resent. - - - The server MUST raise a channel exception if this is called on a - transacted channel. - - - - - confirm a successful recover - - This method confirms to the client that the recover succeeded. - Note that if an recover fails, the server raises a channel exception. - - - - - - - - - - work with file content - - The file class provides methods that support reliable file transfer. - File messages have a specific set of properties that are required for - interoperability with file transfer applications. File messages and - acknowledgements are subject to channel transactions. Note that the - file class does not provide message browsing methods; these are not - compatible with the staging model. Applications that need browsable - file transfer should use Basic content and the Basic class. - - - - file = C:QOS S:QOS-OK - / C:CONSUME S:CONSUME-OK - / C:CANCEL S:CANCEL-OK - / C:OPEN S:OPEN-OK C:STAGE content - / S:OPEN C:OPEN-OK S:STAGE content - / C:PUBLISH - / S:DELIVER - / S:RETURN - / C:ACK - / C:REJECT - - - - - - - The server MUST make a best-effort to hold file messages on a - reliable storage mechanism. - - - The server MUST NOT discard a file message in case of a queue - overflow. The server MUST use the Channel.Flow method to slow or stop - a file message publisher when necessary. - - - The server MUST implement at least 2 priority levels for file - messages, where priorities 0-4 and 5-9 are treated as two distinct - levels. The server MAY implement up to 10 priority levels. - - - The server MUST support both automatic and explicit acknowledgements - on file content. - - - - - - MIME content type - - - MIME content encoding - - - Message header field table - - - The message priority, 0 to 9 - - - The destination to reply to - - - The application message identifier - - - The message filename - - - The message timestamp - - - Intra-cluster routing identifier - - - - - - - specify quality of service - - This method requests a specific quality of service. The QoS can - be specified for the current channel or for all channels on the - connection. The particular properties and semantics of a qos method - always depend on the content class semantics. Though the qos method - could in principle apply to both peers, it is currently meaningful - only for the server. - - - - - - prefetch window in octets - - The client can request that messages be sent in advance so that - when the client finishes processing a message, the following - message is already held locally, rather than needing to be sent - down the channel. Prefetching gives a performance improvement. - This field specifies the prefetch window size in octets. May be - set to zero, meaning "no specific limit". Note that other - prefetch limits may still apply. The prefetch-size is ignored - if the no-ack option is set. - - - - - prefetch window in messages - - Specifies a prefetch window in terms of whole messages. This - is compatible with some file API implementations. This field - may be used in combination with the prefetch-size field; a - message will only be sent in advance if both prefetch windows - (and those at the channel and connection level) allow it. - The prefetch-count is ignored if the no-ack option is set. - - - The server MAY send less data in advance than allowed by the - client's specified prefetch windows but it MUST NOT send more. - - - - - apply to entire connection - - By default the QoS settings apply to the current channel only. If - this field is set, they are applied to the entire connection. - - - - - - confirm the requested qos - - This method tells the client that the requested QoS levels could - be handled by the server. The requested QoS applies to all active - consumers until a new QoS is defined. - - - - - - - - start a queue consumer - - This method asks the server to start a "consumer", which is a - transient request for messages from a specific queue. Consumers - last as long as the channel they were created on, or until the - client cancels them. - - - The server SHOULD support at least 16 consumers per queue, unless - the queue was declared as private, and ideally, impose no limit - except as defined by available resources. - - - - - - - The client MUST provide a valid access ticket giving "read" access - rights to the realm for the queue. - - - - - - Specifies the name of the queue to consume from. If the queue name - is null, refers to the current queue for the channel, which is the - last declared queue. - - - If the client did not previously declare a queue, and the queue name - in this method is empty, the server MUST raise a connection exception - with reply code 530 (not allowed). - - - - - - Specifies the identifier for the consumer. The consumer tag is - local to a connection, so two clients can use the same consumer - tags. If this field is empty the server will generate a unique - tag. - - - The tag MUST NOT refer to an existing consumer. If the client - attempts to create two consumers with the same non-empty tag - the server MUST raise a connection exception with reply code - 530 (not allowed). - - - - - - - - - request exclusive access - - Request exclusive consumer access, meaning only this consumer can - access the queue. - - - If the server cannot grant exclusive access to the queue when asked, - - because there are other consumers active - it MUST raise a channel - exception with return code 405 (resource locked). - - - - - do not send a reply method - - If set, the server will not respond to the method. The client should - not wait for a reply method. If the server could not complete the - method it will raise a channel or connection exception. - - - - - - confirm a new consumer - - This method provides the client with a consumer tag which it MUST - use in methods that work with the consumer. - - - - - - Holds the consumer tag specified by the client or provided by - the server. - - - - - - - - - end a queue consumer - - This method cancels a consumer. This does not affect already - delivered messages, but it does mean the server will not send any - more messages for that consumer. - - - - - - - - do not send a reply method - - If set, the server will not respond to the method. The client should - not wait for a reply method. If the server could not complete the - method it will raise a channel or connection exception. - - - - - - confirm a cancelled consumer - - This method confirms that the cancellation was completed. - - - - - - - - - - - request to start staging - - This method requests permission to start staging a message. Staging - means sending the message into a temporary area at the recipient end - and then delivering the message by referring to this temporary area. - Staging is how the protocol handles partial file transfers - if a - message is partially staged and the connection breaks, the next time - the sender starts to stage it, it can restart from where it left off. - - - - - - - staging identifier - - This is the staging identifier. This is an arbitrary string chosen - by the sender. For staging to work correctly the sender must use - the same staging identifier when staging the same message a second - time after recovery from a failure. A good choice for the staging - identifier would be the SHA1 hash of the message properties data - (including the original filename, revised time, etc.). - - - - - message content size - - The size of the content in octets. The recipient may use this - information to allocate or check available space in advance, to - avoid "disk full" errors during staging of very large messages. - - - The sender MUST accurately fill the content-size field. - Zero-length content is permitted. - - - - - - confirm staging ready - - This method confirms that the recipient is ready to accept staged - data. If the message was already partially-staged at a previous - time the recipient will report the number of octets already staged. - - - - - - - already staged amount - - The amount of previously-staged content in octets. For a new - message this will be zero. - - - The sender MUST start sending data from this octet offset in the - message, counting from zero. - - - The recipient MAY decide how long to hold partially-staged content - and MAY implement staging by always discarding partially-staged - content. However if it uses the file content type it MUST support - the staging methods. - - - - - - - - stage message content - - This method stages the message, sending the message content to the - recipient from the octet offset specified in the Open-Ok method. - - - - - - - - - - publish a message - - This method publishes a staged file message to a specific exchange. - The file message will be routed to queues as defined by the exchange - configuration and distributed to any active consumers when the - transaction, if any, is committed. - - - - - - The client MUST provide a valid access ticket giving "write" - access rights to the access realm for the exchange. - - - - - - Specifies the name of the exchange to publish to. The exchange - name can be empty, meaning the default exchange. If the exchange - name is specified, and that exchange does not exist, the server - will raise a channel exception. - - - The server MUST accept a blank exchange name to mean the default - exchange. - - - If the exchange was declared as an internal exchange, the server - MUST respond with a reply code 403 (access refused) and raise a - channel exception. - - - The exchange MAY refuse file content in which case it MUST respond - with a reply code 540 (not implemented) and raise a channel - exception. - - - - - Message routing key - - Specifies the routing key for the message. The routing key is - used for routing messages depending on the exchange configuration. - - - - - indicate mandatory routing - - This flag tells the server how to react if the message cannot be - routed to a queue. If this flag is set, the server will return an - unroutable message with a Return method. If this flag is zero, the - server silently drops the message. - - - The server SHOULD implement the mandatory flag. - - - - - request immediate delivery - - This flag tells the server how to react if the message cannot be - routed to a queue consumer immediately. If this flag is set, the - server will return an undeliverable message with a Return method. - If this flag is zero, the server will queue the message, but with - no guarantee that it will ever be consumed. - - - The server SHOULD implement the immediate flag. - - - - - staging identifier - - This is the staging identifier of the message to publish. The - message must have been staged. Note that a client can send the - Publish method asynchronously without waiting for staging to - finish. - - - - - - return a failed message - - This method returns an undeliverable message that was published - with the "immediate" flag set, or an unroutable message published - with the "mandatory" flag set. The reply code and text provide - information about the reason that the message was undeliverable. - - - - - - - - - Specifies the name of the exchange that the message was - originally published to. - - - - - Message routing key - - Specifies the routing key name specified when the message was - published. - - - - - - - - - notify the client of a consumer message - - This method delivers a staged file message to the client, via a - consumer. In the asynchronous message delivery model, the client - starts a consumer using the Consume method, then the server - responds with Deliver methods as and when messages arrive for - that consumer. - - - The server SHOULD track the number of times a message has been - delivered to clients and when a message is redelivered a certain - number of times - e.g. 5 times - without being acknowledged, the - server SHOULD consider the message to be unprocessable (possibly - causing client applications to abort), and move the message to a - dead letter queue. - - - - - - - - - - - - Specifies the name of the exchange that the message was originally - published to. - - - - - Message routing key - - Specifies the routing key name specified when the message was - published. - - - - - staging identifier - - This is the staging identifier of the message to deliver. The - message must have been staged. Note that a server can send the - Deliver method asynchronously without waiting for staging to - finish. - - - - - - - - - acknowledge one or more messages - - This method acknowledges one or more messages delivered via the - Deliver method. The client can ask to confirm a single message or - a set of messages up to and including a specific message. - - - - - - acknowledge multiple messages - - If set to 1, the delivery tag is treated as "up to and including", - so that the client can acknowledge multiple messages with a single - method. If set to zero, the delivery tag refers to a single - message. If the multiple field is 1, and the delivery tag is zero, - tells the server to acknowledge all outstanding mesages. - - - The server MUST validate that a non-zero delivery-tag refers to an - delivered message, and raise a channel exception if this is not the - case. - - - - - - - - - reject an incoming message - - This method allows a client to reject a message. It can be used to - return untreatable messages to their original queue. Note that file - content is staged before delivery, so the client will not use this - method to interrupt delivery of a large message. - - - The server SHOULD interpret this method as meaning that the client - is unable to process the message at this time. - - - A client MUST NOT use this method as a means of selecting messages - to process. A rejected message MAY be discarded or dead-lettered, - not necessarily passed to another client. - - - - - - - requeue the message - - If this field is zero, the message will be discarded. If this bit - is 1, the server will attempt to requeue the message. - - - The server MUST NOT deliver the message to the same client within - the context of the current channel. The recommended strategy is - to attempt to deliver the message to an alternative consumer, and - if that is not possible, to move the message to a dead-letter - queue. The server MAY use more sophisticated tracking to hold - the message on the queue and redeliver it to the same client at - a later stage. - - - - - - - - - work with streaming content - - - The stream class provides methods that support multimedia streaming. - The stream class uses the following semantics: one message is one - packet of data; delivery is unacknowleged and unreliable; the consumer - can specify quality of service parameters that the server can try to - adhere to; lower-priority messages may be discarded in favour of high - priority messages. - - - - stream = C:QOS S:QOS-OK - / C:CONSUME S:CONSUME-OK - / C:CANCEL S:CANCEL-OK - / C:PUBLISH content - / S:RETURN - / S:DELIVER content - - - - - - - The server SHOULD discard stream messages on a priority basis if - the queue size exceeds some configured limit. - - - The server MUST implement at least 2 priority levels for stream - messages, where priorities 0-4 and 5-9 are treated as two distinct - levels. The server MAY implement up to 10 priority levels. - - - The server MUST implement automatic acknowledgements on stream - content. That is, as soon as a message is delivered to a client - via a Deliver method, the server must remove it from the queue. - - - - - - - MIME content type - - - MIME content encoding - - - Message header field table - - - The message priority, 0 to 9 - - - The message timestamp - - - - - - - specify quality of service - - This method requests a specific quality of service. The QoS can - be specified for the current channel or for all channels on the - connection. The particular properties and semantics of a qos method - always depend on the content class semantics. Though the qos method - could in principle apply to both peers, it is currently meaningful - only for the server. - - - - - - prefetch window in octets - - The client can request that messages be sent in advance so that - when the client finishes processing a message, the following - message is already held locally, rather than needing to be sent - down the channel. Prefetching gives a performance improvement. - This field specifies the prefetch window size in octets. May be - set to zero, meaning "no specific limit". Note that other - prefetch limits may still apply. - - - - - prefetch window in messages - - Specifies a prefetch window in terms of whole messages. This - field may be used in combination with the prefetch-size field; - a message will only be sent in advance if both prefetch windows - (and those at the channel and connection level) allow it. - - - - - transfer rate in octets/second - - Specifies a desired transfer rate in octets per second. This is - usually determined by the application that uses the streaming - data. A value of zero means "no limit", i.e. as rapidly as - possible. - - - The server MAY ignore the prefetch values and consume rates, - depending on the type of stream and the ability of the server - to queue and/or reply it. The server MAY drop low-priority - messages in favour of high-priority messages. - - - - - apply to entire connection - - By default the QoS settings apply to the current channel only. If - this field is set, they are applied to the entire connection. - - - - - - confirm the requested qos - - This method tells the client that the requested QoS levels could - be handled by the server. The requested QoS applies to all active - consumers until a new QoS is defined. - - - - - - - - start a queue consumer - - This method asks the server to start a "consumer", which is a - transient request for messages from a specific queue. Consumers - last as long as the channel they were created on, or until the - client cancels them. - - - The server SHOULD support at least 16 consumers per queue, unless - the queue was declared as private, and ideally, impose no limit - except as defined by available resources. - - - Streaming applications SHOULD use different channels to select - different streaming resolutions. AMQP makes no provision for - filtering and/or transforming streams except on the basis of - priority-based selective delivery of individual messages. - - - - - - - The client MUST provide a valid access ticket giving "read" access - rights to the realm for the queue. - - - - - - Specifies the name of the queue to consume from. If the queue name - is null, refers to the current queue for the channel, which is the - last declared queue. - - - If the client did not previously declare a queue, and the queue name - in this method is empty, the server MUST raise a connection exception - with reply code 530 (not allowed). - - - - - - Specifies the identifier for the consumer. The consumer tag is - local to a connection, so two clients can use the same consumer - tags. If this field is empty the server will generate a unique - tag. - - - The tag MUST NOT refer to an existing consumer. If the client - attempts to create two consumers with the same non-empty tag - the server MUST raise a connection exception with reply code - 530 (not allowed). - - - - - - - request exclusive access - - Request exclusive consumer access, meaning only this consumer can - access the queue. - - - If the server cannot grant exclusive access to the queue when asked, - - because there are other consumers active - it MUST raise a channel - exception with return code 405 (resource locked). - - - - - do not send a reply method - - If set, the server will not respond to the method. The client should - not wait for a reply method. If the server could not complete the - method it will raise a channel or connection exception. - - - - - - - confirm a new consumer - - This method provides the client with a consumer tag which it may - use in methods that work with the consumer. - - - - - - Holds the consumer tag specified by the client or provided by - the server. - - - - - - - - end a queue consumer - - This method cancels a consumer. Since message delivery is - asynchronous the client may continue to receive messages for - a short while after canceling a consumer. It may process or - discard these as appropriate. - - - - - - - - do not send a reply method - - If set, the server will not respond to the method. The client should - not wait for a reply method. If the server could not complete the - method it will raise a channel or connection exception. - - - - - - confirm a cancelled consumer - - This method confirms that the cancellation was completed. - - - - - - - - - - - publish a message - - This method publishes a message to a specific exchange. The message - will be routed to queues as defined by the exchange configuration - and distributed to any active consumers as appropriate. - - - - - - The client MUST provide a valid access ticket giving "write" - access rights to the access realm for the exchange. - - - - - - Specifies the name of the exchange to publish to. The exchange - name can be empty, meaning the default exchange. If the exchange - name is specified, and that exchange does not exist, the server - will raise a channel exception. - - - The server MUST accept a blank exchange name to mean the default - exchange. - - - If the exchange was declared as an internal exchange, the server - MUST respond with a reply code 403 (access refused) and raise a - channel exception. - - - The exchange MAY refuse stream content in which case it MUST - respond with a reply code 540 (not implemented) and raise a - channel exception. - - - - - Message routing key - - Specifies the routing key for the message. The routing key is - used for routing messages depending on the exchange configuration. - - - - - indicate mandatory routing - - This flag tells the server how to react if the message cannot be - routed to a queue. If this flag is set, the server will return an - unroutable message with a Return method. If this flag is zero, the - server silently drops the message. - - - The server SHOULD implement the mandatory flag. - - - - - request immediate delivery - - This flag tells the server how to react if the message cannot be - routed to a queue consumer immediately. If this flag is set, the - server will return an undeliverable message with a Return method. - If this flag is zero, the server will queue the message, but with - no guarantee that it will ever be consumed. - - - The server SHOULD implement the immediate flag. - - - - - - return a failed message - - This method returns an undeliverable message that was published - with the "immediate" flag set, or an unroutable message published - with the "mandatory" flag set. The reply code and text provide - information about the reason that the message was undeliverable. - - - - - - - - - Specifies the name of the exchange that the message was - originally published to. - - - - - Message routing key - - Specifies the routing key name specified when the message was - published. - - - - - - - - - notify the client of a consumer message - - This method delivers a message to the client, via a consumer. In - the asynchronous message delivery model, the client starts a - consumer using the Consume method, then the server responds with - Deliver methods as and when messages arrive for that consumer. - - - - - - - - - - Specifies the name of the exchange that the message was originally - published to. - - - - - - Specifies the name of the queue that the message came from. Note - that a single channel can start many consumers on different - queues. - - - - - - - - - work with standard transactions - - - Standard transactions provide so-called "1.5 phase commit". We can - ensure that work is never lost, but there is a chance of confirmations - being lost, so that messages may be resent. Applications that use - standard transactions must be able to detect and ignore duplicate - messages. - - - An client using standard transactions SHOULD be able to track all - messages received within a reasonable period, and thus detect and - reject duplicates of the same message. It SHOULD NOT pass these to - the application layer. - - - tx = C:SELECT S:SELECT-OK - / C:COMMIT S:COMMIT-OK - / C:ROLLBACK S:ROLLBACK-OK - - - - - -select standard transaction mode - - This method sets the channel to use standard transactions. The - client must use this method at least once on a channel before - using the Commit or Rollback methods. - - - - - -confirm transaction mode - - This method confirms to the client that the channel was successfully - set to use standard transactions. - - - - - -commit the current transaction - - This method commits all messages published and acknowledged in - the current transaction. A new transaction starts immediately - after a commit. - - - - - -confirm a successful commit - - This method confirms to the client that the commit succeeded. - Note that if a commit fails, the server raises a channel exception. - - - - - -abandon the current transaction - - This method abandons all messages published and acknowledged in - the current transaction. A new transaction starts immediately - after a rollback. - - - - - -confirm a successful rollback - - This method confirms to the client that the rollback succeeded. - Note that if an rollback fails, the server raises a channel exception. - - - - - - - work with distributed transactions - - - Distributed transactions provide so-called "2-phase commit". The - AMQP distributed transaction model supports the X-Open XA - architecture and other distributed transaction implementations. - The Dtx class assumes that the server has a private communications - channel (not AMQP) to a distributed transaction coordinator. - - - dtx = C:SELECT S:SELECT-OK - C:START S:START-OK - - - - - -select standard transaction mode - - This method sets the channel to use distributed transactions. The - client must use this method at least once on a channel before - using the Start method. - - - - - -confirm transaction mode - - This method confirms to the client that the channel was successfully - set to use distributed transactions. - - - - - - start a new distributed transaction - - This method starts a new distributed transaction. This must be - the first method on a new channel that uses the distributed - transaction mode, before any methods that publish or consume - messages. - - - - - transaction identifier - - The distributed transaction key. This identifies the transaction - so that the AMQP server can coordinate with the distributed - transaction coordinator. - - - - - - confirm the start of a new distributed transaction - - This method confirms to the client that the transaction started. - Note that if a start fails, the server raises a channel exception. - - - - - - - methods for protocol tunneling. - - - The tunnel methods are used to send blocks of binary data - which - can be serialised AMQP methods or other protocol frames - between - AMQP peers. - - - tunnel = C:REQUEST - / S:REQUEST - - - - - Message header field table - - - The identity of the tunnelling proxy - - - The name or type of the message being tunnelled - - - The message durability indicator - - - The message broadcast mode - - - - sends a tunnelled method - - This method tunnels a block of binary data, which can be an - encoded AMQP method or other data. The binary data is sent - as the content for the Tunnel.Request method. - - - - meta data for the tunnelled block - - This field table holds arbitrary meta-data that the sender needs - to pass to the recipient. - - - - - - - test functional primitives of the implementation - - - The test class provides methods for a peer to test the basic - operational correctness of another peer. The test methods are - intended to ensure that all peers respect at least the basic - elements of the protocol, such as frame and content organisation - and field types. We assume that a specially-designed peer, a - "monitor client" would perform such tests. - - - test = C:INTEGER S:INTEGER-OK - / S:INTEGER C:INTEGER-OK - / C:STRING S:STRING-OK - / S:STRING C:STRING-OK - / C:TABLE S:TABLE-OK - / S:TABLE C:TABLE-OK - / C:CONTENT S:CONTENT-OK - / S:CONTENT C:CONTENT-OK - - - - - - test integer handling - - This method tests the peer's capability to correctly marshal integer - data. - - - - - - octet test value - - An octet integer test value. - - - - short test value - - A short integer test value. - - - - long test value - - A long integer test value. - - - - long-long test value - - A long long integer test value. - - - - operation to test - - The client must execute this operation on the provided integer - test fields and return the result. - - - return sum of test values - return lowest of test values - return highest of test values - - - - - report integer test result - - This method reports the result of an Integer method. - - - - - result value - - The result of the tested operation. - - - - - - test string handling - - This method tests the peer's capability to correctly marshal string - data. - - - - - - short string test value - - An short string test value. - - - - long string test value - - A long string test value. - - - - operation to test - - The client must execute this operation on the provided string - test fields and return the result. - - - return concatentation of test strings - return shortest of test strings - return longest of test strings - - - - - report string test result - - This method reports the result of a String method. - - - - - result value - - The result of the tested operation. - - - - - - test field table handling - - This method tests the peer's capability to correctly marshal field - table data. - - - - - - field table of test values - - A field table of test values. - - - - operation to test on integers - - The client must execute this operation on the provided field - table integer values and return the result. - - - return sum of numeric field values - return min of numeric field values - return max of numeric field values - - - - operation to test on strings - - The client must execute this operation on the provided field - table string values and return the result. - - - return concatenation of string field values - return shortest of string field values - return longest of string field values - - - - - report table test result - - This method reports the result of a Table method. - - - - - integer result value - - The result of the tested integer operation. - - - - string result value - - The result of the tested string operation. - - - - - - test content handling - - This method tests the peer's capability to correctly marshal content. - - - - - - - report content test result - - This method reports the result of a Content method. It contains the - content checksum and echoes the original content as provided. - - - - - content hash - - The 32-bit checksum of the content, calculated by adding the - content into a 32-bit accumulator. - - - - -