A B C D E F G H I L M O P S T W

A

AbstractStatefulDecoder - class org.apache.asn1.codec.stateful.AbstractStatefulDecoder.
Convenience class to not have to reimplement the two setter methods everytime one starts a new decoder.
AbstractStatefulDecoder() - Constructor for class org.apache.asn1.codec.stateful.AbstractStatefulDecoder
Creates a stateful decoder where the callback and monitor must be set.
AbstractStatefulDecoder(DecoderCallback) - Constructor for class org.apache.asn1.codec.stateful.AbstractStatefulDecoder
Creates a stateful decoder with a callback.
AbstractStatefulDecoder(DecoderMonitor) - Constructor for class org.apache.asn1.codec.stateful.AbstractStatefulDecoder
Creates a stateful decoder with a monitor but no callback.
AbstractStatefulDecoder(DecoderCallback, DecoderMonitor) - Constructor for class org.apache.asn1.codec.stateful.AbstractStatefulDecoder
Creates a stateful decoder.
AbstractStatefulEncoder - class org.apache.asn1.codec.stateful.AbstractStatefulEncoder.
Convenience class to not have to reimplement the two setter methods everytime one starts a new encoder.
AbstractStatefulEncoder() - Constructor for class org.apache.asn1.codec.stateful.AbstractStatefulEncoder
Creates a stateful encoder where the callback and monitor must be set.
AbstractStatefulEncoder(EncoderCallback) - Constructor for class org.apache.asn1.codec.stateful.AbstractStatefulEncoder
Creates a stateful encoder with a callback.
AbstractStatefulEncoder(EncoderMonitor) - Constructor for class org.apache.asn1.codec.stateful.AbstractStatefulEncoder
Creates a stateful encoder with a monitor but no callback.
AbstractStatefulEncoder(EncoderCallback, EncoderMonitor) - Constructor for class org.apache.asn1.codec.stateful.AbstractStatefulEncoder
Creates a stateful encoder.
Asn1CodecDecoder - class org.apache.asn1.codec.mina.Asn1CodecDecoder.
Adapts StatefulDecoder to MINA ProtocolDecoder
Asn1CodecDecoder(StatefulDecoder) - Constructor for class org.apache.asn1.codec.mina.Asn1CodecDecoder
 
Asn1CodecDecoder.DecoderCallbackImpl - class org.apache.asn1.codec.mina.Asn1CodecDecoder.DecoderCallbackImpl.
 
Asn1CodecDecoder.DecoderCallbackImpl() - Constructor for class org.apache.asn1.codec.mina.Asn1CodecDecoder.DecoderCallbackImpl
 
Asn1CodecEncoder - class org.apache.asn1.codec.mina.Asn1CodecEncoder.
Adapts StatefulEncoder to MINA ProtocolEncoder
Asn1CodecEncoder(StatefulEncoder) - Constructor for class org.apache.asn1.codec.mina.Asn1CodecEncoder
 
Asn1CodecEncoder.EncoderCallbackImpl - class org.apache.asn1.codec.mina.Asn1CodecEncoder.EncoderCallbackImpl.
 
Asn1CodecEncoder.EncoderCallbackImpl() - Constructor for class org.apache.asn1.codec.mina.Asn1CodecEncoder.EncoderCallbackImpl
 

B

BITS - Static variable in class org.apache.asn1.codec.binary.BinaryCodec
 
BIT_0 - Static variable in class org.apache.asn1.codec.binary.BinaryCodec
Mask for bit 0 of a byte.
BIT_1 - Static variable in class org.apache.asn1.codec.binary.BinaryCodec
Mask for bit 1 of a byte.
BIT_2 - Static variable in class org.apache.asn1.codec.binary.BinaryCodec
Mask for bit 2 of a byte.
BIT_3 - Static variable in class org.apache.asn1.codec.binary.BinaryCodec
Mask for bit 3 of a byte.
BIT_4 - Static variable in class org.apache.asn1.codec.binary.BinaryCodec
Mask for bit 4 of a byte.
BIT_5 - Static variable in class org.apache.asn1.codec.binary.BinaryCodec
Mask for bit 5 of a byte.
BIT_6 - Static variable in class org.apache.asn1.codec.binary.BinaryCodec
Mask for bit 6 of a byte.
BIT_7 - Static variable in class org.apache.asn1.codec.binary.BinaryCodec
Mask for bit 7 of a byte.
BinaryCodec - class org.apache.asn1.codec.binary.BinaryCodec.
Translates between byte arrays and strings of "0"s and "1"s.
BinaryCodec() - Constructor for class org.apache.asn1.codec.binary.BinaryCodec
 
