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

A

AbstractStatefulDecoder - Class in org.apache.asn1.codec.stateful
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 in org.apache.asn1.codec.stateful
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 in org.apache.asn1.codec.mina
Adapts StatefulDecoder to MINA ProtocolDecoder
Asn1CodecDecoder(StatefulDecoder) - Constructor for class org.apache.asn1.codec.mina.Asn1CodecDecoder
 
Asn1CodecDecoder.DecoderCallbackImpl - Class in org.apache.asn1.codec.mina
 
Asn1CodecDecoder.DecoderCallbackImpl() - Constructor for class org.apache.asn1.codec.mina.Asn1CodecDecoder.DecoderCallbackImpl
 
Asn1CodecEncoder - Class in org.apache.asn1.codec.mina
Adapts StatefulEncoder to MINA ProtocolEncoder
Asn1CodecEncoder(StatefulEncoder) - Constructor for class org.apache.asn1.codec.mina.Asn1CodecEncoder
 
Asn1CodecEncoder.EncoderCallbackImpl - Class in org.apache.asn1.codec.mina
 
Asn1CodecEncoder.EncoderCallbackImpl() - Constructor for class org.apache.asn1.codec.mina.Asn1CodecEncoder.EncoderCallbackImpl
 

B

BinaryCodec - Class in org.apache.asn1.codec.binary
Translates between byte arrays and strings of "0"s and "1"s.
BinaryCodec() - Constructor for class org.apache.asn1.codec.binary.BinaryCodec
 
BinaryDecoder - Interface in org.apache.asn1.codec
Defines common decoding methods for byte array decoders.
BinaryEncoder - Interface in org.apache.asn1.codec
Defines common encoding methods for byte array encoders.
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.
BITS - Static variable in class org.apache.asn1.codec.binary.BinaryCodec
 
buf - Variable in class org.apache.asn1.codec.stateful.examples.HexEncoder
 

C

callback - Variable in class org.apache.asn1.codec.mina.Asn1CodecDecoder
 
callback - Variable in class org.apache.asn1.codec.mina.Asn1CodecEncoder
 
CallbackHistory - Class in org.apache.asn1.codec.stateful
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.
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
 
CHUNK_SZ - Static 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

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(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(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 class org.apache.asn1.codec.stateful.examples.HexDecoder
 
decode(Object) - Method in interface org.apache.asn1.codec.stateful.StatefulDecoder
Decodes a peice of encoded data.
decoded - Variable 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.
Decoder - Interface in org.apache.asn1.codec
Provides the highest level of abstraction for Decoders.
decoder - Variable in class org.apache.asn1.codec.mina.Asn1CodecDecoder
 
DecoderCallback - Interface in org.apache.asn1.codec.stateful
Callback interface for stateful decoder callbacks.
DecoderException - Exception in org.apache.asn1.codec
Thrown when a Decoder has encountered a failure condition during a decode.
DecoderException(String) - Constructor for exception org.apache.asn1.codec.DecoderException
Creates a DecoderException
DecoderFactory - Interface in org.apache.asn1.codec.stateful
A factory for creating new StatefulDecoders.
DecoderMonitor - Interface in org.apache.asn1.codec.stateful
Monitors decoder activity.
DecoderMonitorAdapter - Class in org.apache.asn1.codec.stateful
A do nothing decoder monitor adapter.
DecoderMonitorAdapter() - Constructor for class org.apache.asn1.codec.stateful.DecoderMonitorAdapter
 
decoders - Variable in class org.apache.asn1.codec.stateful.DecoderStack
a stack of StatefulDecoders
DecoderStack - Class in org.apache.asn1.codec.stateful
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 in org.apache.asn1.codec.stateful
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
 
DIGITS - Static variable in class org.apache.asn1.codec.binary.Hex
Used to build output as Hex

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.
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(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(ProtocolSession, Object, ProtocolEncoderOutput) - Method in class org.apache.asn1.codec.mina.Asn1CodecEncoder
 
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.
encode(Object) - Method in interface org.apache.asn1.codec.stateful.StatefulEncoder
 
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 - Interface in org.apache.asn1.codec
Provides the highest level of abstraction for Encoders.
encoder - Variable in class org.apache.asn1.codec.mina.Asn1CodecEncoder
 
EncoderCallback - Interface in org.apache.asn1.codec.stateful
Document me.
EncoderException - Exception in org.apache.asn1.codec
Thrown when there is a failure condition during the encoding process.
EncoderException(String) - Constructor for exception org.apache.asn1.codec.EncoderException
Creates a new instance of this exception with an useful message.
EncoderFactory - Interface in org.apache.asn1.codec.stateful
A factory for creating new StatefulEncoders.
EncoderMonitor - Interface in org.apache.asn1.codec.stateful
Document me.
EncoderMonitorAdapter - Class in org.apache.asn1.codec.stateful
Document me.
EncoderMonitorAdapter() - Constructor for class org.apache.asn1.codec.stateful.EncoderMonitorAdapter
 
encOut - Variable in class org.apache.asn1.codec.mina.Asn1CodecEncoder.EncoderCallbackImpl
 
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

Hex - Class in org.apache.asn1.codec.binary
Hex encoder and decoder.
Hex() - Constructor for class org.apache.asn1.codec.binary.Hex
 
HEXCHAR_LUT - Variable in class org.apache.asn1.codec.stateful.examples.HexEncoder
 
HexDecoder - Class in org.apache.asn1.codec.stateful.examples
Document me.
HexDecoder() - Constructor for class org.apache.asn1.codec.stateful.examples.HexDecoder
 
HexEncoder - Class in org.apache.asn1.codec.stateful.examples
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

serialVersionUID - Static variable in exception org.apache.asn1.codec.DecoderException
Declares the Serial Version Uid.
serialVersionUID - Static variable in exception 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(EncoderCallback) - Method in class org.apache.asn1.codec.stateful.examples.HexEncoder
 
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
 
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 class org.apache.asn1.codec.stateful.examples.HexEncoder
 
setEncoderMonitor(EncoderMonitor) - Method in interface org.apache.asn1.codec.stateful.StatefulEncoder
 
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
StatefulDecoder - Interface in org.apache.asn1.codec.stateful
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 in org.apache.asn1.codec.stateful
The StatefulEncoder interface.

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-2009 . All Rights Reserved.