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

C

COBSCodec - class gov.lbl.dsd.sea.nio.util.COBSCodec.
Encoder/Decoder implementing Consistent Overhead Byte Stuffing (COBS) for efficient, reliable, unambigous packet framing regardless of packet content, making it is easy for applications to recover from malformed packet payloads.
COMMON_DOMAIN - Static variable in class gov.lbl.dsd.sea.nio.auth.SmartHostAuthorizationRules
Relative to localhost, meta match hosts in the same DNS domain
COMMON_SUBNET - Static variable in class gov.lbl.dsd.sea.nio.auth.SmartHostAuthorizationRules
Relative to localhost, meta match hosts in the same IP subnet
CallbackEvent - class gov.lbl.dsd.sea.event.CallbackEvent.
An event containing the stage from which the event originates; useful for associating requests/responses, to determine which stage to reply to, or simply for debugging purposes.
CallbackEvent(Stage) - Constructor for class gov.lbl.dsd.sea.event.CallbackEvent
 
ChannelRequest - class gov.lbl.dsd.sea.nio.event.ChannelRequest.
Requests an agent to perform some action on a given channel.
ChannelRequest.Close - class gov.lbl.dsd.sea.nio.event.ChannelRequest.Close.
Requests an agent to close the given channel.
ChannelRequest.Close(SelectableChannel) - Constructor for class gov.lbl.dsd.sea.nio.event.ChannelRequest.Close
 
ChannelRequest.Register - class gov.lbl.dsd.sea.nio.event.ChannelRequest.Register.
Requests an agent to register the given SelectionKeyinterest ops with the given channel; The agent will enqueue future responses to the channel onto the given observer stage; If an attachment is given the agent will attach it to the channel's key.
ChannelRequest.Register(Stage, SelectableChannel, int) - Constructor for class gov.lbl.dsd.sea.nio.event.ChannelRequest.Register
 
ChannelRequest.Register(Stage, SelectableChannel, int, Object) - Constructor for class gov.lbl.dsd.sea.nio.event.ChannelRequest.Register
 
ChannelRequest.WriteData - class gov.lbl.dsd.sea.nio.event.ChannelRequest.WriteData.
Requests an agent to completely write ALL of the bytes in the given buffer to the given channel; As usual with NIO, the data is contained between indexes buffer.position() and buffer.limit(), and buffer.remaining() bytes will be written;
ChannelRequest.WriteData(SelectableChannel, ByteBuffer) - Constructor for class gov.lbl.dsd.sea.nio.event.ChannelRequest.WriteData
 
ChannelResponse - class gov.lbl.dsd.sea.nio.event.ChannelResponse.
Response from an agent to a prior ChannelRequest.Registeror ChannelRequest.Close or ChannelRequest.WriteDatarequest; Contains the agent this response originates from, as well as the selection key of the channel the request/response are associated with (retrievable via key.channel()), as well as an optional exception that may have been thrown by the agent in attempting to handle the associated prior request.
ChannelResponse.Accepted - class gov.lbl.dsd.sea.nio.event.ChannelResponse.Accepted.
Indicates that an agent has accepted a new channel from a network client (originally initiated by a ChannelRequest.Registerrequest containing SelectionKey OP_ACCEPT ops).
ChannelResponse.Accepted(NetAgent, SelectionKey, IOException) - Constructor for class gov.lbl.dsd.sea.nio.event.ChannelResponse.Accepted
 
ChannelResponse.Closed - class gov.lbl.dsd.sea.nio.event.ChannelResponse.Closed.
Indicates that an agent has closed a channel (originally initiated by a ChannelRequest.Closerequest).
ChannelResponse.Closed(NetAgent, SelectionKey, IOException) - Constructor for class gov.lbl.dsd.sea.nio.event.ChannelResponse.Closed
 
ChannelResponse.Connected - class gov.lbl.dsd.sea.nio.event.ChannelResponse.Connected.
Indicates that an agent has connected to a network server (originally initiated by a ChannelRequest.Registerrequest containing SelectionKey OP_CONNECT ops).
ChannelResponse.Connected(NetAgent, SelectionKey, IOException) - Constructor for class gov.lbl.dsd.sea.nio.event.ChannelResponse.Connected
 
ChannelResponse.Read - class gov.lbl.dsd.sea.nio.event.ChannelResponse.Read.
Contains a buffer with the non-blocking data read from the given channel (originally initiated by a prior ChannelRequest.Registerrequest containing SelectionKeyOP_READ ops); The data has buffer.remaining() bytes, and is contained between indexes 0 == buffer.position() and buffer.limit(), as usual with NIO; A buffer with !buffer.hasRemaining() indicates that end-of-stream has been reached for the given channel.
ChannelResponse.Read(NetAgent, SelectionKey, IOException, ByteBuffer) - Constructor for class gov.lbl.dsd.sea.nio.event.ChannelResponse.Read
 
