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

A

ACCEPT - Static variable in class pyrasun.eio.EIOEvent
An accept event.
ACTIVE - Static variable in class pyrasun.eio.EPStatus
The endpoint is open fer business, and events are being actively processed against it.
APP_CLOSE - Static variable in class pyrasun.eio.EIOReasonCode
 
AbstractEmberService - class pyrasun.eio.services.AbstractEmberService.
Abstract implementation of an Ember Service - makes life slightly easier.
AbstractEmberService() - Constructor for class pyrasun.eio.services.AbstractEmberService
 
AbstractEmberService(String, boolean, boolean) - Constructor for class pyrasun.eio.services.AbstractEmberService
 
AcceptingEndpoint - class pyrasun.eio.AcceptingEndpoint.
AcceptingEndpoint is a specific Endpoint object which accepts incoming connections and creates new Endpoints.
AcceptingEndpoint(EndpointCoordinator, ServerSocketChannel) - Constructor for class pyrasun.eio.AcceptingEndpoint
 
abortWrites() - Method in class pyrasun.eio.ReadWriteEndpoint
Evil, evil hack.
addDynamicService(String) - Method in interface pyrasun.eio.services.EmberServiceController
 
addDynamicService(String) - Method in class pyrasun.eio.services.EmberServiceControllerImpl
 
addInterest(EIOEvent) - Method in class pyrasun.eio.Endpoint
Show your interest in a new type of event.
addProcessing(int) - Method in class pyrasun.eio.Endpoint
 
addService(EmberService) - Method in interface pyrasun.eio.services.EmberServiceController
 
addService(EmberService) - Method in class pyrasun.eio.services.EmberServiceControllerImpl
 
addToProcessing(Object) - Method in class pyrasun.eio.ReadWriteEndpoint
Adds a new Object to be available as input to a PROCESS event.
arePendingWrites() - Method in class pyrasun.eio.ReadWriteEndpoint
Returns true if there are objects sitting in the write queue.
attach(Object) - Method in class pyrasun.eio.Endpoint
EIO steals the NIO attachment, so we give the poor user a break and let them stick one here.
attachment() - Method in class pyrasun.eio.Endpoint
EIO steals the NIO attachment, so we give the poor user a break and let them stick one here.
available() - Method in class pyrasun.eio.util.ByteBufferInputStream
 

B

BLOCKING_ACCEPTOR - Static variable in class pyrasun.eio.EIOPoolingStrategy
Strategy for a blocking acceptor for a ServerSocket (AcceptingEndpoint).
ByteArrayClientService - class pyrasun.eio.services.bytearray.ByteArrayClientService.
 
ByteArrayClientService(EIOGlobalContext, EIOPoolingStrategy) - Constructor for class pyrasun.eio.services.bytearray.ByteArrayClientService
 
ByteArrayServerClient - interface pyrasun.eio.services.bytearray.ByteArrayServerClient.
 
ByteArrayServerClientListener - interface pyrasun.eio.services.bytearray.ByteArrayServerClientListener.
 
ByteArrayServerListener - interface pyrasun.eio.services.bytearray.ByteArrayServerListener.
 
ByteArrayServerService - class pyrasun.eio.services.bytearray.ByteArrayServerService.
The ObjectServerService is a simple service for facilitating sending objects around between processes.
ByteArrayServerService(EIOGlobalContext, EIOPoolingStrategy, EIOPoolingStrategy, String, int) - Constructor for class pyrasun.eio.services.bytearray.ByteArrayServerService
 
ByteBufferInputStream - class pyrasun.eio.util.ByteBufferInputStream.
An old style Javaesque InputStream with an NIO ByteBuffer behind it.
ByteBufferInputStream(ByteBuffer) - Constructor for class pyrasun.eio.util.ByteBufferInputStream
 
ByteBufferOutputStream - class pyrasun.eio.util.ByteBufferOutputStream.
An old style Java stream with a ByteBuffer lurking beneath it.
ByteBufferOutputStream(int) - Constructor for class pyrasun.eio.util.ByteBufferOutputStream
 
bit() - Method in class pyrasun.eio.EIOEvent
Get the bit number for this event's ID e.g. an ID of 1 would return 0, 2 returns 1, 4 returns 2, 8 returns 3, etc.
bitFor(int) - Static method in class pyrasun.eio.EIOEvent
Given an EIOEvent flag ID value, returns the bit number for it.
blockeroo(Endpoint) - Method in class pyrasun.eio.handlers.EIOEventHandler
 

C

CLOSED - Static variable in class pyrasun.eio.EPStatus
The endpoint has been closed
CONNECT - Static variable in class pyrasun.eio.EIOEvent
A connect event - currently not supported.
clear() - Method in class pyrasun.eio.EIOInputBuffer
Clears out any old junk and gets us ready to pull more data off the channel.
clientClosed(ByteArrayServerClient) - Method in interface pyrasun.eio.services.bytearray.ByteArrayServerListener
 
clientClosed(ObjectServerClient) - Method in interface pyrasun.eio.services.object.ObjectServerListener
 
cloneIt() - Method in class pyrasun.eio.EIOEventDescriptor
Clones an EIOEventDescriptor prototypical instance for use in a specific context.
cloneIt() - Method in class pyrasun.eio.EIOPoolingStrategy
Clone this strategy.
close() - Method in class pyrasun.eio.Endpoint
 
close(EIOReasonCode) - Method in class pyrasun.eio.Endpoint
 
close(EIOReasonCode, Throwable) - Method in class pyrasun.eio.Endpoint
 
close(EIOReasonCode, String) - Method in class pyrasun.eio.Endpoint
 
close(EIOReasonCode, String, Throwable, Object) - Method in class pyrasun.eio.Endpoint
 
close() - Method in interface pyrasun.eio.services.bytearray.ByteArrayServerClient
 
close() - Method in interface pyrasun.eio.services.object.ObjectServerClient
 
close() - Method in class pyrasun.eio.util.ByteBufferInputStream
 
configureBlocking(boolean) - Method in class pyrasun.eio.Endpoint
 
createClient(String, int, String, ByteArrayServerClientListener) - Method in class pyrasun.eio.services.bytearray.ByteArrayClientService
 
createClient(String, int, String, ObjectServerClientListener) - Method in class pyrasun.eio.services.object.ObjectClientService
 
createClient(String, int) - Static method in class pyrasun.eio.util.EIOUtil
Create a socket client.
createClient(String, int, int) - Static method in class pyrasun.eio.util.EIOUtil
Create a socket client.
createClient(InetSocketAddress, int) - Static method in class pyrasun.eio.util.EIOUtil
Create a socket client.
createEndpoint(EndpointCoordinator, SocketChannel) - Method in interface pyrasun.eio.helpers.EIOEndpointFactory
 
createEndpoint(EndpointCoordinator, SocketChannel) - Method in class pyrasun.eio.protocols.bytearray.EIOByteArrayEndpointFactory
 
createEndpoint(EndpointCoordinator, SocketChannel) - Method in class pyrasun.eio.protocols.object.EIOObjectEndpointFactory
 
createEndpoint(EndpointCoordinator, SocketChannel) - Method in class pyrasun.eio.services.bytearray.ByteArrayClientService
 
createEndpoint(EndpointCoordinator, SocketChannel) - Method in class pyrasun.eio.services.bytearray.ByteArrayServerService
 
createEndpoint(EndpointCoordinator, SocketChannel) - Method in class pyrasun.eio.services.generic.ServiceIOConfig
Creates a default ReadWriteEndpoint object from the given channel.
createEndpoint(EndpointCoordinator, SocketChannel) - Method in class pyrasun.eio.services.object.ObjectClientService
 
createEndpoint(EndpointCoordinator, SocketChannel) - Method in class pyrasun.eio.services.object.ObjectServerService
 
