You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mina.apache.org by ad...@apache.org on 2011/09/05 17:28:26 UTC
svn commit: r1165332 -
/mina/sandbox/adc/ahc/mina3/src/main/java/org/apache/mina/link/TokenByteBufferTransformer.java
Author: adc
Date: Mon Sep 5 15:28:26 2011
New Revision: 1165332
URL: http://svn.apache.org/viewvc?rev=1165332&view=rev
Log:
A placeholder.
Added:
mina/sandbox/adc/ahc/mina3/src/main/java/org/apache/mina/link/TokenByteBufferTransformer.java
Added: mina/sandbox/adc/ahc/mina3/src/main/java/org/apache/mina/link/TokenByteBufferTransformer.java
URL: http://svn.apache.org/viewvc/mina/sandbox/adc/ahc/mina3/src/main/java/org/apache/mina/link/TokenByteBufferTransformer.java?rev=1165332&view=auto
==============================================================================
--- mina/sandbox/adc/ahc/mina3/src/main/java/org/apache/mina/link/TokenByteBufferTransformer.java (added)
+++ mina/sandbox/adc/ahc/mina3/src/main/java/org/apache/mina/link/TokenByteBufferTransformer.java Mon Sep 5 15:28:26 2011
@@ -0,0 +1,49 @@
+/**
+ * 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.
+ */
+package org.apache.mina.link;
+
+import java.nio.ByteBuffer;
+
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+import org.apache.mina.core.IoTransformer;
+import org.apache.mina.core.IoTransformerException;
+import org.apache.mina.group.Message;
+
+
+/**
+ * @author <a href="http://mina.apache.org">Apache MINA Project</a>
+ */
+public class TokenByteBufferTransformer implements IoTransformer<Token, ByteBuffer>
+{
+ static final Logger LOG = LoggerFactory.getLogger(TokenByteBufferTransformer.class);
+
+ @Override
+ public ByteBuffer there(Token token) throws IoTransformerException
+ {
+ return null; //Todo change body of implemented methods use File | Settings | File Templates.
+ }
+
+ @Override
+ public Token back(ByteBuffer buffer) throws IoTransformerException
+ {
+ return null; //Todo change body of implemented methods use File | Settings | File Templates.
+ }
+}