A B C D E F G H I M N P R S T W

A

acquireAllWriteLocks() - Method in class com.onionnetworks.fec.io.FECFile
Acquires all write block locks.
addFECIOListener(FECIOListener) - Method in class com.onionnetworks.fec.io.FECFile
Adds a new FECIOListener.
addMul(char[], int, char[], int, char, int) - Method in class com.onionnetworks.fec.FECMath
 
addMul(byte[], int, byte[], int, byte, int) - Method in class com.onionnetworks.fec.FECMath
 
addPacketEntry(int, int) - Method in class com.onionnetworks.fec.io.PacketPlacement
Add a new entry to an available slot.

B

BlockAlreadyDecodedException - Exception in com.onionnetworks.fec.io
This exception signals that there was an attempt to write a packet to a block that has already been decoded.
BlockAlreadyDecodedException(int, int) - Constructor for exception com.onionnetworks.fec.io.BlockAlreadyDecodedException
Constructs a new Exception
BlockAlreadyDecodedException(String, int, int) - Constructor for exception com.onionnetworks.fec.io.BlockAlreadyDecodedException
Constructs a new Exception
BlockDecodedEvent - Class in com.onionnetworks.fec.io
This event signifies that a complete block was decoded.
BlockDecodedEvent(Object, int) - Constructor for class com.onionnetworks.fec.io.BlockDecodedEvent
 

C

close() - Method in class com.onionnetworks.fec.io.FECFile
Close the underlying file descriptor and free up the resources associated with this FECFile.
close() - Method in class com.onionnetworks.fec.io.FECFile.Decoder
 
com.onionnetworks.fec - package com.onionnetworks.fec
 
com.onionnetworks.fec.io - package com.onionnetworks.fec.io
 
containsPacket(int, int) - Method in class com.onionnetworks.fec.io.FECFile
 
createEncodeMatrix(int, int) - Method in class com.onionnetworks.fec.FECMath
 
createFECCode(int, int) - Method in class com.onionnetworks.fec.DefaultFECCodeFactory
If you're only asking for an 8 bit code we will NOT give you a 16 bit one.
createFECCode(int, int) - Method in class com.onionnetworks.fec.FECCodeFactory
 
createGFMatrix(int, int) - Static method in class com.onionnetworks.fec.FECMath
Generate GF(2**m) from the irreducible polynomial p(X) in p[0]..p[m] Lookup tables: index->polynomial form gf_exp[] contains j= \alpha^i; polynomial form -> index form gf_log[ j = \alpha^i ] = i \alpha=x is the primitive element of GF(2^m) For efficiency, gf_exp[] has size 2*gfSize, so that a simple multiplication of two numbers can be resolved without calling modnn

D

decode(Buffer[], int[]) - Method in class com.onionnetworks.fec.FECCode
This method takes an array of encoded packets and decodes them.
DECODED_BLOCK - Static variable in class com.onionnetworks.fec.io.PacketPlacement
 
DEFAULT_CACHE_TIME - Static variable in class com.onionnetworks.fec.DefaultFECCodeFactory
 
DefaultFECCodeFactory - Class in com.onionnetworks.fec
This is the default FECCodeFactory that wraps all of the FECCode implementations.
DefaultFECCodeFactory() - Constructor for class com.onionnetworks.fec.DefaultFECCodeFactory
 
DuplicatePacketException - Exception in com.onionnetworks.fec.io
This exception signifies that there was attempt to write a duplicate packet (c) Copyright 2001 Onion Networks (c) Copyright 2000 OpenCola
DuplicatePacketException(int, int, int) - Constructor for exception com.onionnetworks.fec.io.DuplicatePacketException
 
DuplicatePacketException(String, int, int, int) - Constructor for exception com.onionnetworks.fec.io.DuplicatePacketException
 

E

encode(Buffer[], Buffer[], int[]) - Method in class com.onionnetworks.fec.FECCode
This method takes an array of source packets and generates a number of repair packets from them.
equals(Object) - Method in class com.onionnetworks.fec.io.FECParameters
 
equals(Object) - Method in class com.onionnetworks.fec.io.PacketInfo
 
EVENTS - Static variable in interface com.onionnetworks.fec.io.FECIOListener
 

F

FEC_MAGIC - Static variable in class com.onionnetworks.fec.PureCode
 
