anon.mixminion.fec
Class FECCodeFactory

java.lang.Object
  extended by anon.mixminion.fec.FECCodeFactory

public class FECCodeFactory
extends java.lang.Object

This is the abstract class is subclassed in order to plug in new FEC implementations. If you wish to use the default implementation defined by the property "com.onionnetworks.fec.defaultcodefactoryclass" you should simply call: FECCodeFactory factory = FECCodeFactory.getDefault(); (c) Copyright 2001 Onion Networks (c) Copyright 2000 OpenCola

Author:
Justin F. Chapweske (justin@chapweske.com), JAP-Team -- made some changes

Constructor Summary
protected FECCodeFactory()
           
 
Method Summary
 FECCode createFECCode(int k, int n)
           
static FECCodeFactory getDefault()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FECCodeFactory

protected FECCodeFactory()
Method Detail

createFECCode

public FECCode createFECCode(int k,
                             int n)
Returns:
An FECCode for the appropriate k and n values.

getDefault

public static FECCodeFactory getDefault()
Returns:
this