Sea 0.4.0
A B C D E F G H I L M N O P Q R S T U W

S

SIZE_OF_BOOLEAN - Static variable in class gov.lbl.dsd.sea.nio.util.ByteConverter
 
SIZE_OF_BYTE - Static variable in class gov.lbl.dsd.sea.nio.util.ByteConverter
 
SIZE_OF_CHAR - Static variable in class gov.lbl.dsd.sea.nio.util.ByteConverter
 
SIZE_OF_DOUBLE - Static variable in class gov.lbl.dsd.sea.nio.util.ByteConverter
 
SIZE_OF_FLOAT - Static variable in class gov.lbl.dsd.sea.nio.util.ByteConverter
 
SIZE_OF_INT - Static variable in class gov.lbl.dsd.sea.nio.util.ByteConverter
 
SIZE_OF_LONG - Static variable in class gov.lbl.dsd.sea.nio.util.ByteConverter
 
SIZE_OF_SHORT - Static variable in class gov.lbl.dsd.sea.nio.util.ByteConverter
 
SimpleHTTPDemo - class gov.lbl.dsd.sea.demo.SimpleHTTPDemo.
Demonstrates how to use the HTTP framework with a very basic example.
SimpleHTTPDemo() - Constructor for class gov.lbl.dsd.sea.demo.SimpleHTTPDemo
 
SimpleHTTPEventHandler - class gov.lbl.dsd.sea.demo.SimpleHTTPEventHandler.
Simple HTTP 1.1 handler with limited functionality; Internally uses the raw commons-httpclient library.
SimpleHTTPEventHandler(Stage) - Constructor for class gov.lbl.dsd.sea.demo.SimpleHTTPEventHandler
Creates a handler that enqueues HTTP responses onto the given sink
SimpleHTTPEventHandler(Stage, HttpClient) - Constructor for class gov.lbl.dsd.sea.demo.SimpleHTTPEventHandler
 
SmartHostAuthorizationRules - class gov.lbl.dsd.sea.nio.auth.SmartHostAuthorizationRules.
Powerful authorization rules to be used by SmartHostAuthorizer; Supports allow and deny rules based on exact or patterned DNS host names, exact or patterned IP addresses, as well as regular expressions on "hostName/IPaddress" pairs.
SmartHostAuthorizationRules() - Constructor for class gov.lbl.dsd.sea.nio.auth.SmartHostAuthorizationRules
Creates an empty instance with no rules (isMatch(x) returns false).
SmartHostAuthorizer - class gov.lbl.dsd.sea.nio.auth.SmartHostAuthorizer.
Allow/deny rule-based mechanism to configure and query whether or not a given host is allowed to perform a certain action.
SmartHostAuthorizer(boolean, HostAuthorizationRules, HostAuthorizationRules) - Constructor for class gov.lbl.dsd.sea.nio.auth.SmartHostAuthorizer
Creates an authorizer with the given parameters.
SmartHostAuthorizer() - Constructor for class gov.lbl.dsd.sea.nio.auth.SmartHostAuthorizer
Creates a denying authorizer (isAllowed(x) returns false).
SocketOpts - class gov.lbl.dsd.sea.nio.util.SocketOpts.
Convenience class to get and set socket options; see SocketOptions and Socketfor the corresponding keys and values.
SocketOpts() - Constructor for class gov.lbl.dsd.sea.nio.util.SocketOpts
Creates an empty object (with all options yet undefined).
SocketOpts(Socket) - Constructor for class gov.lbl.dsd.sea.nio.util.SocketOpts
Constructs and object containing the options of the given socket.
Stage - class gov.lbl.dsd.sea.Stage.
A stage has an input queue into which another stage puts events; A stage has one or more threads, which take events from the input queue and hand them to the stage's event handler which processes the events in a non-blocking asynchronous manner.
Stage(String, EventHandler, ExecutorFactory, ExceptionHandler) - Constructor for class gov.lbl.dsd.sea.Stage
Creates a new stage with the given name, event handler, executor factory and exceptionHandler.
StageDemo - class gov.lbl.dsd.sea.demo.StageDemo.
Demonstrates how to use the framework with a very basic example.
StageDemo() - Constructor for class gov.lbl.dsd.sea.demo.StageDemo
 