FECCode - Class in com.onionnetworks.fec
This class provides the main API/SPI for the FEC library.
FECCodeFactory - Class in com.onionnetworks.fec
This is the abstract class is subclassed in order to plug in new FEC implementations.
FECFile - Class in com.onionnetworks.fec.io
This class provides the necessary file IO routines to go along with the raw FEC codes.
FECFile(File, String, FECParameters) - Constructor for class com.onionnetworks.fec.io.FECFile
Open the file according to modeFECFile(File, String, FECParameters, FileIntegrity) - Constructor for class com.onionnetworks.fec.io.FECFile
Open the file according to modeFECFile.Decoder - Class in com.onionnetworks.fec.io
 
FECFile.Decoder() - Constructor for class com.onionnetworks.fec.io.FECFile.Decoder
 
FECIOEvent - Class in com.onionnetworks.fec.io
Superclass for all FEC IO related events.
FECIOEvent(Object) - Constructor for class com.onionnetworks.fec.io.FECIOEvent
 
FECIOListener - Interface in com.onionnetworks.fec.io
This interface is implemented to listen for FECIOEvents (c) Copyright 2001 Onion Networks (c) Copyright 2000 OpenCola
FECMath - Class in com.onionnetworks.fec
This class provides the majority of the logic for the pure Java implementation of the vandermonde FEC codes.
FECMath() - Constructor for class com.onionnetworks.fec.FECMath
 
FECMath(int) - Constructor for class com.onionnetworks.fec.FECMath
 
FECParameters - Class in com.onionnetworks.fec.io
This class contains all of the functions for performing packet, block, and stripe calculations given a set of FEC parameters.
FECParameters(int, int, int, long) - Constructor for class com.onionnetworks.fec.io.FECParameters
Creates a new FECParameters instance.
FileAlreadyDecodedException - Exception in com.onionnetworks.fec.io
This exception signals that there was an attempt to write a packet to a file that has already been completely decoded.
FileAlreadyDecodedException() - Constructor for exception com.onionnetworks.fec.io.FileAlreadyDecodedException
 
FileAlreadyDecodedException(String) - Constructor for exception com.onionnetworks.fec.io.FileAlreadyDecodedException
 
FileDecodedEvent - Class in com.onionnetworks.fec.io
This event signifies that the file has been completely decoded.
FileDecodedEvent(Object) - Constructor for class com.onionnetworks.fec.io.FileDecodedEvent
 

G

generateGF() - Method in class com.onionnetworks.fec.FECMath
 
getBlockCount() - Method in class com.onionnetworks.fec.io.FECParameters
 
getBlockNum() - Method in exception com.onionnetworks.fec.io.BlockAlreadyDecodedException
 
getBlockNum() - Method in class com.onionnetworks.fec.io.BlockDecodedEvent
 
getBlockNum() - Method in exception com.onionnetworks.fec.io.DuplicatePacketException
 
getBlockNum() - Method in class com.onionnetworks.fec.io.PacketInfo
 
getBlockNum() - Method in exception com.onionnetworks.fec.io.PacketNotFoundException
 
getBlockNum() - Method in class com.onionnetworks.fec.io.PacketWrittenEvent
 
getBlockPacketCount() - Method in class com.onionnetworks.fec.io.PacketWrittenEvent
 
getDecodedBlockCount() - Method in class com.onionnetworks.fec.io.FECFile
 
getDecodedBlockCount() - Method in class com.onionnetworks.fec.io.PacketPlacement
 
getDefault() - Static method in class com.onionnetworks.fec.FECCodeFactory
 
getExpandedBlockSize() - Method in class com.onionnetworks.fec.io.FECParameters
 
getFECParameters() - Method in class com.onionnetworks.fec.io.FECFile
 
getFileSize() - Method in class com.onionnetworks.fec.io.FECParameters
 
getK() - Method in class com.onionnetworks.fec.io.FECParameters
 
getMaxStripeSize() - Method in class com.onionnetworks.fec.io.FECParameters
 
getN() - Method in class com.onionnetworks.fec.io.FECParameters
 
getNumStripes() - Method in class com.onionnetworks.fec.io.FECParameters
 
getPacketCount(int) - Method in class com.onionnetworks.fec.io.PacketPlacement
 
getPacketIndex() - Method in exception com.onionnetworks.fec.io.DuplicatePacketException
 
getPacketIndex() - Method in class com.onionnetworks.fec.io.PacketEntryAddedEvent
 
