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 long[] |
timeouts |
Constructor and Description |
---|
SocketList(int size) |
Modifier and Type | Method and 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-2016 Apache Software Foundation. All Rights Reserved.