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

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

public static class JIoEndpoint.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 RESUME
           
 java.net.Socket socket
           
 int timeout
           
static int WAKEUP
           
 
Constructor Summary
JIoEndpoint.SocketInfo()
           
 
Method Summary
static int merge(int flag1, int flag2)
           
 boolean resume()
           
 boolean wakeup()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESUME

public static final int RESUME
See Also:
Constant Field Values

WAKEUP

public static final int WAKEUP
See Also:
Constant Field Values

socket

public java.net.Socket socket

timeout

public int timeout

flags

public int flags
Constructor Detail

JIoEndpoint.SocketInfo

public JIoEndpoint.SocketInfo()
Method Detail

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.