org.apache.tomcat.util.net
Class AprEndpoint.SocketInfo

java.lang.Object
  extended by org.apache.tomcat.util.net.AprEndpoint.SocketInfo
Enclosing class:
AprEndpoint

public static class AprEndpoint.SocketInfo
extends java.lang.Object

Socket list class, used to avoid using a possibly large amount of objects with very little actual use.


Field Summary
 int flags
           
static int READ
           
static int RESUME
           
 long socket
           
 int timeout
           
static int WAKEUP
           
static int WRITE
           
 
Constructor Summary
AprEndpoint.SocketInfo()
           
 
Method Summary
static int merge(int flag1, int flag2)
           
 boolean read()
           
 boolean resume()
           
 boolean wakeup()
           
 boolean write()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

READ

public static final int READ
See Also:
Constant Field Values

WRITE

public static final int WRITE
See Also:
Constant Field Values

RESUME

public static final int RESUME
See Also:
Constant Field Values

WAKEUP

public static final int WAKEUP
See Also:
Constant Field Values

socket

public long socket

timeout

public int timeout

flags

public int flags
Constructor Detail

AprEndpoint.SocketInfo

public AprEndpoint.SocketInfo()
Method Detail

read

public boolean read()

write

public boolean write()

resume

public boolean resume()

wakeup

public boolean wakeup()

merge

public static int merge(int flag1,
                        int flag2)


Copyright © 2000-2009 Apache Software Foundation. All Rights Reserved.