Return-Path: Delivered-To: apmail-directory-commits-archive@www.apache.org Received: (qmail 68653 invoked from network); 28 May 2005 23:08:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 28 May 2005 23:08:13 -0000 Received: (qmail 84290 invoked by uid 500); 28 May 2005 23:08:13 -0000 Delivered-To: apmail-directory-commits-archive@directory.apache.org Received: (qmail 84241 invoked by uid 500); 28 May 2005 23:08:13 -0000 Mailing-List: contact commits-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@directory.apache.org Delivered-To: mailing list commits@directory.apache.org Received: (qmail 84224 invoked by uid 99); 28 May 2005 23:08:12 -0000 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.28) with SMTP; Sat, 28 May 2005 16:08:12 -0700 Received: (qmail 68613 invoked by uid 65534); 28 May 2005 23:08:11 -0000 Message-ID: <20050528230811.68612.qmail@minotaur.apache.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: svn commit: r178897 - /directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/codec/grammars/LdapMessageGrammar.java Date: Sat, 28 May 2005 23:08:11 -0000 To: commits@directory.apache.org From: elecharny@apache.org X-Mailer: svnmailer-1.0.0-dev X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: elecharny Date: Sat May 28 16:08:11 2005 New Revision: 178897 URL: http://svn.apache.org/viewcvs?rev=3D178897&view=3Drev Log: Added the AbandonRequest transition call. Modified: directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/co= dec/grammars/LdapMessageGrammar.java Modified: directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/l= dap/codec/grammars/LdapMessageGrammar.java URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/asn1-new-codec/s= rc/java/org/apache/asn1/ldap/codec/grammars/LdapMessageGrammar.java?rev=3D1= 78897&r1=3D178896&r2=3D178897&view=3Ddiff =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/co= dec/grammars/LdapMessageGrammar.java (original) +++ directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/co= dec/grammars/LdapMessageGrammar.java Sat May 28 16:08:11 2005 @@ -176,11 +176,28 @@ =20 //****************************************************************= **************************** // If the Tag is 0x42, then it's a UnBindRequest.=20 + // If the Tag is 0x50, then it's an AbandonRequest.=20 // If the Tag is 0x60, then it's a BindRequest. Nothing to do whil= e the length is not checked. // If the Tag is 0x61, then it's a BindResponse.=20 //****************************************************************= **************************** =20 //----------------------------------------------------------------= ---------------------------- + // UnBindRequest Message. + //----------------------------------------------------------------= ---------------------------- + // LdapMessage ::=3D ... UnBindRequest ... + // unbindRequest ::=3D [APPLICATION 2] NULL (Tag) + // We have to switch to the UnBindRequest grammar + super.transitions[LdapStatesEnum.PROTOCOL_OP_TAG][0x42] =3D new Gr= ammarTransition( LdapStatesEnum.PROTOCOL_OP_TAG, LdapStatesEnum.UNBIND_REQU= EST_GRAMMAR_SWITCH, null); + + //----------------------------------------------------------------= ---------------------------- + // AbandonRequest Message. + //----------------------------------------------------------------= ---------------------------- + // LdapMessage ::=3D ... AbandonRequest ... + // AbandonRequest ::=3D [APPLICATION 16] MessageID (Tag) + // We have to switch to the AbandonRequest grammar + super.transitions[LdapStatesEnum.PROTOCOL_OP_TAG][0x50] =3D new Gr= ammarTransition( LdapStatesEnum.PROTOCOL_OP_TAG, LdapStatesEnum.ABANDON_REQ= UEST_GRAMMAR_SWITCH, null); + + //----------------------------------------------------------------= ---------------------------- // BindRequest Message. //----------------------------------------------------------------= ---------------------------- // LdapMessage ::=3D ... BindRequest ... @@ -196,12 +213,5 @@ // We have to switch to the BindResponse grammar super.transitions[LdapStatesEnum.PROTOCOL_OP_TAG][0x61] =3D new Gr= ammarTransition( LdapStatesEnum.PROTOCOL_OP_TAG, LdapStatesEnum.BIND_RESPON= SE_GRAMMAR_SWITCH, null); =20 - //----------------------------------------------------------------= ---------------------------- - // UnBindRequest Message. - //----------------------------------------------------------------= ---------------------------- - // LdapMessage ::=3D ... UnBindRequest ... - // UnbindRequest ::=3D [APPLICATION 2] NULL (Tag) - // We have to switch to the UnBindRequest grammar - super.transitions[LdapStatesEnum.PROTOCOL_OP_TAG][0x42] =3D new Gr= ammarTransition( LdapStatesEnum.PROTOCOL_OP_TAG, LdapStatesEnum.UNBIND_REQU= EST_GRAMMAR_SWITCH, null); } }