Package zombie.network
Class ChunkRevisions.ServerChunkRevisionRequest
java.lang.Object
zombie.network.ChunkRevisions.ServerChunkRevisionRequest
- Enclosing class:
- ChunkRevisions
public static class ChunkRevisions.ServerChunkRevisionRequest
extends java.lang.Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classChunkRevisions.ServerChunkRevisionRequest.State -
Field Summary
Fields Modifier and Type Field Description java.util.ArrayListchunksUdpConnectionconnectionjava.lang.StringfileNameintportChunkRevisions.ServerChunkRevisionRequest.Statestatejava.lang.ThreadthreadlongthreadStartTimeChunkRevisions.UploadFileToClientuftc -
Constructor Summary
Constructors Constructor Description ServerChunkRevisionRequest(UdpConnection udpConnection, java.util.ArrayList arrayList) -
Method Summary
Modifier and Type Method Description voidacknowledge()voidcreateFile()booleanisFailed()booleanisFinished()voidnotifyEmpty()voidupdate()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
connection
-
port
public int port -
fileName
public java.lang.String fileName -
chunks
public java.util.ArrayList chunks -
thread
public java.lang.Thread thread -
uftc
-
threadStartTime
public long threadStartTime -
state
-
-
Constructor Details
-
ServerChunkRevisionRequest
-
-
Method Details
-
update
public void update() -
createFile
public void createFile() -
acknowledge
public void acknowledge() -
notifyEmpty
public void notifyEmpty() -
isFinished
public boolean isFinished() -
isFailed
public boolean isFailed()
-