Package zombie.network
Class ClientChunkRequest
java.lang.Object
zombie.network.ClientChunkRequest
public class ClientChunkRequest
extends java.lang.Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
ClientChunkRequest.Chunk
-
Field Summary
-
Constructor Summary
Constructors Constructor Description ClientChunkRequest()
-
Method Summary
Modifier and Type Method Description void
getByteBuffer(ClientChunkRequest.Chunk chunk)
ClientChunkRequest.Chunk
getChunk()
int
getRequestNumber()
void
releaseBuffer(ClientChunkRequest.Chunk chunk)
void
releaseBuffers()
void
releaseChunk(ClientChunkRequest.Chunk chunk)
void
unpack(java.nio.ByteBuffer bb, UdpConnection connection)
void
unpackLargeArea(java.nio.ByteBuffer bb, UdpConnection connection)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
chunks
public java.util.ArrayList chunks -
largeArea
public boolean largeArea
-
-
Constructor Details
-
ClientChunkRequest
public ClientChunkRequest()
-
-
Method Details
-
getChunk
-
releaseChunk
-
getByteBuffer
-
releaseBuffer
-
releaseBuffers
public void releaseBuffers() -
unpack
-
getRequestNumber
public int getRequestNumber() -
unpackLargeArea
-