createProcessor() - Method in class pyrasun.eio.helpers.EIOSocketWorkerFactory
 
createReader() - Method in class pyrasun.eio.helpers.EIOSocketWorkerFactory
 
createServer(String, int) - Static method in class pyrasun.eio.util.EIOUtil
Create a ServerSocketChannel on the specified host w/ the specified port.
createServer(int) - Static method in class pyrasun.eio.util.EIOUtil
Create a ServerSocketChannel on the default socket interface w/ the specified port.
createServer(InetSocketAddress) - Static method in class pyrasun.eio.util.EIOUtil
Create a ServerSocketChannel using the specified InetSocketAddress.
createWorker(EIOEvent) - Method in interface pyrasun.eio.EIOWorkerFactory
Create a worker of the given type
createWorker(EIOEvent) - Method in class pyrasun.eio.helpers.EIOAcceptWorkerFactory
 
createWorker(EIOEvent) - Method in class pyrasun.eio.helpers.EIOSocketWorkerFactory
 
createWriter() - Method in class pyrasun.eio.helpers.EIOSocketWorkerFactory
 
criticalError(EIOReasonCode, Exception, String, Object) - Method in class pyrasun.eio.EIOGlobalContext
 
criticalError(EIOReasonCode, Exception, String, Object) - Method in interface pyrasun.eio.EIOGlobalListener
A critical error occured within the EIO core.

D

DEDICATED_READER - Static variable in class pyrasun.eio.EIOPoolingStrategy
Strategy for a ReadWriteEndpoint.
DISCONNECTION - Static variable in class pyrasun.eio.EIOReasonCode
 
debug(String) - Method in interface pyrasun.eio.util.Logger
 
dispatch(ReadWriteEndpoint) - Method in class pyrasun.eio.handlers.EIOEventHandler
 
dispatch(Endpoint) - Method in class pyrasun.eio.handlers.EIOEventHandler
 
dispatch(ReadWriteEndpoint) - Method in class pyrasun.eio.handlers.GenericHandler
 
dispatch(Endpoint) - Method in class pyrasun.eio.handlers.GenericHandler
 
dispatch(ReadWriteEndpoint) - Method in class pyrasun.eio.handlers.ProcessHandler
 
dispatch(Endpoint) - Method in class pyrasun.eio.handlers.ProcessHandler
 
dispatch(ReadWriteEndpoint) - Method in class pyrasun.eio.handlers.ReadHandler
 
dispatch(Endpoint) - Method in class pyrasun.eio.handlers.ReadHandler
 
dispatch(ReadWriteEndpoint) - Method in class pyrasun.eio.handlers.WriteHandler
 
dispatch(Endpoint) - Method in class pyrasun.eio.handlers.WriteHandler
 
dumpEndpoints() - Method in class pyrasun.eio.EndpointCoordinator
Only here for debugging purposes
dumpProcessedStats(String) - Method in class pyrasun.eio.Endpoint
 

E

EIOAcceptWorkerFactory - class pyrasun.eio.helpers.EIOAcceptWorkerFactory.
A factory and helper for creating simple EIOWorker objects which accept connections from a SocketServer and creates a proper ReadWriteEndpoint.
EIOAcceptWorkerFactory(EndpointCoordinator, EndpointEventListener) - Constructor for class pyrasun.eio.helpers.EIOAcceptWorkerFactory
 
EIOAcceptWorkerFactory(EndpointCoordinator, EndpointEventListener, EIOAcceptWorkerFactory.EIOAcceptWorkerCallback) - Constructor for class pyrasun.eio.helpers.EIOAcceptWorkerFactory
 
EIOAcceptWorkerFactory.EIOAcceptWorkerCallback - interface pyrasun.eio.helpers.EIOAcceptWorkerFactory.EIOAcceptWorkerCallback.
 
EIOAcceptWorkerFactory.EIOAcceptingWorker - class pyrasun.eio.helpers.EIOAcceptWorkerFactory.EIOAcceptingWorker.
A default class for doing socket accepts.
EIOAcceptWorkerFactory.EIOAcceptingWorker(EndpointCoordinator, EndpointEventListener) - Constructor for class pyrasun.eio.helpers.EIOAcceptWorkerFactory.EIOAcceptingWorker
 
EIOAcceptWorkerFactory.EIOAcceptingWorker(EndpointCoordinator, EndpointEventListener, EIOAcceptWorkerFactory.EIOAcceptWorkerCallback, EIOEndpointFactory) - Constructor for class pyrasun.eio.helpers.EIOAcceptWorkerFactory.EIOAcceptingWorker
 
EIOByteArrayEndpoint - class pyrasun.eio.protocols.bytearray.EIOByteArrayEndpoint.
Central part of the ByteArray protocol, encapsulates non-blocking reading and writing.
EIOByteArrayEndpoint(EndpointCoordinator, SocketChannel) - Constructor for class pyrasun.eio.protocols.bytearray.EIOByteArrayEndpoint
 
EIOByteArrayEndpointFactory - class pyrasun.eio.protocols.bytearray.EIOByteArrayEndpointFactory.
Factory for creating ByteArrayEndpoints.
EIOByteArrayEndpointFactory() - Constructor for class pyrasun.eio.protocols.bytearray.EIOByteArrayEndpointFactory
 
EIOByteArrayReader - class pyrasun.eio.protocols.bytearray.EIOByteArrayReader.
An EIO READ EIOWorker which reads in byte arrays (byte[]) via a simple protocol.
EIOByteArrayReader() - Constructor for class pyrasun.eio.protocols.bytearray.EIOByteArrayReader
 
EIOByteArrayWriter - class pyrasun.eio.protocols.bytearray.EIOByteArrayWriter.
EIOWorker WRITER worker for the bytearray protocol.
EIOByteArrayWriter() - Constructor for class pyrasun.eio.protocols.bytearray.EIOByteArrayWriter
 
EIOEndpointFactory - interface pyrasun.eio.helpers.EIOEndpointFactory.
An interface for manufacturing ReadWriteEndpoints.
EIOEvent - class pyrasun.eio.EIOEvent.
Describes a single event-type that can be handled by the EmberIO system.
EIOEvent(String, int) - Constructor for class pyrasun.eio.EIOEvent
Create a new EIOEvent
EIOEventDescriptor - class pyrasun.eio.EIOEventDescriptor.
An EIOEventDescriptor contains information for how to handle a given event firing within a given context (generally, the context is per EndpointCoordinator).
EIOEventDescriptor(EIOEvent, boolean, boolean, boolean) - Constructor for class pyrasun.eio.EIOEventDescriptor
Create one of these suckers
EIOEventDescriptor(EIOEvent, boolean, boolean, boolean, boolean) - Constructor for class pyrasun.eio.EIOEventDescriptor
Create one of these suckers
EIOEventHandler - class pyrasun.eio.handlers.EIOEventHandler.
Internal handler for a particular I/O type.
EIOEventHandler(EIOEventDescriptor, EIOWorker) - Constructor for class pyrasun.eio.handlers.EIOEventHandler
 
EIOEventHandler() - Constructor for class pyrasun.eio.handlers.EIOEventHandler
 
EIOEventHandlerFactory - class pyrasun.eio.handlers.EIOEventHandlerFactory.
A factory for making EIOEventHandlers.
EIOEventHandlerFactory() - Constructor for class pyrasun.eio.handlers.EIOEventHandlerFactory
 
EIOEventManager - class pyrasun.eio.EIOEventManager.
EIOEventManager is the central I/O event dispatcher.
EIOGlobalContext - class pyrasun.eio.EIOGlobalContext.
Defines a global context to provide critical services that cut across many EIO classes.
EIOGlobalContext(int, String) - Constructor for class pyrasun.eio.EIOGlobalContext
 