BinaryDecoder - interface org.apache.asn1.codec.BinaryDecoder.
Defines common decoding methods for byte array decoders.
BinaryEncoder - interface org.apache.asn1.codec.BinaryEncoder.
Defines common encoding methods for byte array encoders.
buf - Variable in class org.apache.asn1.codec.stateful.examples.HexEncoder
 

C

CHUNK_SZ - Static variable in class org.apache.asn1.codec.stateful.examples.HexEncoder
 
CallbackHistory - class org.apache.asn1.codec.stateful.CallbackHistory.
A convenience callback which collects decoded or encoded objects to audit a codecs's activity.
CallbackHistory() - Constructor for class org.apache.asn1.codec.stateful.CallbackHistory
Creates an auditing callback that manages a history of indefinite length.
CallbackHistory(int) - Constructor for class org.apache.asn1.codec.stateful.CallbackHistory
Creates an auditing callback that manages a history of fixed or indefinite length.
callback - Variable in class org.apache.asn1.codec.mina.Asn1CodecDecoder
 
callback - Variable in class org.apache.asn1.codec.mina.Asn1CodecEncoder
 
callbackOccured(StatefulDecoder, DecoderCallback, Object) - Method in interface org.apache.asn1.codec.stateful.DecoderMonitor
Monitors callbacks that deliver a fully decoded object.
callbackOccured(StatefulDecoder, DecoderCallback, Object) - Method in class org.apache.asn1.codec.stateful.DecoderMonitorAdapter
 
callbackOccured(StatefulEncoder, EncoderCallback, Object) - Method in interface org.apache.asn1.codec.stateful.EncoderMonitor
Monitors callbacks that deliver a fully decoded object.
callbackOccured(StatefulEncoder, EncoderCallback, Object) - Method in class org.apache.asn1.codec.stateful.EncoderMonitorAdapter
Monitors callbacks that deliver a fully decoded object.
callbackSet(StatefulDecoder, DecoderCallback, DecoderCallback) - Method in interface org.apache.asn1.codec.stateful.DecoderMonitor
Monitors changes to the callback.
callbackSet(StatefulDecoder, DecoderCallback, DecoderCallback) - Method in class org.apache.asn1.codec.stateful.DecoderMonitorAdapter
 
callbackSet(StatefulEncoder, EncoderCallback, EncoderCallback) - Method in interface org.apache.asn1.codec.stateful.EncoderMonitor
Monitors changes to the callback.
callbackSet(StatefulEncoder, EncoderCallback, EncoderCallback) - Method in class org.apache.asn1.codec.stateful.EncoderMonitorAdapter
Monitors changes to the callback.
cb - Variable in class org.apache.asn1.codec.stateful.AbstractStatefulDecoder
this decoder's callback
cb - Variable in class org.apache.asn1.codec.stateful.AbstractStatefulEncoder
this encoder's callback
cb - Variable in class org.apache.asn1.codec.stateful.examples.HexEncoder
 
clear() - Method in class org.apache.asn1.codec.stateful.CallbackHistory
Clears the history of decoded items.
clear() - Method in class org.apache.asn1.codec.stateful.DecoderStack
Clears the stack popping all decoders setting their callbacks to null.
createDecoder() - Method in interface org.apache.asn1.codec.stateful.DecoderFactory
Creates a chunking state based decoder.
createEncoder() - Method in interface org.apache.asn1.codec.stateful.EncoderFactory
Creates a new chunking state based encoder.

D

