private class MergingDatagramSocket.SocketContainer.Buffer extends Object
DatagramPacket
for the purposes of MergingDatagramSocket.SocketContainer
.Modifier and Type | Field and Description |
---|---|
private static int |
MAX_PACKET_SIZE
The size of the buffer to allocate.
|
(package private) DatagramPacket |
pkt
The
DatagramPacket wrapped by this MergingDatagramSocket.SocketContainer.Buffer . |
(package private) long |
receivedTime
The time at which this buffer was filled.
|
Modifier | Constructor and Description |
---|---|
private |
Buffer() |
Modifier and Type | Method and Description |
---|---|
private void |
reset()
Prepares this
MergingDatagramSocket.SocketContainer.Buffer for reuse. |
private static final int MAX_PACKET_SIZE
long receivedTime
DatagramPacket pkt
DatagramPacket
wrapped by this MergingDatagramSocket.SocketContainer.Buffer
.private void reset()
MergingDatagramSocket.SocketContainer.Buffer
for reuse.Copyright © 2018. All rights reserved.