diff options
| author | Gordon Sim <gsim@apache.org> | 2011-07-14 08:41:57 +0000 |
|---|---|---|
| committer | Gordon Sim <gsim@apache.org> | 2011-07-14 08:41:57 +0000 |
| commit | eec82dfafe3bdf63f055962d9c47d1c56a4579f5 (patch) | |
| tree | e3a5cceab6b67694e0d6134cd273840f5f3340c8 /qpid/dotnet/Qpid.Client/Client/Transport/SingleProtocolEncoderOutput.cs | |
| parent | a482bcfd2a86f3ef9a1717a370d4e89834e9cfa7 (diff) | |
| download | qpid-python-eec82dfafe3bdf63f055962d9c47d1c56a4579f5.tar.gz | |
NO-JIRA: Removed ruby and dotnet projects
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1146598 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/dotnet/Qpid.Client/Client/Transport/SingleProtocolEncoderOutput.cs')
| -rw-r--r-- | qpid/dotnet/Qpid.Client/Client/Transport/SingleProtocolEncoderOutput.cs | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/qpid/dotnet/Qpid.Client/Client/Transport/SingleProtocolEncoderOutput.cs b/qpid/dotnet/Qpid.Client/Client/Transport/SingleProtocolEncoderOutput.cs deleted file mode 100644 index a1aa889ba0..0000000000 --- a/qpid/dotnet/Qpid.Client/Client/Transport/SingleProtocolEncoderOutput.cs +++ /dev/null @@ -1,40 +0,0 @@ -/* - * - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you 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. - * - */ -using System; -using Apache.Qpid.Buffer; -using Apache.Qpid.Codec; - -namespace Apache.Qpid.Client.Transport -{ - public class SingleProtocolEncoderOutput : IProtocolEncoderOutput - { - public ByteBuffer buffer; - - public void Write(ByteBuffer buf) - { - if (buffer != null) - { - throw new InvalidOperationException("{0} does not allow the writing of more than one buffer"); - } - buffer = buf; - } - } -} |
