public interface ProviderDecoder extends ProviderObject, StatefulDecoder
Modifier and Type | Method and Description |
---|---|
Object |
decode(Object lock,
InputStream in)
Decodes a BER encoded LDAPv3 ASN.1 message envelope from a binary input
stream into an in memory containment tree using stub's generated by a
provider's ASN.1 stub compiler and associated runtime BER libraries.
|
getProvider
decode, setCallback, setDecoderMonitor
Object decode(Object lock, InputStream in) throws ProviderException
lock
- lock object used to exclusively read from the input streamin
- the binary input stream where the encoded message PDU is readProviderException
- to indicate an error while attempting to decode the message
envelope onto the output stream. Provider specific exceptions
encountered while decoding can be held within this subclass
of MultiException.Copyright © 2003–2014 The Apache Software Foundation. All rights reserved.