DIGITS - Static variable in class org.apache.asn1.codec.binary.Hex
Used to build output as Hex
Decoder - interface org.apache.asn1.codec.Decoder.
Provides the highest level of abstraction for Decoders.
DecoderCallback - interface org.apache.asn1.codec.stateful.DecoderCallback.
Callback interface for stateful decoder callbacks.
DecoderException - exception org.apache.asn1.codec.DecoderException.
Thrown when a Decoder has encountered a failure condition during a decode.
DecoderException(String) - Constructor for class org.apache.asn1.codec.DecoderException
Creates a DecoderException
DecoderFactory - interface org.apache.asn1.codec.stateful.DecoderFactory.
A factory for creating new StatefulDecoders.
DecoderMonitor - interface org.apache.asn1.codec.stateful.DecoderMonitor.
Monitors decoder activity.
DecoderMonitorAdapter - class org.apache.asn1.codec.stateful.DecoderMonitorAdapter.
A do nothing decoder monitor adapter.
DecoderMonitorAdapter() - Constructor for class org.apache.asn1.codec.stateful.DecoderMonitorAdapter
 
DecoderStack - class org.apache.asn1.codec.stateful.DecoderStack.
A stack of decoders used for the additive application of multiple decoders forming a linear staged decoder pipeline.
DecoderStack() - Constructor for class org.apache.asn1.codec.stateful.DecoderStack
Creates an empty stack of chained decoders.
DecoderStack.ChainingCallback - class org.apache.asn1.codec.stateful.DecoderStack.ChainingCallback.
A callback used to chain decoders.
DecoderStack.ChainingCallback(StatefulDecoder, StatefulDecoder) - Constructor for class org.apache.asn1.codec.stateful.DecoderStack.ChainingCallback
Creates a callback that chains the output of a src decoder to the input of a sink decoder.
decOut - Variable in class org.apache.asn1.codec.mina.Asn1CodecDecoder.DecoderCallbackImpl
 
decode(byte[]) - Method in interface org.apache.asn1.codec.BinaryDecoder
Decodes a byte array and returns the results as a byte array.
decode(Object) - Method in interface org.apache.asn1.codec.Decoder
Decodes an "encoded" Object and returns a "decoded" Object.
decode(Object) - Method in class org.apache.asn1.codec.binary.BinaryCodec
Decodes a byte array where each byte represents an ascii '0' or '1'.
decode(byte[]) - Method in class org.apache.asn1.codec.binary.BinaryCodec
Decodes a byte array where each byte represents an ascii '0' or '1'.
decode(byte[]) - Method in class org.apache.asn1.codec.binary.Hex
Converts an array of character bytes representing hexidecimal values into an array of bytes of those same values.
decode(Object) - Method in class org.apache.asn1.codec.binary.Hex
Converts a String or an array of character bytes representing hexidecimal values into an array of bytes of those same values.
decode(ProtocolSession, ByteBuffer, ProtocolDecoderOutput) - Method in class org.apache.asn1.codec.mina.Asn1CodecDecoder
 
decode(Object) - Method in class org.apache.asn1.codec.stateful.DecoderStack
Decodes an encoded object by calling decode on the decoder at the bottom of the stack.
decode(Object) - Method in interface org.apache.asn1.codec.stateful.StatefulDecoder
Decodes a peice of encoded data.
decode(Object) - Method in class org.apache.asn1.codec.stateful.examples.HexDecoder
 
decodeHex(char[]) - Static method in class org.apache.asn1.codec.binary.Hex
Converts an array of characters representing hexidecimal values into an array of bytes of those same values.
decodeOccurred(StatefulDecoder, Object) - Method in class org.apache.asn1.codec.mina.Asn1CodecDecoder.DecoderCallbackImpl
 
decodeOccurred(Object) - Method in class org.apache.asn1.codec.stateful.AbstractStatefulDecoder
Notifies via the callback if one has been set that this decoder has decoded a unit of encoded data.
decodeOccurred(StatefulDecoder, Object) - Method in class org.apache.asn1.codec.stateful.CallbackHistory
 
decodeOccurred(StatefulDecoder, Object) - Method in interface org.apache.asn1.codec.stateful.DecoderCallback
Callback to deliver a fully decoded object.
decodeOccurred(StatefulDecoder, Object) - Method in class org.apache.asn1.codec.stateful.DecoderStack.ChainingCallback
Calls the DecoderStack.decode(Object) method of the sink if the decoder argument is the source.
decoded - Variable in class org.apache.asn1.codec.stateful.examples.HexDecoder
 
decoder - Variable in class org.apache.asn1.codec.mina.Asn1CodecDecoder
 
