Class RequestDataPacket
java.lang.Object
zombie.network.packets.RequestDataPacket
- All Implemented Interfaces:
INetworkPacketField, IDescriptor, INetworkPacket
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanisConsistent(UdpConnection connection) voidparse(ByteBuffer b, UdpConnection connection) voidprocessClient(UdpConnection connection) voidprocessClientLoading(UdpConnection connection) voidprocessServer(PacketTypes.PacketType packetType, UdpConnection connection) voidsendConnectingDetails(UdpConnection connection, ServerWorldDatabase.LogonResult logonResult) voidvoidvoidsetPartDataParameters(int bytesSent, int partSize) voidvoidvoidMethods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface IDescriptor
getClassDescription, getDescriptionMethods inherited from interface INetworkPacket
isPostponed, parseClient, parseClientLoading, parseServer, postpone, sendToClient, sendToClients, sendToRelativeClients, sendToServer, setData, syncMethods inherited from interface INetworkPacketField
getPacketSizeBytes
-
Field Details
-
largeFileBb
-
-
Constructor Details
-
RequestDataPacket
public RequestDataPacket()
-
-
Method Details
-
allocateLargeFileBB
public void allocateLargeFileBB() -
setRequest
public void setRequest() -
setRequest
-
setPartData
-
setPartDataParameters
public void setPartDataParameters(int bytesSent, int partSize) -
setACK
-
sendConnectingDetails
public void sendConnectingDetails(UdpConnection connection, ServerWorldDatabase.LogonResult logonResult) -
parse
- Specified by:
parsein interfaceINetworkPacketField
-
write
- Specified by:
writein interfaceINetworkPacketField
-
processServer
- Specified by:
processServerin interfaceINetworkPacket
-
processClientLoading
- Specified by:
processClientLoadingin interfaceINetworkPacket
-
processClient
- Specified by:
processClientin interfaceINetworkPacket
-
isConsistent
- Specified by:
isConsistentin interfaceINetworkPacketField
-
getDescription
- Specified by:
getDescriptionin interfaceIDescriptor
-