EIOGlobalListener - interface pyrasun.eio.EIOGlobalListener.
A listener attached to an EIOGlobalContext object.
EIOInputBuffer - class pyrasun.eio.EIOInputBuffer.
Abstracts out NIO reading and related buffer operations to make life slightly easier for for normal folk.
EIOInputBuffer(ReadWriteEndpoint) - Constructor for class pyrasun.eio.EIOInputBuffer
Create an one of these buffers against the given endpoint.
EIOObjectEndpoint - class pyrasun.eio.protocols.object.EIOObjectEndpoint.
Central part of the Object protocol, encapsulates non-blocking reading and writing.
EIOObjectEndpoint(EndpointCoordinator, SocketChannel) - Constructor for class pyrasun.eio.protocols.object.EIOObjectEndpoint
 
EIOObjectEndpointFactory - class pyrasun.eio.protocols.object.EIOObjectEndpointFactory.
 
EIOObjectEndpointFactory() - Constructor for class pyrasun.eio.protocols.object.EIOObjectEndpointFactory
 
EIOObjectReader - class pyrasun.eio.protocols.object.EIOObjectReader.
A simple Object reader.
EIOObjectReader() - Constructor for class pyrasun.eio.protocols.object.EIOObjectReader
 
EIOObjectWriter - class pyrasun.eio.protocols.object.EIOObjectWriter.
 
EIOObjectWriter() - Constructor for class pyrasun.eio.protocols.object.EIOObjectWriter
 
EIOOutputBuffer - class pyrasun.eio.EIOOutputBuffer.
Abstracts out NIO writing and related buffer operations to make life slightly easier for for normal folk.
EIOOutputBuffer(ReadWriteEndpoint) - Constructor for class pyrasun.eio.EIOOutputBuffer
create an output buffer that's associated with the specified Endpoint.
EIOPoolingStrategy - class pyrasun.eio.EIOPoolingStrategy.
The aggregate strategy for how to do thread pooling and generally how to handle individual EIO Events.
EIOPoolingStrategy(String, EIOEventDescriptor[]) - Constructor for class pyrasun.eio.EIOPoolingStrategy
Construct us a spanking new strategy
EIOReasonCode - class pyrasun.eio.EIOReasonCode.
All the thousand and one ways in which EmberIO may fail you.
EIOReasonCode(int, String) - Constructor for class pyrasun.eio.EIOReasonCode
 
EIOSocketWorkerFactory - class pyrasun.eio.helpers.EIOSocketWorkerFactory.
An abstract factory class for creating standard Socket read/write/process workers.
EIOSocketWorkerFactory() - Constructor for class pyrasun.eio.helpers.EIOSocketWorkerFactory
 
EIOStrategyConfigurator - class pyrasun.eio.helpers.EIOStrategyConfigurator.
Utility class for configuring EIO Strategies from various sources.
EIOStrategyConfigurator() - Constructor for class pyrasun.eio.helpers.EIOStrategyConfigurator
 
EIOStringReader - class pyrasun.eio.protocols.string.EIOStringReader.
Zee braindead and simplistic String reader.
EIOStringReader() - Constructor for class pyrasun.eio.protocols.string.EIOStringReader
 
EIOStringWriter - class pyrasun.eio.protocols.string.EIOStringWriter.
 
EIOStringWriter() - Constructor for class pyrasun.eio.protocols.string.EIOStringWriter
 
EIOUtil - class pyrasun.eio.util.EIOUtil.
Me pappy told me many moons ago that you can't have a real library without a utility class - so here ya go, pops.
EIOUtil() - Constructor for class pyrasun.eio.util.EIOUtil
 
EIOWorker - interface pyrasun.eio.EIOWorker.
A worker that responds to and handles events.
EIOWorkerFactory - interface pyrasun.eio.EIOWorkerFactory.
Used to create EIO worker instances.
EPStatus - class pyrasun.eio.EPStatus.
Endpoint status.
EPStatus(int, String, boolean) - Constructor for class pyrasun.eio.EPStatus
 
EmberService - interface pyrasun.eio.services.EmberService.
This interface defines a very simple protocol for process-wide services.
EmberServiceController - interface pyrasun.eio.services.EmberServiceController.
 
EmberServiceControllerImpl - class pyrasun.eio.services.EmberServiceControllerImpl.
 
EmberServiceControllerImpl(EIOGlobalContext) - Constructor for class pyrasun.eio.services.EmberServiceControllerImpl
 
EmberServiceException - exception pyrasun.eio.services.EmberServiceException.
 
EmberServiceException() - Constructor for class pyrasun.eio.services.EmberServiceException
 
EmberServiceException(String) - Constructor for class pyrasun.eio.services.EmberServiceException
 
EmberServiceListener - interface pyrasun.eio.services.EmberServiceListener.
A very, very vanilla listener interface.
Endpoint - class pyrasun.eio.Endpoint.
Along with EIOEvent, EndpointCoordinator, and EIOGlobalContext, Endpoint is a core class within EmberIO.
Endpoint(EndpointCoordinator) - Constructor for class pyrasun.eio.Endpoint
Constructs a brand new Endpoint associated with the given EndpointCoordinator.
EndpointCoordinator - class pyrasun.eio.EndpointCoordinator.
An EndpointCoordinator is used coordinate activity for a given type of endpoint.
EndpointCoordinator(EIOGlobalContext, String, EIOWorkerFactory, EIOPoolingStrategy) - Constructor for class pyrasun.eio.EndpointCoordinator
Construct a new EndpointCoordinator.
EndpointEventListener - interface pyrasun.eio.EndpointEventListener.
An EndpointEventListener generally gets signaled when something bad happens to your endpoint.
eldumperoo() - Method in class pyrasun.eio.EIOGlobalContext
 
endpointClosed(Endpoint, EIOReasonCode, String, Throwable, Object) - Method in interface pyrasun.eio.EndpointEventListener
A callback indicating that the specified endpoint was closed.
endpointClosed(Endpoint, EIOReasonCode, String, Throwable, Object) - Method in class pyrasun.eio.services.bytearray.ByteArrayClientService
 
endpointClosed(Endpoint, EIOReasonCode, String, Throwable, Object) - Method in class pyrasun.eio.services.bytearray.ByteArrayServerService
 
endpointClosed(Endpoint, EIOReasonCode, String, Throwable, Object) - Method in class pyrasun.eio.services.object.ObjectClientService
 
endpointClosed(Endpoint, EIOReasonCode, String, Throwable, Object) - Method in class pyrasun.eio.services.object.ObjectServerService
 
endpointClosed(Endpoint, EIOReasonCode, String, Throwable, Object) - Method in class pyrasun.eio.services.telnet.TelnetService
 
ensure(int) - Method in class pyrasun.eio.EIOInputBuffer
Ensures that the underlying ByteBuffer has at least 'size' bytes.
ensure(int, boolean) - Method in class pyrasun.eio.EIOInputBuffer
Ensures that the underlying ByteBuffer has at least 'size' bytes.
equals(Object) - Method in class pyrasun.eio.EIOEvent
 
equals(Object) - Method in class pyrasun.eio.EIOEventDescriptor
 
equals(Object) - Method in class pyrasun.eio.EIOReasonCode
 
equals(Object) - Method in class pyrasun.eio.EPStatus
 
error(String) - Method in interface pyrasun.eio.util.Logger
 
event() - Method in class pyrasun.eio.EIOEventDescriptor
Returns the EIOEvent that this descriptor, um, describes
event() - Method in class pyrasun.eio.handlers.EIOEventHandler
 

F

failureOK() - Method in class pyrasun.eio.services.AbstractEmberService
If true, a failure of this service should not be considered fatal.
failureOK() - Method in interface pyrasun.eio.services.EmberService
If true, a failure of this service should not be considered fatal.
flip() - Method in class pyrasun.eio.EIOInputBuffer
Flips the underlying ByteBuffer for reading by your application
flush() - Method in class pyrasun.eio.util.ByteBufferOutputStream
 