decoders - Variable in class org.apache.asn1.codec.stateful.DecoderStack
a stack of StatefulDecoders

E

EMPTY_BYTE_ARRAY - Static variable in class org.apache.asn1.codec.binary.BinaryCodec
Empty byte array.
EMPTY_CHAR_ARRAY - Static variable in class org.apache.asn1.codec.binary.BinaryCodec
Empty char array.
Encoder - interface org.apache.asn1.codec.Encoder.
Provides the highest level of abstraction for Encoders.
EncoderCallback - interface org.apache.asn1.codec.stateful.EncoderCallback.
Document me.
EncoderException - exception org.apache.asn1.codec.EncoderException.
Thrown when there is a failure condition during the encoding process.
EncoderException(String) - Constructor for class org.apache.asn1.codec.EncoderException
Creates a new instance of this exception with an useful message.
EncoderFactory - interface org.apache.asn1.codec.stateful.EncoderFactory.
A factory for creating new StatefulEncoders.
EncoderMonitor - interface org.apache.asn1.codec.stateful.EncoderMonitor.
Document me.
EncoderMonitorAdapter - class org.apache.asn1.codec.stateful.EncoderMonitorAdapter.
Document me.
EncoderMonitorAdapter() - Constructor for class org.apache.asn1.codec.stateful.EncoderMonitorAdapter
 
encOut - Variable in class org.apache.asn1.codec.mina.Asn1CodecEncoder.EncoderCallbackImpl
 
encode(byte[]) - Method in interface org.apache.asn1.codec.BinaryEncoder
Encodes a byte array and return the encoded data as a byte array.
encode(Object) - Method in interface org.apache.asn1.codec.Encoder
Encodes an "Object" and returns the encoded content as an Object.
encode(byte[]) - Method in class org.apache.asn1.codec.binary.BinaryCodec
Converts an array of raw binary data into an array of ascii 0 and 1 characters.
encode(Object) - Method in class org.apache.asn1.codec.binary.BinaryCodec
Converts an array of raw binary data into an array of ascii 0 and 1 chars.
encode(byte[]) - Method in class org.apache.asn1.codec.binary.Hex
Converts an array of bytes into an array of bytes for the characters representing the hexidecimal values of each byte in order.
encode(Object) - Method in class org.apache.asn1.codec.binary.Hex
Converts a String or an array of bytes into an array of characters representing the hexidecimal values of each byte in order.
encode(ProtocolSession, Object, ProtocolEncoderOutput) - Method in class org.apache.asn1.codec.mina.Asn1CodecEncoder
 
encode(Object) - Method in interface org.apache.asn1.codec.stateful.StatefulEncoder
 
encode(Object) - Method in class org.apache.asn1.codec.stateful.examples.HexEncoder
Transforms a decoded ByteArray of binary data into a stream of ASCII hex characters.
encodeHex(byte[]) - Static method in class org.apache.asn1.codec.binary.Hex
Converts an array of bytes into an array of characters representing the hexidecimal values of each byte in order.
encodeOccurred(StatefulEncoder, Object) - Method in class org.apache.asn1.codec.mina.Asn1CodecEncoder.EncoderCallbackImpl
 
encodeOccurred(Object) - Method in class org.apache.asn1.codec.stateful.AbstractStatefulEncoder
Notifies via the callback if one has been set that this encoder has encoded a unit of encoded data.
encodeOccurred(StatefulEncoder, Object) - Method in class org.apache.asn1.codec.stateful.CallbackHistory
Callback to deliver a fully encoded object.
encodeOccurred(StatefulEncoder, Object) - Method in interface org.apache.asn1.codec.stateful.EncoderCallback
Callback to deliver a fully encoded object.
encoder - Variable in class org.apache.asn1.codec.mina.Asn1CodecEncoder
 
error(StatefulDecoder, Exception) - Method in interface org.apache.asn1.codec.stateful.DecoderMonitor
Receive notification of a recoverable error.
error(StatefulDecoder, Exception) - Method in class org.apache.asn1.codec.stateful.DecoderMonitorAdapter
 
