seda.sandStorm.lib.aSocket
Class aSocketMgr

java.lang.Object
  extended by seda.sandStorm.lib.aSocket.aSocketMgr

public class aSocketMgr
extends java.lang.Object

The aSocketMgr is an internal class used to provide an interface between the Sandstorm runtime and the aSocket library. Applications should not make use of this class.


Field Summary
private static ThreadManagerIF aSocketRCTM
           
private static ThreadManagerIF aSocketTM
           
private static boolean DEBUG
           
private static aSocketImplFactory factory
           
private static java.lang.Object init_lock
           
private static boolean initialized
           
private static SinkIF listen_sink
           
private static SinkIF read_sink
           
(package private) static boolean USE_NIO
           
private static SinkIF write_sink
           
 
Constructor Summary
aSocketMgr()
           
 
Method Summary
static void enqueueRequest(aSocketRequest req)
           
(package private) static aSocketImplFactory getFactory()
           
(package private) static void init()
          Ensure that the aSocket layer is initialized, in case the library is being used in standalone mode.
static void initialize(ManagerIF mgr, SystemManagerIF sysmgr)
          Called at startup time by the Sandstorm runtime.
 
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

aSocketTM

private static ThreadManagerIF aSocketTM

aSocketRCTM

private static ThreadManagerIF aSocketRCTM

read_sink

private static SinkIF read_sink

listen_sink

private static SinkIF listen_sink

write_sink

private static SinkIF write_sink

init_lock

private static java.lang.Object init_lock

initialized

private static boolean initialized

USE_NIO

static boolean USE_NIO

factory

private static aSocketImplFactory factory
Constructor Detail

aSocketMgr

public aSocketMgr()
Method Detail

initialize

public static void initialize(ManagerIF mgr,
                              SystemManagerIF sysmgr)
                       throws java.lang.Exception
Called at startup time by the Sandstorm runtime.

Throws:
java.lang.Exception

init

static void init()
Ensure that the aSocket layer is initialized, in case the library is being used in standalone mode.


getFactory

static aSocketImplFactory getFactory()

enqueueRequest

public static void enqueueRequest(aSocketRequest req)