public class RelevantPrecinct
extends java.lang.Object
The class is used by the WindowScalingFactor class.
Modifier and Type | Field and Description |
---|---|
int |
actualNumBytes
Its meaning is the same as
actualNumPacket but for number of
bytes. |
int |
actualNumPacket
Records the packet/layer that is being taken into account.
|
int |
component |
int |
endLayer
Records the last layer of this precinct to be taken into account.
|
long |
inClassIdentifier
Definition in
inClassIdentifier |
int |
jpipMessageHeaderLength
Estimation of the JPIP message length.
|
long |
msgLength
Saves the cumulative length of the message to be transmitted.
|
long |
msgOffset
Saves the offset of the message to be transmitted.
|
int |
numBytesInClientCache
It is similar to the
numPacketsInClientCache but for the number
of bytes. |
int |
numPacketsInClientCache
State attribute to save the number of packets that has been previously
sent to the client.
|
float |
overlapFactor
Percentage of pixels belonging to the precinct that also lay in the WOI.
|
int |
precinct |
int |
rLevel |
int |
startLayer
Records the first layer of this precinct to be included.
|
int |
tile |
boolean |
visited
A temporary attribute.
|
float |
wsf
Window Scaling Factor.
|
Constructor and Description |
---|
RelevantPrecinct(long inClassIdentifier)
Constructor.
|
RelevantPrecinct(RelevantPrecinct relevantPrecinct)
Constructor (copy).
|
Modifier and Type | Method and Description |
---|---|
void |
list(java.io.PrintStream out)
Prints this Relevant Precinct out to the specified output stream.
|
void |
listDebug(java.io.PrintStream out) |
void |
reset()
Sets attributes to their initial values.
|
java.lang.String |
toString() |
java.lang.String |
toStringSummary() |
public long inClassIdentifier
inClassIdentifier
public int tile
public int component
public int rLevel
public int precinct
public float overlapFactor
public float wsf
public boolean visited
public int startLayer
public int endLayer
OBS: this layer is not included.
public int actualNumPacket
public int actualNumBytes
actualNumPacket
but for number of
bytes.public int numPacketsInClientCache
OBS: this attribute will be removed in the next revision since its value can be calculated using the cache server and the actualNumPackets.
public int numBytesInClientCache
numPacketsInClientCache
but for the number
of bytes.
OBS: this attribute will be removed in the next revision since its value can be calculated using the cache server and the actualNumBytes.
public int jpipMessageHeaderLength
public long msgOffset
public long msgLength
public RelevantPrecinct(long inClassIdentifier)
inClassIdentifier
- definition in inClassIdentifier
.public RelevantPrecinct(RelevantPrecinct relevantPrecinct)
relevantPrecinct
- an object of this class.public void reset()
public java.lang.String toStringSummary()
public void listDebug(java.io.PrintStream out)
public java.lang.String toString()
toString
in class java.lang.Object
public void list(java.io.PrintStream out)
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)