error(StatefulEncoder, Exception) - Method in interface org.apache.asn1.codec.stateful.EncoderMonitor
Receive notification of a recoverable error.
error(StatefulEncoder, Exception) - Method in class org.apache.asn1.codec.stateful.EncoderMonitorAdapter
Receive notification of a recoverable error.
expectingMsn - Variable in class org.apache.asn1.codec.stateful.examples.HexDecoder
 

F

fatalError(StatefulDecoder, Exception) - Method in interface org.apache.asn1.codec.stateful.DecoderMonitor
Receive notification of a non-recoverable error.
fatalError(StatefulDecoder, Exception) - Method in class org.apache.asn1.codec.stateful.DecoderMonitorAdapter
 
fatalError(StatefulEncoder, Exception) - Method in interface org.apache.asn1.codec.stateful.EncoderMonitor
Receive notification of a non-recoverable error.
fatalError(StatefulEncoder, Exception) - Method in class org.apache.asn1.codec.stateful.EncoderMonitorAdapter
Receive notification of a non-recoverable error.
fromAscii(char[]) - Static method in class org.apache.asn1.codec.binary.BinaryCodec
Decodes a byte array where each char represents an ascii '0' or '1'.
fromAscii(byte[]) - Static method in class org.apache.asn1.codec.binary.BinaryCodec
Decodes a byte array where each byte represents an ascii '0' or '1'.

G

getDecoderMonitor() - Method in class org.apache.asn1.codec.stateful.AbstractStatefulDecoder
Gets the decoder's monitor.
getEncoderMonitor() - Method in class org.apache.asn1.codec.stateful.AbstractStatefulEncoder
Gets the encoder's monitor.
getMostRecent() - Method in class org.apache.asn1.codec.stateful.CallbackHistory
Gets the most recent decoded object if one exists.
getNibble(byte) - Method in class org.apache.asn1.codec.stateful.examples.HexDecoder
 
getOldest() - Method in class org.apache.asn1.codec.stateful.CallbackHistory
Gets the oldest decoded object if one exists.

H

HEXCHAR_LUT - Variable in class org.apache.asn1.codec.stateful.examples.HexEncoder
 
Hex - class org.apache.asn1.codec.binary.Hex.
Hex encoder and decoder.
Hex() - Constructor for class org.apache.asn1.codec.binary.Hex
 
HexDecoder - class org.apache.asn1.codec.stateful.examples.HexDecoder.
Document me.
HexDecoder() - Constructor for class org.apache.asn1.codec.stateful.examples.HexDecoder
 
HexEncoder - class org.apache.asn1.codec.stateful.examples.HexEncoder.
Document me.
HexEncoder() - Constructor for class org.apache.asn1.codec.stateful.examples.HexEncoder
 
history - Variable in class org.apache.asn1.codec.stateful.CallbackHistory
history of decoded objects in cronological order

I

INSTANCE - Static variable in interface org.apache.asn1.codec.stateful.EncoderMonitor
Use this if you don't want to recreate this as just a NOOP monitor
isEmpty() - Method in class org.apache.asn1.codec.stateful.CallbackHistory
Tests to see if the history is empty.
isEmpty() - Method in class org.apache.asn1.codec.stateful.DecoderStack
Gets whether or not this stack is empty.

L

length - Variable in class org.apache.asn1.codec.stateful.CallbackHistory
the length of callback history stored
lsn - Variable in class org.apache.asn1.codec.stateful.examples.HexDecoder
 

M

monitor - Variable in class org.apache.asn1.codec.stateful.AbstractStatefulDecoder
this decoder's monitor
monitor - Variable in class org.apache.asn1.codec.stateful.AbstractStatefulEncoder
this encoder's monitor
monitor - Variable in class org.apache.asn1.codec.stateful.examples.HexEncoder
 
msn - Variable in class org.apache.asn1.codec.stateful.examples.HexDecoder
 

O

org.apache.asn1.codec - package org.apache.asn1.codec
 
org.apache.asn1.codec.binary - package org.apache.asn1.codec.binary
 
org.apache.asn1.codec.mina - package org.apache.asn1.codec.mina
 
org.apache.asn1.codec.stateful - package org.apache.asn1.codec.stateful
Provides the fundamental stateful codec interfaces.
org.apache.asn1.codec.stateful.examples - package org.apache.asn1.codec.stateful.examples
 

P

