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