Return-Path: Delivered-To: apmail-incubator-directory-cvs-archive@www.apache.org Received: (qmail 55194 invoked from network); 13 Sep 2004 15:52:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 13 Sep 2004 15:52:16 -0000 Received: (qmail 78740 invoked by uid 500); 13 Sep 2004 15:52:16 -0000 Delivered-To: apmail-incubator-directory-cvs-archive@incubator.apache.org Received: (qmail 78705 invoked by uid 500); 13 Sep 2004 15:52:16 -0000 Mailing-List: contact directory-cvs-help@incubator.apache.org; run by ezmlm Precedence: bulk Reply-To: directory-dev@incubator.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list directory-cvs@incubator.apache.org Received: (qmail 78692 invoked by uid 99); 13 Sep 2004 15:52:16 -0000 X-ASF-Spam-Status: No, hits=-2.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.28) with SMTP; Mon, 13 Sep 2004 08:52:16 -0700 Received: (qmail 55177 invoked by uid 65534); 13 Sep 2004 15:52:14 -0000 Date: 13 Sep 2004 15:52:14 -0000 Message-ID: <20040913155214.55175.qmail@minotaur.apache.org> From: adc@apache.org To: directory-cvs@incubator.apache.org Subject: svn commit: rev 45983 - incubator/directory/snickers/branches/ber-decoder/modules/runtime/src/test/org/apache/snickers/encoding/ber X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N 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; +// } + } +}