pop() - Method in class org.apache.asn1.codec.stateful.DecoderStack
Pops the terminal decoder off of this DecoderStack.
push(StatefulDecoder) - Method in class org.apache.asn1.codec.stateful.DecoderStack
Pushs a new terminal decoder onto the top of this DecoderStack.

S

StatefulDecoder - interface org.apache.asn1.codec.stateful.StatefulDecoder.
A decoder which decodes encoded data as it arrives in peices while maintaining the state of the decode operation between the arrival of encoded chunks.
StatefulEncoder - interface org.apache.asn1.codec.stateful.StatefulEncoder.
The StatefulEncoder interface.
serialVersionUID - Static variable in class org.apache.asn1.codec.DecoderException
Declares the Serial Version Uid.
serialVersionUID - Static variable in class org.apache.asn1.codec.EncoderException
Declares the Serial Version Uid.
setCallback(DecoderCallback) - Method in class org.apache.asn1.codec.stateful.AbstractStatefulDecoder
 
setCallback(EncoderCallback) - Method in class org.apache.asn1.codec.stateful.AbstractStatefulEncoder
 
setCallback(DecoderCallback) - Method in interface org.apache.asn1.codec.stateful.StatefulDecoder
Sets the callback for this StatefulDecoder.
setCallback(EncoderCallback) - Method in interface org.apache.asn1.codec.stateful.StatefulEncoder
 
setCallback(EncoderCallback) - Method in class org.apache.asn1.codec.stateful.examples.HexEncoder
 
setDecoderMonitor(DecoderMonitor) - Method in class org.apache.asn1.codec.stateful.AbstractStatefulDecoder
 
setDecoderMonitor(DecoderMonitor) - Method in interface org.apache.asn1.codec.stateful.StatefulDecoder
Monitors all kinds of events that occur during processing.
setEncoderMonitor(EncoderMonitor) - Method in class org.apache.asn1.codec.stateful.AbstractStatefulEncoder
 
setEncoderMonitor(EncoderMonitor) - Method in interface org.apache.asn1.codec.stateful.StatefulEncoder
 
setEncoderMonitor(EncoderMonitor) - Method in class org.apache.asn1.codec.stateful.examples.HexEncoder
 
sink - Variable in class org.apache.asn1.codec.stateful.DecoderStack.ChainingCallback
the source decoder calling this callback
size() - Method in class org.apache.asn1.codec.stateful.CallbackHistory
Gets the number of decoded items in the callback history.
src - Variable in class org.apache.asn1.codec.stateful.DecoderStack.ChainingCallback
the sink decoder recieving the src's decoded object

T

toAsciiBytes(byte[]) - Static method in class org.apache.asn1.codec.binary.BinaryCodec
Converts an array of raw binary data into an array of ascii 0 and 1 character bytes - each byte is a truncated char.
toAsciiChars(byte[]) - Static method in class org.apache.asn1.codec.binary.BinaryCodec
Converts an array of raw binary data into an array of ascii 0 and 1 characters.
toAsciiString(byte[]) - Static method in class org.apache.asn1.codec.binary.BinaryCodec
Converts an array of raw binary data into a String of ascii 0 and 1 characters.
toByteArray(String) - Method in class org.apache.asn1.codec.binary.BinaryCodec
Decodes a String where each char of the String represents an ascii '0' or '1'.
toDigit(char, int) - Static method in class org.apache.asn1.codec.binary.Hex
Converts a hexadecimal character to an integer.
topcb - Variable in class org.apache.asn1.codec.stateful.DecoderStack
the top decoder callback which calls this decoders callback

W

warning(StatefulDecoder, Exception) - Method in interface org.apache.asn1.codec.stateful.DecoderMonitor
Receive notification of a warning.
warning(StatefulDecoder, Exception) - Method in class org.apache.asn1.codec.stateful.DecoderMonitorAdapter
 
warning(StatefulEncoder, Exception) - Method in interface org.apache.asn1.codec.stateful.EncoderMonitor
Receive notification of a warning.
warning(StatefulEncoder, Exception) - Method in class org.apache.asn1.codec.stateful.EncoderMonitorAdapter
Receive notification of a warning.

A B C D E F G H I L M O P S T W

Copyright © 2004-2006 . All Rights Reserved.