G

GEN_ACCEPT_ERROR - Static variable in class pyrasun.eio.EIOReasonCode
 
GEN_READ_ERROR - Static variable in class pyrasun.eio.EIOReasonCode
 
GEN_WRITE_ERROR - Static variable in class pyrasun.eio.EIOReasonCode
 
GenericHandler - class pyrasun.eio.handlers.GenericHandler.
Handler for GENERIC events
GenericHandler(EIOEventDescriptor, EIOWorker) - Constructor for class pyrasun.eio.handlers.GenericHandler
 
GenericHandler() - Constructor for class pyrasun.eio.handlers.GenericHandler
 
getAcceptorStrategy(Properties, String) - Static method in class pyrasun.eio.helpers.EIOStrategyConfigurator
Initializes a pooling strategy for regular ACCEPT coordinatores from a Properties object
getByCode(int) - Static method in class pyrasun.eio.EIOReasonCode
 
getByCode(int) - Static method in class pyrasun.eio.EPStatus
 
getByName(String) - Static method in class pyrasun.eio.EIOReasonCode
 
getByName(String) - Static method in class pyrasun.eio.EPStatus
 
getByteBuffer() - Method in class pyrasun.eio.EIOInputBuffer
Returns the underlying backing ByteBuffer.
getByteBuffer() - Method in class pyrasun.eio.util.ByteBufferOutputStream
 
getChannel() - Method in class pyrasun.eio.protocols.object.Packet
 
getCode() - Method in class pyrasun.eio.EIOReasonCode
 
getCode() - Method in class pyrasun.eio.EPStatus
 
getContext() - Method in class pyrasun.eio.Endpoint
Retrieve the global context this guy is running within
getContext() - Method in class pyrasun.eio.EndpointCoordinator
Get the global context associated with this EndpointCoordinator.
getContext() - Method in interface pyrasun.eio.services.EmberServiceController
 
getContext() - Method in class pyrasun.eio.services.EmberServiceControllerImpl
 
