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 class
ChunkRevisions.ServerChunkRevisionRequest.State
-
Field Summary
Fields Modifier and Type Field Description java.util.ArrayList
chunks
UdpConnection
connection
java.lang.String
fileName
int
port
ChunkRevisions.ServerChunkRevisionRequest.State
state
java.lang.Thread
thread
long
threadStartTime
ChunkRevisions.UploadFileToClient
uftc
-
Constructor Summary
Constructors Constructor Description ServerChunkRevisionRequest(UdpConnection udpConnection, java.util.ArrayList arrayList)
-
Method Summary
Modifier and Type Method Description void
acknowledge()
void
createFile()
boolean
isFailed()
boolean
isFinished()
void
notifyEmpty()
void
update()
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()
-