ChannelResponse.Registered - class gov.lbl.dsd.sea.nio.event.ChannelResponse.Registered.
Indicates response is to a prior ChannelRequest.Registerrequest; The interest ops supplied to the original request can be retrieved from the response via response.getInterestOps().
ChannelResponse.Registered(NetAgent, SelectionKey, IOException, int) - Constructor for class gov.lbl.dsd.sea.nio.event.ChannelResponse.Registered
 
ChannelResponse.Write - class gov.lbl.dsd.sea.nio.event.ChannelResponse.Write.
Contains a buffer with the data fully written to the given channel (originally initiated by a prior ChannelRequest.WriteData request).
ChannelResponse.Write(NetAgent, SelectionKey, IOException, ByteBuffer) - Constructor for class gov.lbl.dsd.sea.nio.event.ChannelResponse.Write
 
ColorConsoleAppender - class gov.lbl.dsd.sea.nio.util.ColorConsoleAppender.
Log4J Appender which prints to System.out and shows different log levels in different colors; very useful for effectively sieving through large number of log messages.
ColorConsoleAppender() - Constructor for class gov.lbl.dsd.sea.nio.util.ColorConsoleAppender
 
clear() - Method in class gov.lbl.dsd.sea.nio.util.ArrayByteList
Removes all elements but keeps the current capacity; Afterwards size() will yield zero.
clear() - Method in class gov.lbl.dsd.sea.nio.util.ArrayIntList
Removes all elements but keeps the current capacity; Afterwards size() will yield zero.
clear() - Method in class gov.lbl.dsd.sea.nio.util.ByteBufferPool
Removes all buffers from the pool.
clearProperty(String) - Method in class gov.lbl.dsd.sea.nio.util.ExtendedProperties
Clear a property in the configuration.
combine(ExtendedProperties) - Method in class gov.lbl.dsd.sea.nio.util.ExtendedProperties
Combines an existing Hashtable with this Hashtable.
convertProperties(Properties) - Static method in class gov.lbl.dsd.sea.nio.util.ExtendedProperties
Convert a standard properties class into a configuration class.
copy() - Method in class gov.lbl.dsd.sea.nio.util.ArrayByteList
Constructs and returns a new list that is a deep copy of the receiver.
copy() - Method in class gov.lbl.dsd.sea.nio.util.ArrayIntList
Constructs and returns a new list that is a deep copy of the receiver.
copyTo(Socket) - Method in class gov.lbl.dsd.sea.nio.util.SocketOpts
Copies the options from this object to the given socket.
createClientChannel(String, int) - Static method in class gov.lbl.dsd.sea.nio.util.NioUtil
Creates and returns a non-blocking TCP server channel bound to the given network host and port.
createClientChannel(SocketAddress) - Static method in class gov.lbl.dsd.sea.nio.util.NioUtil
Creates and returns a non-blocking TCP client channel bound to the given network address.
createDatagramChannel(int) - Static method in class gov.lbl.dsd.sea.nio.util.NioUtil
Creates and returns a non-blocking UDP datagram channel bound to the given network port.
createDatagramChannel(SocketAddress) - Static method in class gov.lbl.dsd.sea.nio.util.NioUtil
Creates and returns a non-blocking UDP datagram channel bound to the given network address.
createExecutor() - Method in interface gov.lbl.dsd.sea.ExecutorFactory
Creates and returns a new executor implementing some kind of threading policy.
createHostAuthorizer(ExtendedProperties) - Static method in class gov.lbl.dsd.sea.nio.auth.SmartHostAuthorizationRules
Creates an authorizer from the given configuration properties.
createHostAuthorizer(String) - Static method in class gov.lbl.dsd.sea.nio.auth.SmartHostAuthorizationRules
Creates an authorizer from the properties in the given configuration file.
createRandomUUID(Random) - Static method in class gov.lbl.dsd.sea.nio.util.UUIDUtil
Returns a type 4 (pseudo randomly generated) Universally Unique Identifier as defined by IETF standards.
createServerChannel(int) - Static method in class gov.lbl.dsd.sea.nio.util.NioUtil
Creates and returns a non-blocking TCP server channel bound to the given network port.
createServerChannel(SocketAddress, int) - Static method in class gov.lbl.dsd.sea.nio.util.NioUtil
Creates and returns a non-blocking TCP server channel bound to the given network address.
createStage(EventHandler) - Method in class gov.lbl.dsd.sea.StageManager
Creates and returns a managed stage with the given event handler.
createStage(String, EventHandler) - Method in class gov.lbl.dsd.sea.StageManager
Creates and returns a managed stage with the given name and event handler.
createStage(String, EventHandler, ExceptionHandler) - Method in class gov.lbl.dsd.sea.StageManager
Creates and returns a managed stage with the given name, event handler and exceptionHandler.

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