public static class AprEndpoint.SocketList
extends java.lang.Object
Modifier and Type | Field | Description |
---|---|---|
protected int[] |
flags |
|
protected AprEndpoint.SocketInfo |
info |
|
protected int |
pos |
|
protected int |
size |
|
protected long[] |
sockets |
|
protected long[] |
timeouts |
Constructor | Description |
---|---|
SocketList(int size) |
Modifier and Type | Method | Description |
---|---|---|
boolean |
add(long socket,
long timeout,
int flag) |
|
void |
clear() |
|
void |
duplicate(AprEndpoint.SocketList copy) |
|
AprEndpoint.SocketInfo |
get() |
|
boolean |
remove(long socket) |
|
int |
size() |
protected volatile int size
protected int pos
protected long[] sockets
protected long[] timeouts
protected int[] flags
protected AprEndpoint.SocketInfo info
public int size()
public AprEndpoint.SocketInfo get()
public void clear()
public boolean add(long socket, long timeout, int flag)
public boolean remove(long socket)
public void duplicate(AprEndpoint.SocketList copy)
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.