|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectCADI.Server.Cache.ServerCache
CADI.Server.Cache.JPCServerCache
public class JPCServerCache
| Field Summary | |
|---|---|
private int[][] |
BDResolutionPrecinctHeights
Definition in CODParameters.precinctHeights |
private int[][] |
BDResolutionPrecinctWidths
Definition in CODParameters.precinctWidths |
(package private) JP2LogicalTarget |
logicalTarget
Is the logical target |
private int |
maxNumLayers
Definition in CODParameters.numLayers. |
protected java.util.HashMap<java.lang.Long,java.util.ArrayList<int[][][]>> |
precinctsQualityLayers
It is a hash table that storages the number of coding passes for each quality layer. |
private int |
tiles
|
private int[] |
WTLevels
Definition in CODParameters.WTLevels |
private int |
XOsize
Definition in SIZParameters.XOsize |
private int |
xSize
Definition in SIZParameters.xSize |
private int |
YOsize
Definition in SIZParameters.YOsize |
private int |
ySize
Definition in SIZParameters.ySize |
private int |
zSize
Definition in SIZParameters.zSize |
| Fields inherited from class CADI.Server.Cache.ServerCache |
|---|
isCompleteMainHeader, lengthOfMainHeaderSent, precinctDataBinLengths, precinctDataBinOffsets |
| Constructor Summary | |
|---|---|
JPCServerCache()
Constructor. |
|
| Method Summary | |
|---|---|
void |
createCache(ServerLogicalTarget logicalTarget)
This method has to initialize all variables/structures that will be used in the next methods calls. |
void |
list(java.io.PrintStream out)
Prints this JPC Server Cache fields out to the specified output stream. |
java.lang.String |
toString()
|
void |
update(java.util.ArrayList<CacheDescriptor> descriptor)
Updates the server cache with data client has sent or with data sent from the server to the client. |
| Methods inherited from class CADI.Server.Cache.ServerCache |
|---|
addElementPrecinctDataBin, getMainHeaderSent, getPrecinctDataBinLength, getPrecinctDataBinOffset, isCompleteMainHeader, reset, update |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
JP2LogicalTarget logicalTarget
protected java.util.HashMap<java.lang.Long,java.util.ArrayList<int[][][]>> precinctsQualityLayers
private int XOsize
SIZParameters.XOsize
private int YOsize
SIZParameters.YOsize
private int tiles
private int zSize
SIZParameters.zSize
private int ySize
SIZParameters.ySize
private int xSize
SIZParameters.xSize
private int[] WTLevels
CODParameters.WTLevels
private int[][] BDResolutionPrecinctWidths
CODParameters.precinctWidths
private int[][] BDResolutionPrecinctHeights
CODParameters.precinctHeights
private int maxNumLayers
CODParameters.numLayers.
| Constructor Detail |
|---|
public JPCServerCache()
| Method Detail |
|---|
public void createCache(ServerLogicalTarget logicalTarget)
ServerCacheThis method will only be called once after the object is created.
createCache in class ServerCachepublic void update(java.util.ArrayList<CacheDescriptor> descriptor)
update in class ServerCachepublic java.lang.String toString()
toString in class ServerCachepublic void list(java.io.PrintStream out)
list in class ServerCacheout - an output stream.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||