seda.sandStorm.lib.aSocket.nbio
Class ConnectSockState

java.lang.Object
  extended by seda.sandStorm.lib.aSocket.ConnectSockState
      extended by seda.sandStorm.lib.aSocket.nbio.ConnectSockState

public class ConnectSockState
extends ConnectSockState

Internal class used to represent state of a socket while an outgoing connection is pending.


Field Summary
private static boolean DEBUG
           
private  seda.nbio.NonblockingSocket nbsock
           
private static boolean PROFILE
           
private  seda.nbio.SelectItem si
           
private  SelectSource write_selsource
           
 
Fields inherited from class seda.sandStorm.lib.aSocket.ConnectSockState
clisock, completed, compQ, connectClogTries, connectNumTries, writeClogThreshold
 
Constructor Summary
protected ConnectSockState(ATcpConnectRequest req)
           
  ConnectSockState(ATcpConnectRequest req, SelectSourceIF write_selsource)
           
 
Method Summary
protected  void complete()
           
protected  void error(aSocketErrorEvent error)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEBUG

private static final boolean DEBUG
See Also:
Constant Field Values

PROFILE

private static final boolean PROFILE
See Also:
Constant Field Values

nbsock

private seda.nbio.NonblockingSocket nbsock

si

private seda.nbio.SelectItem si

write_selsource

private SelectSource write_selsource
Constructor Detail

ConnectSockState

public ConnectSockState(ATcpConnectRequest req,
                        SelectSourceIF write_selsource)
                 throws java.io.IOException
Throws:
java.io.IOException

ConnectSockState

protected ConnectSockState(ATcpConnectRequest req)
                    throws java.io.IOException
Throws:
java.io.IOException
Method Detail

complete

protected void complete()
Specified by:
complete in class ConnectSockState

error

protected void error(aSocketErrorEvent error)
Specified by:
error in class ConnectSockState