getPacketIndex(int, int) - Method in class com.onionnetworks.fec.io.PacketPlacement
Perform a reverse lookup on the index to find the index of a specific packet.
getPacketSize() - Method in class com.onionnetworks.fec.io.FECParameters
 
getPacketSize(int, int) - Method in class com.onionnetworks.fec.io.FECParameters
 
getStripeNum() - Method in exception com.onionnetworks.fec.io.BlockAlreadyDecodedException
 
getStripeNum() - Method in exception com.onionnetworks.fec.io.DuplicatePacketException
 
getStripeNum() - Method in class com.onionnetworks.fec.io.PacketInfo
 
getStripeNum() - Method in exception com.onionnetworks.fec.io.PacketNotFoundException
 
getStripeNum() - Method in class com.onionnetworks.fec.io.PacketWrittenEvent
 
getStripeNums(int) - Method in class com.onionnetworks.fec.io.PacketPlacement
 
getStripeNums(int, int) - Method in class com.onionnetworks.fec.io.PacketPlacement
 
getStripePacketCount(int) - Method in class com.onionnetworks.fec.io.FECParameters
 
getStripeSize(int) - Method in class com.onionnetworks.fec.io.FECParameters
 
getUnexpandedBlockSize() - Method in class com.onionnetworks.fec.io.FECParameters
 
getUnexpandedBlockSize(int) - Method in class com.onionnetworks.fec.io.FECParameters
 
getUnexpandedPacketCount() - Method in class com.onionnetworks.fec.io.FECParameters
 
getUnexpandedPacketCount(int) - Method in class com.onionnetworks.fec.io.FECParameters
 
getWrittenCount() - Method in class com.onionnetworks.fec.io.FECFile
 
getWrittenCount() - Method in class com.onionnetworks.fec.io.PacketPlacement
 
gf_exp - Variable in class com.onionnetworks.fec.FECMath
To speed up computations, we have tables for logarithm, exponent and inverse of a number.
gf_log - Variable in class com.onionnetworks.fec.FECMath
 
gf_mul_table - Variable in class com.onionnetworks.fec.FECMath
gf_mul(x,y) multiplies two numbers.
gfBits - Variable in class com.onionnetworks.fec.FECMath
The following parameter defines how many bits are used for field elements.
gfSize - Variable in class com.onionnetworks.fec.FECMath
 

H

hashCode() - Method in class com.onionnetworks.fec.io.FECParameters
 
hashCode() - Method in class com.onionnetworks.fec.io.PacketInfo
 

I

initMulTable() - Method in class com.onionnetworks.fec.FECMath
 
inverse - Variable in class com.onionnetworks.fec.FECMath
 
invertMatrix(char[], int) - Method in class com.onionnetworks.fec.FECMath
 
invertVandermonde(char[], int) - Method in class com.onionnetworks.fec.FECMath
 
isBlockDecoded(int) - Method in class com.onionnetworks.fec.io.FECFile
 
isBlockDecoded(int) - Method in class com.onionnetworks.fec.io.PacketPlacement
 
isDecoded() - Method in class com.onionnetworks.fec.io.FECFile
 
isIdentity(char[], int) - Static method in class com.onionnetworks.fec.FECMath
 
isPaddingPacket(int, int) - Method in class com.onionnetworks.fec.io.FECParameters
Padding packets are empty packets that should never been read or written and shouldn't be sent across the network (they are all '0's)

M

matMul(char[], char[], char[], int, int, int) - Method in class com.onionnetworks.fec.FECMath
 
matMul(char[], int, char[], int, char[], int, int, int, int) - Method in class com.onionnetworks.fec.FECMath
 
modnn(int) - Method in class com.onionnetworks.fec.FECMath
modnn(x) computes x % gfSize, where gfSize is 2**gfBits - 1, without a slow divide.
mul(char, char) - Method in class com.onionnetworks.fec.FECMath
 

N

Native16Code - Class in com.onionnetworks.fec
This class is the frontend for the JNI wrapper for the C implementation of the FEC Codes.
Native16Code(int, int) - Constructor for class com.onionnetworks.fec.Native16Code
 
Native8Code - Class in com.onionnetworks.fec
This class is the frontend for the JNI wrapper for the C implementation of the FEC Codes.
Native8Code(int, int) - Constructor for class com.onionnetworks.fec.Native8Code
 
