public class ServerCacheModel extends CacheModel
Modifier and Type | Field and Description |
---|---|
private JP2KServerLogicalTarget |
logicalTarget
Is the logical target
|
codestream, mainHeaderBinDescriptor, precinctDataBins, tileHeaderDataBin
Constructor and Description |
---|
ServerCacheModel(JP2KServerLogicalTarget logicalTarget)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
list(java.io.PrintStream out)
Prints this Server Cache Model and Preferences fields out to the
specified output stream.
|
void |
reset()
Resets the variables to its initials values.
|
java.lang.String |
toString() |
void |
update(java.util.ArrayList<ModelElement> descriptor)
Updates the server cache with data client has sent or with data sent
from the server to the client.
|
void |
update(java.util.ArrayList<ModelElement> descriptor,
ViewWindowField woi)
Updates the cache model allowing wildcards for precinct identifiers.
|
getDataBinLength, getMainHeaderLength, getPrecinctDataBinLayers, getPrecinctDataBinLength, getTileHeaderDataBinLength, update, update, update, update, update, update
private JP2KServerLogicalTarget logicalTarget
public ServerCacheModel(JP2KServerLogicalTarget logicalTarget)
logicalTarget
- public void update(java.util.ArrayList<ModelElement> descriptor)
update
in class CacheModel
public void update(java.util.ArrayList<ModelElement> descriptor, ViewWindowField woi)
descriptor
- woi
- public void reset()
reset
in class CacheModel
public java.lang.String toString()
toString
in class CacheModel
public void list(java.io.PrintStream out)
list
in class CacheModel
out
- an output stream.
CADI - Copyright (C) 2007
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
Group on Interactive Coding of Images (GICI) (contact)