directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject svn commit: rev 45983 - incubator/directory/snickers/branches/ber-decoder/modules/runtime/src/test/org/apache/snickers/encoding/ber
Date Mon, 13 Sep 2004 15:52:14 GMT
Author: adc
Date: Mon Sep 13 08:52:14 2004
New Revision: 45983

Added:
   incubator/directory/snickers/branches/ber-decoder/modules/runtime/src/test/org/apache/snickers/encoding/ber/AOKTestDecoder.java
Log:


Added: incubator/directory/snickers/branches/ber-decoder/modules/runtime/src/test/org/apache/snickers/encoding/ber/AOKTestDecoder.java
==============================================================================
--- (empty file)
+++ incubator/directory/snickers/branches/ber-decoder/modules/runtime/src/test/org/apache/snickers/encoding/ber/AOKTestDecoder.java
Mon Sep 13 08:52:14 2004
@@ -0,0 +1,54 @@
+/**
+ *
+ * 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.
+ */
+package org.apache.snickers.encoding.ber;
+
+
+
+
+/**
+ * @version $Revision: $ $Date: $
+ */
+public class AOKTestDecoder extends AOKDecoder
+{
+    /**
+     * Obtain the current state of the decoder.
+     *
+     * @return the current state of the decoder
+     */
+    public State getState()
+    {
+        return super.getState();
+    }
+
+    /**
+     * Obtain the current incomplete tuple that is on the top of the stack.
+     *
+     * @return the current incomplete tuple that is on the top of the stack
+     */
+    public Tuple getCurrentTuple()
+    {
+        return tlv;
+//        try
+//        {
+//            return stack.peek();
+//        }
+//        catch ( EmptyStackException ese )
+//        {
+//            return tlv;
+//        }
+    }
+}

Mime
View raw message