com.onionnetworks.fec
Class FECCodeFactory
java.lang.Object
com.onionnetworks.fec.FECCodeFactory
- Direct Known Subclasses:
- DefaultFECCodeFactory
public abstract 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)
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
createFECCode
public abstract FECCode createFECCode(int k,
int n)
- Returns:
- An FECCode for the appropriate
k
and n
values.
getDefault
public static FECCodeFactory getDefault()
- Returns:
- The default FECCodeFactory which is defined by the property
"com.onionnetworks.fec.defaultcodefactoryclass". If this property is
not defined then DefaultFECCodeFactory will be used by default.
Copyright © 2002 Onion Networks. All Rights Reserved.