| Modifier and Type | Class and Description |
|---|---|
| private class | |
| public class | NativeDatagramPacketArray.
Used to pass needed data to JNI. |
| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private final IovArray | |
| private final byte[] | |
| private final NativeDatagramPacketArray. | |
| private final NativeDatagramPacketArray. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | |
| private boolean | |
| pack-priv boolean | |
| pack-priv void | |
| pack-priv int | |
| private static InetSocketAddress | |
| pack-priv NativeDatagramPacketArray. | |
| pack-priv void |
| count | back to summary |
|---|---|
| private int count | |
| iovArray | back to summary |
|---|---|
| private final IovArray iovArray | |
| ipv4Bytes | back to summary |
|---|---|
| private final byte[] ipv4Bytes | |
| packets | back to summary |
|---|---|
| private final NativeDatagramPacketArray. | |
| processor | back to summary |
|---|---|
| private final NativeDatagramPacketArray. | |
| NativeDatagramPacketArray | back to summary |
|---|---|
| pack-priv NativeDatagramPacketArray() | |
| add | back to summary |
|---|---|
| pack-priv void add(ChannelOutboundBuffer buffer, boolean connected, int maxMessagesPerWrite) throws Exception | |
| add0 | back to summary |
|---|---|
| private boolean add0(ByteBuf buf, int index, int len, int segmentLen, InetSocketAddress recipient) | |
| addWritable | back to summary |
|---|---|
| pack-priv boolean addWritable(ByteBuf buf, int index, int len) | |
| clear | back to summary |
|---|---|
| pack-priv void clear() | |
| count | back to summary |
|---|---|
| pack-priv int count() Returns the count | |
| newAddress | back to summary |
|---|---|
| private static InetSocketAddress newAddress(byte[] addr, int addrLen, int port, int scopeId, byte[] ipv4Bytes) throws UnknownHostException | |
| packets | back to summary |
|---|---|
| pack-priv NativeDatagramPacketArray. Returns an array with | |
| release | back to summary |
|---|---|
| pack-priv void release() | |
| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private int |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | processMessage(Object msg)
Implements io. false.
|
| connected | back to summary |
|---|---|
| private boolean connected | |
| maxMessagesPerWrite | back to summary |
|---|---|
| private int maxMessagesPerWrite | |
| MyMessageProcessor | back to summary |
|---|---|
| private MyMessageProcessor() | |
| processMessage | back to summary |
|---|---|
| public boolean processMessage(Object msg) Implements io. Doc from io. Will be called for each flushed message until it either there are no more flushed messages or this
method returns
| |
| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private long | |
| private final byte[] | |
| private int | |
| private int | |
| private int | |
| private int | |
| private final byte[] | |
| private int | |
| private int | |
| private int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv boolean | |
| private void | |
| pack-priv DatagramPacket |
| count | back to summary |
|---|---|
| private int count | |
| memoryAddress | back to summary |
|---|---|
| private long memoryAddress | |
| recipientAddr | back to summary |
|---|---|
| private final byte[] recipientAddr | |
| recipientAddrLen | back to summary |
|---|---|
| private int recipientAddrLen | |
| recipientPort | back to summary |
|---|---|
| private int recipientPort | |
| recipientScopeId | back to summary |
|---|---|
| private int recipientScopeId | |
| segmentSize | back to summary |
|---|---|
| private int segmentSize | |
| senderAddr | back to summary |
|---|---|
| private final byte[] senderAddr | |
| senderAddrLen | back to summary |
|---|---|
| private int senderAddrLen | |
| senderPort | back to summary |
|---|---|
| private int senderPort | |
| senderScopeId | back to summary |
|---|---|
| private int senderScopeId | |
| NativeDatagramPacket | back to summary |
|---|---|
| public NativeDatagramPacket() | |
| hasSender | back to summary |
|---|---|
| pack-priv boolean hasSender() | |
| init | back to summary |
|---|---|
| private void init(long memoryAddress, int count, int segmentSize, InetSocketAddress recipient) | |
| newDatagramPacket | back to summary |
|---|---|
| pack-priv DatagramPacket newDatagramPacket(ByteBuf buffer, InetSocketAddress recipient) throws UnknownHostException | |