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 protectedJobChunkUpdate() -
Method Summary
Modifier and Type Method Description booleanaddChunkFromDataChunk(DataChunk dataChunk)booleanaddChunkFromFile(java.nio.ByteBuffer byteBuffer)booleanaddChunkFromIsoChunk(IsoChunk chunk)booleancanAddChunk()java.nio.ByteBuffergetBuffer()intgetChunkCount()longgetNetTimeStamp()UdpConnectiongetTargetConn()booleanreadChunksFromNetBuffer(java.nio.ByteBuffer byteBuffer, long long1)booleanreadChunksPacket(DataRoot dataRoot, java.util.List list)protected voidreset()booleansaveChunksToDisk()booleansaveChunksToNetBuffer(java.nio.ByteBuffer byteBuffer)voidsetNetTimeStamp(long long1)voidsetTargetConn(UdpConnection udpConnection)Methods inherited from class zombie.iso.areas.isoregion.jobs.RegionJob
getJobTypeMethods 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)
-