Package zombie.network
Class ChunkRevisions.ClientChunkRevisionRequest
java.lang.Object
zombie.network.ChunkRevisions.ClientChunkRevisionRequest
- Enclosing class:
- ChunkRevisions
public static class ChunkRevisions.ClientChunkRevisionRequest
extends java.lang.Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ChunkRevisions.ClientChunkRevisionRequest.State
-
Field Summary
Fields Modifier and Type Field Description int[]
area
java.util.ArrayList
chunks
UdpConnection
connection
int
coopRequest
java.lang.String
fileName
long
requestTime
ChunkRevisions.ClientChunkRevisionRequest.State
state
java.lang.Thread
thread
long
threadStartTime
int
timeout
-
Constructor Summary
Constructors Constructor Description ClientChunkRevisionRequest()
ClientChunkRevisionRequest(int int1, int int2, int int3, int int4, int int5)
-
Method Summary
Modifier and Type Method Description void
acknowledge()
void
download()
void
emptyZip()
boolean
isFailed()
boolean
isFinished()
void
request()
void
setArea(int int1, int int2, int int3, int int4, int int5)
void
start()
void
unzip(java.nio.ByteBuffer byteBuffer)
void
update()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
connection
-
fileName
public java.lang.String fileName -
area
public int[] area -
thread
public java.lang.Thread thread -
timeout
public int timeout -
requestTime
public long requestTime -
chunks
public java.util.ArrayList chunks -
coopRequest
public int coopRequest -
state
-
threadStartTime
public long threadStartTime
-
-
Constructor Details
-
ClientChunkRevisionRequest
public ClientChunkRevisionRequest() -
ClientChunkRevisionRequest
public ClientChunkRevisionRequest(int int1, int int2, int int3, int int4, int int5)
-
-
Method Details
-
setArea
public void setArea(int int1, int int2, int int3, int int4, int int5) -
start
public void start() -
update
public void update() -
request
public void request() -
acknowledge
public void acknowledge() -
emptyZip
public void emptyZip() -
download
public void download() -
unzip
public void unzip(java.nio.ByteBuffer byteBuffer) -
isFinished
public boolean isFinished() -
isFailed
public boolean isFailed()
-