Class PacketPingResponse
java.lang.Object
net.ME1312.SubData.Server.Protocol.Internal.PacketPingResponse
- All Implemented Interfaces:
PacketIn,PacketOut,PacketStreamIn,PacketStreamOut
Ping Response Packet
-
Constructor Summary
ConstructorsConstructorDescriptionNew PacketPingResponse (In)PacketPingResponse(UUID tracker, long time) New PacketPingResponse (Out) -
Method Summary
Modifier and TypeMethodDescriptionvoidreceive(SubDataClient client, InputStream in) Receives the incoming Packetvoidsend(SubDataClient client, OutputStream out) Sends data within the outgoing PacketMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.ME1312.SubData.Server.Protocol.PacketStreamIn
receive
-
Constructor Details
-
PacketPingResponse
public PacketPingResponse()New PacketPingResponse (In) -
PacketPingResponse
New PacketPingResponse (Out)- Parameters:
tracker- UUID Trackertime- Nanosecond Timing- Throws:
IOException
-
-
Method Details
-
send
Description copied from interface:PacketStreamOutSends data within the outgoing Packet- Specified by:
sendin interfacePacketStreamOut- Parameters:
client- Client sendingout- Data Stream- Throws:
Throwable
-
receive
Description copied from interface:PacketStreamInReceives the incoming Packet- Specified by:
receivein interfacePacketStreamIn- Parameters:
client- Client who sentin- Data Stream- Throws:
Throwable
-