Package edu.jas.gb
Class ReducerServerEC<C extends RingElem<C>>
- java.lang.Object
-
- edu.jas.gb.ReducerServerEC<C>
-
- Type Parameters:
C
- coefficient type
- All Implemented Interfaces:
java.lang.Runnable
class ReducerServerEC<C extends RingElem<C>> extends java.lang.Object implements java.lang.Runnable
Distributed server reducing worker threads.
-
-
Field Summary
Fields Modifier and Type Field Description private ChannelFactory
cf
private static org.apache.logging.log4j.Logger
logger
private SocketChannel
pairChannel
private PairList<C>
pairlist
private Terminator
pool
private DistHashTable<java.lang.Integer,GenPolynomial<C>>
theList
-
Constructor Summary
Constructors Constructor Description ReducerServerEC(Terminator fin, ChannelFactory cf, DistHashTable<java.lang.Integer,GenPolynomial<C>> dl, PairList<C> L)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
run()
-
-
-
Field Detail
-
pool
private final Terminator pool
-
cf
private final ChannelFactory cf
-
pairChannel
private SocketChannel pairChannel
-
theList
private final DistHashTable<java.lang.Integer,GenPolynomial<C extends RingElem<C>>> theList
-
logger
private static final org.apache.logging.log4j.Logger logger
-
-
Constructor Detail
-
ReducerServerEC
ReducerServerEC(Terminator fin, ChannelFactory cf, DistHashTable<java.lang.Integer,GenPolynomial<C>> dl, PairList<C> L)
-
-