StageManager - class gov.lbl.dsd.sea.StageManager.
Creates and manages a set of stages; Contains several default factories for commonly used threading policies.
StageManager() - Constructor for class gov.lbl.dsd.sea.StageManager
Creates an instance with the default threading policy.
StageManager(ExecutorFactory) - Constructor for class gov.lbl.dsd.sea.StageManager
Creates an instance with the given threading policy.
StreamingBench - class gov.lbl.dsd.sea.nio.demo.StreamingBench.
TODO.
StreamingBench(String[]) - Constructor for class gov.lbl.dsd.sea.nio.demo.StreamingBench
 
save(OutputStream, String) - Method in class gov.lbl.dsd.sea.nio.util.ExtendedProperties
Save the properties to the given output stream.
set(int, byte) - Method in class gov.lbl.dsd.sea.nio.util.ArrayByteList
Replaces the element at the specified index with the specified element.
set(int, int) - Method in class gov.lbl.dsd.sea.nio.util.ArrayIntList
Replaces the element at the specified index with the specified element.
setAcceptHostAuthorizer(HostAuthorizer) - Method in class gov.lbl.dsd.sea.nio.NetAgent
Sets the host authorizer the server uses to allow/deny accepting connections from the network.
setInclude(String) - Method in class gov.lbl.dsd.sea.nio.util.ExtendedProperties
Sets the property value for including other properties files.
setOption(int, Object) - Method in class gov.lbl.dsd.sea.nio.util.SocketOpts
Sets the given option to the given value.
setProperty(String, Object) - Method in class gov.lbl.dsd.sea.nio.util.ExtendedProperties
Set a property, this will replace any previously set values.
setReadBufferPool(ByteBufferPool) - Method in class gov.lbl.dsd.sea.nio.NetAgent
Sets the buffer pool to be used on reading from the network.
setSocketOptions(SocketOpts) - Method in class gov.lbl.dsd.sea.nio.NetAgent
Set the socket options to be used for newly accepted connections as well as client connections (on OP_ACCEPT and OP_CONNECT).
size() - Method in class gov.lbl.dsd.sea.nio.util.ArrayByteList
Returns the number of contained elements.
size() - Method in class gov.lbl.dsd.sea.nio.util.ArrayIntList
Returns the number of contained elements.
sort(boolean) - Method in class gov.lbl.dsd.sea.nio.util.ArrayByteList
Sorts the elements into ascending numerical order.
sort(boolean) - Method in class gov.lbl.dsd.sea.nio.util.ArrayIntList
Sorts the elements into ascending numerical order.
start() - Method in class gov.lbl.dsd.sea.Stage
Initializes the stage and its event handler; Must be called before enqueuing events (otherwise enqueues are ignored); This method can be called at any time but only has an effect only if the stage is stopped.
start() - Method in class gov.lbl.dsd.sea.nio.NetAgent
The main selector loop; Runs the agent selector in the current thread.
startAll() - Method in class gov.lbl.dsd.sea.StageManager
Starts all managed stages.
stop() - Method in class gov.lbl.dsd.sea.Stage
Cleans up this stage and its event handler, as well as related threads; Once a stage has been destroyed it can be initialized again by using start; This method can be called at any time but only has an effect if the stage is started.
stop() - Method in class gov.lbl.dsd.sea.nio.NetAgent
Cleanly shut the agent down, releasing acquired resources.
stopAll() - Method in class gov.lbl.dsd.sea.StageManager
Stops all managed stages.
subList(int, int) - Method in class gov.lbl.dsd.sea.nio.util.ArrayByteList
Constructs and returns a new list containing a copy of the elements in the range [from..to).
subList(int, int) - Method in class gov.lbl.dsd.sea.nio.util.ArrayIntList
Constructs and returns a new list containing a copy of the elements in the range [from..to).
subset(String) - Method in class gov.lbl.dsd.sea.nio.util.ExtendedProperties
Create an ExtendedProperties object that is a subset of this one.

Sea 0.4.0
A B C D E F G H I L M N O P Q R S T U W