notify(FECIOEvent) - Method in class com.onionnetworks.fec.io.FECFile.Decoder
 
NOTIFY - Static variable in interface com.onionnetworks.fec.io.FECIOListener
 
notify(FECIOEvent) - Method in interface com.onionnetworks.fec.io.FECIOListener
 

P

PacketEntryAddedEvent - Class in com.onionnetworks.fec.io
This event signifies that a new packet entry has been added.
PacketEntryAddedEvent(Object, int) - Constructor for class com.onionnetworks.fec.io.PacketEntryAddedEvent
 
PacketInfo - Class in com.onionnetworks.fec.io
This class provides a (blockNum,stripeNum) tuple that is comparable for equality.
PacketInfo(int, int) - Constructor for class com.onionnetworks.fec.io.PacketInfo
 
PacketNotFoundException - Exception in com.onionnetworks.fec.io
This exception signals that there was an attempt to read a packet that can't be found, or created from the data on disk.
PacketNotFoundException(int, int) - Constructor for exception com.onionnetworks.fec.io.PacketNotFoundException
 
PacketNotFoundException(String, int, int) - Constructor for exception com.onionnetworks.fec.io.PacketNotFoundException
 
PacketPlacement - Class in com.onionnetworks.fec.io
This class allocates and tracks how packets are written to disk.
PacketPlacement(FECParameters) - Constructor for class com.onionnetworks.fec.io.PacketPlacement
Creates a new PacketPlacement object.
PacketWrittenEvent - Class in com.onionnetworks.fec.io
This event signifies that a new packet was recieved and written to disk.
PacketWrittenEvent(Object, int, int, int) - Constructor for class com.onionnetworks.fec.io.PacketWrittenEvent
 
prim_polys - Static variable in class com.onionnetworks.fec.FECMath
Primitive polynomials - see Lin & Costello, Appendix A, and Lee & Messerschmitt, p.
Pure16Code - Class in com.onionnetworks.fec
This class, along with FECMath, provides the implementation of the pure Java 16 bit FEC codes.
Pure16Code(int, int) - Constructor for class com.onionnetworks.fec.Pure16Code
Notes about large N support: you can just generate the top k*k vandermonde matrix, call it V, then invert it, then when you have k blocks generate a matrix M with the k rows you need and E = M* V^{-1} is the encoding matrix for the systematic code which you then need to invert to perform the decoding.
PureCode - Class in com.onionnetworks.fec
This class, along with FECMath, provides the implementation of the pure Java 8 bit FEC codes.
PureCode(int, int) - Constructor for class com.onionnetworks.fec.PureCode
 
PureCode(int, int, char[]) - Constructor for class com.onionnetworks.fec.PureCode
 

R

read(Buffer[], int, int[]) - Method in class com.onionnetworks.fec.io.FECFile
This method reads a number of packets (encoding them if necessary) into the provided buffers.
releaseAllWriteLocks() - Method in class com.onionnetworks.fec.io.FECFile
Releases all write block locks.
removeFECIOListener(FECIOListener) - Method in class com.onionnetworks.fec.io.FECFile
 
renameTo(File) - Method in class com.onionnetworks.fec.io.FECFile
When the File is opened in r/w mode you must specify a destination.
run() - Method in class com.onionnetworks.fec.io.FECFile.Decoder
 

S

setBlockDecoded(int) - Method in class com.onionnetworks.fec.io.PacketPlacement
Signify that this block has been decoded.
setDecodeExceptionHandler(ExceptionHandler) - Method in class com.onionnetworks.fec.io.FECFile
Sets the ExceptionHandler for dealing with problems that occur during decoding.

T

toString() - Method in class com.onionnetworks.fec.io.FECParameters
 
toString() - Method in class com.onionnetworks.fec.Native16Code
 
toString() - Method in class com.onionnetworks.fec.Native8Code
 
toString() - Method in class com.onionnetworks.fec.Pure16Code
 
toString() - Method in class com.onionnetworks.fec.PureCode
 

W

waitForFileDecoded() - Method in class com.onionnetworks.fec.io.FECFile
This method blocks and returns once the file has been decoded.
write(Buffer, int, int) - Method in class com.onionnetworks.fec.io.FECFile
Writes a packet to disk.

A B C D E F G H I M N P R S T W

Copyright © 2002 Onion Networks. All Rights Reserved.