Package zombie.iso.areas.isoregion.jobs
Class JobChunkUpdate
java.lang.Object
zombie.iso.areas.isoregion.jobs.RegionJob
zombie.iso.areas.isoregion.jobs.JobChunkUpdate
public class JobChunkUpdate extends RegionJob
-
Constructor Summary
Constructors Modifier Constructor Description protected
JobChunkUpdate()
-
Method Summary
Modifier and Type Method Description boolean
addChunkFromDataChunk(DataChunk dataChunk)
boolean
addChunkFromFile(java.nio.ByteBuffer byteBuffer)
boolean
addChunkFromIsoChunk(IsoChunk chunk)
boolean
canAddChunk()
java.nio.ByteBuffer
getBuffer()
int
getChunkCount()
long
getNetTimeStamp()
UdpConnection
getTargetConn()
boolean
readChunksFromNetBuffer(java.nio.ByteBuffer byteBuffer, long long1)
boolean
readChunksPacket(DataRoot dataRoot, java.util.List list)
protected void
reset()
boolean
saveChunksToDisk()
boolean
saveChunksToNetBuffer(java.nio.ByteBuffer byteBuffer)
void
setNetTimeStamp(long long1)
void
setTargetConn(UdpConnection udpConnection)
Methods inherited from class zombie.iso.areas.isoregion.jobs.RegionJob
getJobType
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
JobChunkUpdate
protected JobChunkUpdate()
-
-
Method Details
-
reset
protected void reset() -
getTargetConn
-
setTargetConn
-
getChunkCount
public int getChunkCount() -
getBuffer
public java.nio.ByteBuffer getBuffer() -
getNetTimeStamp
public long getNetTimeStamp() -
setNetTimeStamp
public void setNetTimeStamp(long long1) -
readChunksPacket
-
saveChunksToDisk
public boolean saveChunksToDisk() -
saveChunksToNetBuffer
public boolean saveChunksToNetBuffer(java.nio.ByteBuffer byteBuffer) -
readChunksFromNetBuffer
public boolean readChunksFromNetBuffer(java.nio.ByteBuffer byteBuffer, long long1) -
canAddChunk
public boolean canAddChunk() -
addChunkFromDataChunk
-
addChunkFromIsoChunk
-
addChunkFromFile
public boolean addChunkFromFile(java.nio.ByteBuffer byteBuffer)
-