More information: http://www.cs.berkeley.edu/~mdw/proj/seda/

seda.sandStorm.lib.aSocket
Class aSocketImplFactory

java.lang.Object
  |
  +--seda.sandStorm.lib.aSocket.aSocketImplFactory

public abstract class aSocketImplFactory
extends java.lang.Object

aSocketImplFactory is an internal abstract class used to represent the interface between the aSocket library and a provider implementation.

Author:
Matt Welsh

Constructor Summary
aSocketImplFactory()
           
 
Method Summary
(package private) static aSocketImplFactory getFactory()
           
protected abstract  ConnectSockState newConnectSockState(ATcpConnectRequest req, SelectSourceIF selsource)
           
protected abstract  DatagramSockState newDatagramSockState(AUdpSocket sock, java.net.InetAddress addr, int port)
           
protected abstract  ListenSockState newListenSockState(ATcpListenRequest req, SelectSourceIF selsource)
           
protected abstract  SelectQueueElement newSelectQueueElement(java.lang.Object item)
           
protected abstract  SelectSourceIF newSelectSource()
           
protected abstract  SockState newSockState(ATcpConnection conn, java.net.Socket nbsock, int writeClogThreshold)
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

aSocketImplFactory

public aSocketImplFactory()
Method Detail

getFactory

static aSocketImplFactory getFactory()
                              throws java.lang.ClassNotFoundException,
                                     java.lang.InstantiationException,
                                     java.lang.IllegalAccessException

newSelectSource

protected abstract SelectSourceIF newSelectSource()

newSelectQueueElement

protected abstract SelectQueueElement newSelectQueueElement(java.lang.Object item)

newSockState

protected abstract SockState newSockState(ATcpConnection conn,
                                          java.net.Socket nbsock,
                                          int writeClogThreshold)
                                   throws java.io.IOException

newConnectSockState

protected abstract ConnectSockState newConnectSockState(ATcpConnectRequest req,
                                                        SelectSourceIF selsource)
                                                 throws java.io.IOException

newListenSockState

protected abstract ListenSockState newListenSockState(ATcpListenRequest req,
                                                      SelectSourceIF selsource)
                                               throws java.io.IOException

newDatagramSockState

protected abstract DatagramSockState newDatagramSockState(AUdpSocket sock,
                                                          java.net.InetAddress addr,
                                                          int port)
                                                   throws java.io.IOException

More information: http://www.cs.berkeley.edu/~mdw/proj/seda/