org.apache.directory.shared.ldap.codec.extended.operations.cancel
Class CancelContainer

java.lang.Object
  extended by org.apache.directory.shared.asn1.ber.AbstractContainer
      extended by org.apache.directory.shared.ldap.codec.extended.operations.cancel.CancelContainer
All Implemented Interfaces:
IAsn1Container

public class CancelContainer
extends AbstractContainer

A container for the Cancel codec.

Version:
$Rev: 664290 $, $Date: 2008-06-07 08:28:06 +0200 (Sat, 07 Jun 2008) $,
Author:
Apache Directory Project

Field Summary
 
Fields inherited from class org.apache.directory.shared.asn1.ber.AbstractContainer
decodeBytes, grammar, grammarEndAllowed, maxPDUSize, parentTLV, state, states, stateStack, tlv, transition
 
Constructor Summary
CancelContainer()
          Creates a new CancelContainer object.
 
Method Summary
 void clean()
          Clean the container for the next decoding.
 Cancel getCancel()
           
 void setCancel(Cancel cancel)
          Set a Cancel Object into the container.
 
Methods inherited from class org.apache.directory.shared.asn1.ber.AbstractContainer
getCurrentTLV, getDecodeBytes, getGrammar, getMaxPDUSize, getNewTlvId, getParentTLV, getState, getStates, getTlvId, getTransition, grammarEndAllowed, incrementDecodeBytes, isGrammarEndAllowed, setCurrentTLV, setMaxPDUSize, setParentTLV, setState, setTransition
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CancelContainer

public CancelContainer()
Creates a new CancelContainer object. We will store one grammar, it's enough ...

Method Detail

getCancel

public Cancel getCancel()
Returns:
Returns the Cancel object.

setCancel

public void setCancel(Cancel cancel)
Set a Cancel Object into the container. It will be completed by the ldapDecoder.

Parameters:
cancel - the Cancel to set.

clean

public void clean()
Clean the container for the next decoding.

Overrides:
clean in class AbstractContainer


Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.