getController() - Method in class pyrasun.eio.services.AbstractEmberService
Returns the context of the larger container which controls this service.
getController() - Method in interface pyrasun.eio.services.EmberService
Returns the context of the larger container which controls this service.
getCoordinator() - Method in class pyrasun.eio.Endpoint
Get the coordinator associated with this Endpoint.
getDescriptorIterator() - Method in class pyrasun.eio.EIOPoolingStrategy
Return an Iterator over the supported descriptors.
getEventDescriptor(EIOEvent) - Method in class pyrasun.eio.EIOPoolingStrategy
Get an EIOEventDescriptor by its corresponding EIOEvent (e.g.
getEventDescriptor(EIOEvent) - Method in class pyrasun.eio.EndpointCoordinator
Return an event descriptor that defines this coordinator's pooling strategy for a given event.
getEventManager() - Method in class pyrasun.eio.EIOGlobalContext
Get a handle on _a_ event manager.
getEventManager() - Method in class pyrasun.eio.EndpointCoordinator
Get the event manager associated with this coordinator
getEventName() - Method in class pyrasun.eio.EIOEvent
Get the wetware readable name of this event.
getGreedyOps() - Method in class pyrasun.eio.EIOEventDescriptor
Indicates the number of greedy operations EmberIO should try to perform when this event is activated.
getID() - Method in class pyrasun.eio.EIOEvent
Get the ID of this event as an Integer
getID() - Method in interface pyrasun.eio.services.bytearray.ByteArrayServerClient
 
getID() - Method in interface pyrasun.eio.services.object.ObjectServerClient
 
getIOCoordinator() - Method in class pyrasun.eio.services.generic.ServiceIOConfig
 
getIOStrategy(Properties, String) - Static method in class pyrasun.eio.helpers.EIOStrategyConfigurator
Initializes a pooling strategy for regular READ/WRITE/PROCESS coordinators from a Properties object
getInputBuffer() - Method in class pyrasun.eio.ReadWriteEndpoint
Get the input buffer associated with this endpoint.
getInputStream() - Method in class pyrasun.eio.EIOInputBuffer
Returns the ByteBufferInputStream associated with this guy and backed by the ByteBuffer.
getInterestEvents() - Method in class pyrasun.eio.Endpoint
Get the events we're interested in in bitmask form.
getListener() - Method in class pyrasun.eio.services.bytearray.ByteArrayClientService
 
getListener() - Method in class pyrasun.eio.services.object.ObjectClientService
 
getListener() - Method in class pyrasun.eio.services.telnet.TelnetService
 
getLogger(String) - Method in class pyrasun.eio.EIOGlobalContext
Get a logger instance for the specified category
getLogger(Class) - Method in class pyrasun.eio.EIOGlobalContext
Get a logger instance for the specified category (in the form of a class)
getLogger(Object) - Method in class pyrasun.eio.EIOGlobalContext
Get a logger instance for the specified category (in the form of a class)
getLogger(String) - Method in class pyrasun.eio.util.L4J
Get a logger instance for the specified category
getLogger(Class) - Method in class pyrasun.eio.util.L4J
Get a logger instance for the specified category (in the form of a class)
getLogger(Object) - Method in class pyrasun.eio.util.L4J
Get a logger instance for the specified object - works by getting the class for the object and then using the class as the category.
getLogger(String) - Method in interface pyrasun.eio.util.LoggerManager
Get a logger instance for the specified category
getLogger(Class) - Method in interface pyrasun.eio.util.LoggerManager
Get a logger instance for the specified category (in the form of a class)
getLogger(Object) - Method in interface pyrasun.eio.util.LoggerManager
Get a logger instance for the specified object - works by getting the class for the object and then using the class as the category.
getMeAHandler(EIOEvent) - Method in class pyrasun.eio.EIOGlobalContext
 
getMeAHandler(EIOEvent) - Method in class pyrasun.eio.handlers.EIOEventHandlerFactory
 
getNIOChannel() - Method in class pyrasun.eio.AcceptingEndpoint
 
getNIOChannel() - Method in class pyrasun.eio.Endpoint
Get the NIO channel associated with this endpoint.
getNIOChannel() - Method in class pyrasun.eio.ReadWriteEndpoint
 
getNIOInterestEvents() - Method in class pyrasun.eio.Endpoint
Get _only_ the NIO-selectable events we're interested in in bitmask form.
getNIOSelectorEvents() - Static method in class pyrasun.eio.EIOEvent
Get the complete bitmask for all events that are selectable via an NIO Selector
getName() - Method in class pyrasun.eio.EIOPoolingStrategy
 
getName() - Method in class pyrasun.eio.EIOReasonCode
 
getName() - Method in class pyrasun.eio.EPStatus
 
getName() - Method in class pyrasun.eio.EndpointCoordinator
Get the wetware readable name for this coordinator.
getName() - Method in class pyrasun.eio.services.AbstractEmberService
Return the name of the service
getName() - Method in interface pyrasun.eio.services.EmberService
Return the name of the service
getObject() - Method in class pyrasun.eio.protocols.object.Packet
 
getOutputBuffer() - Method in class pyrasun.eio.ReadWriteEndpoint
Get the output buffer associated with this endpoint.
getOutputStream() - Method in class pyrasun.eio.EIOOutputBuffer
Returns the associated ByteBufferOutputStream.
getPoolSize() - Method in class pyrasun.eio.EIOEventDescriptor
Returns the size of the thread pool for this event type.
getProcessingEvents() - Method in class pyrasun.eio.Endpoint
Return the events that are currently being processed against this endpoint, in bitmask form.
getProcessingQueueDepth() - Method in class pyrasun.eio.ReadWriteEndpoint
 
getPrompt() - Method in class pyrasun.eio.services.telnet.TelnetService
 
getReadyEvents() - Method in class pyrasun.eio.Endpoint
Get the events that have fired as "ready" against this endpoint.
getService(String) - Method in interface pyrasun.eio.services.EmberServiceController
 
getService(String) - Method in class pyrasun.eio.services.EmberServiceControllerImpl
 
getState() - Method in class pyrasun.eio.Endpoint
Returns the current state of the Endpoint.
getState() - Method in class pyrasun.eio.services.AbstractEmberService
Return the current state of the service
getState() - Method in interface pyrasun.eio.services.EmberService
Return the current state of the service
getStrategyByName(String) - Static method in class pyrasun.eio.EIOPoolingStrategy
Get a strategy by name (intended for use by things like configuration files).
getThreadGroup() - Method in class pyrasun.eio.EIOGlobalContext
Get this context's EIO thread group.
getThreadPriority() - Method in class pyrasun.eio.EIOEventDescriptor
Get the thread priority to use for dedicated thread pools against this event type
getThrottleLimit() - Method in class pyrasun.eio.EIOEventDescriptor
 
getThrottleRestart() - Method in class pyrasun.eio.EIOEventDescriptor
 
getWelcome() - Method in class pyrasun.eio.services.telnet.TelnetService
 
getWorkerClass() - Method in class pyrasun.eio.EIOEventDescriptor
Not used
getWorkerClassName() - Method in class pyrasun.eio.EIOEventDescriptor
Not used
getWorkerType() - Method in interface pyrasun.eio.EIOWorker
 
getWorkerType() - Method in class pyrasun.eio.helpers.EIOAcceptWorkerFactory.EIOAcceptingWorker
 
getWorkerType() - Method in class pyrasun.eio.protocols.bytearray.EIOByteArrayReader
 
getWorkerType() - Method in class pyrasun.eio.protocols.bytearray.EIOByteArrayWriter
 
getWorkerType() - Method in class pyrasun.eio.protocols.object.EIOObjectReader
 
getWorkerType() - Method in class pyrasun.eio.protocols.object.EIOObjectWriter
 
getWorkerType() - Method in class pyrasun.eio.protocols.string.EIOStringReader
 
getWorkerType() - Method in class pyrasun.eio.protocols.string.EIOStringWriter
 
getWorkerType() - Method in class pyrasun.eio.services.object.ObjectProcessor
 
getWriteQueueDepth() - Method in class pyrasun.eio.ReadWriteEndpoint
 

H

handleEvent(EIOEvent, Object, Endpoint) - Method in interface pyrasun.eio.EIOWorker
 
handleEvent(Endpoint) - Method in class pyrasun.eio.EndpointCoordinator
 
handleEvent(EIOEvent, Object, Endpoint) - Method in class pyrasun.eio.helpers.EIOAcceptWorkerFactory.EIOAcceptingWorker
 
handleEvent(EIOEvent, Object, Endpoint) - Method in class pyrasun.eio.protocols.bytearray.EIOByteArrayReader
 
handleEvent(EIOEvent, Object, Endpoint) - Method in class pyrasun.eio.protocols.bytearray.EIOByteArrayWriter
 
handleEvent(EIOEvent, Object, Endpoint) - Method in class pyrasun.eio.protocols.object.EIOObjectReader
 
handleEvent(EIOEvent, Object, Endpoint) - Method in class pyrasun.eio.protocols.object.EIOObjectWriter
 
handleEvent(EIOEvent, Object, Endpoint) - Method in class pyrasun.eio.protocols.string.EIOStringReader
 
handleEvent(EIOEvent, Object, Endpoint) - Method in class pyrasun.eio.protocols.string.EIOStringWriter
 
handleEvent(EIOEvent, Object, Endpoint) - Method in class pyrasun.eio.services.object.ObjectProcessor
 
hashCode() - Method in class pyrasun.eio.EIOEvent
 
hashCode() - Method in class pyrasun.eio.EIOEventDescriptor
 

I

id() - Method in class pyrasun.eio.EIOEvent
Get the ID of this event as an int
info(String) - Method in interface pyrasun.eio.util.Logger
 
isAborted(EIOEvent) - Method in class pyrasun.eio.Endpoint
HACK HACK HACK
isActive() - Method in class pyrasun.eio.EPStatus
 
isBlocking() - Method in class pyrasun.eio.Endpoint
Returns true if this Endpoint is in blocking mode at the moment.
isDedicatedThread() - Method in class pyrasun.eio.handlers.EIOEventHandler
 
isDisabled() - Method in class pyrasun.eio.EIOEventDescriptor
Returns true if we don't want any handling for this event type.
isLockedForProcessing(int) - Method in class pyrasun.eio.Endpoint
Returns true if any of the specified event flags are locked for processing, false otherwise
isLockedReady(int) - Method in class pyrasun.eio.Endpoint
Returns true if any of the specified flags are locked as "ready".
isNIOSelectorEvent(int) - Static method in class pyrasun.eio.EIOEvent
Returns true if the event (or events) passed in are selectable via an NIO Selector.
isNIOSelectorEvent(EIOEvent) - Static method in class pyrasun.eio.EIOEvent
Returns true if the event passed in are selectable via an NIO Selector.
isOpen() - Method in class pyrasun.eio.Endpoint
Returns true if this endpoint is alive and well, false if it got whacked.
isPooled() - Method in class pyrasun.eio.EIOEventDescriptor
Returns true if we want a dedicated thread pool for this event type
isReady(EIOEvent) - Method in class pyrasun.eio.Endpoint
 
isSelectorized() - Method in class pyrasun.eio.Endpoint
Returns true if the NIO selector owns this Endpoint's ass.
isStoppable() - Method in class pyrasun.eio.services.AbstractEmberService
If true, this service can be stopped and restarted.
isStoppable() - Method in interface pyrasun.eio.services.EmberService
If true, this service can be stopped and restarted.
isWriteInProgress() - Method in class pyrasun.eio.EIOOutputBuffer
Returns true if a write is in progress or only a partial write was performed, false otherwise.
isWriteInProgress() - Method in class pyrasun.eio.ReadWriteEndpoint
Returns true if a write is in progress or a partial write was performed that needs to be taken care of at some later time.
isWriteQueueEmpty() - Method in class pyrasun.eio.ReadWriteEndpoint
Returns the true if the writing object queue is empty.

K

keyListing() - Method in class pyrasun.eio.EIOEventManager
For debugging purposes only - hooked into via Mr.

L

L4J - class pyrasun.eio.util.L4J.
 
L4J() - Constructor for class pyrasun.eio.util.L4J
 
LIMBO - Static variable in class pyrasun.eio.EPStatus
The endpoint is in limbo - it's kinda open but not actively registered anywhere
LL_DEBUG - Static variable in interface pyrasun.eio.util.LogLevel
 
LL_ERROR - Static variable in interface pyrasun.eio.util.LogLevel
 
LL_FATAL - Static variable in interface pyrasun.eio.util.LogLevel
 
LL_INFO - Static variable in interface pyrasun.eio.util.LogLevel
 
LL_TRACE - Static variable in interface pyrasun.eio.util.LogLevel
 
LL_WARN - Static variable in interface pyrasun.eio.util.LogLevel
 
LogLevel - interface pyrasun.eio.util.LogLevel.
Very basic LogLevel system - this is all I really need right now.
Logger - interface pyrasun.eio.util.Logger.
 
LoggerManager - interface pyrasun.eio.util.LoggerManager.
 
lockForEventManager() - Method in class pyrasun.eio.Endpoint
Tries to atomically switch the endpoint over to a WAITING state for injection into the EventManager.
lockForProcessing(EIOEvent) - Method in class pyrasun.eio.Endpoint
Tries to lock down an event for processing.
lockForReady(SelectionKey) - Method in class pyrasun.eio.Endpoint
Attempt to lock a new event or set of events as "ready".
log(int, String) - Method in interface pyrasun.eio.util.Logger
 

M

MAGIC - Static variable in class pyrasun.eio.protocols.object.Packet
 
markSupported() - Method in class pyrasun.eio.util.ByteBufferInputStream
 
masksAsString() - Method in class pyrasun.eio.Endpoint
 

N

NIO_RESERVED_IDS - Static variable in class pyrasun.eio.EIOEvent
IDs reserved for now and future NIO use.
NIO_SELECTOR_EVENTS - Static variable in class pyrasun.eio.EIOEvent
Event ID bit mask for all events that may be used within an NIO Selector.
NONBLOCKING_ACCEPTOR - Static variable in class pyrasun.eio.EIOPoolingStrategy
Strategy for a non-blocking acceptor for a ServerSocket (AcceptingEndpoint).
needsReadPause() - Method in class pyrasun.eio.ReadWriteEndpoint
 
newClient(ByteArrayServerClient) - Method in interface pyrasun.eio.services.bytearray.ByteArrayServerListener
 
newClient(ObjectServerClient) - Method in interface pyrasun.eio.services.object.ObjectServerListener
 
newEndpoint(ReadWriteEndpoint) - Method in interface pyrasun.eio.helpers.EIOAcceptWorkerFactory.EIOAcceptWorkerCallback
 
newEndpoint(ReadWriteEndpoint) - Method in class pyrasun.eio.services.bytearray.ByteArrayClientService
 
newEndpoint(ReadWriteEndpoint) - Method in class pyrasun.eio.services.bytearray.ByteArrayServerService
 
newEndpoint(ReadWriteEndpoint) - Method in class pyrasun.eio.services.object.ObjectClientService
 
newEndpoint(ReadWriteEndpoint) - Method in class pyrasun.eio.services.object.ObjectServerService
 
newEndpoint(ReadWriteEndpoint) - Method in class pyrasun.eio.services.telnet.TelnetService
 
newMessage(Object) - Method in interface pyrasun.eio.services.bytearray.ByteArrayServerClient
 
newMessage(ByteArrayServerClient, Object) - Method in interface pyrasun.eio.services.bytearray.ByteArrayServerClientListener
 
newMessage(String, Object) - Method in interface pyrasun.eio.services.object.ObjectServerClient
 
newMessage(ObjectServerClient, String, Object) - Method in interface pyrasun.eio.services.object.ObjectServerClientListener
 
newThread(Runnable) - Method in class pyrasun.eio.EIOGlobalContext
Create a new EIO thread within this context's EIO thread group.
nextForProcessing() - Method in class pyrasun.eio.ReadWriteEndpoint
Returns the next Object available as input to a PROCESS event.
nextForWriting() - Method in class pyrasun.eio.ReadWriteEndpoint
Returns the next object available as input to a WRITE event.
noReadsForMe() - Method in class pyrasun.eio.ReadWriteEndpoint
 
noWritesForMe() - Method in class pyrasun.eio.ReadWriteEndpoint
 

O

ObjectClientService - class pyrasun.eio.services.object.ObjectClientService.
 
ObjectClientService(EIOGlobalContext, EIOPoolingStrategy) - Constructor for class pyrasun.eio.services.object.ObjectClientService
 
ObjectProcessor - class pyrasun.eio.services.object.ObjectProcessor.
 
ObjectServerClient - interface pyrasun.eio.services.object.ObjectServerClient.
 
ObjectServerClientListener - interface pyrasun.eio.services.object.ObjectServerClientListener.
 
ObjectServerListener - interface pyrasun.eio.services.object.ObjectServerListener.
 
ObjectServerService - class pyrasun.eio.services.object.ObjectServerService.
The ObjectServerService is a simple service for facilitating sending objects around between processes.
ObjectServerService(EIOGlobalContext, EIOPoolingStrategy, EIOPoolingStrategy, String, int) - Constructor for class pyrasun.eio.services.object.ObjectServerService
 

P

PROCESS - Static variable in class pyrasun.eio.EIOEvent
A Process event.
Packet - class pyrasun.eio.protocols.object.Packet.
 
Packet(String, Object) - Constructor for class pyrasun.eio.protocols.object.Packet
 
Packet() - Constructor for class pyrasun.eio.protocols.object.Packet
 
ProcessHandler - class pyrasun.eio.handlers.ProcessHandler.
Handler for PROCESS events
ProcessHandler(EIOEventDescriptor, EIOWorker) - Constructor for class pyrasun.eio.handlers.ProcessHandler
 
ProcessHandler() - Constructor for class pyrasun.eio.handlers.ProcessHandler
 
processingDispatch(boolean) - Method in class pyrasun.eio.ReadWriteEndpoint
If no one else is handling PROCESS on this right now, dispatch it for handling
pyrasun.eio - package pyrasun.eio
The pyrasun.eio package is the main package for the EmberIO library, and contains the core EmberIO classes.
pyrasun.eio.handlers - package pyrasun.eio.handlers
The handlers package contains the EIOEventHandler abstract base class, and all of the default concrete implementations of EIOEventHandler.
pyrasun.eio.helpers - package pyrasun.eio.helpers
This package defines helper classes which make common EIO tasks easier to accomplish than is the case with the core EIO classes, which are sometimes a bit too generic and daunting to the semi-casual EIO user.
pyrasun.eio.protocols.bytearray - package pyrasun.eio.protocols.bytearray
This package contains the bytearray protocol.
pyrasun.eio.protocols.object - package pyrasun.eio.protocols.object
An EmberIO protocol used for sending Serialized objects around.
pyrasun.eio.protocols.string - package pyrasun.eio.protocols.string
The incredibly stupid and (almost) worthless string protocol.
pyrasun.eio.services - package pyrasun.eio.services
The services package defines various services that EmberIO supports.
pyrasun.eio.services.bytearray - package pyrasun.eio.services.bytearray
 
pyrasun.eio.services.generic - package pyrasun.eio.services.generic
 
pyrasun.eio.services.object - package pyrasun.eio.services.object
 
pyrasun.eio.services.telnet - package pyrasun.eio.services.telnet
 
pyrasun.eio.util - package pyrasun.eio.util
Everybody who's anybody has got a 'util' package, and EIO is no exception.

R

READ - Static variable in class pyrasun.eio.EIOEvent
A read event, indicating that data maybe available to read from an Endpoint.
RUNNING - Static variable in interface pyrasun.eio.services.EmberService
 
ReadHandler - class pyrasun.eio.handlers.ReadHandler.
Handler for read events
ReadHandler(EIOEventDescriptor, EIOWorker) - Constructor for class pyrasun.eio.handlers.ReadHandler
 
ReadHandler() - Constructor for class pyrasun.eio.handlers.ReadHandler
 
ReadWriteEndpoint - class pyrasun.eio.ReadWriteEndpoint.
A ReadWriteEndpoint is an endpoint that represents a socket channel, but has been cleverly named "ReadWriteEndpoint" to befuddle and confuse you into thinking it's alot more impressive than it actually is.
ReadWriteEndpoint(EndpointCoordinator, SocketChannel) - Constructor for class pyrasun.eio.ReadWriteEndpoint
Construct a new ReadWriteEndpoint.
read() - Method in class pyrasun.eio.EIOInputBuffer
Reads data from the underlying channel into the internal ByteBufer here.
read() - Method in class pyrasun.eio.util.ByteBufferInputStream
 
read(byte[]) - Method in class pyrasun.eio.util.ByteBufferInputStream
 
read(byte[], int, int) - Method in class pyrasun.eio.util.ByteBufferInputStream
 
readExternal(ObjectInput) - Method in class pyrasun.eio.protocols.object.Packet
 
readPause() - Method in class pyrasun.eio.ReadWriteEndpoint
 
realloc(int) - Method in class pyrasun.eio.util.ByteBufferOutputStream
 
registerCoordinator(EndpointCoordinator) - Method in class pyrasun.eio.EIOGlobalContext
 
registerEventListener(EndpointEventListener) - Method in class pyrasun.eio.Endpoint
Register an event listener against this Endpoint.
registerForEvents(Endpoint) - Method in class pyrasun.eio.EIOEventManager
Register an Endpoint with this event manager.
registerForEvents(Endpoint) - Method in class pyrasun.eio.EndpointCoordinator
Register the given endpoint to receive events.
removeEndpoint(Endpoint) - Method in class pyrasun.eio.EIOEventManager
Removes an endpoint from this event manager.
removeEndpoint(Endpoint) - Method in class pyrasun.eio.EndpointCoordinator
 
removeInterest(EIOEvent) - Method in class pyrasun.eio.Endpoint
 
removeProcessing(int) - Method in class pyrasun.eio.Endpoint
 
removeReadiness(int) - Method in class pyrasun.eio.Endpoint
 
reportReadError(EIOReasonCode, String, Throwable, Object) - Method in class pyrasun.eio.Endpoint
 
reportReadError(Endpoint, EIOReasonCode, String, Throwable, Object) - Method in interface pyrasun.eio.EndpointEventListener
Reports that a non-fatal error occured while reading from this endpoint.
reportReadError(Endpoint, EIOReasonCode, String, Throwable, Object) - Method in class pyrasun.eio.services.bytearray.ByteArrayClientService
 
reportReadError(Endpoint, EIOReasonCode, String, Throwable, Object) - Method in class pyrasun.eio.services.bytearray.ByteArrayServerService
 
reportReadError(Endpoint, EIOReasonCode, String, Throwable, Object) - Method in class pyrasun.eio.services.object.ObjectClientService
 
reportReadError(Endpoint, EIOReasonCode, String, Throwable, Object) - Method in class pyrasun.eio.services.object.ObjectServerService
 
reportReadError(Endpoint, EIOReasonCode, String, Throwable, Object) - Method in class pyrasun.eio.services.telnet.TelnetService
 
reportWriteError(EIOReasonCode, String, Throwable, Object) - Method in class pyrasun.eio.Endpoint
 
reportWriteError(Endpoint, EIOReasonCode, String, Throwable, Object) - Method in interface pyrasun.eio.EndpointEventListener
Reports that a non-fatal error occured while writing to this endpoint.
reportWriteError(Endpoint, EIOReasonCode, String, Throwable, Object) - Method in class pyrasun.eio.services.bytearray.ByteArrayClientService
 
reportWriteError(Endpoint, EIOReasonCode, String, Throwable, Object) - Method in class pyrasun.eio.services.bytearray.ByteArrayServerService
 
reportWriteError(Endpoint, EIOReasonCode, String, Throwable, Object) - Method in class pyrasun.eio.services.object.ObjectClientService
 
reportWriteError(Endpoint, EIOReasonCode, String, Throwable, Object) - Method in class pyrasun.eio.services.object.ObjectServerService
 
reportWriteError(Endpoint, EIOReasonCode, String, Throwable, Object) - Method in class pyrasun.eio.services.telnet.TelnetService
 
reset() - Method in class pyrasun.eio.EIOOutputBuffer
Reset everything back to initial state, including the associated ByteBufferOutputStream and the backing output ByteBuffer.
reset() - Method in class pyrasun.eio.util.ByteBufferOutputStream
 
resetFor(int) - Method in class pyrasun.eio.EIOInputBuffer
Resets a partially used buffer for a bigger size, and preserves any data that's currently already in the buffer.
run() - Method in class pyrasun.eio.EIOEventManager
 

S

SELECTOR_ERROR - Static variable in class pyrasun.eio.EIOReasonCode
 
SELECTOR_READER - Static variable in class pyrasun.eio.EIOPoolingStrategy
Strategy for a ReadWriteEndpoint.
STOPPED - Static variable in interface pyrasun.eio.services.EmberService
 
ServiceIOConfig - class pyrasun.eio.services.generic.ServiceIOConfig.
Centralize initialization of basic I/O objects for a generic protocol - readers, writers, and processors.
ServiceIOConfig(EIOGlobalContext, EIOPoolingStrategy, String, EIOWorkerFactory) - Constructor for class pyrasun.eio.services.generic.ServiceIOConfig
 
serviceEvent(Object, Object) - Method in interface pyrasun.eio.services.EmberServiceListener
 
setByteBuffer(ByteBuffer) - Method in class pyrasun.eio.util.ByteBufferInputStream
 
setController(EmberServiceController) - Method in class pyrasun.eio.services.AbstractEmberService
Defines the context of the larger container which controls this service.
setController(EmberServiceController) - Method in interface pyrasun.eio.services.EmberService
Defines the context of the larger container which controls this service.
setEndpointFactory(EIOEndpointFactory) - Method in class pyrasun.eio.helpers.EIOAcceptWorkerFactory
 
setEventDescriptor(EIOEventDescriptor) - Method in class pyrasun.eio.handlers.EIOEventHandler
 
setEventHandler(Class, EIOEvent) - Method in class pyrasun.eio.EIOGlobalContext
Override an event handler.
setGlobalListener(EIOGlobalListener) - Method in class pyrasun.eio.EIOGlobalContext
 
setGreedyOps(int) - Method in class pyrasun.eio.EIOEventDescriptor
Indicates the number of greedy operations EmberIO should try to perform when this event is activated.
setHandler(Class, EIOEvent) - Method in class pyrasun.eio.handlers.EIOEventHandlerFactory
 
setID(String) - Method in interface pyrasun.eio.services.bytearray.ByteArrayServerClient
 
setID(String) - Method in interface pyrasun.eio.services.object.ObjectServerClient
 
setIsDedicatedThread(boolean) - Method in class pyrasun.eio.handlers.EIOEventHandler
 
setIsWriteInProgress(boolean) - Method in class pyrasun.eio.ReadWriteEndpoint
If 'inProgress' is true, this indicates that a write is in progress right now and hasn't been completed yet.
setLimit(int) - Method in class pyrasun.eio.EIOInputBuffer
Set the read limit for this buffer.
setListener(ByteArrayServerListener) - Method in class pyrasun.eio.services.bytearray.ByteArrayClientService
 
setListener(ByteArrayServerClientListener) - Method in interface pyrasun.eio.services.bytearray.ByteArrayServerClient
 
setListener(ByteArrayServerListener) - Method in class pyrasun.eio.services.bytearray.ByteArrayServerService
 
setListener(ObjectServerListener) - Method in class pyrasun.eio.services.object.ObjectClientService
 
setListener(ObjectServerClientListener) - Method in interface pyrasun.eio.services.object.ObjectServerClient
 
setListener(ObjectServerListener) - Method in class pyrasun.eio.services.object.ObjectServerService
 
setListener(EmberServiceListener) - Method in class pyrasun.eio.services.telnet.TelnetService
 
setLogger(LoggerManager) - Method in class pyrasun.eio.EIOGlobalContext
Set the logger used by everybody in this EIO context.
setName(String) - Method in class pyrasun.eio.Endpoint
Set a name for this endpoint which is meaningful to the application - useful for logging and debugging.
setNumEventManagers(int) - Method in class pyrasun.eio.EIOGlobalContext
 
setPoolSize(int) - Method in class pyrasun.eio.EIOEventDescriptor
Set the dedicated thread pool size for this type.
setPrompt(String) - Method in class pyrasun.eio.services.telnet.TelnetService
 
setReadiness(SelectionKey) - Method in class pyrasun.eio.Endpoint
 
setReadiness(int) - Method in class pyrasun.eio.Endpoint
 
setThreadPriority(int) - Method in class pyrasun.eio.EIOEventDescriptor
Set the thread priority to use for dedicated thread pools against this event type
setThrottleLimit(int) - Method in class pyrasun.eio.EIOEventDescriptor
 
setThrottleRestart(int) - Method in class pyrasun.eio.EIOEventDescriptor
 
setTimeoutCB(TimeoutCB) - Method in class pyrasun.eio.EIOEventManager
Set a callback to be invoked if the selector times out with no I/O ready operations.
setUseBlockingIO(boolean) - Method in class pyrasun.eio.EIOEventDescriptor
Set to true if you want to use blocking I/O against this event type, false if you're truly cool and are going non-blocking.
setWelcome(String) - Method in class pyrasun.eio.services.telnet.TelnetService
 
setWorker(EIOWorker) - Method in class pyrasun.eio.handlers.EIOEventHandler
 
setWorkerClassName(String) - Method in class pyrasun.eio.EIOEventDescriptor
Not used
start() - Method in class pyrasun.eio.EIOEventManager
Get this manager rolling!
start() - Method in class pyrasun.eio.EIOGlobalContext
 
start() - Method in class pyrasun.eio.EndpointCoordinator
Start this EndpointCoordinator - generally initializes all of the worker threads associated with this coordinator.
start() - Method in class pyrasun.eio.services.AbstractEmberService
Start the service.
start() - Method in interface pyrasun.eio.services.EmberService
Start the service.
start() - Method in class pyrasun.eio.services.bytearray.ByteArrayClientService
Start the service.
start() - Method in class pyrasun.eio.services.bytearray.ByteArrayServerService
Start the service.
start() - Method in class pyrasun.eio.services.generic.ServiceIOConfig
 
start() - Method in class pyrasun.eio.services.object.ObjectClientService
Start the service.
start() - Method in class pyrasun.eio.services.object.ObjectServerService
Start the service.
start() - Method in class pyrasun.eio.services.telnet.TelnetService
Start the service.
startAll() - Method in interface pyrasun.eio.services.EmberServiceController
 
startAll() - Method in class pyrasun.eio.services.EmberServiceControllerImpl
 
startService(String) - Method in interface pyrasun.eio.services.EmberServiceController
 
startService(String) - Method in class pyrasun.eio.services.EmberServiceControllerImpl
 
stop() - Method in class pyrasun.eio.EIOGlobalContext
 
stop() - Method in class pyrasun.eio.services.AbstractEmberService
Stop the service.
stop() - Method in interface pyrasun.eio.services.EmberService
Stop the service.
stop() - Method in class pyrasun.eio.services.bytearray.ByteArrayClientService
Stop the service.
stop() - Method in class pyrasun.eio.services.bytearray.ByteArrayServerService
Stop the service.
stop() - Method in class pyrasun.eio.services.object.ObjectClientService
Stop the service.
stop() - Method in class pyrasun.eio.services.object.ObjectServerService
Stop the service.
stop() - Method in class pyrasun.eio.services.telnet.TelnetService
Stop the service.
stopAll() - Method in interface pyrasun.eio.services.EmberServiceController
 
stopAll() - Method in class pyrasun.eio.services.EmberServiceControllerImpl
 
stopService(String) - Method in interface pyrasun.eio.services.EmberServiceController
 
stopService(String) - Method in class pyrasun.eio.services.EmberServiceControllerImpl
 
supportedWorkerTypes() - Method in interface pyrasun.eio.EIOWorkerFactory
Returns an array of supported Event types for this factory.
supportedWorkerTypes() - Method in class pyrasun.eio.helpers.EIOAcceptWorkerFactory
 
supportedWorkerTypes() - Method in class pyrasun.eio.helpers.EIOSocketWorkerFactory
 

T

TelnetService - class pyrasun.eio.services.telnet.TelnetService.
A service which does very little.
TelnetService(EIOGlobalContext, EIOPoolingStrategy, EIOPoolingStrategy, String, int) - Constructor for class pyrasun.eio.services.telnet.TelnetService
 
TimeoutCB - interface pyrasun.eio.TimeoutCB.
 
timeoutOccured() - Method in interface pyrasun.eio.TimeoutCB
 
toString() - Method in class pyrasun.eio.EIOEvent
 
toString() - Method in class pyrasun.eio.EIOEventDescriptor
 
toString() - Method in class pyrasun.eio.EIOEventManager
 
toString() - Method in class pyrasun.eio.EIOPoolingStrategy
String me, baby!
toString() - Method in class pyrasun.eio.EIOReasonCode
 
toString() - Method in class pyrasun.eio.EPStatus
 
toString() - Method in class pyrasun.eio.Endpoint
 
toString() - Method in class pyrasun.eio.EndpointCoordinator
 

U

UNSPECIFIED - Static variable in class pyrasun.eio.EIOReasonCode
 
USER_BITS_HIGH - Static variable in class pyrasun.eio.EIOEvent
High end of User ID bit-space.
USER_BITS_LOW - Static variable in class pyrasun.eio.EIOEvent
Low end of User ID bit-space.
USER_CODES - Static variable in class pyrasun.eio.EIOReasonCode
 
USE_ONE_POOL - Static variable in class pyrasun.eio.EIOPoolingStrategy
Strategy for a ReadWriteEndpoint.
USE_RP_POOLS - Static variable in class pyrasun.eio.EIOPoolingStrategy
Strategy for a ReadWriteEndpoint.
USE_RWP_POOLS - Static variable in class pyrasun.eio.EIOPoolingStrategy
Strategy for a ReadWriteEndpoint.
unlockProcessing(EIOEvent) - Method in class pyrasun.eio.Endpoint
Unlocks an event from processing.
updateProcessedStats(EIOEvent, int) - Method in class pyrasun.eio.Endpoint
 
useBlockingIO() - Method in class pyrasun.eio.EIOEventDescriptor
Returns true if these events should be handled in a blocking manner, false if you'll be going non-blocking.
useSelectorThread() - Method in class pyrasun.eio.EIOEventDescriptor
Returns true if we want this sucker to execute within the Selector's event thread loop.
useUniqueThread() - Method in class pyrasun.eio.EIOEventDescriptor
Returns true if we want a dedicated, blocking thread allocated for this event type.

W

WAITING - Static variable in class pyrasun.eio.EPStatus
The endpoint is open fer business is in WAITING inside the Selector event loop.
WRITE - Static variable in class pyrasun.eio.EIOEvent
A write event - you may be able to write some data out to an endpoint.
WriteHandler - class pyrasun.eio.handlers.WriteHandler.
Handler for WRITE events
WriteHandler(EIOEventDescriptor, EIOWorker) - Constructor for class pyrasun.eio.handlers.WriteHandler
 
WriteHandler() - Constructor for class pyrasun.eio.handlers.WriteHandler
 
warn(String) - Method in interface pyrasun.eio.util.Logger
 
write(Object) - Method in class pyrasun.eio.ReadWriteEndpoint
Tell EIO to write an object out on this Endpoint.
write(Object) - Method in interface pyrasun.eio.services.bytearray.ByteArrayServerClient
 
write(String, Object) - Method in interface pyrasun.eio.services.object.ObjectServerClient
 
write(int) - Method in class pyrasun.eio.util.ByteBufferOutputStream
 
write(byte[]) - Method in class pyrasun.eio.util.ByteBufferOutputStream
 
write(byte[], int, int) - Method in class pyrasun.eio.util.ByteBufferOutputStream
 
writeExternal(ObjectOutput) - Method in class pyrasun.eio.protocols.object.Packet
 
writeNext(byte[]) - Method in class pyrasun.eio.protocols.bytearray.EIOByteArrayEndpoint
 
writeNext(Object) - Method in class pyrasun.eio.protocols.object.EIOObjectEndpoint
 
writeResults() - Method in class pyrasun.eio.EIOOutputBuffer
Write stuff from underlying ByteBuffer out to the channel (this includes anything you may have written via the stream returned by getOutputStream()).

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

Pyrasun EmberIO