Package zombie.network
Class PlayerDownloadServer
java.lang.Object
zombie.network.PlayerDownloadServer
public class PlayerDownloadServer
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description int
port
-
Constructor Summary
Constructors Constructor Description PlayerDownloadServer(UdpConnection connection, int port)
-
Method Summary
Modifier and Type Method Description void
destroy()
void
receiveCancelRequest(java.nio.ByteBuffer bb)
void
receiveRequestArray(java.nio.ByteBuffer bb)
void
receiveRequestLargeArea(java.nio.ByteBuffer bb)
void
startConnectionTest()
void
update()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
port
public int port
-
-
Constructor Details
-
PlayerDownloadServer
-
-
Method Details
-
destroy
public void destroy() -
startConnectionTest
public void startConnectionTest() -
receiveRequestArray
public void receiveRequestArray(java.nio.ByteBuffer bb) throws java.lang.Exception- Throws:
java.lang.Exception
-
receiveRequestLargeArea
public void receiveRequestLargeArea(java.nio.ByteBuffer bb) -
receiveCancelRequest
public void receiveCancelRequest(java.nio.ByteBuffer bb) -
update
public void update()
-