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

A

AbstractJFrameAgent - Class in com.cometway.swing
This abstract Agent contains basic functionality useable by an agent that manages a JFrame.
AbstractJFrameAgent() - Constructor for class com.cometway.swing.AbstractJFrameAgent
 
AbstractJFrameController - Class in com.cometway.swing
This class acts as an agent-based proxy for a swing JFrame.
AbstractJFrameController() - Constructor for class com.cometway.swing.AbstractJFrameController
 
AbstractPropsContainer - Class in com.cometway.props
This is an abstract implementation of IPropsContainer which represents base-level IPropsContainer functionality.
AbstractPropsContainer() - Constructor for class com.cometway.props.AbstractPropsContainer
 
AbstractPropsPoolAgent - Class in com.cometway.props
 
AbstractPropsPoolAgent() - Constructor for class com.cometway.props.AbstractPropsPoolAgent
 
AbstractPropsPoolAgent.PropsPoolImpl - Class in com.cometway.props
 
AbstractPropsPoolAgent.PropsPoolImpl() - Constructor for class com.cometway.props.AbstractPropsPoolAgent.PropsPoolImpl
 
accept(File, String) - Method in class com.cometway.ak.StartupAgent
Returns true if the passed file ends in .startup
accept(File, String) - Method in class com.cometway.io.FileReaper.FilenameFilterImpl
 
accept(File, String) - Method in class com.cometway.io.RegExpFilenameFilter
Returns true if the file should be included in a file list.
accept(File, String) - Method in class com.cometway.io.WildCardFilenameFilter
Implements java.io.FilenameFilter.accept(File,String).
ACCEPT_NOT_ALLOWED - Static variable in class com.cometway.httpd.WebServer
The resource identified by the request is only capable of generating response entities which have content characteristics not acceptable according to the accept headers sent in the request.
acceptString - Variable in class com.cometway.net.HTTPLoader
 
acceptString - Variable in class com.cometway.net.HTTPRequest
* This is the String of what media to accept.
acceptsURL(String) - Method in class com.cometway.jdbc.JDBCConnectionDriver
This method is needed to implement the driver interface.
add(Props) - Method in class com.cometway.props.PropsSchema
Adds the specified Props to the schema.
addBoolean(String, String) - Method in class com.cometway.props.PropsSchema
Adds a boolean type to the schema.
addButton(String, String, String) - Method in class com.cometway.props.PropsSchema
Adds a button type to the schema.
addCaption(String) - Method in class com.cometway.props.PropsSchema
Adds a caption type to the schema.
addChoice(String, String, String) - Method in class com.cometway.props.PropsSchema
Adds a choice type to the schema.
addCommandParser(String, ICommandParser, boolean) - Method in class com.cometway.net.ESMTPReceiver
 
addCommandParser(String, ICommandParser) - Method in class com.cometway.net.ESMTPReceiver
 
addCommandParser(String, ICommandParser) - Method in interface com.cometway.util.ICommandParser
addCommandParser adds an ICommandParser to extend the commands that it can parse by adding ICommandParsers for new commands.
addCookie(String) - Method in class com.cometway.httpd.HTTPAgentRequest
This method adds a Cookie to the portion of the HTTP response header, when the header is sent.
addCookie(String) - Method in class com.cometway.net.HTTPLoader
* Adds a cookie to the cookie list.
addCookie(CookiePropsContainer) - Method in class com.cometway.net.HTTPLoader
* Adds a cookie to the cookie list.
addExtension(String, String, WebServerExtension) - Method in class com.cometway.httpd.WebServer
This is the temporary way of adding extensions.
addHeader(String, String) - Method in class com.cometway.net.HTTPRequest
* This method adds a user specific header.
addHeader(String) - Method in class com.cometway.net.HTTPRequest
* This method adds a user specific header.
addHeader(String, String) - Method in class com.cometway.net.HTTPResponse
* Use this method to add a header value for a given header name.
addInteger(String, String) - Method in class com.cometway.props.PropsSchema
Adds an integer type to the schema.
addListener(IPropsChangeListener) - Method in class com.cometway.props.Props
Adds an IPropsChangeListener to the list of listeners for this object.
addNewPropsToPool() - Method in class com.cometway.props.AbstractPropsPoolAgent
Creates a new Props and adds it to the pool.
addProps(Props) - Method in class com.cometway.props.PropsList
Adds the specified Props to this list.
addRecipient(String, String) - Method in class com.cometway.email.MessageTools
 
addScheduleChangeListener(IScheduleChangeListener) - Method in class com.cometway.ak.ScheduledAgent
Listeners are not implemented.
addScheduleChangeListener(IScheduleChangeListener) - Method in class com.cometway.email.EmailBugReportAgent
Called by Scheduler to add a listener to our Schedule.
addScheduleChangeListener(IScheduleChangeListener) - Method in interface com.cometway.util.ISchedulable
Adds an IScheduleChangeListener to the list of listeners for this object.
addSession() - Method in class com.cometway.httpd.HTTPFileDownloadAgent
This method is used to internally track the number of active sessions.
addSession() - Method in class com.cometway.httpd.HTTPThrottledFileServer
This method is used to internally track the number of active sessions.
addSpace() - Method in class com.cometway.props.PropsSchema
Adds a space type to the schema.
addStateModel(StateModelInterface) - Method in class com.cometway.states.StateMachineModel
Adds the specified state model to this state machine model.
addString(String, String) - Method in class com.cometway.props.PropsSchema
Adds a string type to the schema.
addString(String, String, int) - Method in class com.cometway.props.PropsSchema
Adds a string type to the schema.
addTextBufferListener(ITextBufferListener) - Method in interface com.cometway.text.ITextBuffer
Adds an ITextBufferListener to this object to receive notifications of changes which take place when the text buffer is changed.
addTextBufferListener(ITextBufferListener) - Method in class com.cometway.text.StringTextBuffer
Adds an ITextBufferListener to this object to receive notifications of changes which take place when the text buffer is changed.
Agent - Class in com.cometway.ak
An abstract implementation of the AgentInterface.
Agent() - Constructor for class com.cometway.ak.Agent
 
agent - Variable in class com.cometway.email.RequestFilterAgent
 
agent_id - Variable in class com.cometway.ak.Agent
This is where the agent_id is cached for use by the toString method.
agent_name_prefix - Variable in class com.cometway.om.AgentServer
 
AgentCommand - Class in com.cometway.ak
This is a com.cometway.states.CommandInterface implementation for standard AgentInterface agents with initProps, start, stop, and destroy methods.
AgentCommand(AgentInterface, String) - Constructor for class com.cometway.ak.AgentCommand
Constructor for this class.
agentController - Variable in class com.cometway.ak.Agent
This is a reference to the AgentController assigned to this agent.
AgentController - Class in com.cometway.ak
An implementation of AgentControllerInterface that is created by AgentKernel to control the agents it creates.
AgentController(AgentInterface) - Constructor for class com.cometway.ak.AgentController
Constructor for this class.
AgentControllerInterface - Interface in com.cometway.ak
An instance if this interface is created and managed by an implementation of AgentKernelInterface as a proxy to the AgentInterface it represents.
AgentInterface - Interface in com.cometway.ak
A standard interface for Agents.
AgentKernel - Class in com.cometway.ak
Reference implementation of the AgentKernelInterface.
AgentKernel() - Constructor for class com.cometway.ak.AgentKernel
 
agentKernel - Variable in class com.cometway.om.AgentServer
 
AgentKernelInterface - Interface in com.cometway.ak
A standard agent kernel interface.
agentList - Variable in class com.cometway.om.AgentServer
 
AgentMessage - Class in com.cometway.ak
This data class represents a set of Properties that can be passed from one Agent to another Agent.
AgentMessage() - Constructor for class com.cometway.ak.AgentMessage
Creates a request instance using its own Props.
AgentMessage(Props) - Constructor for class com.cometway.ak.AgentMessage
Creates a request instance referencing the specified Props.
AgentReplicator - Class in com.cometway.ak
Used to create multiple instances of the same kind of agent.
AgentReplicator() - Constructor for class com.cometway.ak.AgentReplicator
 
AgentRequest - Class in com.cometway.ak
Represents a concrete data class used to pass information to and from agents that implement the RequestAgentInterface.
AgentRequest() - Constructor for class com.cometway.ak.AgentRequest
Creates a request instance using its own Props.
AgentRequest(Props) - Constructor for class com.cometway.ak.AgentRequest
Creates a request instance referencing the specified Props.
AgentRequest(Props, OutputStream) - Constructor for class com.cometway.ak.AgentRequest
Creates a request instance referencing the specified Props and standard OutputStream.
AgentRequest(Props, OutputStream, OutputStream) - Constructor for class com.cometway.ak.AgentRequest
Creates a request instance referencing the specified Props, standard OutputStream, and error OutputStream.
AgentServer - Class in com.cometway.om
A standard server interface to the agent kernel.
AgentServer() - Constructor for class com.cometway.om.AgentServer
 
AgentServerInterface - Interface in com.cometway.om
A standard server interface for managing agents in a agent kernel using an object manager for the agent Props storage.
AgentStateException - Exception in com.cometway.ak
This exception is thrown by AgentController when the requested operation is illegal from its agent's current state.
AgentStateException(String) - Constructor for exception com.cometway.ak.AgentStateException
Constructor for this exception.
AgentStateException(String, Exception) - Constructor for exception com.cometway.ak.AgentStateException
Constructor for this exception.
AgentTableModel - Class in com.cometway.swing
This is a swing TableModel implementation for editing startup agents.
AgentTableModel(Vector) - Constructor for class com.cometway.swing.AgentTableModel
Constructor the AgentTableModel.
agentThread - Variable in class com.cometway.ak.RunnableAgent
 
AK - Class in com.cometway.ak
This class is contains the public static void main() method for starting the Comet Way Agent Kernel from a command line or other Java application launching utility.
AK() - Constructor for class com.cometway.ak.AK
There is no public constructor for this class.
ALL_FRAMES - Static variable in class com.cometway.net.HTTPLoader
 
allocatedThreads - Variable in class com.cometway.util.ThreadPool
 
allocateNewBlocks(int) - Method in class com.cometway.om.FileObjectStore
This method allocates new blocks at the end of the store file.
allowForeignCookies - Variable in class com.cometway.net.HTTPLoader
 
allowStreamClose - Variable in class com.cometway.io.FixedLengthInputStream
 
allowStreamClose - Variable in class com.cometway.io.FixedLengthReader
 
allprops - Variable in class com.cometway.om.FileObjectManager
 
ALPHABETIZED_PROPS - Static variable in class com.cometway.xml.XMLPropsList
 
ALPHABETIZED_PROPS - Static variable in class com.cometway.xml.XMLPropsListExportAgent
 
append(String, String) - Method in class com.cometway.props.Props
If the specified object is a String, it is the specified String is appended to it.
append(String) - Method in interface com.cometway.text.ITextBuffer
Appends the specified string to the end of this object and calls the textChanged method of its listeners with the range of the appended text.
append(String) - Method in class com.cometway.text.StringTextBuffer
Appends the specified string to the end of this object and calls the textChanged method of its listeners with the range of the appended text.
args - Variable in class com.cometway.util.KMethod
 
Assert - Class in com.cometway.util
This class provides a suite of methods to perform tests.
Assert() - Constructor for class com.cometway.util.Assert
 
attemptsBeforeFlushBuffer - Variable in class com.cometway.io.PushBackBufferedInputStream
THis field tells the buffering mechanism how many times to wait for the buffer to be read from before it flushes the buffer
atTimes - Variable in class com.cometway.util.Schedule
atTimes: This is a vector of Date objects which hold hours,minutes,and seconds of times to schedule.
AUTH - Static variable in exception com.cometway.net.ESMTPException
 
authenticate(Object) - Method in class com.cometway.ak.SecureServiceManager.SecureServiceManagerImpl
Used to evaluate authentication; always returns true.
authenticate(Object) - Method in class com.cometway.ak.ServiceManager.ServiceManagerImpl
Used to evaluate authentication; always returns true.
authenticate(Props) - Method in class com.cometway.httpd.HTTPAuthenticationAgent
Authenticates HTTP request.
authenticate(Object) - Method in class com.cometway.props.PropsListServiceManager.PropsListServiceManagerImpl
Used to evaluate authentication; always returns true.
authenticateUser(String, String, String) - Method in class com.cometway.httpd.HTTPAuthenticationAgent
This is a temporary workaround to provide an alternate authentication method to subclasses.
authString - Variable in class com.cometway.net.HTTPRequest
This is the BASIC authentication to use
autoRedirect - Variable in class com.cometway.net.HTTPLoader
 
AutoReplyAgent - Class in com.cometway.email
This agent sets itself up to receive messages from a ReceiveEmailAgent and automatically respond to the sender using the SendEmailAgent.
AutoReplyAgent() - Constructor for class com.cometway.email.AutoReplyAgent
 
AutoTransition - Class in com.cometway.states
This is an implementation of TransitionInterface that will always return the state specified in the constructor.
AutoTransition(String, String) - Constructor for class com.cometway.states.AutoTransition
Constructor for this transition.
available() - Method in class com.cometway.httpd.HTTPDecoderStream
 
available() - Method in class com.cometway.io.FixedLengthInputStream
 
available() - Method in class com.cometway.io.PushBackBufferedInputStream
This method returns the number of available bytes that can be read from the buffer.
available() - Method in class com.cometway.io.ReaderInputStream
 

B

BAD_GATEWAY - Static variable in class com.cometway.httpd.WebServer
The server, while acting as a gateway or proxy, received an invalid response from the upstream server it accessed in attempting to fulfill the request.
BAD_REQUEST - Static variable in class com.cometway.httpd.WebServer
The request could not be understood by the server due to malformed syntax.
base64 - Static variable in class com.cometway.util.Base64Encoding
 
BASE64 - Static variable in class com.cometway.xml.MinRPCAgent
 
Base64Encoding - Class in com.cometway.util
This helper class contains the MIME/64 encoding and decoding methods when dealing with password authentication.
Base64Encoding() - Constructor for class com.cometway.util.Base64Encoding
 
BinaryHeap - Class in com.cometway.util
BinaryHeap is a mostly vanilla implementation of the CLR binary heap (albeit an object-oriented implementation), with the addition of a Hashtable mapping IHeapItems to their respective indices in the heap Vector.
BinaryHeap() - Constructor for class com.cometway.util.BinaryHeap
UNICONSTRUCTOR
binToInt(boolean[]) - Static method in class com.cometway.util.Base64Encoding
Converts a binary value to an integer.
binToInt(boolean[]) - Static method in class com.cometway.util.StringScrambler
Converts a binary value to an integer.
BLACK - Static variable in class com.cometway.swing.LightBox
 
BLOCK_SIZE - Variable in class com.cometway.om.FileObjectStore
 
blockSize - Variable in class com.cometway.net.ESMTPSender
 
BLUE - Static variable in class com.cometway.swing.LightBox
 
BLUE0 - Static variable in class com.cometway.swing.LightBox
 
BLUE1 - Static variable in class com.cometway.swing.LightBox
 
BLUE2 - Static variable in class com.cometway.swing.LightBox
 
BLUE3 - Static variable in class com.cometway.swing.LightBox
 
BLUE4 - Static variable in class com.cometway.swing.LightBox
 
BODY_DATA_OFFSET - Static variable in class com.cometway.om.FileObjectBlock
 
BODY_EXTENDED_DATA_OFFSET - Static variable in class com.cometway.om.FileObjectBlock
 
BODY_TAG_OFFSET - Static variable in class com.cometway.om.FileObjectBlock
 
BOLD - Static variable in class com.cometway.io.VT100ConsoleReporter
 
BOOLEAN - Static variable in class com.cometway.xml.MinRPCAgent
 
browserIn - Variable in class com.cometway.httpd.HTTPAgentRequest
 
buffer - Variable in class com.cometway.io.StringBufferOutputStream
 
bufferOutput - Variable in class com.cometway.httpd.HTTPAgentRequest
This flag tells the HTTPAgentRequest whether or not to buffer all the output that is to be sent to the browser.
BugReportInterface - Interface in com.cometway.email
This interface describes functionality for reporting bugs.
buildDataTypeInfo() - Method in class com.cometway.jdbc.JDBCConnection
Builds a type information list specific to this driver connection.
bytesToDouble(byte[], int) - Static method in class com.cometway.util.ByteTools
 
bytesToDouble(byte[]) - Static method in class com.cometway.util.ByteTools
 
bytesToFloat(byte[], int) - Static method in class com.cometway.util.ByteTools
 
bytesToFloat(byte[]) - Static method in class com.cometway.util.ByteTools
 
bytesToInt(byte[], int) - Static method in class com.cometway.util.ByteTools
 
bytesToInt(byte[]) - Static method in class com.cometway.util.ByteTools
 
bytesToLong(byte[], int) - Static method in class com.cometway.util.ByteTools
 
bytesToLong(byte[]) - Static method in class com.cometway.util.ByteTools
 
ByteTools - Class in com.cometway.util
 
ByteTools() - Constructor for class com.cometway.util.ByteTools
 
byteWiseWriting - Variable in class com.cometway.httpd.HTTPAgentRequest
For some slower internet connections or under heavy traffic, this flag set to true will help ensure the TCP connection doesn't get cut off.

C

CANNOT_SATISFY_REQUEST_RANGE - Static variable in class com.cometway.httpd.WebServer
A server SHOULD return a response with this status code if a request included a Range request-header field, and none of the range-specifier values in this field overlap the current extent of the selected resource, and the request did not include an If-Range request-header field.
cert1_file - Variable in class com.cometway.net.HTTPLoader
 
cert1_file - Variable in class com.cometway.net.SecureHTTPLoader
This is the path and filename of the non-passphrased, X509 certificate associated with the private key.
change(String, String, TextRange) - Static method in class com.cometway.email.EmailTools
Does a case-sensitive find and replace within the specified com.cometway.text.TextRange.
change(String, String, TextRange, boolean) - Static method in class com.cometway.email.EmailTools
Does a find and replace within the specified com.cometway.text.TextRange.
changeCRtoLF - Variable in class com.cometway.util.InputStreamReaderKMethod
Set this flag to true if you want to be Carriage Returns replaced by Line Feeds.
changeErrCRtoLF - Variable in class com.cometway.util.ExecuteCommand
Set this to true if Carriage Returns are to be change to Line Feeds in the process' error output.
changeErrLFtoCR - Variable in class com.cometway.util.ExecuteCommand
Set this to true if Line Feeds are to be change to Carriage Returns in the process' error output.
changeFileInfo(String) - Method in class com.cometway.om.FileObjectStore
This method changes the String info stored in the header of this Store to the String parameter.
changeLFtoCR - Variable in class com.cometway.util.InputStreamReaderKMethod
Set this flag to true if you want Line Feeds to be replaced by Carriage Returns.
changeObjectID(ObjectID, ObjectID) - Method in class com.cometway.jdbc.JDBCObjectManager
Changes the objectID of an object.
changeObjectID(ObjectID, ObjectID) - Method in class com.cometway.om.FileObjectManager
 
changeObjectID(ObjectID, ObjectID) - Method in interface com.cometway.om.IObjectManager
This method changes an object's ObjectID.
changeObjectID(ObjectID, ObjectID) - Method in class com.cometway.om.ObjectManager
This method changes an object's ObjectID.
changeOutCRtoLF - Variable in class com.cometway.util.ExecuteCommand
Set this to true if Carriage Returns are to be change to Line Feeds in the process' output.
changeOutLFtoCR - Variable in class com.cometway.util.ExecuteCommand
Set this to true if Line Feeds are to be change to Carriage Returns in the process' output.
checkPath(String) - Static method in class com.cometway.net.ESMTPReceiver
 
ClassFactoryException - Exception in com.cometway.util
This exception is thrown by ClassFactoryInterface.createInstance when there is a problem.
ClassFactoryException(String) - Constructor for exception com.cometway.util.ClassFactoryException
Constructor for this exception.
ClassFactoryException(String, Exception) - Constructor for exception com.cometway.util.ClassFactoryException
Constructor for this exception.
ClassFactoryInterface - Interface in com.cometway.util
This interface describes a method for creating new class instances.
clearExtensionsCache() - Method in class com.cometway.httpd.WebServer
This method clears the cache.
clearWarnings() - Method in class com.cometway.jdbc.JDBCConnection
 
clientCookies - Variable in class com.cometway.httpd.HTTPAgentRequest
 
close() - Method in class com.cometway.httpd.HTTPAgentRequest
 
close() - Method in class com.cometway.httpd.HTTPDecoderStream
 
close() - Method in class com.cometway.io.FixedLengthInputStream
 
close() - Method in class com.cometway.io.FixedLengthReader
 
close() - Method in class com.cometway.io.PushBackBufferedInputStream
This method stops the reading of the parent InputStream and causes the run() method to return.
close() - Method in class com.cometway.io.ReaderInputStream
 
close() - Method in class com.cometway.io.StringBufferOutputStream
This method sets the closed flag.
close() - Method in class com.cometway.io.WriterOutputStream
 
close() - Method in class com.cometway.jdbc.JDBCConnection
It is really important to call close when you are done using a pooled JDBCConnection because un-closed connections will be unusable until the ConnectionReaper gets around to freeing them.
close() - Method in class com.cometway.net.ESMTPReceiver
 
close() - Method in class com.cometway.xml.XMLParser
Closes the InputStream used by the parser.
CLOSE_CONNECTION - Static variable in class com.cometway.net.HTTPRequest
* This is the CLOSE connection type
closeConnection() - Method in class com.cometway.email.ReceivePOP3EmailAgent
Closes the connection to the POP3 server.
closeConnection(Connection) - Method in class com.cometway.jdbc.JDBCAgent
Properly closes the specified Connection.
closeConnection() - Method in class com.cometway.net.HTTPLoader
* Closes the connection if it is open.
closeConnectionDriver() - Method in class com.cometway.jdbc.PooledJDBCAgent
 
closeConnections() - Method in class com.cometway.jdbc.JDBCConnectionPool
Removes each connection from the connection pool and stops the WatchDog thread.
closed - Variable in class com.cometway.io.StringBufferOutputStream
 
closeFrame() - Method in class com.cometway.swing.AbstractJFrameAgent
Closes the JFrame managed by this agent.
closeLogFile() - Method in class com.cometway.io.FileLoggerAgent
Properly closes the currently open log file.
closeOnEOF - Variable in class com.cometway.io.PushBackBufferedInputStream
This field tells the buffering mechanism to stop reading from the parent InputStream if an EOF is encountered
CODE_200 - Static variable in class com.cometway.net.HTTPResponse
* These are the result codes supported
CODE_201 - Static variable in class com.cometway.net.HTTPResponse
 
CODE_204 - Static variable in class com.cometway.net.HTTPResponse
 
CODE_301 - Static variable in class com.cometway.net.HTTPResponse
 
CODE_302 - Static variable in class com.cometway.net.HTTPResponse
 
CODE_400 - Static variable in class com.cometway.net.HTTPResponse
 
CODE_401 - Static variable in class com.cometway.net.HTTPResponse
 
CODE_403 - Static variable in class com.cometway.net.HTTPResponse
 
CODE_404 - Static variable in class com.cometway.net.HTTPResponse
 
CODE_500 - Static variable in class com.cometway.net.HTTPResponse
 
com.cometway.ak - package com.cometway.ak
This package contains basic functionality for the Comet Way Agent Kernel.
com.cometway.email - package com.cometway.email
This package contains agents for sending and receiving Internet email using SMTP and POP3 protocols, as well as tools for creating, parsing and debugging email messages.
com.cometway.httpd - package com.cometway.httpd
This package contains agents for building a web server configuration.
com.cometway.io - package com.cometway.io
This package contains classes and tools for use with the java.io package.
com.cometway.jdbc - package com.cometway.jdbc
This package contains agents for working with the JDBC API.
com.cometway.net - package com.cometway.net
This package contains various network protocol implementations including HTTP, SMTP, NNTP, FTP, Finger and POP3.
com.cometway.om - package com.cometway.om
This package contains a model and reference implementations for an object-driven databases.
com.cometway.props - package com.cometway.props
This package contains tools for use with cometway.props.Props, including a model for Props codecs.
com.cometway.states - package com.cometway.states
This package contain classes which implement a vitual state machine model.
com.cometway.swing - package com.cometway.swing
This package contains agents and classes which can be used with the Swing API.
com.cometway.text - package com.cometway.text
This package contains a model and reference implementation of text buffer that allows text editor-like functions to a low-level text buffer interface.
com.cometway.tools - package com.cometway.tools
This package contains a variety of models, reference implementations, and tools which are useable for many common types of activities.
com.cometway.util - package com.cometway.util
This package contains a variety of models, reference implementations, and tools which are useable for many common types of activities.
com.cometway.xml - package com.cometway.xml
This package contains classes and agents for generating and parsing XML formatted documents and data streams.
CommandException - Exception in com.cometway.states
This exception is thrown by CommandInterface.execute when there is a problem.
CommandException(String) - Constructor for exception com.cometway.states.CommandException
Constructor for this exception.
CommandException(String, Exception) - Constructor for exception com.cometway.states.CommandException
Constructor for this exception.
commandHash - Variable in class com.cometway.net.ESMTPReceiver
 
commandInput - Variable in class com.cometway.util.ExecuteCommand
This is the Input sent to the Process OuputStream after execution.
CommandInterface - Interface in com.cometway.states
This interface defines methods necessary to execute a state command.
commaToArray(String) - Static method in class com.cometway.util.StringTools
This method parses a comma separated String of elements and returns them in an array
commit() - Method in class com.cometway.jdbc.JDBCConnection
 
compare(Object, Object) - Method in class com.cometway.props.PropsComparator
 
compare(Object, Object) - Method in class com.cometway.util.MapComparator
 
completeURLs(String, String) - Static method in class com.cometway.httpd.HTMLStringTools
This method completes all the relative URLs found in the data based off reference URL passed in.
connect() - Method in class com.cometway.jdbc.JDBCConnectionDriver
Returns a connection from the JDBC Connection Pool.
connect(String, Properties) - Method in class com.cometway.jdbc.JDBCConnectionDriver
Called by the JDBCConnection threads to get a real connection to the Database via the JDBC Driver.
connect(PipedInputStream) - Method in class com.cometway.jdbc.ObjectWriterThread
connects the PipedOutputStream to a PipedInputStream
CONNECT - Static variable in exception com.cometway.net.ESMTPException
 
connect() - Method in class com.cometway.net.ESMTPSender
Connect() opens a socket to SMTPHostName (SimpleMailServer) and instantiates in/out streams.
connect(Socket) - Method in class com.cometway.net.ESMTPSender
 
CONNECT_ERROR - Static variable in class com.cometway.httpd.HTTPCheckKMethod
A connection error occured
CONNECTED - Static variable in class com.cometway.httpd.HTTPCheckKMethod
The connection to the host and port was established
connection - Variable in class com.cometway.net.HTTPRequest
* This field is to indicate the connection type
CONNECTION_REFUSED - Static variable in class com.cometway.httpd.HTTPCheckKMethod
The connection to the host and port was refused
ConnectionKMethod - Class in com.cometway.httpd
This class contains all the code which is needed to deal with an incoming HTTP connection.
ConnectionKMethod(WebServer, Socket, int) - Constructor for class com.cometway.httpd.ConnectionKMethod
This connection handler requires a reference to the WebServer which created it, the Socket connected to the HTTP client, and the amount of time to linger after the request has been handled before it closes the connection to the client
connectionMgr - Variable in class com.cometway.jdbc.JDBCPropsContainer
 
connectionResult - Variable in class com.cometway.httpd.HTTPCheckKMethod
This is set after the method has been executed and will contain the connection result
conservativeWithErrors - Variable in class com.cometway.om.FileObjectBlock
When this flag is set to FALSE this FileObjectBlock will be slightly more inventive when encountering unexpected errors rather than just give up.
content - Variable in class com.cometway.util.jGrep
 
contentEncoding - Variable in class com.cometway.net.HTTPRequest
* This is the content encoding of the request data.
contentType - Variable in class com.cometway.net.HTTPRequest
* This is the content type of the request data.
contentTypeString - Variable in class com.cometway.net.HTTPLoader
 
convert(String) - Method in class com.cometway.httpd.LogViewerPage
Converts a String to HTML text.
convert(String) - Static method in class com.cometway.net.HTTPClient
* This method converts a string to a POST param value encoding
convertHTMLListToPlainText(XMLToken, XMLParser, StringBuffer, int) - Static method in class com.cometway.httpd.HTMLStringTools
 
convertHTMLObjectToPlainText(XMLToken, XMLParser, StringBuffer) - Static method in class com.cometway.httpd.HTMLStringTools
 
convertHTMLToPlainText(String) - Static method in class com.cometway.httpd.HTMLStringTools
 
convertPlainTextLineToHTML(String) - Static method in class com.cometway.httpd.HTMLStringTools
 
convertPlainTextToHTML(String) - Static method in class com.cometway.httpd.HTMLStringTools
 
cookieList - Variable in class com.cometway.net.HTTPLoader
 
CookiePropsContainer - Class in com.cometway.net
This PropsContainer is used by the HTTPLoader to store cookies
CookiePropsContainer() - Constructor for class com.cometway.net.CookiePropsContainer
 
CookiePropsContainer(String) - Constructor for class com.cometway.net.CookiePropsContainer
 
cookies - Variable in class com.cometway.httpd.HTTPAgentRequest
 
copy(IPropsContainer) - Method in class com.cometway.jdbc.JDBCPropsContainer
Copies the data from this JDBCPropsContainer to the one passed in as an argument.
copy(IPropsContainer) - Method in class com.cometway.net.CookiePropsContainer
 
copy(IPropsContainer) - Method in class com.cometway.om.FilePropsContainer
This method copies the property name and value pairs to the IPropsContainer given as a parameter.
copy(IPropsContainer) - Method in interface com.cometway.props.IPropsContainer
copy the properties in the current container to another container
copy(Props, String) - Method in class com.cometway.props.Props
Copies the value of the property with the same name as key from srcProps into the IPropsContainer for this object.
copy(IPropsContainer) - Method in class com.cometway.props.PropsContainer
Copys the contents of this container to another one.
copy(IPropsContainer) - Method in class com.cometway.props.ReadOnlyPropsContainer
 
copy(IPropsContainer) - Method in class com.cometway.props.ReflectionPropsContainer
Copies the public fields from the reflected Object to the specified Props.
copy(IPropsContainer) - Method in class com.cometway.props.VectorPropsContainer
Copys the elements specified by enumerateProps() into the Props.
copyFrom(Props) - Method in class com.cometway.props.Props
Copies the contents of the specified Props into this one.
copyTo(Props) - Method in class com.cometway.props.Props
Copies the contents of this Props into the one specified.
count - Variable in class com.cometway.httpd.HTTPDecoderStream
 
counter - Variable in class com.cometway.httpd.WebServer
 
createAgent(Object) - Method in class com.cometway.ak.AgentKernel
Creates an agent instance using the specified agent information; a String containing the classname of an AgentInterface implementation, or a Props with the classname property.
createAgent(Props) - Method in class com.cometway.ak.AgentKernel
Creates an agent instance using the classname property of the specified Props and automatically adopting any other properties which exist.
createAgent(Object) - Method in interface com.cometway.ak.AgentKernelInterface
Creates an agent instance based on implementation-specific agent information; typically a String containing the classname of an AgentInterface implementation, or a Props with the classname property.
createAgent(ObjectID) - Method in class com.cometway.om.AgentServer
Creates an agent instance based on an Object Manager Props referenced by the specified ObjectID or String.
createAgent(ObjectID) - Method in interface com.cometway.om.AgentServerInterface
Creates an agent instance using the Props information referenced by the specified ObjectID.
createFrame() - Method in class com.cometway.swing.AbstractJFrameAgent
Creates the JFrame instance managed by this agent.
createFrame() - Method in class com.cometway.swing.AbstractJFrameController
Creates a JFrame that is controlled by this agent.
createInstance(String) - Method in interface com.cometway.util.ClassFactoryInterface
Creates a default instance of an object of the specified class.
createInstance(String) - Method in class com.cometway.util.DefaultClassFactory
Creates a default instance of an object of the specified class.
createLogFile() - Method in class com.cometway.io.FileLoggerAgent
Initializes log File / checks to see if matching file already exists.
createMenu(String[]) - Method in class com.cometway.swing.AbstractJFrameAgent
Creates a JMenu from the specified String array of menu data.
createMenuActionListener() - Method in class com.cometway.swing.AbstractJFrameAgent
Creates the ActionListener for handling menu events.
createMenuActionListener() - Method in class com.cometway.swing.PropsEditor
Creates the ActionListener for interpreting menu events used by this agent.
createMenuActionListener() - Method in class com.cometway.swing.StartupEditor
Creates the ActionListener for interpreting menu events used by this agent.
createObject(ObjectType) - Method in class com.cometway.jdbc.JDBCObjectManager
Creates a new object in the object manager of the specified object type.
createObject(ObjectType) - Method in class com.cometway.om.FileObjectManager
 
createObject(ObjectType) - Method in interface com.cometway.om.IObjectManager
Creates a new object in the object manager of the specified object type.
createObject(ObjectType) - Method in class com.cometway.om.ObjectManager
Creates a new object in the object manager of the specified object type.
createProps() - Method in class com.cometway.io.DelimitedLineImportAgent
 
createProps() - Method in class com.cometway.props.PropsList
Creates a new Props and adds it to this list.
createReport() - Method in class com.cometway.email.RequestFilterAgent
 
createSession() - Method in class com.cometway.om.SessionManager
Creates a new session and returns its sessionID.
createSession() - Method in interface com.cometway.om.SessionManagerInterface
Creates a new session and returns its unique sessionID.
createStatement() - Method in class com.cometway.jdbc.JDBCConnection
 
createStatement(int, int) - Method in class com.cometway.jdbc.JDBCConnection
 
createStatement(int, int, int) - Method in class com.cometway.jdbc.JDBCConnection
 
createStatement() - Method in class com.cometway.jdbc.JDBCExportAgent
Creates a PreparedStatement for inserting values into the table based on the to_table and to_fields properties.
createTable(String, List, List) - Method in class com.cometway.jdbc.JDBCAgent
Creates the specified table using the specified parameters.
createTable(JDBCConnectionDriver, String) - Static method in class com.cometway.jdbc.JDBCPropsContainer
Creates a table in the database using a connection from the connection pool.
createWindowListener() - Method in class com.cometway.swing.AbstractJFrameAgent
Creates the WindowListener for handling window events.
CREATING_STATE - Static variable in class com.cometway.ak.Agent
The agent is being created; initProps method called.
CRLFConversionAgent - Class in com.cometway.tools
This agent converts the CRLF format of files recursively contained in the scan_dir, specified by the output_format (system, unix, macintosh, or dos).
CRLFConversionAgent() - Constructor for class com.cometway.tools.CRLFConversionAgent
 
currentSessions - Variable in class com.cometway.httpd.HTTPFileDownloadAgent
 
currentSessions - Variable in class com.cometway.httpd.HTTPThrottledFileServer
 
currentStateEquals(String) - Method in class com.cometway.ak.Agent
Returns true if the specified state is the current state.
currentThread - Variable in class com.cometway.util.InputStreamReaderKMethod
This is set to the Thread that is executing this KMethod upon execution.
CUSTOM - Static variable in class com.cometway.util.Schedule
 

D

DATA - Static variable in exception com.cometway.net.ESMTPException
 
data - Variable in class com.cometway.net.ESMTPReceiver
 
data(String) - Method in class com.cometway.net.ESMTPSender
 
data - Variable in class com.cometway.net.HTTPResponse
* This is the data that was stored in the body of the HTTP response
data - Variable in class com.cometway.xml.XMLToken
This is the parsed out data
dataBuffer - Variable in class com.cometway.httpd.HTTPAgentRequest
 
dataLength - Variable in class com.cometway.httpd.HTTPDecoderStream
 
dataSource - Variable in class com.cometway.net.HTTPRequest
 
dataSource - Variable in class com.cometway.xml.XMLParser
 
dateFormat_ANSI - Static variable in class com.cometway.httpd.WebServer
 
dateFormat_RFC822 - Static variable in class com.cometway.httpd.WebServer
 
dateFormat_RFC850 - Static variable in class com.cometway.httpd.WebServer
 
DATETIME - Static variable in class com.cometway.jdbc.JDBCExportAgent
 
DATETIME - Static variable in class com.cometway.xml.MinRPCAgent
 
DateTools - Class in com.cometway.util
Set of utilities for manipulating date info.
DateTools() - Constructor for class com.cometway.util.DateTools
 
dayMap - Variable in class com.cometway.util.Schedule
dayMap[]: This is the days of the week, true=Schedule on this day OK, false=No Schedules on this day
daysTable - Static variable in class com.cometway.util.DateTools
 
debug(String) - Method in class com.cometway.ak.Agent
Prints a debug message tagged with this agent's identity to the output stream.
debug(String) - Method in interface com.cometway.ak.AgentInterface
Sends the debugging message to the agent's standard output.
debug(Object, String) - Method in class com.cometway.email.EmailReporter
Use this method to report an event for debugging.
debug(Object, String) - Method in class com.cometway.io.FileReporter
Use this method to report an event for debugging.
debug(Object, String) - Method in class com.cometway.io.OutputStreamReporter
Use this method to report an event for debugging.
debug(Object, String) - Method in class com.cometway.io.PrintStreamReporter
Use this method to report an event for debugging.
debug(Object, String) - Method in class com.cometway.io.VT100ConsoleReporter
Use this method to report an event for debugging.
debug(String) - Method in class com.cometway.jdbc.JDBCConnection
Prints a debug message tagged with this Connection's identity to the output stream.
debug(String) - Method in class com.cometway.jdbc.JDBCConnectionDriver
Prints a debug message tagged with this JDBCConnectionDriver's identity to the output stream.
debug(String) - Method in class com.cometway.jdbc.JDBCConnectionPool
Prints a debug message tagged with this JDBCConnectionPool's identity to the output stream.
debug(String, String) - Method in class com.cometway.jdbc.JDBCObjectManager
Called internally to output debugging information to the System.out stream.
debug - Variable in class com.cometway.net.ESMTPReceiver
 
debug(String) - Method in class com.cometway.net.ESMTPSender
 
debug - Variable in class com.cometway.net.HTTPLoader
 
debug(String) - Method in class com.cometway.net.HTTPLoader
* Prints a debugging message to System.out when debugging is turned on.
debug(String) - Method in class com.cometway.om.FileObjectBlock
 
debug(String) - Method in class com.cometway.om.FileObjectStore
 
debug(Object, String) - Method in class com.cometway.util.DevNullReporter
Does nothing.
debug(Object, String) - Method in class com.cometway.util.LoggingAPIReporter
Use this method to report an event for debugging.
debug(Object, String) - Method in interface com.cometway.util.ReporterInterface
Use this method to report an event for debugging.
debug(String) - Method in class com.cometway.util.Schedule
 
debug(Object, String) - Method in class com.cometway.util.SystemReporter
Use this method to report an event for debugging.
debug(Object, String) - Method in class com.cometway.util.TimeStampedReporter
Use this method to report an event for debugging.
DEBUG_AFTER - Static variable in class com.cometway.email.EmailReporter
 
DEBUG_AFTER - Static variable in class com.cometway.io.FileReporter
 
DEBUG_AFTER - Static variable in class com.cometway.io.PrintStreamReporter
 
DEBUG_AFTER - Static variable in class com.cometway.io.VT100ConsoleReporter
 
DEBUG_AFTER - Static variable in class com.cometway.util.SystemReporter
 
DEBUG_AFTER - Static variable in class com.cometway.util.TimeStampedReporter
 
DEBUG_BEFORE - Static variable in class com.cometway.email.EmailReporter
 
DEBUG_BEFORE - Static variable in class com.cometway.io.FileReporter
 
DEBUG_BEFORE - Static variable in class com.cometway.io.PrintStreamReporter
 
DEBUG_BEFORE - Static variable in class com.cometway.io.VT100ConsoleReporter
 
DEBUG_BEFORE - Static variable in class com.cometway.util.SystemReporter
 
DEBUG_BEFORE - Static variable in class com.cometway.util.TimeStampedReporter
 
debugName - Variable in class com.cometway.util.KMethod
 
debugPrint(String) - Method in class com.cometway.net.ESMTPReceiver
 
debugReporter - Variable in class com.cometway.ak.Agent
This is a reference to the Reporter assigned to this agent for debug output.
debugStr - Variable in class com.cometway.net.HTTPLoader
 
decode(String) - Static method in class com.cometway.httpd.HTMLStringTools
This method decodes an encoded URL.
decode(String) - Method in class com.cometway.net.CookiePropsContainer
 
decode(String) - Static method in class com.cometway.util.Base64Encoding
Decodes a String from Base64 encoding.
decode(String) - Static method in class com.cometway.xml.XML
This method decodes all the XML 1.0 escape codes in the String parameter.
decodeBinHex(String) - Static method in class com.cometway.util.StringTools
This method decodes BinHex 4.0 data.
decodeBinHex(String, boolean, boolean) - Static method in class com.cometway.util.StringTools
This method decodes BinHex 4.0 data.
decodeEscapeCodes - Variable in class com.cometway.xml.XMLParser
Setting this field to true will cause the parser to decode XML 1.0 escape codes in the text
decodePlusSign - Variable in class com.cometway.httpd.HTTPDecoderStream
 
decrementInteger(String) - Method in class com.cometway.props.Props
Decrements the integer value of the specified key by 1.
DEFAULT_BUFFER_SIZE - Static variable in class com.cometway.io.PushBackBufferedInputStream
This is the default buffer size.
DEFAULT_DEBUG_STR - Static variable in class com.cometway.net.HTTPLoader
 
DEFAULT_ERROR_STR - Static variable in class com.cometway.net.HTTPLoader
 
DEFAULT_HOME - Static variable in class com.cometway.httpd.HTTPAuthenticationAgent
 
DEFAULT_MAX_ROW_SIZE - Static variable in class com.cometway.jdbc.JDBCConnection
 
DEFAULT_PRINT_STR - Static variable in class com.cometway.net.HTTPLoader
 
DEFAULT_RECURSION_LIMIT - Static variable in class com.cometway.net.HTTPLoader
 
DEFAULT_SIZE - Static variable in class com.cometway.props.PropsSchema
 
DEFAULT_TIMEOUT - Static variable in class com.cometway.net.HTTPLoader
 
DEFAULT_USER_AGENT_STR - Static variable in class com.cometway.net.HTTPLoader
 
DefaultClassFactory - Class in com.cometway.util
This default implementation of ClassFactoryInterface uses Class.forName() and Class.newInstance() to resolve and instantiate the specified class.
DefaultClassFactory() - Constructor for class com.cometway.util.DefaultClassFactory
 
defaultKey - Static variable in class com.cometway.util.StringScrambler
 
defaultReporter - Variable in class com.cometway.email.EmailReporter
 
defaultReporter - Variable in class com.cometway.io.FileReporter
 
defaultResponse - Variable in class com.cometway.httpd.HTTPAgentRequest
 
DEFAULTS - Static variable in class com.cometway.xml.MinRPCAgent
 
delete(int, int) - Method in interface com.cometway.text.ITextBuffer
Removes the specified range of text from this object and calls the textChanged method of its listeners with the location of the removed text.
delete(int, int) - Method in class com.cometway.text.StringTextBuffer
Removes the specified range of text from this object and calls the textChanged method of its listeners with the location of the removed text.
delete() - Method in class com.cometway.text.TextRange
Deletes the range of text in the ITextBuffer associated with this TextRange.
delete(IHeapItem) - Method in class com.cometway.util.BinaryHeap
delete
delete(IHeapItem) - Method in interface com.cometway.util.IHeap
Deletes a specific heap item from this heap
deleteFile(String) - Method in class com.cometway.io.DeleteFileAgent
Deletes the specified file if possible.
DeleteFileAgent - Class in com.cometway.io
This agent deletes the files specified by delete_files.
DeleteFileAgent() - Constructor for class com.cometway.io.DeleteFileAgent
 
deleteMessage(int) - Method in class com.cometway.email.ReceivePOP3EmailAgent
Deletes the specified message from the POP3 server.
deleteMin() - Method in class com.cometway.util.BinaryHeap
deleteMin: method removes and returns the minimum IHeapItem in this heap
deleteMin() - Method in interface com.cometway.util.IHeap
Removes and returns the minimum IHeapItem in this heap
deleteTo(int) - Method in class com.cometway.text.TextPointer
Deletes all the text from the position pointed to by this instance of TextPointer to the position given as the parameter in the ITextBuffer which this TextPointer is pointing to.
DelimitedLineExportAgent - Class in com.cometway.io
This agent exports the contents of a Props list to a tab delimited text file suitable for import by other applications such as FileMaker or Excel.
DelimitedLineExportAgent() - Constructor for class com.cometway.io.DelimitedLineExportAgent
 
DelimitedLineImportAgent - Class in com.cometway.io
This agent reads lines from the specified delimited text file and copies its records into the specified PropsList.
DelimitedLineImportAgent() - Constructor for class com.cometway.io.DelimitedLineImportAgent
 
deliverMessage() - Method in class com.cometway.email.ReceiveEmailHandler
 
deliverMessage(IMessage) - Method in class com.cometway.email.ReceivePOP3EmailAgent
This method creates an AgentRequest from the specified IMessage, and delivers it to the RequestAgent that is registered as the message recipient.
deliverMessage() - Method in class com.cometway.net.ESMTPReceiver
deliverMessage(): method is gauranteed to be executed before state is cleared after a data command had been successfully accepted (but not necessarily responded to)
DESCRIPTION - Static variable in class com.cometway.xml.MinRPCAgent
 
destroy() - Method in class com.cometway.ak.Agent
Override this method to perform special cleanup before an agent is destroyed.
destroy() - Method in class com.cometway.ak.AgentController
Starts the controlled Agent and puts it into the DESTROYED_STATE.
destroy() - Method in interface com.cometway.ak.AgentControllerInterface
Destroys the controlled Agent and puts it into the DESTROYED_STATE.
destroy() - Method in interface com.cometway.ak.AgentInterface
Called by agent kernel for special cleanup before an agent is destroyed.
destroyAgent(String) - Method in class com.cometway.om.AgentServer
Calls the agent's destroy method, then destroys the agent instance.
destroyAgent(String) - Method in interface com.cometway.om.AgentServerInterface
Calls the agent's destroy method, then destroys the agent instance.
DESTROYED_STATE - Static variable in class com.cometway.ak.Agent
The agent has been destroyed and can no longer be used.
DESTROYING_STATE - Static variable in class com.cometway.ak.Agent
The agent is being destroyed; destroy method called.
destroySession(String) - Method in class com.cometway.om.SessionManager
Destroys the specified session and returns true; false if the session did not exist.
destroySession(String) - Method in interface com.cometway.om.SessionManagerInterface
Destroys the specified session and returns true; false if the session did not exist or could not be destroyed.
detectBrowsers() - Method in class com.cometway.httpd.HTTPAgentRequest
Tests the User-Agent value and stores the results as properties of this request.
DevNullReporter - Class in com.cometway.util
This implementation of ReporterInterface does absolutely positively nothing.
DevNullReporter() - Constructor for class com.cometway.util.DevNullReporter
 
DIM_BLUE - Static variable in class com.cometway.swing.LightBox
 
DIM_GREEN - Static variable in class com.cometway.swing.LightBox
 
DIM_RED - Static variable in class com.cometway.swing.LightBox
 
dirty - Variable in class com.cometway.props.PropsList
 
disconnect() - Method in class com.cometway.net.ESMTPReceiver
 
disconnect() - Method in class com.cometway.net.ESMTPSender
 
dispose() - Method in class com.cometway.om.FileObjectBlock
This method is called when the Block is no longer needed and should be considered a FREE BLOCK, to be reused.
dispose() - Method in class com.cometway.om.FileObjectStore
This method removes this file from the filesystem and frees resources that it was using.
dispose() - Method in class com.cometway.om.FilePropsContainer
This method removes the file that stored properties of this Container.
dispose() - Method in class com.cometway.text.TextPointer
Deletes all the text from the position pointed to by this instance of TextPointer to the position pointed to by the TextPointer given as the parameter in the ITextBuffer which this instance of TextPointer is pointing to.
dispose() - Method in class com.cometway.text.TextRange
Disposes this TextRange.
DOUBLE - Static variable in class com.cometway.jdbc.JDBCExportAgent
 
DOUBLE - Static variable in class com.cometway.xml.MinRPCAgent
 
doubleToBytes(double) - Static method in class com.cometway.util.ByteTools
 
drawCell(Graphics, int, int) - Method in class com.cometway.swing.LightBox
This method draws a single cell based on its stored state.
drawCells(Graphics, boolean) - Method in class com.cometway.swing.LightBox
This method draws all of the cells.
drawChangedCells() - Method in class com.cometway.swing.LightBox
Called by clients to immediately draw all changed cells.
drawFrame(Graphics) - Method in class com.cometway.swing.AbstractJFrameController
Called by the JFrame controlled by this agent when its paint method is called.
drawFrame(Graphics) - Method in class com.cometway.swing.LightBox
This method is called to draw the entire frame contents.
dropTable(String) - Method in class com.cometway.jdbc.JDBCAgent
Drops the specified table from the databsae.
dropTable(JDBCConnectionDriver, String) - Static method in class com.cometway.jdbc.JDBCPropsContainer
Drops a table from the database.
dump() - Method in class com.cometway.props.Props
Dumps a list of properties and their values to System.out.

E

echo_debug - Variable in class com.cometway.io.FileReporter
 
echo_error - Variable in class com.cometway.io.FileReporter
 
echo_println - Variable in class com.cometway.io.FileReporter
 
echo_warning - Variable in class com.cometway.io.FileReporter
 
eHello() - Method in class com.cometway.net.ESMTPSender
 
EHLO - Static variable in exception com.cometway.net.ESMTPException
 
ELEMENT_CONTENT - Static variable in class com.cometway.xml.XML
An int value of 2 representing element contents.
EmailBugReportAgent - Class in com.cometway.email
This agent registers itself with the Service Manager as a BugReportInterface and periodically submits the bug reports collects as an email message to a list of recipients using the SendEmailInterface registered with the Service Manager as "send_email".
EmailBugReportAgent() - Constructor for class com.cometway.email.EmailBugReportAgent
 
Emailer - Class in com.cometway.net
This subclass of Thread sends Email using the ESMTPSender class.
Emailer(String, int) - Constructor for class com.cometway.net.Emailer
Setup with default SMTP server, instantiates a new messages Vector and starts thread.
emailerThread - Variable in class com.cometway.email.SendEmailAgent
 
EmailHeader - Class in com.cometway.email
This class provides a set of static methods for parsing and manipulating headers in an email message.
EmailHeader() - Constructor for class com.cometway.email.EmailHeader
 
EmailListAgent - Class in com.cometway.email
 
EmailListAgent() - Constructor for class com.cometway.email.EmailListAgent
 
EmailListAgent.EmailListExceptionHandler - Class in com.cometway.email
 
EmailListAgent.EmailListExceptionHandler() - Constructor for class com.cometway.email.EmailListAgent.EmailListExceptionHandler
 
EmailReporter - Class in com.cometway.email
This is a Reporter Agent that extends FileLoggerAgent in order to log AK agent output to sequentially named text files.
EmailReporter() - Constructor for class com.cometway.email.EmailReporter
 
EmailTools - Class in com.cometway.email
Defines a set of static methods useful for parsing email information.
EmailTools() - Constructor for class com.cometway.email.EmailTools
 
empty() - Method in class com.cometway.util.BinaryHeap
empty: method returns true if this heap contains no elements and false otherwise.
EMPTY_ELEMENT_TAG - Static variable in class com.cometway.xml.XML
An int value of 0 representing an empty element tag.
EmptyHeapException - Exception in com.cometway.util
This exception is thrown when a Heap is accessed but is empty.
EmptyHeapException() - Constructor for exception com.cometway.util.EmptyHeapException
 
enableListeners() - Method in class com.cometway.props.Props
 
encode(String) - Method in class com.cometway.httpd.HTMLFormWriter
 
encode(String) - Static method in class com.cometway.httpd.HTMLStringTools
This method encodes a URL and the data embedded in the URL so that it can be requested.
encode(String, boolean, boolean) - Static method in class com.cometway.httpd.HTMLStringTools
This method encodes a URL and the data embedded in the URL so that it can be requested.
encode(String) - Method in class com.cometway.httpd.XHTMLFormWriter
 
encode(String) - Method in class com.cometway.net.CookiePropsContainer
 
encode(String) - Static method in class com.cometway.util.Base64Encoding
Encodes a String to Base64.
encode(byte[]) - Static method in class com.cometway.util.Base64Encoding
Encodes a String to Base64.
encode(String) - Static method in class com.cometway.xml.XML
Encodes the specified string suitably for element content.
encodeArray - Static variable in class com.cometway.util.Base64Encoding
 
END_TAG - Static variable in class com.cometway.xml.XML
An int value of 3 representing a end element tag.
endDate - Variable in class com.cometway.util.Schedule
endDate: This is when to end this schedule, time values are not valid.
endOfLine - Variable in class com.cometway.io.OutputStreamReporter
 
endTime - Variable in class com.cometway.util.Schedule
endTime: This is the ending time, hours,minutes,seconds.
enumerateKeys() - Method in class com.cometway.props.Props
Returns an Enumeration of keys representing properties contained by this object's IPropsContainer.
enumerateProps() - Method in class com.cometway.jdbc.JDBCPropsContainer
 
enumerateProps() - Method in class com.cometway.net.CookiePropsContainer
 
enumerateProps() - Method in class com.cometway.om.FilePropsContainer
This method returns all the property names of the properties in this container.
enumerateProps() - Method in interface com.cometway.props.IPropsContainer
list the properties in the current container
enumerateProps() - Method in class com.cometway.props.PropsContainer
Returns an enumeration of the keys for this container.
enumerateProps() - Method in class com.cometway.props.ReadOnlyPropsContainer
 
enumerateProps() - Method in class com.cometway.props.ReflectionPropsContainer
Returns an Enumeration of public fields from the reflected Object.
enumerateProps() - Method in class com.cometway.props.VectorPropsContainer
Returns a range of integer keys represented by the storage Vector.
environment - Variable in class com.cometway.util.ExecuteCommand
Set this to the environment variables
EOL - Static variable in class com.cometway.httpd.HTMLStringTools
 
EOL - Static variable in class com.cometway.io.DelimitedLineExportAgent
 
EOL - Static variable in class com.cometway.io.FileLoggerAgent
 
EOL - Variable in class com.cometway.om.ObjectManagerArchiver
 
EOL - Static variable in class com.cometway.props.PropsSchema
 
EOL - Variable in class com.cometway.xml.ObjectManagerArchiver
 
EOL - Static variable in class com.cometway.xml.XMLPropsList
 
EOL - Static variable in class com.cometway.xml.XMLPropsListExportAgent
 
EOL - Static variable in class com.cometway.xml.XMLRequestAgent
 
equals(Object) - Method in class com.cometway.net.HTTPRequest
 
equals(Object) - Method in class com.cometway.om.FileObjectBlock
Overrides Object.equals(Object).
equals(Object) - Method in class com.cometway.om.FileObjectStore
Overrides Object.equals(Object).
equals(Object) - Method in class com.cometway.om.ObjectID
 
equals(Object) - Method in class com.cometway.om.ObjectType
Returns true of the specified Object is equal to this one.
equals(Object) - Method in class com.cometway.props.PropsComparator
 
equals(Object) - Method in class com.cometway.text.TextRange
overrides Object.equals()
err - Variable in class com.cometway.ak.AgentRequest
 
err - Variable in class com.cometway.io.OutputStreamReporter
 
err - Variable in class com.cometway.io.PrintStreamReporter
 
error(String) - Method in class com.cometway.ak.Agent
Prints an error message tagged with this agent's identity to the error stream.
error(String, Exception) - Method in class com.cometway.ak.Agent
Prints an error message tagged with this agent's identity followed by a stack trace of the passed Exception to the error stream.
error(String) - Method in interface com.cometway.ak.AgentInterface
Sends the error message to the agent's error output.
error(String, Exception) - Method in interface com.cometway.ak.AgentInterface
Sends the error message and associated exception to the agent's error output.
error(Object, String) - Method in class com.cometway.email.EmailReporter
Use this method to report a critical error with an Exception.
error(Object, String, Exception) - Method in class com.cometway.email.EmailReporter
Use this method to report a critical error message.
error(Object, String) - Method in class com.cometway.io.FileReporter
Use this method to report a critical error with an Exception.
error(Object, String, Exception) - Method in class com.cometway.io.FileReporter
Use this method to report a critical error message.
error(Object, String) - Method in class com.cometway.io.OutputStreamReporter
Use this method to report a critical error with an Exception.
error(Object, String, Exception) - Method in class com.cometway.io.OutputStreamReporter
Use this method to report a critical error message.
error(Object, String) - Method in class com.cometway.io.PrintStreamReporter
Use this method to report a critical error with an Exception.
error(Object, String, Exception) - Method in class com.cometway.io.PrintStreamReporter
Use this method to report a critical error message.
error(Object, String) - Method in class com.cometway.io.VT100ConsoleReporter
Use this method to report a critical error message.
error(Object, String, Exception) - Method in class com.cometway.io.VT100ConsoleReporter
Use this method to report a critical error with an Exception.
error(String, Exception) - Method in class com.cometway.jdbc.JDBCAgent
Overrided to fully report SQLExceptions.
error(String) - Method in class com.cometway.jdbc.JDBCConnection
Prints an error message tagged with this Connection's identity to the error stream.
error(String, Exception) - Method in class com.cometway.jdbc.JDBCConnection
Prints an error message tagged with this Connection's identity followed by a stack trace of the passed Exception to the error stream.
error(String) - Method in class com.cometway.jdbc.JDBCConnectionDriver
Prints an error message tagged with this JDBCConnectionDriver's identity to the error stream.
error(String, Exception) - Method in class com.cometway.jdbc.JDBCConnectionDriver
Prints an error message tagged with this JDBCConnectionDriver's identity followed by a stack trace of the passed Exception to the error stream.
error(String) - Method in class com.cometway.jdbc.JDBCConnectionPool
Prints an error message tagged with this JDBCConnectionPool's identity to the error stream.
error(String, Exception) - Method in class com.cometway.jdbc.JDBCConnectionPool
Prints an error message tagged with this JDBCConnectionPool's identity followed by a stack trace of the passed Exception to the error stream.
error(String, String, Exception) - Method in class com.cometway.jdbc.JDBCObjectManager
Called internally to output error messages to the System.err stream.
error(String) - Method in class com.cometway.net.ESMTPSender
 
error(String) - Method in class com.cometway.net.HTTPLoader
* Prints an error message to System.err
error(String) - Method in class com.cometway.om.FileObjectBlock
 
error(String, Exception) - Method in class com.cometway.om.FileObjectBlock
 
error(String) - Method in class com.cometway.om.FileObjectStore
 
error(String, Exception) - Method in class com.cometway.om.FileObjectStore
 
error(Object, String) - Method in class com.cometway.util.DevNullReporter
Does nothing.
error(Object, String, Exception) - Method in class com.cometway.util.DevNullReporter
Does nothing.
error(String, Exception) - Method in class com.cometway.util.KMethod
 
error(String) - Method in class com.cometway.util.KMethod
 
error(Object, String) - Method in class com.cometway.util.LoggingAPIReporter
Use this method to report a critical error message.
error(Object, String, Exception) - Method in class com.cometway.util.LoggingAPIReporter
Use this method to report a critical error with an Exception.
error(Object, String) - Method in interface com.cometway.util.ReporterInterface
Use this method to report a critical error message.
error(Object, String, Exception) - Method in interface com.cometway.util.ReporterInterface
Use this method to report a critical error with an Exception.
error(String) - Method in class com.cometway.util.Schedule
 
error(String, Exception) - Method in class com.cometway.util.Schedule
 
error(Object, String) - Method in class com.cometway.util.SystemReporter
Use this method to report a critical error message.
error(Object, String, Exception) - Method in class com.cometway.util.SystemReporter
Use this method to report a critical error with an Exception.
error(String, Exception) - Method in class com.cometway.util.ThreadPool
 
error(Object, String) - Method in class com.cometway.util.TimeStampedReporter
Use this method to report a critical error message.
error(Object, String, Exception) - Method in class com.cometway.util.TimeStampedReporter
Use this method to report a critical error with an Exception.
ERROR - Static variable in class com.cometway.xml.MinRPCAgent
 
ERROR_AFTER - Static variable in class com.cometway.email.EmailReporter
 
ERROR_AFTER - Static variable in class com.cometway.io.FileReporter
 
ERROR_AFTER - Static variable in class com.cometway.io.PrintStreamReporter
 
ERROR_AFTER - Static variable in class com.cometway.io.VT100ConsoleReporter
 
ERROR_AFTER - Static variable in class com.cometway.util.SystemReporter
 
ERROR_AFTER - Static variable in class com.cometway.util.TimeStampedReporter
 
ERROR_BEFORE - Static variable in class com.cometway.email.EmailReporter
 
ERROR_BEFORE - Static variable in class com.cometway.io.FileReporter
 
ERROR_BEFORE - Static variable in class com.cometway.io.PrintStreamReporter
 
ERROR_BEFORE - Static variable in class com.cometway.io.VT100ConsoleReporter
 
ERROR_BEFORE - Static variable in class com.cometway.util.SystemReporter
 
ERROR_BEFORE - Static variable in class com.cometway.util.TimeStampedReporter
 
errorPrint(String) - Method in class com.cometway.net.ESMTPReceiver
 
errorReporter - Variable in class com.cometway.ak.Agent
This is a reference to the Reporter assigned to this agent for error output.
errorStr - Variable in class com.cometway.net.HTTPLoader
 
ESMTPException - Exception in com.cometway.net
This exception is thrown by the ESMTPSender in the event that the message that is to be sent is refused by the SMTP server.
ESMTPException(int) - Constructor for exception com.cometway.net.ESMTPException
 
ESMTPException(int, Object) - Constructor for exception com.cometway.net.ESMTPException
 
ESMTPReceiver - Class in com.cometway.net
This class implements the ESMTP protocol for the server side.
ESMTPReceiver() - Constructor for class com.cometway.net.ESMTPReceiver
this constructor is for using an instance of this class only as an ICommandParser.
ESMTPReceiver(Socket) - Constructor for class com.cometway.net.ESMTPReceiver
 
ESMTPSender - Class in com.cometway.net
This class implements the ESMTP protocol for the client side.
ESMTPSender() - Constructor for class com.cometway.net.ESMTPSender
this is somewhat of a hack to satisfy a subclasses needs XXXX
ESMTPSender(String) - Constructor for class com.cometway.net.ESMTPSender
 
ESMTPSender(String, int) - Constructor for class com.cometway.net.ESMTPSender
 
ESMTPSender(Socket) - Constructor for class com.cometway.net.ESMTPSender
 
EVERY_12_HOURS - Static variable in class com.cometway.util.Schedule
 
EVERY_3_HOURS - Static variable in class com.cometway.util.Schedule
 
EVERY_DAY - Static variable in class com.cometway.util.Schedule
 
EVERY_HALF_HOUR - Static variable in class com.cometway.util.Schedule
 
EVERY_HOUR - Static variable in class com.cometway.util.Schedule
 
EVERY_MINUTE - Static variable in class com.cometway.util.Schedule
These are static constants
EVERY_TEN_MINUTES - Static variable in class com.cometway.util.Schedule
 
EVERY_WEEK - Static variable in class com.cometway.util.Schedule
 
everyDate - Variable in class com.cometway.util.Schedule
everyDate: This is the number of iterations to make of everyDateType
everyDateType - Variable in class com.cometway.util.Schedule
everyDateType: This is either y,m,w,d (kYears, kMonths, kWeeks, kDays)
everyTime - Variable in class com.cometway.util.Schedule
everyTime: This is like everyDate, except iterations on time, not dates
everyTimeType - Variable in class com.cometway.util.Schedule
everyTimeType: This is either h,m,s (kHours,kMinutes,kSeconds)
exception(String, Exception) - Method in class com.cometway.net.HTTPLoader
* Passes the exception to the IExceptionHandler set for this object, or prints the exception to System.err if no IExceptionHandler is set.
exceptionHandler - Variable in class com.cometway.net.HTTPLoader
 
exclude - Variable in class com.cometway.io.RegExpFilenameFilter
 
execThread - Variable in class com.cometway.util.ExecuteCommand
This is set to the Thread that is executing this KMethod upon execution.
execute() - Method in class com.cometway.ak.AgentCommand
Executes the command on the agent.
execute() - Method in class com.cometway.httpd.ConnectionKMethod
Everything happens here
execute() - Method in class com.cometway.httpd.HTTPCheckKMethod
Tests website for connection, request, and latency information.
execute() - Method in class com.cometway.states.AutoTransition
Always returns the state when called.
execute() - Method in interface com.cometway.states.CommandInterface
Executes this command.
execute() - Method in class com.cometway.states.ReflectionCommand
Executes this command.
execute() - Method in class com.cometway.states.ReflectionTransition
Executes the transition for the specified object returning the name of the new State if the transition was successful; null otherwise.
execute() - Method in interface com.cometway.states.TransitionInterface
Tests the transition for the specified object returning the name of the new State if the transition was successful; null otherwise.
execute() - Method in class com.cometway.util.ExecuteCommand
 
execute() - Method in class com.cometway.util.InputStreamReaderKMethod
Overrides KMethod.execute()
execute() - Method in class com.cometway.util.KMethod
Calling this will execute this KMethod, which executes what the KMethod wraps.
ExecuteCommand - Class in com.cometway.util
This method extends com.cometway.util.KMethod and implements the Runnable interface, which allows this KMethod to be executed by a PooledThread from a ThreadPool or another Thread.
ExecuteCommand(String) - Constructor for class com.cometway.util.ExecuteCommand
 
ExecuteCommand(String, String) - Constructor for class com.cometway.util.ExecuteCommand
 
executeInsert(String, Props) - Method in class com.cometway.jdbc.JDBCAgent
Inserts the specified Props values into a table.
executeQuery(String) - Method in class com.cometway.jdbc.JDBCAgent
Executes the specified SQL query, returning the result as a Vector of Props.
executeQuery(String, String, String) - Method in class com.cometway.jdbc.JDBCAgent
Executes a search query based on a unique key and value, returning the result as a Vector of Props.
executeQuery(String) - Method in class com.cometway.jdbc.JDBCConnection
Executes the query contained in the argument, returning results as a String.
executeUpdate(String) - Method in class com.cometway.jdbc.JDBCAgent
Executes the specified update SQL, returning true if the update succeeded; false otherwise.
executeUpdate(String, Props, String, String) - Method in class com.cometway.jdbc.JDBCAgent
Updates the specified Props into the record specified by uniqueKey and uniqueValue.
executeUpdate(String) - Method in class com.cometway.jdbc.JDBCConnection
Executes the update contained in the argument, returning results as a String.
expand(String) - Method in class com.cometway.net.ESMTPSender
 
EXPECTATION_FAILED - Static variable in class com.cometway.httpd.WebServer
The expectation given in an Expect request-header field could not be met by this server, or, if the server is a proxy, the server has unambiguous evidence that the request could not be met by the next-hop server.
expert - Variable in class com.cometway.net.ESMTPSender
 
expireLease() - Method in class com.cometway.jdbc.JDBCConnection
Called by the ConnectionReaper to forcibly expire this lease.
EXPN - Static variable in exception com.cometway.net.ESMTPException
 
extendedCommands - Variable in class com.cometway.net.ESMTPReceiver
 
extensions - Variable in class com.cometway.httpd.WebServer
 
extractIMGTag(String, org.apache.oro.text.perl.Perl5Util) - Static method in class com.cometway.httpd.HTMLStringTools
This method extracts the first img tag that is in the data
extractIMGTag(String) - Static method in class com.cometway.httpd.HTMLStringTools
This method extracts the first img tag that is in the data
extractURL(String) - Static method in class com.cometway.httpd.HTMLStringTools
* This method returns the first url that it finds in data.

F

fail() - Static method in class com.cometway.util.Assert
 
fail(String) - Static method in class com.cometway.util.Assert
 
FAILED_STATE - Static variable in class com.cometway.ak.Agent
The agent has failed; DESTROYING_STATE automatically entered.
file - Variable in class com.cometway.io.LogMonitorAgent
 
FileLoggerAgent - Class in com.cometway.io
This agent logs Strings to a time-stamped file.
FileLoggerAgent() - Constructor for class com.cometway.io.FileLoggerAgent
 
filenameFilter - Variable in class com.cometway.io.FileReaper
 
FileObjectBlock - Class in com.cometway.om
This class is used to store Objects into a file prepared by FileObjectStore.
FileObjectBlock(FileObjectStore, int) - Constructor for class com.cometway.om.FileObjectBlock
Creates an instance of FileObjectBlock.
FileObjectManager - Class in com.cometway.om
The FileObjectManager manages Props objects and persists them as files, using FilePropsContainers.
FileObjectManager() - Constructor for class com.cometway.om.FileObjectManager
 
FileObjectStore - Class in com.cometway.om
This class takes a File and partitions it into FileObjectBlocks.
FileObjectStore(File) - Constructor for class com.cometway.om.FileObjectStore
Creates an instance of FileObjectStore using an empty description and the default block size.
FileObjectStore(File, String) - Constructor for class com.cometway.om.FileObjectStore
Creates an instance of FileObjectStore using the description parameter and the default block size.
FileObjectStore(File, String, long) - Constructor for class com.cometway.om.FileObjectStore
Creates an instance of FileObjectStore using the description parameter and the given block size.
FilePropsContainer - Class in com.cometway.om
The FilePropsContainer is a PropsContainer that keeps a file of all the props.
FilePropsContainer(String) - Constructor for class com.cometway.om.FilePropsContainer
This creates a new instance of FilePropsContainer that uses the fully qualifed file pathname given by the parameter.
FilePropsContainer(File) - Constructor for class com.cometway.om.FilePropsContainer
This creates a new instance of FilePropsContainer that uses the File object given as a parameter.
filePtr - Variable in class com.cometway.io.LogMonitorAgent
 
fileReaderThread - Variable in class com.cometway.io.LogMonitorAgent
 
FileReaper - Class in com.cometway.io
This agent uses a Scheduler to periodically wakeup when it scans the directory specified by scan_dir and deletes all files older than file_lifespan_ms (specified in milliseconds).
FileReaper() - Constructor for class com.cometway.io.FileReaper
 
FileReaper.FilenameFilterImpl - Class in com.cometway.io
 
FileReaper.FilenameFilterImpl() - Constructor for class com.cometway.io.FileReaper.FilenameFilterImpl
 
FileReporter - Class in com.cometway.io
This is a Reporter Agent that extends FileLoggerAgent in order to log Agent Kernel agent output to sequentially named text files.
FileReporter() - Constructor for class com.cometway.io.FileReporter
 
FileTools - Class in com.cometway.io
A utility class for common file related operations.
FileTools() - Constructor for class com.cometway.io.FileTools
 
FileToolsException - Exception in com.cometway.io
This exception is thrown by the com.cometway.io.FileTools class when there is a problem.
FileToolsException() - Constructor for exception com.cometway.io.FileToolsException
Constructor for this exception.
FileToolsException(String) - Constructor for exception com.cometway.io.FileToolsException
Constructor for this exception.
FileToolsException(String, Exception) - Constructor for exception com.cometway.io.FileToolsException
Constructor for this exception.
fileWatcherThread - Variable in class com.cometway.io.LogMonitorAgent
 
finalize() - Method in class com.cometway.httpd.ConnectionKMethod
 
finalize() - Method in class com.cometway.jdbc.JDBCObjectManager
Called by the garbage collector; close prepared statements.
finalize() - Method in class com.cometway.net.ESMTPSender
 
finalize() - Method in class com.cometway.om.FileObjectBlock
Overrides Object.finalize().
finalize() - Method in class com.cometway.text.TextRange
 
findMin() - Method in class com.cometway.util.BinaryHeap
findMin: method returns the minimum IHeapItem in this heap
findMin() - Method in interface com.cometway.util.IHeap
Method returns the minimum IHeapItem in this heap
findNext(char) - Method in class com.cometway.text.TextPointer
Moves the position of this TextPointer to the next instance of the character given as the parameter, starting from the current position.
findNext(String) - Method in class com.cometway.text.TextPointer
Moves the position of this TextPointer to the next instance of the String given as the parameter, starting from the current position.
findPrev(char) - Method in class com.cometway.text.TextPointer
Moves the position of this TextPointer to the previous instance of the character given as the parameter, starting from the current position.
findText(int, ITextFinder) - Method in interface com.cometway.text.ITextBuffer
Returns the next text range in the text buffer found by the specified text finder starting at the specified index.
findText(char[], int, int) - Method in interface com.cometway.text.ITextFinder
Returns the first matching text range beginning at the specified location.
findText(char[], int, int) - Method in class com.cometway.text.RegExpTextFinder
Returns the first matching text range beginning at the specified location using the specified regular expression.
findText(int, ITextFinder) - Method in class com.cometway.text.StringTextBuffer
Returns the next text range in the text buffer found by the specified text finder starting at the specified index.
findText(char[], int, int) - Method in class com.cometway.text.TextFinder
Returns the first matching text range beginning at the specified location using the specified search parameters.
findTextBackwards(char[], int, int) - Method in class com.cometway.text.TextFinder
 
findTextForwards(char[], int, int) - Method in class com.cometway.text.TextFinder
 
finishedReadNotify - Variable in class com.cometway.util.InputStreamReaderKMethod
Set this to the Object to notify() when the read has completed.
finishedWaitTime - Variable in class com.cometway.util.ExecuteCommand
Set this to the number of milliseconds to wait after the process is finished.
first() - Method in class com.cometway.util.Pair
Returns the first object in the pair
firstInt() - Method in class com.cometway.util.IntegerPair
Return the first int
FixedLengthInputStream - Class in com.cometway.io
This subclass of InputStream acts as a wrapper to control the amount of data which can be read from the Stream.
FixedLengthInputStream(InputStream, int) - Constructor for class com.cometway.io.FixedLengthInputStream
 
FixedLengthReader - Class in com.cometway.io
This subclass of ReaderInputStream is a wrapper for a Reader that limits the number of bytes that can be read from this InputStream.
FixedLengthReader(Reader, int) - Constructor for class com.cometway.io.FixedLengthReader
 
fixForHTML(String) - Static method in class com.cometway.email.EmailTools
Returns a String with greater-than (>), less-than (<), and carriage return (\n) characters changed for HTML compatibility (>, <, and
respectively).
fixForwardPath(String) - Static method in class com.cometway.net.ESMTPReceiver
fixForwardPath: given a String representing a path, function attempts to prepare it for message delivery.
fixReversePath(String) - Static method in class com.cometway.net.ESMTPReceiver
 
floatToBytes(float) - Static method in class com.cometway.util.ByteTools
 
flush() - Method in class com.cometway.io.StringBufferOutputStream
This method is blank.
flush() - Method in class com.cometway.io.WriterOutputStream
 
flush() - Method in class com.cometway.props.PropsList
Calls the FlushInterface implementation assigned to this object.
flush() - Method in interface com.cometway.util.FlushInterface
 
flushHandler - Variable in class com.cometway.props.PropsList
 
FlushInterface - Interface in com.cometway.util
 
FORBIDDEN - Static variable in class com.cometway.httpd.WebServer
The server understood the request, but is refusing to fulfill it.
format() - Method in class com.cometway.om.FileObjectBlock
This method writes the physical space of the store file so that Objects can be written and read from this Block.
format(String) - Method in class com.cometway.props.Props
Uses the specified MessageFormat pattern this method generates a string containing the inserted values from the cooresponding properties.
formatDouble(double) - Static method in class com.cometway.email.EmailTools
Formats a double value to 2 decimal places as a String.
formatDouble(double, int) - Static method in class com.cometway.email.EmailTools
Formats a double value to the specified number of decimal places.
formatDouble(double, boolean) - Static method in class com.cometway.email.EmailTools
Formats a double value to 2 decimal places as a String.
formatDouble(double, int, boolean) - Static method in class com.cometway.email.EmailTools
Formats a double value to the specified number of decimal places as a String.
formatWrap(String, int) - Static method in class com.cometway.email.EmailTools
Word wraps the a String to the specified number of columns and returns the wrapped String.
forwardPaths - Variable in class com.cometway.net.ESMTPReceiver
 
frame - Variable in class com.cometway.swing.AbstractJFrameAgent
 
freeThreads() - Method in class com.cometway.util.ThreadPool
This returns the number of allocated PooledThreads that are free
FROM - Static variable in exception com.cometway.net.ESMTPException
 
from(String) - Method in class com.cometway.net.ESMTPSender
 
from_fields - Variable in class com.cometway.jdbc.JDBCExportAgent
 
fsSync - Variable in class com.cometway.om.FileObjectManager
 

G

GATEWAY_TIMEOUT - Static variable in class com.cometway.httpd.WebServer
The server, while acting as a gateway or proxy, did not receive a timely response from the upstream server specified by the URI (e.g.
generateDirectoryList(File, String) - Method in class com.cometway.httpd.HTTPFileServerAgent
Generates a directory Listing.
generateEnvironmentVariables(HTTPAgentRequest, String, String, String) - Method in class com.cometway.httpd.HTTPcgi
 
GET_REQUEST_TYPE - Static variable in class com.cometway.net.HTTPRequest
* This is the type for a full GET request
getAbbrDate(Date) - Static method in class com.cometway.util.DateTools
Returns a date string in this formate: MMM D, YYYY or MMM DD, YYYY where M=month, D=date, and Y = year.
getAbbrDate(Date, TimeZone) - Static method in class com.cometway.util.DateTools
 
getAgentController() - Method in class com.cometway.ak.Agent
Returns the AgentController for this agent.
getAgentKernel() - Static method in class com.cometway.ak.AK
Returns the Agent Kernel instance referenced by AK static methods.
getAgentList() - Method in class com.cometway.ak.StartupAgent
Returns a List containing Props of agents to instantiate and start.
getAllMessages() - Method in class com.cometway.email.ReceivePOP3EmailAgent
Return a vector holding (Integer {msg_num},(String {msg_header},String {msg_body})).
getAutoCommit() - Method in class com.cometway.jdbc.JDBCConnection
 
getBlock(int) - Method in class com.cometway.om.FileObjectStore
This method retrieves the previously allocated FileObjectBlock with the index given.
getBoolean(String) - Method in class com.cometway.props.Props
Returns the boolean value of the requested property
getBuffer() - Method in class com.cometway.util.InputStreamReaderKMethod
This method returns the StringBuffer that the InputStream is read into.
getByteArray(String) - Method in class com.cometway.props.Props
Returns specified object as a byte array.
getCaseInsensitive() - Method in class com.cometway.text.TextFinder
Returns true if the text finder will ignore case; false otherwise.
getCatalog() - Method in class com.cometway.jdbc.JDBCConnection
 
getCellIndex(int, int) - Method in class com.cometway.swing.LightBox
Returns the index of the specified cell.
getCellState(int) - Method in class com.cometway.swing.LightBox
Returns the current state of the specified cell.
getCellState(int, int) - Method in class com.cometway.swing.LightBox
Returns the current state of the specified cell.
getCharacter(String) - Method in class com.cometway.props.Props
Returns the char value of the requested property
getClientInputStream() - Method in class com.cometway.httpd.HTTPAgentRequest
If an input stream to the client was provided, this method will return that stream.
getColumnClass(int) - Method in class com.cometway.swing.AgentTableModel
Returns the Class of data in the specified Column.
getColumnClass(int) - Method in class com.cometway.swing.PropsTableModel
Returns the Class of data in the specified Column (java.lang.String).
getColumnCount() - Method in class com.cometway.swing.AgentTableModel
Returns the number of columns (7).
getColumnCount() - Method in class com.cometway.swing.PropsTableModel
Returns the number of columns (2).
getColumnName(int) - Method in class com.cometway.swing.AgentTableModel
Returns the name of the specified column.
getColumnName(int) - Method in class com.cometway.swing.PropsTableModel
Returns the name of the specified column.
getColumns(String) - Method in class com.cometway.io.DelimitedLineImportAgent
 
getCommands() - Method in class com.cometway.states.StateModel
Returns an array of CommandInterfaces for this state.
getCommands() - Method in interface com.cometway.states.StateModelInterface
Returns an array of CommandInterfaces for this state.
getConnection() - Method in class com.cometway.jdbc.JDBCAgent
Creates a new connection to the database using the current JDBC related settings.
getConnection() - Method in class com.cometway.jdbc.JDBCConnection
Returns the actual java.sql.Connection object used by this JDBCConnection.
getConnection(String, String, String) - Method in class com.cometway.jdbc.JDBCConnectionDriver
Called by the JDBCConnection threads to get a real connection to the Database via the JDBC Driver.
getConnection() - Method in class com.cometway.jdbc.JDBCConnectionPool
Attempts to lease a connection from the pool.
getConnection() - Method in class com.cometway.jdbc.PooledJDBCAgent
 
getContentLength() - Method in class com.cometway.httpd.HTTPAgentRequest
Returns a content length of the request if one exists.
getCookie() - Method in class com.cometway.net.CookiePropsContainer
 
getCookieList() - Method in class com.cometway.net.HTTPLoader
* Returns the vector used to store cookies as CookiePropsContainers.
getCookies() - Method in class com.cometway.httpd.HTTPAgentRequest
This method will return a Props of the cookie name=value pairs from the client's request.
getCookieString() - Method in class com.cometway.net.HTTPLoader
* Returns a cookie string to be added to the list of headers.
getCookieValue(String, String) - Method in class com.cometway.net.CookiePropsContainer
 
getDate(String) - Method in class com.cometway.props.Props
Returns the Date value of the requested property.
getDate(String, DateFormat) - Method in class com.cometway.props.Props
Returns the Date value of the requested property.
getDateString(String, DateFormat) - Method in class com.cometway.props.Props
Returns a formatted date using the Date stored in the specified property.
getDateTimeStr() - Static method in class com.cometway.ak.Agent
Returns the formatted date-time as a String.
getDay(int) - Static method in class com.cometway.util.DateTools
Retuns a string of the Day, no abbreviation, given the day int.
getDay(int, int) - Static method in class com.cometway.util.DateTools
Returns a string of the Day, abbreivate to maxLength characters.
getDefaultClassFactory() - Static method in class com.cometway.ak.AK
Returns the default ClassFactoryInterface instance used to create new class instances.
getDefaultPort(String) - Method in class com.cometway.net.HTTPLoader
* Returns the default port number of the specified protocol; -1 if protocol is unknown.
getDefaultReporter() - Static method in class com.cometway.ak.AK
Returns the default ReporterInterface instance that is assigned to new agents.
getDefaultServiceManager() - Static method in class com.cometway.ak.AK
Returns the default ServiceManagerInterface instance that is assigned to new agents.
getDimension(String) - Static method in class com.cometway.util.StringTools
returns a the number of rows (lines/Height) and columns (Width) of a string as a java.awt.Dimension
getDouble(String) - Method in class com.cometway.props.Props
Returns the double value of the requested property
getDriver() - Method in class com.cometway.jdbc.JDBCConnection
Returns the String used to load the JDBC driver.
getEnd() - Method in class com.cometway.text.TextFinderResult
Returns the ending index of the text result.
getEnd() - Method in class com.cometway.text.TextRange
 
getEndPointer() - Method in class com.cometway.text.TextRange
 
getErrorStream() - Method in class com.cometway.ak.AgentRequest
Returns a reference to the error OutputStream.
getExtensions(String) - Method in class com.cometway.httpd.WebServer
This is used by the ConnectionKMethod to get a WebServerExtension.
getFieldSchema(String) - Method in class com.cometway.props.PropsSchema
Returns the schema for the specified field.
getFile(String) - Method in class com.cometway.httpd.HTTPPutAgent
 
getFileInfo() - Method in class com.cometway.om.FileObjectStore
This method reads the String info stored in the header of this Store and returns it.
getFileModifiedString(File, SimpleDateFormat) - Static method in class com.cometway.io.FileTools
Returns a String describing the modification of the specified File using the specified SimpleDateFormat as a template.
getFileSizeString(File) - Static method in class com.cometway.io.FileTools
Returns a string describing the size of the specified File.
getFloat(String) - Method in class com.cometway.props.Props
Returns the float value of the requested property
getForm() - Method in class com.cometway.httpd.LogViewerPage
Displays log file information in a form.
getFrame() - Method in class com.cometway.swing.AbstractJFrameController
Returns a reference to the JFrame instance controlled by this agent.
getHeader(String) - Method in class com.cometway.net.HTTPResponse
* Use this method to get the header value(s) for a given header name.
getHeaderInfo(String) - Method in interface com.cometway.email.IMessage
getHeaderInfo returns the value of the header associated with key, if any
getHeaderInfo(String) - Method in class com.cometway.email.Message
Given a key, method returns the value of the header referenced by key if any
getHeaders() - Method in interface com.cometway.email.IMessage
getHeaders yields an Enumeration of header keys associated with an IMessage
getHeaders() - Method in class com.cometway.email.Message
Method yields an Enumeration of header keys for this Message
getHeaders(String) - Method in class com.cometway.net.HTTPLoader
Sends a HEAD request
getHeadersString() - Method in class com.cometway.email.MessageTools
 
getHexString(String) - Method in class com.cometway.props.Props
Returns the specified object as a String of hexidecimal bytes.
getHoldability() - Method in class com.cometway.jdbc.JDBCConnection
 
getHTMLByCode(int, String, String) - Method in interface com.cometway.httpd.HTMLResponseInterface
Returns default HTTP response header and body based off of the response code constant and include the given keep alive field and given extra headers in the header.
getHTMLByCode(int) - Static method in class com.cometway.httpd.WebServer
This method uses the return codes (static final int) in this Class to return a generic response.
getHTMLByCode(int, String) - Static method in class com.cometway.httpd.WebServer
This method uses the return codes (static final int) in this Class to return a generic response.
getHTMLByCode(int, String, String) - Static method in class com.cometway.httpd.WebServer
This method uses the return codes (static final int) in this Class to return a generic response.
getHTTPParamString(Vector, Vector) - Static method in class com.cometway.net.HTTPLoader
Creates a parameter list suitable for GET and POST style requests.
getHTTPParamString(Props) - Static method in class com.cometway.net.HTTPLoader
Creates a parameter list suitable for GET and POST style requests.
getID() - Method in class com.cometway.om.ObjectID
Returns the ID for this class.
getIfModifiedSince() - Method in class com.cometway.httpd.HTTPAgentRequest
This method returns a Date Object that corresponds to the request's If-Modifed-Since field.
getIndexOfMatches() - Method in class com.cometway.util.jGrep
 
getInfo() - Method in exception com.cometway.net.ESMTPException
 
getInsertPropsSQL(String, Props) - Method in class com.cometway.jdbc.JDBCAgent
Generates appropriate SQL for inserting the specified Props into a table.
getInteger(String) - Method in class com.cometway.props.Props
Returns the int value of the requested property
getIntParam(String[], String) - Static method in class com.cometway.util.StringTools
returns an int value of a parameter 'sw' given all the parameters 'args'
getKeepAliveField() - Method in class com.cometway.httpd.ConnectionKMethod
 
getKeys() - Method in class com.cometway.props.Props
Returns a Vector containing the names of property keys currently accessible by getProperty.
getLastUse() - Method in class com.cometway.jdbc.JDBCConnection
Returns a long containing the timestamp when this connection was leased.
getLength() - Method in interface com.cometway.text.ITextBuffer
Returns the size of the text buffer managed by this object.
getLength() - Method in class com.cometway.text.StringTextBuffer
Returns the size of the text buffer managed by this object.
getLength() - Method in class com.cometway.text.TextRange
 
getLine() - Method in class com.cometway.email.ReceivePOP3EmailAgent
Reads a line of input from the POP3 server.
getListSchema() - Method in class com.cometway.props.PropsSchema
Returns a list of schema types that contain a list:true; property.
getLogDate() - Method in class com.cometway.httpd.ConnectionKMethod
 
getLong(String) - Method in class com.cometway.props.Props
Returns the long value of the requested property
getLongDate(Date) - Static method in class com.cometway.util.DateTools
Returns a date string like getAbbrDate except the month is not abbreviated.
getLongDate(Date, TimeZone) - Static method in class com.cometway.util.DateTools
 
getMajorVersion() - Method in class com.cometway.jdbc.JDBCConnectionDriver
Retrieves the driver's major version number.
getMaximumLatency() - Method in interface com.cometway.util.ISchedule
Returns the maximum number of milliseconds each event in this schedule can be delayed before timing out.
getMaximumLatency() - Method in class com.cometway.util.Schedule
 
getMaxRowSize() - Method in class com.cometway.jdbc.JDBCConnection
Should return the maximum row size supported by the current database but JDBC drivers have problems reporting MAX_ROW_SIZE accurately so MAX_ROW_SIZE is hard-coded to be 255.
getMessage() - Method in interface com.cometway.email.IMessage
getMessage returns the message body of an IMessage
getMessage() - Method in class com.cometway.email.Message
getMessage returns the message body of this Message
getMessage() - Method in class com.cometway.email.MessageTools
 
getMessage(int) - Method in class com.cometway.email.ReceivePOP3EmailAgent
Downloads the specified message from the POP3 server and returns it as an IMessage.
getMetaData() - Method in class com.cometway.jdbc.JDBCConnection
 
getMimeType(String) - Static method in class com.cometway.httpd.WebServer
Determines what the mime type is based off the path, returns mime type as a String in the HTTP response header.
getMinorVersion() - Method in class com.cometway.jdbc.JDBCConnectionDriver
Gets the driver's minor version number.
getMonth(int) - Static method in class com.cometway.util.DateTools
get the String name of the month from the int value of the month (0-11)
getMonth(int, int) - Static method in class com.cometway.util.DateTools
get the String name of the month and truncate it to maxLength if needed
getName() - Method in class com.cometway.ak.AgentCommand
Returns the name of this command.
getName() - Method in class com.cometway.states.AutoTransition
Returns the name of this transition.
getName() - Method in interface com.cometway.states.CommandInterface
Returns the name of this command.
getName() - Method in class com.cometway.states.ReflectionCommand
Returns the name of this command.
getName() - Method in class com.cometway.states.ReflectionTransition
Returns the name of this transition.
getName() - Method in class com.cometway.states.StateMachineModel
Returns the name of this state machine model.
getName() - Method in interface com.cometway.states.StateMachineModelInterface
Returns the name of this state machine model.
getName() - Method in class com.cometway.states.StateModel
Returns the name of this state.
getName() - Method in interface com.cometway.states.StateModelInterface
Returns the name of this state.
getName() - Method in interface com.cometway.states.TransitionInterface
Returns the name of this transition.
getNextAgentID() - Method in class com.cometway.ak.AgentKernel
Increments and returns the next agent ID.
getNextDate(Date) - Method in interface com.cometway.util.ISchedule
Returns the next Date after startDate when a scheduled event should occur.
getNextDate(Date) - Method in class com.cometway.util.Schedule
This returns the next date something is supposed to happen according to the schedule
getNextDate(Date, int) - Method in class com.cometway.util.Schedule
This returns the next date something is supposed to happen according to the schedule
getNextFreeBlock() - Method in class com.cometway.om.FileObjectStore
This method returns the next Free Block.
getNextKey(String, int) - Method in class com.cometway.props.Props
Used by parse() method to find the next key to replace.
getNextTime(Date, Date) - Method in class com.cometway.util.Schedule
This returns a date with useless information about dates, but valid info on time
getNumberOfMatches() - Method in class com.cometway.util.jGrep
 
getObject(ObjectID) - Method in class com.cometway.jdbc.JDBCObjectManager
Retrieves the object corresponding to an object ID.
getObject(ObjectID) - Method in class com.cometway.om.FileObjectManager
 
getObject(ObjectID) - Method in interface com.cometway.om.IObjectManager
Retrieves the object corresponding to an object ID.
getObject(ObjectID) - Method in class com.cometway.om.ObjectManager
Retrieves the object corresponding to an object ID.
getObjectID() - Method in class com.cometway.om.FilePropsContainer
 
getObjectManager() - Static method in class com.cometway.om.ObjectManager
Returns a reference to the IObjectManager registered as object_manager.
getObjectManager(String) - Static method in class com.cometway.om.ObjectManager
Returns a reference to the IObjectManager registered as the specified service name.
getObjectRef() - Method in class com.cometway.props.ReflectionPropsContainer
Returns a the reflected Object.
getOffset() - Method in class com.cometway.om.FileObjectBlock
This returns the dynamic offset of the beginning of this block in the store file
getOriginalException() - Method in exception com.cometway.ak.AgentStateException
Returns a reference to the orignal exception associated with this exception.
getOriginalException() - Method in exception com.cometway.props.PropsException
Returns a reference to the orignal exception associated with this exception.
getOriginalException() - Method in exception com.cometway.states.CommandException
Returns a reference to the orignal exception associated with this exception.
getOriginalException() - Method in exception com.cometway.states.TransitionException
Returns a reference to the orignal exception associated with this exception.
getOriginalException() - Method in exception com.cometway.util.ClassFactoryException
Returns a reference to the orignal exception associated with this exception.
getOriginalException() - Method in exception com.cometway.xml.XMLParserException
Returns a reference to the exception that caused this one.
getOutputStream() - Method in class com.cometway.ak.AgentRequest
Returns a reference to the standard OutputStream.
getParam(String[], String) - Static method in class com.cometway.ak.AK
returns a String value of the parameger 'sw' given all the parameter 'args'
getParam(String[], String) - Static method in class com.cometway.util.StringTools
returns a String value of the parameger 'sw' given all the parameter 'args'
getPort() - Method in class com.cometway.net.ESMTPSender
 
getPosition() - Method in class com.cometway.text.TextPointer
 
getPrimaryKey() - Method in class com.cometway.props.PropsSchema
Returns the name of the key that contains a primary:true; property.
getProperty(String) - Method in class com.cometway.jdbc.JDBCPropsContainer
 
getProperty(String) - Method in class com.cometway.net.CookiePropsContainer
 
getProperty(String) - Method in class com.cometway.om.FilePropsContainer
This method gets a the cached value of the property name given as the parameter.
getProperty(String) - Method in interface com.cometway.props.IPropsContainer
Returns a reference to a named object.
getProperty(String) - Method in class com.cometway.props.Props
Returns the property with the same name as the key parameter if available.
getProperty(String, PropsSchema) - Method in class com.cometway.props.Props
Returns the property with the same name as the key parameter if available.
getProperty(String) - Method in class com.cometway.props.PropsContainer
Returns a reference to a named object in the container.
getProperty(String) - Method in class com.cometway.props.ReadOnlyPropsContainer
 
getProperty(String) - Method in class com.cometway.props.ReflectionPropsContainer
Returns the specified public field of the reflected object.
getProperty(String) - Method in class com.cometway.props.VectorPropsContainer
Returns the Object specified by key.
getPropertyInfo(String, Properties) - Method in class com.cometway.jdbc.JDBCConnectionDriver
Gets information about the possible properties for this driver.
getProps() - Method in class com.cometway.ak.Agent
Returns the Props assigned to this agent.
getProps() - Method in class com.cometway.ak.AgentController
Returns the Props for the controlled agent.
getProps() - Method in interface com.cometway.ak.AgentControllerInterface
Returns the Props for the controlled Agent.
getProps() - Method in interface com.cometway.ak.AgentInterface
Returns the Props assigned to this agent.
getProps() - Method in class com.cometway.ak.AgentMessage
Returns a reference to the Props assigned to this request.
getProps(String, Object) - Method in class com.cometway.props.PropsList
Returns the first matching Props in the list based on specified key and value.
getProps() - Method in class com.cometway.xml.XMLToken
This returns a Props containing the attributes if this is a START_TAG or EMPTY_ELEMENT_TAG.
getPropsContainer() - Method in class com.cometway.props.Props
Returns a reference to the IPropfsContainer referenced by this object.
getProxySocket(String, int, String) - Method in class com.cometway.httpd.HTTPProxyAgent
This method gets or creates a Socket to a proxy host and sends the HTTP request.
getRandomEmptyCell() - Method in class com.cometway.swing.LightBox
Returns the index of a random empty cell.
getRange(int, int) - Method in class com.cometway.email.ReceivePOP3EmailAgent
Return a vector holding (Integer {msg_num},(String {msg_header},String {msg_body})).
getRecipients(String) - Method in class com.cometway.email.MessageTools
 
getRedirectLocation() - Method in class com.cometway.net.HTTPLoader
Returns the redirect location if the result code starts with 3
getReply(AgentRequest) - Method in class com.cometway.email.AutoReplyAgent
This method can be overridden to provide an automatic response message.
getReplyTo() - Method in class com.cometway.email.MessageTools
 
getRequestAgent(String, String) - Method in class com.cometway.httpd.WebServer
Retrieve an Agent that will handle an HTTPAgentRequest
getRequestBody() - Method in class com.cometway.httpd.HTTPAgentRequest
This method returns the body of the client's request
getRequestHeaders() - Method in class com.cometway.httpd.HTTPAgentRequest
This method returns the headers of the client's request
getRequestType() - Method in class com.cometway.ak.AgentRequest
Returns the type assigned to this request by its sender.
getRequestURL() - Method in class com.cometway.net.HTTPLoader
 
getResponse() - Method in class com.cometway.net.ESMTPSender
 
getResponseCode() - Method in class com.cometway.net.ESMTPSender
 
getResponseHeader() - Method in class com.cometway.net.HTTPLoader
Returns the response headers
getResponseProps(String, String) - Method in class com.cometway.xml.XMLRequestAgent
This method is used to create a Props from XML documents created by the writeProps() method.
getResponseType() - Method in class com.cometway.net.ESMTPSender
 
getResultCode() - Method in class com.cometway.net.HTTPLoader
This method returns the HTTP result code from the last HTTP request.
getRowCount() - Method in class com.cometway.swing.AgentTableModel
Returns the number of rows in this TableModel.
getRowCount() - Method in class com.cometway.swing.PropsTableModel
Returns the number of rows in this TableModel.
getSchedule() - Method in class com.cometway.ak.ScheduledAgent
Returns a reference to the schedule instance.
getSchedule() - Method in class com.cometway.email.EmailBugReportAgent
Returns the instance to the schedule.
getSchedule() - Method in interface com.cometway.util.ISchedulable
Returns a schedule for this object.
getScheduler() - Static method in class com.cometway.ak.Scheduler
Returns a reference to the Scheduler registered with the Service Manager.
getScheduler(String) - Static method in class com.cometway.ak.Scheduler
Returns a reference to the Scheduler registered as the passed name with the Service Manager.
getScheduleString() - Method in interface com.cometway.util.ISchedule
Returns a String representation of the schedule.
getScheduleString() - Method in class com.cometway.util.Schedule
This is the same as toString() except this is parsable and can be reused by another schedule
getScheduleType() - Method in class com.cometway.util.Schedule
 
getSchema() - Method in class com.cometway.props.PropsSchema
Return a list of Props that define the schema.
getSearchBackwards() - Method in class com.cometway.text.TextFinder
Returns true if the text finder will search backwards; false otherwise.
getSearchString() - Method in class com.cometway.text.TextFinder
Returns the current search string.
getSendToUser(String) - Static method in class com.cometway.email.EmailHeader
This class method takes a String, a user, and removes the special header characters, such as (Comment), , [domain-literal].
getSendToUsers(String) - Static method in class com.cometway.email.EmailHeader
This class method takes a String, a list of users separated by comments, and removes the special header characters, such as (Comment), , [domain-literal].
getServerSocket(String, int) - Method in class com.cometway.httpd.SecureWebServer
This method uses the server key and certificate to create an SSLServerSocket.
getServerSocket(String, int) - Method in class com.cometway.httpd.WebServer
This creates the ServerSocket.
getService(String) - Static method in class com.cometway.ak.ServiceManager
Returns an implementation for the specified service name; null if none found.
getService(String, Object) - Static method in class com.cometway.ak.ServiceManager
Returns an implementation for the specified service name if the service was found, and the authorization was accepted; null otherwise.
getServiceImpl(String) - Method in class com.cometway.ak.Agent
Returns a reference to the requested Service from the ServiceManager; null if the requested service does not exist, or the ServiceManager has not been loaded.
getServiceImpl(String, Object) - Method in class com.cometway.ak.SecureServiceManager.SecureServiceManagerImpl
Returns an implementation for the specified service name if one exists; null otherwise.
getServiceImpl(String, Object) - Method in class com.cometway.ak.ServiceManager.ServiceManagerImpl
Returns an implementation for the specified service name if one exists; null otherwise.
getServiceImpl(String, Object) - Method in interface com.cometway.ak.ServiceManagerInterface
Returns an implementation for the specified service name if one exists; null otherwise.
getServiceImpl(String, Object) - Method in class com.cometway.props.PropsListServiceManager.PropsListServiceManagerImpl
Returns an implementation for the specified service name if one exists; null otherwise.
getServiceList() - Method in class com.cometway.ak.SecureServiceManager
Returns a List containing the Props of currently registered services.
getServiceList() - Method in class com.cometway.props.PropsListServiceManager
Returns a List containing the Props of currently registered services.
getServiceManager() - Static method in class com.cometway.ak.ServiceManager
Returns a reference to the service manager.
getSessionID() - Method in class com.cometway.httpd.HTTPAgentRequest
This method will automatically fetch the session ID of the requesting client's cookies.
getSessionID(String) - Method in class com.cometway.httpd.HTTPAgentRequest
This method will automatically fetch the session ID of the requesting client's cookies.
getSessionManager() - Static method in class com.cometway.om.SessionManager
Returns the session manager registered as session_manager.
getSessionManager(String) - Static method in class com.cometway.om.SessionManager
Returns the session manager registered as the specified serviceName.
getSessionProps(String) - Method in class com.cometway.om.SessionManager
Returns the Props for the specified session; false if the session does not exist.
getSessionProps(String) - Method in interface com.cometway.om.SessionManagerInterface
Returns the Props for the specified session; null if the session does not exist.
getShortDate(Date) - Static method in class com.cometway.util.DateTools
returns a date string in the format: MM/DD/YY, where MM is the month int+1, DD is the date, and YY is the year.
getShortDate(Date, TimeZone) - Static method in class com.cometway.util.DateTools
 
getShortDateTime(Date, boolean, boolean) - Static method in class com.cometway.util.DateTools
returns an abbreviated date string with the time
getShortDateTime(Date, boolean, boolean, TimeZone) - Static method in class com.cometway.util.DateTools
 
getSize() - Method in class com.cometway.ak.Scheduler
Get the size of the Scheduler.
getSize(String) - Method in class com.cometway.props.Props
Returns the size of the specified object.
getSMTPHostName() - Method in class com.cometway.net.ESMTPSender
getSMTPHostName: method returns the current SMTPHostName
getStart() - Method in class com.cometway.text.TextFinderResult
Returns the starting index of the text result.
getStart() - Method in class com.cometway.text.TextRange
 
getStartPointer() - Method in class com.cometway.text.TextRange
 
getStateMachineModel() - Method in class com.cometway.ak.Agent
Called by AgentController to retrieve a reference to this agent's state machine model.
getStateMachineModel() - Method in interface com.cometway.states.HasStateMachineModel
Called by AgentController to retrieve a reference to this agent's state machine model.
getStateModel(String) - Method in class com.cometway.states.StateMachineModel
Returns a reference to the specified StateModelInterface in this state machine model; null if the specified state is invalid.
getStateModel(String) - Method in interface com.cometway.states.StateMachineModelInterface
Returns a reference to the specified StateModelInterface in this state machine model; null if the specified state is invalid.
getStatus() - Method in class com.cometway.jdbc.JDBCConnection
Returns the current status information and performance data for this connection.
getStatus() - Method in class com.cometway.jdbc.JDBCObjectManager
Returns a string containing current status information about this object manager.
getStatus() - Static method in class com.cometway.jdbc.JDBCPropsContainer
Returns a string containing current status information about JDBCPropsContainer performance.
getString() - Method in class com.cometway.props.Props
Returns the entire Props as a formatted String.
getString(String) - Method in class com.cometway.props.Props
Returns the String value of the requested property
getTableAsXML(String) - Method in class com.cometway.jdbc.JDBCToXMLAgent
 
getText() - Method in interface com.cometway.text.ITextBuffer
Returns a string representing the contents of the text buffer.
getText(int, int) - Method in interface com.cometway.text.ITextBuffer
Returns a string representing the contents of the text buffer contained within the specified range.
getText() - Method in class com.cometway.text.StringTextBuffer
Returns a string representing the contents of the text buffer.
getText(int, int) - Method in class com.cometway.text.StringTextBuffer
Returns a string representing the contents of the text buffer contained within the specified range.
getText() - Method in class com.cometway.text.TextRange
 
getTextBuffer() - Method in class com.cometway.text.TextPointer
 
getTextBuffer() - Method in class com.cometway.text.TextRange
 
getTextTo(int) - Method in class com.cometway.text.TextPointer
Returns the text from the position pointed to by this TextPointer to the position given by the parameter in the ITextBuffer which this TextPointer is pointing to.
getTextTo(TextPointer) - Method in class com.cometway.text.TextPointer
Returns the text from the position pointed to by this TextPointer to the position pointed to by the TextPointer passed as the parameter in the ITextBuffer which this instance of TextPointer is pointing to.
getThread(KMethod, Object, int) - Method in class com.cometway.util.ThreadPool
This method gets an unused PooledThread or creates one if the pool has not exceeded its limit and executes the KMethod passed in.
getThread(KMethod, Object) - Method in class com.cometway.util.ThreadPool
This method gets an unused PooledThread or creates one if the pool has not exceeded its limit and executes the KMethod passed in.
getThread(KMethod) - Method in class com.cometway.util.ThreadPool
This method gets an unused PooledThread or creates one if the pool has not exceeded its limit and executes the KMethod passed in.
getThreadOrWait(KMethod, int) - Method in class com.cometway.util.ThreadPool
 
getThreadOrWait(KMethod, Object, int) - Method in class com.cometway.util.ThreadPool
 
getTime(Date, boolean) - Static method in class com.cometway.util.DateTools
returns a time string
getTime(Date, boolean, TimeZone) - Static method in class com.cometway.util.DateTools
 
getTimeStamp() - Static method in class com.cometway.ak.SecureServiceManager
Returns a string with the current time using SimpleDateFormat("yyyyMMdd HHmmss.SSS").
getTokens(String) - Method in class com.cometway.props.Props
Returns a Vector of Strings representing the tokens stored stored in the specified property separated by a comma, semi-colon, carriage return, or line-feed.
getTokens(String, String) - Method in class com.cometway.props.Props
Returns a Vector of Strings representing the tokens stored stored in the specified property separated by any of the characters specified by tokenSeparators.
getTransactionIsolation() - Method in class com.cometway.jdbc.JDBCConnection
 
getTransitions() - Method in class com.cometway.states.StateModel
Returns an array of TransitionInterfaces for this state.
getTransitions() - Method in interface com.cometway.states.StateModelInterface
Returns an array of TransitionInterfaces for this state.
getTrimmedString(String) - Method in class com.cometway.props.Props
Returns the specified object as a trimmed String.
getType() - Method in exception com.cometway.net.ESMTPException
 
getType() - Method in class com.cometway.om.ObjectType
Returns this type as a String.
getTypeMap() - Method in class com.cometway.jdbc.JDBCConnection
 
getTypeName(int) - Method in class com.cometway.jdbc.JDBCConnection
Get the String name for the DataType with this ID.
getURL(String, Props) - Method in class com.cometway.net.HTTPLoader
Sends a GET request; HTTP parameters contained in a Props.
getURL(String, Props, OutputStream) - Method in class com.cometway.net.HTTPLoader
 
getURL(String, Vector, Vector) - Method in class com.cometway.net.HTTPLoader
Sends a GET request; HTTP parameters contained in Vectors.
getURL(String, Vector, Vector, OutputStream) - Method in class com.cometway.net.HTTPLoader
 
getURL(String, String) - Method in class com.cometway.net.HTTPLoader
Sends a GET request; no HTTP parameters.
getURL(String) - Method in class com.cometway.net.HTTPLoader
 
getURL(String, OutputStream) - Method in class com.cometway.net.HTTPLoader
 
getUserAgent() - Method in class com.cometway.httpd.HTTPAgentRequest
Returns the value of the "User-Agent" header parameter.
getUserAgent(AgentRequest) - Static method in class com.cometway.httpd.HTTPAgentRequest
Returns the User-Agent header parameter value from the specified AgentRequest.
getUserAgent(String) - Static method in class com.cometway.httpd.HTTPAgentRequest
Returns the User-Agent header parameter value from the specified String.
getUsername(Props) - Method in class com.cometway.httpd.HTTPAuthenticationAgent
Pass in the Props of an HTTPAgentRequest, get the username that was used to HTTP authenticate this request.
getValueAt(int, int) - Method in class com.cometway.swing.AgentTableModel
Returns the value of the specified row and column.
getValueAt(int, int) - Method in class com.cometway.swing.PropsTableModel
Returns the value of the specified row and column.
getVector(String) - Method in class com.cometway.props.Props
Returns the specified object as a Vector.
getVector() - Method in class com.cometway.props.VectorPropsContainer
Returns the Vector used for storage.
getWarnings() - Method in class com.cometway.jdbc.JDBCConnection
 
getWriter() - Method in class com.cometway.ak.AgentRequest
Returns a reference to the Writer assigned to this request.
GONE - Static variable in class com.cometway.httpd.WebServer
The requested resource is no longer available at the server and no forwarding address is known.
greaterThan(IHeapItem) - Method in interface com.cometway.util.IHeapItem
Every IHeapItem must provide a way to determine its order when compared to another IHeapItem.
GREEN - Static variable in class com.cometway.swing.LightBox
 
GREEN0 - Static variable in class com.cometway.swing.LightBox
 
GREEN1 - Static variable in class com.cometway.swing.LightBox
 
GREEN2 - Static variable in class com.cometway.swing.LightBox
 
GREEN3 - Static variable in class com.cometway.swing.LightBox
 
GREEN4 - Static variable in class com.cometway.swing.LightBox
 
greeting - Variable in class com.cometway.net.ESMTPReceiver
 
grepAndReplaceText(String, String, String, boolean, Perl5Util) - Static method in class com.cometway.util.jGrep
 
grepAndReplaceText(String, String, String, boolean) - Static method in class com.cometway.util.jGrep
 
grepText(String, String, boolean, Perl5Util) - Static method in class com.cometway.util.jGrep
 
grepText(String, String, boolean) - Static method in class com.cometway.util.jGrep
 

H

handleClient(Socket) - Method in class com.cometway.email.ReceiveEmailAgent
If the max_connections parameter has been not been exceeded, this method passes the socket connection to a ReceiveEmailHandler for further processing on its own Thread (owned by ESMTPReceiver).
handleException(Exception, Object, String) - Method in class com.cometway.email.EmailListAgent.EmailListExceptionHandler
 
handleException(Exception, Object, String) - Method in interface com.cometway.util.IExceptionHandler
This method arbitrarily handles the condition indicated by the passed parameters.
handleMessage(AgentMessage) - Method in interface com.cometway.ak.MessageAgentInterface
Respond to the specified request as appropriate.
handleRequest(AgentRequest) - Method in interface com.cometway.ak.RequestAgentInterface
Respond to the specified request as appropriate.
handleRequest(AgentRequest) - Method in class com.cometway.ak.SecureServiceManager
This agent implements and registers itself as a RequestAgent that generates an HTML list of currently registered services and other stats.
handleRequest(AgentRequest) - Method in class com.cometway.email.AutoReplyAgent
Processes an email AgentRequest by parsing out the recipient's Reply To address, and responding with the text message returned by calling the getReply method.
handleRequest(Props) - Method in class com.cometway.email.EmailListAgent
 
handleRequest(AgentRequest) - Method in class com.cometway.email.RequestDumperAgent
Dumps the contents of the AgentRequest Props to the debug method.
handleRequest(AgentRequest) - Method in class com.cometway.email.RequestFilterAgent
 
handleRequest(HTTPAgentRequest) - Method in class com.cometway.httpd.HTTPAccessRestriction
 
handleRequest(HTTPAgentRequest) - Method in class com.cometway.httpd.HTTPAuthenticationAgent
This method is used only when the client is not authorized.
handleRequest(HTTPAgentRequest) - Method in class com.cometway.httpd.HTTPcgi
 
handleRequest(AgentRequest) - Method in class com.cometway.httpd.HTTPFileDownloadAgent
This method handles the download request.
handleRequest(HTTPAgentRequest) - Method in class com.cometway.httpd.HTTPFileServerAgent
Writes the entire http response header.
handleRequest(HTTPAgentRequest) - Method in class com.cometway.httpd.HTTPPathRewrite
 
handleRequest(HTTPAgentRequest) - Method in class com.cometway.httpd.HTTPProxyAgent
Handles a request and routes through appropriate proxy.
handleRequest(HTTPAgentRequest) - Method in class com.cometway.httpd.HTTPPutAgent
 
handleRequest(HTTPAgentRequest) - Method in class com.cometway.httpd.HTTPRedirectAgent
 
handleRequest(HTTPAgentRequest) - Method in class com.cometway.httpd.HTTPSetProperty
 
handleRequest(AgentRequest) - Method in class com.cometway.httpd.LogViewerPage
Handles request and gets log file information and displays as HTML data.
handleRequest(HTTPAgentRequest) - Method in class com.cometway.httpd.WebServerExtension
This will be called by the WebServer (specifically the ConnectionKMethod) to handle an HTTPAgentRequest.
handleRequest(Props) - Method in class com.cometway.props.PropsListIteratorAgent
Override this method to perform custom operations on each Props in the PropsList.
handleRequest(AgentRequest) - Method in class com.cometway.xml.MinRPCAgent
 
handleResponseHeader(String) - Method in class com.cometway.httpd.HTTPAgentRequest
deals with checking for header and sending it if needed
hashCode() - Method in class com.cometway.om.FileObjectBlock
Overrides Object.hashCode().
hashCode() - Method in class com.cometway.om.FileObjectStore
Overrides Object.hashCode().
hashCode() - Method in class com.cometway.om.ObjectID
Returns the hashcode for this class.
hasParam(String[], String) - Static method in class com.cometway.ak.AK
returns true if 'sw' is a param within 'args', the list of parameters
hasParam(String[], String) - Static method in class com.cometway.util.StringTools
returns true if 'sw' is a param within 'args', the list of parameters
hasProperty(String) - Method in class com.cometway.props.Props
Tests the existence of the specified property.
HasStateMachineModel - Interface in com.cometway.states
This interface can be implemented by any class which needs to provide public access to its StateMachineModelInterface.
HEAD_REQUEST_TYPE - Static variable in class com.cometway.net.HTTPRequest
 
HEADER_DATA_OFFSET - Static variable in class com.cometway.om.FileObjectBlock
 
HEADER_NEXT_INDEX_OFFSET - Static variable in class com.cometway.om.FileObjectBlock
 
HEADER_NOT_FOUND - Static variable in class com.cometway.email.Message
 
HEADER_PARENT_INDEX_OFFSET - Static variable in class com.cometway.om.FileObjectBlock
 
HEADER_TAG_OFFSET - Static variable in class com.cometway.om.FileObjectBlock
 
headerInfo - Variable in class com.cometway.om.FileObjectStore
 
headerLength - Variable in class com.cometway.om.FileObjectBlock
 
headerLength - Variable in class com.cometway.om.FileObjectStore
 
headers - Variable in class com.cometway.net.HTTPResponse
* This is a hashtable of all the headers in the HTTP response from the web server
headerSending - Variable in class com.cometway.httpd.HTTPAgentRequest
 
headerSent - Variable in class com.cometway.httpd.HTTPAgentRequest
 
headRequest - Variable in class com.cometway.httpd.HTTPAgentRequest
 
hello() - Method in class com.cometway.net.ESMTPSender
 
HELO - Static variable in exception com.cometway.net.ESMTPException
 
hexToInt(String) - Static method in class com.cometway.httpd.HTMLStringTools
 
history - Variable in class com.cometway.email.EmailReporter
 
honestPeer - Variable in class com.cometway.net.ESMTPReceiver
 
host - Variable in class com.cometway.httpd.HTTPCheckKMethod
 
host - Variable in class com.cometway.net.HTTPRequest
* This is the host field of the request.
hosts - Variable in class com.cometway.httpd.HTTPAuthenticationAgent
 
html_directory - Variable in class com.cometway.httpd.HTTPFileDownloadAgent
 
html_directory - Variable in class com.cometway.httpd.HTTPFileServerAgent
 
html_directory - Variable in class com.cometway.httpd.HTTPThrottledFileServer
 
HTMLFormWriter - Class in com.cometway.httpd
HTMLFormWriter is a tool for writing simple HTML-based forms to a StringBuffer or AgentRequest output stream.
HTMLFormWriter(AgentRequest) - Constructor for class com.cometway.httpd.HTMLFormWriter
Use this constructor to write HTML forms directly to an AgentRequest.
HTMLFormWriter(StringBuffer) - Constructor for class com.cometway.httpd.HTMLFormWriter
Use this constructor to write HTML forms to a StringBuffer.
HTMLResponseInterface - Interface in com.cometway.httpd
This interface defines an Object that can return the full HTTP response header and body (as HTML), based off of the constants in com.cometway.httpd.WebServer
HTMLStringTools - Class in com.cometway.httpd
This class has a collection of static methods for HTML/HTTP related string manipulation.
HTMLStringTools() - Constructor for class com.cometway.httpd.HTMLStringTools
 
HTTPAccessRestriction - Class in com.cometway.httpd
This WebServerExtension controls access restriction.
HTTPAccessRestriction() - Constructor for class com.cometway.httpd.HTTPAccessRestriction
 
HTTPAgentRequest - Class in com.cometway.httpd
This file is an extension of the com.cometway.ak.AgentRequest class.
HTTPAgentRequest(Props, OutputStream, OutputStream) - Constructor for class com.cometway.httpd.HTTPAgentRequest
 
HTTPAgentRequest(Props, OutputStream, OutputStream, Reader) - Constructor for class com.cometway.httpd.HTTPAgentRequest
 
HTTPAgentRequest(Props, OutputStream, OutputStream, InputStream) - Constructor for class com.cometway.httpd.HTTPAgentRequest
 
HTTPAuthenticationAgent - Class in com.cometway.httpd
This agent is used by the WebServer to handle authorization of password protected accesses.
HTTPAuthenticationAgent() - Constructor for class com.cometway.httpd.HTTPAuthenticationAgent
 
HTTPcgi - Class in com.cometway.httpd
This extension is used to define and execute CGI scripts.
HTTPcgi() - Constructor for class com.cometway.httpd.HTTPcgi
 
HTTPCheckKMethod - Class in com.cometway.httpd
This KMethod checks a web server by sending it a request for a URL.
HTTPCheckKMethod(String, int, String) - Constructor for class com.cometway.httpd.HTTPCheckKMethod
Sets host, port, and request fields.
HTTPClient - Class in com.cometway.net
This class supplies the static methods for the HTTPLoader.
HTTPClient() - Constructor for class com.cometway.net.HTTPClient
 
HTTPDecoderStream - Class in com.cometway.httpd
This extension of InputStream allows only a fixed number of bytes to be read from the stream before acting as the Stream is empty.
HTTPDecoderStream(InputStream) - Constructor for class com.cometway.httpd.HTTPDecoderStream
 
HTTPDecoderStream(InputStream, int) - Constructor for class com.cometway.httpd.HTTPDecoderStream
 
HTTPDownloaderAgent - Class in com.cometway.net
 
HTTPDownloaderAgent() - Constructor for class com.cometway.net.HTTPDownloaderAgent
 
HTTPFileDownloadAgent - Class in com.cometway.httpd
This agent is used to throttle specific content to web browsers.
HTTPFileDownloadAgent() - Constructor for class com.cometway.httpd.HTTPFileDownloadAgent
 
HTTPFileServerAgent - Class in com.cometway.httpd
This agent is used by the WebServer to handle requests for HTML files and other static documents from the file system.
HTTPFileServerAgent() - Constructor for class com.cometway.httpd.HTTPFileServerAgent
 
HTTPLoader - Class in com.cometway.net
This class provides a access to the HTTP protocol at a lower level than the URLConnection class provided by java.
HTTPLoader() - Constructor for class com.cometway.net.HTTPLoader
 
HTTPPathRewrite - Class in com.cometway.httpd
This WebServerExtension reads in a file of match and replace pairs, separated by a space.
HTTPPathRewrite() - Constructor for class com.cometway.httpd.HTTPPathRewrite
 
HTTPProxyAgent - Class in com.cometway.httpd
This agent handles proxies to other web servers.
HTTPProxyAgent() - Constructor for class com.cometway.httpd.HTTPProxyAgent
 
HTTPPutAgent - Class in com.cometway.httpd
This agent can be loaded to support traditional HTTP Put functionality, saving files received to the specified "html_directory".
HTTPPutAgent() - Constructor for class com.cometway.httpd.HTTPPutAgent
 
HTTPRedirectAgent - Class in com.cometway.httpd
This Request Agent is used by the WebServer.
HTTPRedirectAgent() - Constructor for class com.cometway.httpd.HTTPRedirectAgent
 
HTTPRequest - Class in com.cometway.net
This class is used as a data object which stores the HTTP/1.0 request.
HTTPRequest(String) - Constructor for class com.cometway.net.HTTPRequest
* This generates a simple HTTP request using the request string given and a SHORT GET type.
HTTPResponse - Class in com.cometway.net
This class is a data object which stores a HTTP/1.1 response.
HTTPResponse() - Constructor for class com.cometway.net.HTTPResponse
 
HTTPSetProperty - Class in com.cometway.httpd
This WebServerExtension reads in a file of patterns and properties pairs, separated by a space.
HTTPSetProperty() - Constructor for class com.cometway.httpd.HTTPSetProperty
 
httpsProxyServer - Variable in class com.cometway.net.HTTPLoader
 
httpsProxyServerPort - Variable in class com.cometway.net.HTTPLoader
 
HTTPThrottledFileServer - Class in com.cometway.httpd
This agent is used by the WebServer to handle requests for HTML files and other static documents from the file system.
HTTPThrottledFileServer() - Constructor for class com.cometway.httpd.HTTPThrottledFileServer
 

I

ICommandParser - Interface in com.cometway.util
classes that might provide a command string parse method implement ICommandParser
id - Variable in class com.cometway.om.ObjectID
 
id - Variable in class com.cometway.util.PooledThread
 
IExceptionHandler - Interface in com.cometway.util
This is useful when you need to notify another object of an exception which has taken place.
ignoreCase - Variable in class com.cometway.util.jGrep
 
ignoreWhitespace - Variable in class com.cometway.xml.XMLParser
Setting this value to true will cause the parse to remove the whitespace it finds around tags and text.
IHeap - Interface in com.cometway.util
IHeap is an interface for a heap
IHeapItem - Interface in com.cometway.util
This interface defines a HeapItem.
IMessage - Interface in com.cometway.email
IMessage represents an abstract message containing a message body and an arbitrary number of headers.
IMessageSender - Interface in com.cometway.email
IMessageSender is an interface for those classes that support a sendMessage() method for sending an IMessage
in - Variable in class com.cometway.net.ESMTPReceiver
 
incrementInteger(String) - Method in class com.cometway.props.Props
Increments the integer value of the specified key by 1.
indecesOf(String, String, boolean, Perl5Util) - Static method in class com.cometway.util.jGrep
 
indecesOf(String, String, boolean) - Static method in class com.cometway.util.jGrep
 
indexOf(char, int) - Method in interface com.cometway.text.ITextBuffer
Returns the index of the first occurence of the specified character starting at the specified location and continuing to the end of the buffer.
indexOf(char, int) - Method in class com.cometway.text.StringTextBuffer
Returns the index of the first occurence of the specified character starting at the specified location and continuing to the end of the buffer.
initBlocks() - Method in class com.cometway.om.FileObjectStore
This method attempts to initialize all the blocks stored in the file.
initCommands() - Method in class com.cometway.net.ESMTPReceiver
 
initialize() - Method in class com.cometway.om.FileObjectManager
This constructor creates all the directories that doesn't exist.
initProps() - Method in class com.cometway.ak.Agent
Override this method to initialize this agent's properties before it is started.
initProps() - Method in interface com.cometway.ak.AgentInterface
Initialize agent properties before it is started.
initProps() - Method in class com.cometway.ak.AgentKernel
Provides default values for the following properties if missing: next_agent_id - seed value for agent_id (default: 1001)
initProps() - Method in class com.cometway.ak.RunnableAgent
Initializes default properties for this agent: agent_classname (default: none), java class name that the agent kernel will instantiate and start on a Thread provided by this agent.
initProps() - Method in class com.cometway.ak.ScheduledAgent
Override this method to provide default properties for subclasses.
initProps() - Method in class com.cometway.ak.Scheduler
Initializes the Props for this agent: service_name The service name this agent uses to register with the Service Manager.
initProps() - Method in class com.cometway.ak.SecureServiceManager
 
initProps() - Method in class com.cometway.ak.StartupAgent
Initializes the Props for this agent.
initProps() - Method in class com.cometway.email.AutoReplyAgent
Initializes properties for this agent:
initProps() - Method in class com.cometway.email.EmailBugReportAgent
Initializes the default Props for this agent: "service_name" is the name this agent uses to register with the Service Manager (default: bug_report), "schedule" describes the schedule used to wake up this agent and email bug reports (default: every 6 hours), "report_title" is used to prefix the subject line of the emails that are sent (default: Bug Report), "reply_to" is used to set the Reply To field of emails that are sent, "recipients" is a comma separated list of email addresses used to send the emails.
initProps() - Method in class com.cometway.email.EmailListAgent
 
initProps() - Method in class com.cometway.email.EmailReporter
 
initProps() - Method in class com.cometway.email.ReceiveEmailAgent
Sets the default Props for this agent: "bind_port" is the port this agent opens to listen for SMTP connections, "max_connections" is the maximum number of simultaneous SMTP connections this agent allows.
initProps() - Method in class com.cometway.email.ReceivePOP3EmailAgent
Initializes the default Props for this agent: "schedule" is specifies the schedule this agent uses to check the POP3 server (default: every 60 seconds), "pop3_host" is the POP3 server's host name (default: localhost), "pop3_port" is the POP3 server's port (default: 110), "username" is the POP3 account username, "password" is the POP3 account password, "max_trys" is the number of connection attempt to the POP3 server before giving up, "delete_messages" is set to true if the messages are to be deleted after downloading (default: true).
initProps() - Method in class com.cometway.email.RequestDumperAgent
Sets the default value for the "service_name" property.
initProps() - Method in class com.cometway.email.SendEmailAgent
Initializes the Props for this agent: "service_name" is used to register this agent with the Service Manager (default: send_email), "max_queue_size" is the maximum number of messages allocated for storage in the queue (default: 100), "smtp_sleep_ms" is the interval between attempts to send messages in the queue (default: 5000ms), "smtp_host" is the host name or IP address of the SMTP server, "smtp_port" is the port of the SMTP server (default: 25), "smtp_timeout_ms" is the amount of time this agent will wait for a socket connection (default 500ms)
initProps() - Method in class com.cometway.httpd.HTTPAccessRestriction
affected_path - If this property is non-empty, this extension will only apply to requests whose URI path start with this property (default: ) affected_method - If this property is non-empty, this extension will only apply to the request method (GET, POST, HEAD, etc.) given by this property (default: ) default_behavior - This determines by default whether all requests should be allowed or denied, can be either "allow" or "deny" (default: allow) path_matches_allow - A comma separated list of patterns (regexp) that are allowed in the URI path if the default behavior is "deny" (default: ) path_matches_deny - A comma deparated list of patterns (regexp) that are denied in the URI path if the default behavior is "allow" (default: ) header_matches_allow - A comma separated list of patterns (regexp) that are allowed in the header fields if the default behavior is "deny" (default: ) header_matches_deny - A comma separated list of patterns (regexp) that are denied in the header fields if the default behavior is "allow" (default: ) allow_ips - A comma separated list of IP addresses or partial IP addresses that are allowed (or * for all) if the default behavior is "deny" (default: ) deny_ips - A comma separated list of IP addresses or partial IP addresses that are denied (or * for all) if the default behavior is "allow" (default: ) allow_properties - A comma separated list of name=value pairs, if no =value is given, an allow is given if the property exists, otherwise the property must have the given value, used if the default behavior is "deny" (default: ) deny_properties - A comma separated list of name=value pairs, if no =value is given, a deny is given if the property exists, otherwise the property must have the given value, used if the default behavior is "allow" (default: ) deny_response - This is the response if a request is to be denied.
initProps() - Method in class com.cometway.httpd.HTTPAuthenticationAgent
Initializes properties for this agent: "service_name" is the name this agent uses to register with Service Manager (default: http_authentication.agent), "authentication_file" is the location of the file to authenticate requests with (default: ./http.authentication).
initProps() - Method in class com.cometway.httpd.HTTPcgi
max_exec_time_ms - The longest time to wait for a script to run before it is killed and an error returned (default: 10000) script_uri - The URI path to access the script(s) (default: /cgi-bin/) script_directory - The location of the script(s) on the local filesystem (default: ./html/cgi-bin/) scripts - a comma separated list of scripts or * for everything in the script_directory (default: *) thread_pool_size - Maximum number of threads in the thread pool (default: 20) server_name - The SERVER_NAME to pass to the script.
initProps() - Method in class com.cometway.httpd.HTTPFileDownloadAgent
Initializes this agent's properties by providing default values for each of the following missing properties: "service_name" is used to register this agent with the ServiceManager (default: download.agent) "html_directory" points to the root directory where HTML files are served (default: public_html) "max_sessions" denotes the maximum amount of concurrent connections downloading content at a single time (default: 4) "max_bandwidth" denotes the amount of bytes per second allowed for each connection (default: 5000) "log_file" denotes the file which bandwidth usage is to be logged (default: downloads.log)
initProps() - Method in class com.cometway.httpd.HTTPFileServerAgent
Initializes this agent's properties by providing default values for each of the following missing properties: "service_name" is used to register this agent with the Service Manager (default: HTTPFileServerAgent), "html_directory" points to the root directory where HTML files are served (default: ./), "default_index" is the default file served when no filename is specified, can be more than one index (default: index.html), "allow_directory_lists" when enabled, allows this agent to display links to files in a directory (default: yes) "domains" used for registering extension, can be more than one domain (default: default)
initProps() - Method in class com.cometway.httpd.HTTPPathRewrite
 
initProps() - Method in class com.cometway.httpd.HTTPProxyAgent
Initializes this agent's properties by providing default values for each of the following missing properties: "service_name" is used to register this agent with the Service Manager (default: http_proxy.agent), "proxy_file" contains a list of the available proxies (default: ./http.proxy), "check_interval" specifies the time to wait before checking a proxy's status (default: 300000), "initial_wait_time" specifies the time to wait initially before checking a proxy (default: 60000).
initProps() - Method in class com.cometway.httpd.HTTPPutAgent
 
initProps() - Method in class com.cometway.httpd.HTTPRedirectAgent
 
initProps() - Method in class com.cometway.httpd.HTTPSetProperty
 
initProps() - Method in class com.cometway.httpd.HTTPThrottledFileServer
Initializes this agent's properties by providing default values for each of the following missing properties: "service_name" is used to register this agent with the Service Manager (default: HTTPThrottledFileServer), "html_directory" points to the root directory where HTML files are served (default: ./), "default_index" is the default file served when no filename is specified (default: index.html), "allow_directory_lists" when enabled, allows this agent to display links to files in a directory (default: yes) "max_sessions" denotes the maximum amount of concurrent connections downloading content at a single time (default: 4) "max_bandwidth" denotes the amount of bytes per second allowed for each connection (default: 5000) "log_file" denotes the file which bandwidth usage is to be logged (default: downloads.log)
initProps() - Method in class com.cometway.httpd.LogViewerPage
Initializes this agent's properties by providing default values for each of the following missing properties: "log_dir" specifies the directory where the log file is located (default: ./), "log_map_file" specifies the file to map the logs to (default: ./log.maps), "log_file_suffix" specifies the suffix of the log file (default: httpd.log), "check_interval" specifies the time between checks (default: 600000), "service_name" specifies the name to register this agent as with the Object Manager (default: /logviewer.agent), "is_logger_output" (default: TRUE), "max_show_log_length" (default: 50000), "show memory_usage" (default: false).
initProps() - Method in class com.cometway.httpd.SecureWebServer
Initializes this agent's properties by providing default values for each of the following missing properties: 'bind_port' (default: 443) 'certificate1' (default: testcert.pem) This must be a non-passphrased X509 certificate in PEM format 'server_key' (default: testkey.key) This must be a non-passphrased PKCS8 encoded private key associated with the certificate in PEM format The certificate and key properties are pathnames to a certificate and private key.
initProps() - Method in class com.cometway.httpd.WebServer
Initializes this agent's properties by providing default values fo each of the following missing properties: 'bind_address' (default: all), 'bind_port' (default: 80) 'index_agent' (default: HTTPFileServerAgent) 'log_requests' (default: true) 'max_connections' (default: 200) 'serversocket_queue_size' (default: 50) 'mime_types_file' (default: mime_types) 'multihome' (default: false) 'strict_http_version' (default:false) 'socket_linger_time' (default: 2000) 'thread_pool_timeout' (default: 0) 'use_inet_address_methods' (default: true) 'socket_timeout' (default:30000) 'socket_initial_timeout' (default:3000) 'max_uri_length' (default:512) 'max_field_length' (default:128) 'html_response_agent' (default:none) 'cache_extensions' (default:true) 'service_name' (default:WebServer-'bind_port')
initProps() - Method in class com.cometway.io.DeleteFileAgent
 
initProps() - Method in class com.cometway.io.DelimitedLineExportAgent
 
initProps() - Method in class com.cometway.io.DelimitedLineImportAgent
 
initProps() - Method in class com.cometway.io.FileLoggerAgent
Initializes this agent's properties by providing default values for each of the following missing properties: "log_type" sets the type of log file to be used (default: FILE), "log_file_prefix specifies the prefix for the log_file (default: log_), "logs_per_file" specifies the maximum log entries per file (default: 10000).
initProps() - Method in class com.cometway.io.FileReaper
 
initProps() - Method in class com.cometway.io.FileReporter
 
initProps() - Method in class com.cometway.io.LogMonitorAgent
 
initProps() - Method in class com.cometway.io.MoveFileAgent
 
initProps() - Method in class com.cometway.jdbc.JDBCAgent
Initializes the Props for this agent: "jdbc_driver" is the classname of the JDBC driver to use (default: sun.jdbc.odbc.JdbcOdbcDriver), "jdbc_url" is the JDBC URL of the database (ie: jdbc:odbc:mydb), "jdbc_username" is the database login username (default: none), "jdbc_password" is the database login password (default: none), "service_name" is the service_name used to register this agent if it is to be used as a service (default: none).
initProps() - Method in class com.cometway.jdbc.JDBCCreateTableAgent
 
initProps() - Method in class com.cometway.jdbc.JDBCDropTableAgent
 
initProps() - Method in class com.cometway.jdbc.JDBCExecutive
 
initProps() - Method in class com.cometway.jdbc.JDBCExportAgent
 
initProps() - Method in class com.cometway.jdbc.JDBCToXMLAgent
 
initProps() - Method in class com.cometway.jdbc.PooledJDBCAgent
 
initProps() - Method in class com.cometway.net.HTTPDownloaderAgent
 
initProps() - Method in class com.cometway.om.AgentServer
 
initProps() - Method in class com.cometway.om.FileObjectManager
Sets the service_name property to object_manager if a value was not provided.
initProps() - Method in class com.cometway.om.ObjectManager
Sets the service_name property to object_manager if a value was not provided.
initProps() - Method in class com.cometway.om.ObjectManagerArchiver
 
initProps() - Method in class com.cometway.om.SessionManager
Initializes this agent's properties by providing default values for each of the following missing properties: session_type (default: session) service_name (default: session_manager) om_service_name (default: object_manager)
initProps() - Method in class com.cometway.om.SessionReaper
Initializes the properties for this agent: schedule a schedule which describes how often to check for expired sessions.
initProps() - Method in class com.cometway.props.AbstractPropsPoolAgent
 
initProps() - Method in class com.cometway.props.PropsListAgent
Default properties: service_name = database (name this PropsList registers with the Service Manager).
initProps() - Method in class com.cometway.props.PropsListIteratorAgent
 
initProps() - Method in class com.cometway.props.PropsListServiceManager
 
initProps() - Method in class com.cometway.swing.AbstractJFrameAgent
Initializes the Props for this agent.
initProps() - Method in class com.cometway.swing.AbstractJFrameController
Initializes Props for this agent.
initProps() - Method in class com.cometway.swing.LightBox
Initializes the Props for this agent.
initProps() - Method in class com.cometway.swing.PropsEditor
Initializes the Props for this agent.
initProps() - Method in class com.cometway.swing.StartupEditor
Initializes the Props for this agent.
initProps() - Method in class com.cometway.tools.CRLFConversionAgent
Initializes the Props for this agent.
initProps() - Method in class com.cometway.tools.StartupAgentBuilder
 
initProps() - Method in class com.cometway.util.ShellCommandAgent
 
initProps() - Method in class com.cometway.util.SystemExitAgent
exit_code = 0 (normal completion)
initProps() - Method in class com.cometway.xml.ObjectManagerArchiver
 
initProps() - Method in class com.cometway.xml.XMLPropsList
 
initProps() - Method in class com.cometway.xml.XMLPropsListExportAgent
 
initProps() - Method in class com.cometway.xml.XMLPropsListImportAgent
 
initProps() - Method in class com.cometway.xml.XMLStartupAgent
Agents are started from the ak.xstartup file by default.
initPtops() - Method in class com.cometway.email.RequestFilterAgent
 
InputStreamReaderKMethod - Class in com.cometway.util
This method extends com.cometway.util.KMethod and implements the Runnable interface, which allows this KMethod to be executed by a PooledThread from a ThreadPool or another Thread.
InputStreamReaderKMethod(InputStream) - Constructor for class com.cometway.util.InputStreamReaderKMethod
 
InputStreamReaderKMethod(InputStream, StringBuffer) - Constructor for class com.cometway.util.InputStreamReaderKMethod
 
InputStreamReaderKMethod(InputStream, int) - Constructor for class com.cometway.util.InputStreamReaderKMethod
 
InputStreamReaderKMethod(InputStream, StringBuffer, int) - Constructor for class com.cometway.util.InputStreamReaderKMethod
 
insert(IHeapItem) - Method in class com.cometway.util.BinaryHeap
insert: method adds a IHeapItem to this heap
insert(IHeapItem) - Method in interface com.cometway.util.IHeap
Adds a IHeapItem to this heap.
insertDouble(double, byte[], int) - Static method in class com.cometway.util.ByteTools
 
insertFloat(float, byte[], int) - Static method in class com.cometway.util.ByteTools
 
insertInt(int, byte[], int) - Static method in class com.cometway.util.ByteTools
 
insertLong(long, byte[], int) - Static method in class com.cometway.util.ByteTools
 
insertProps(String) - Method in class com.cometway.props.Props
Inserts property String values into the passed string where property names are surrounded by angle brackets.
insertText(String, int) - Method in interface com.cometway.text.ITextBuffer
Inserts a string into the text buffer at the specified location and calls the textChanged method of its listeners with the location of the inserted text.
insertText(String, int) - Method in class com.cometway.text.StringTextBuffer
Inserts a string into the text buffer at the specified location and calls the textChanged method of its listeners with the location of the inserted text.
insertText(String) - Method in class com.cometway.text.TextPointer
Inserts the String passed in as the parameter in the position of this TextPointer into the ITextBuffer which this TextPointer points to.
instance - Static variable in class com.cometway.ak.AK
Deprecated. Use getAgentKernel and setAgentKernel methods instead.
INT - Static variable in class com.cometway.jdbc.JDBCExportAgent
 
INTEGER - Static variable in class com.cometway.xml.MinRPCAgent
 
IntegerPair - Class in com.cometway.util
This is a Pair object that specializes in Integers (simple type int).
IntegerPair() - Constructor for class com.cometway.util.IntegerPair
 
IntegerPair(int, int) - Constructor for class com.cometway.util.IntegerPair
Sets the Pair.first() and Pair.second() as an Integer object from firstInt and secondInt respectively
intToBin(int, int) - Static method in class com.cometway.util.Base64Encoding
Converts an integer to a binary value.
intToBin(int, int) - Static method in class com.cometway.util.StringScrambler
Converts an integer to a binary value.
intToBytes(int) - Static method in class com.cometway.util.ByteTools
 
intToHex(int) - Static method in class com.cometway.httpd.HTMLStringTools
 
inUse() - Method in class com.cometway.jdbc.JDBCConnection
Returns true if the JDBCConnection is currently in use; false otherwise.
INVERSE - Static variable in class com.cometway.io.VT100ConsoleReporter
 
IObjectManager - Interface in com.cometway.om
This is the generic interface for an Object Manager.
IPropsChangeListener - Interface in com.cometway.props
A class can implement IPropsChangeListener when it wants to be notified about changes to a Props object.
IPropsContainer - Interface in com.cometway.props
A class can implement IPropsContainer when it wants to implement a properties storage mechanism.
isAuthenticated(String, String) - Method in class com.cometway.httpd.HTTPAuthenticationAgent
Tests to see if path is Authenticated.
isBusy() - Method in class com.cometway.jdbc.ObjectWriterThread
 
isCellEditable(int, int) - Method in class com.cometway.swing.AgentTableModel
Returns true if the specified cell is editable; false otherwise.
isCellEditable(int, int) - Method in class com.cometway.swing.PropsTableModel
Returns true if the specified cell is editable; false otherwise.
ISchedulable - Interface in com.cometway.util
A class can implement ISchedulable when it wants to be scheduled for execution by a Scheduler.
ISchedule - Interface in com.cometway.util
A class can implement ISchedule when it wants to represent a list of scheduled times.
IScheduleChangeListener - Interface in com.cometway.util
A class can implement IScheduleChangeListener when it wants to be notified about changes to the schedule of an IScheduleable object.
IScheduler - Interface in com.cometway.util
A class can implement IScheduler when it wants manage objects implementing the ISchedulable interface.
isClosed() - Method in class com.cometway.jdbc.JDBCConnection
 
isConnected() - Method in class com.cometway.net.ESMTPSender
 
isEmpty - Variable in class com.cometway.om.FileObjectBlock
 
isEmpty() - Method in class com.cometway.util.BinaryHeap
isEmpty: method returns true if this heap contains no elements and false otherwise
isEmpty() - Method in interface com.cometway.util.IHeap
Method returns true if this heap contains no elements and false otherwise
isFalse(boolean) - Static method in class com.cometway.util.Assert
 
isFreeBlock() - Method in class com.cometway.om.FileObjectBlock
This method reads the dirty flag in the store file for this Block and returns true if it reports itself to be FREE.
isGreaterThanZero(int) - Static method in class com.cometway.util.Assert
 
isGreaterThanZero(long) - Static method in class com.cometway.util.Assert
 
isGreaterThanZero(double) - Static method in class com.cometway.util.Assert
 
isGreaterThanZero(float) - Static method in class com.cometway.util.Assert
 
isHeader(String) - Method in class com.cometway.net.ESMTPReceiver
 
isHeaderField(String) - Method in class com.cometway.email.MessageTools
 
isHeadRequest() - Method in class com.cometway.httpd.HTTPAgentRequest
Returns true if the request is a headers only request
isKeepAlive(AgentRequest) - Method in class com.cometway.httpd.HTTPFileServerAgent
Checks if the request given asks for a keep-alive
isNotEmpty(String) - Static method in class com.cometway.util.Assert
 
isNotEmpty(Object[]) - Static method in class com.cometway.util.Assert
 
isNotNull(Object) - Static method in class com.cometway.util.Assert
 
isNull(Object) - Static method in class com.cometway.util.Assert
 
ISO8601_DATEFORMAT - Static variable in class com.cometway.util.DateTools
 
ISO8601_DATEFORMAT - Static variable in class com.cometway.xml.XMLPropsListExportAgent
 
ISO8601_DATETIMEFORMAT - Static variable in class com.cometway.util.DateTools
 
ISO8601_TIMEFORMAT - Static variable in class com.cometway.util.DateTools
 
ISO8601_TIMEFORMAT - Static variable in class com.cometway.xml.XMLPropsListExportAgent
 
isProxied(String, String) - Method in class com.cometway.httpd.HTTPProxyAgent
Checks to see if a path is Proxied.
isQuotingChar(char) - Static method in class com.cometway.email.MessageTools
* Returns true if the char 'c' is a character commonly used for quoting.
isReadOnly() - Method in class com.cometway.jdbc.JDBCConnection
 
isRedirected(String, String) - Method in class com.cometway.httpd.HTTPRedirectAgent
 
isRequestType(String) - Method in class com.cometway.ak.AgentRequest
Returns true if this request's type matches the specified type; false otherwise.
isReservedKey(String) - Method in class com.cometway.swing.PropsTableModel
Returns true if the specified key is "agent_id", "name", "classname", "startup", "hide_println", "hide_warning" or "hide_debug".
isRunning - Variable in class com.cometway.email.SendEmailAgent
 
isRunning() - Method in class com.cometway.util.ExecuteCommand
 
isRunning - Variable in class com.cometway.util.InputStreamReaderKMethod
This flag is set to TRUE when this KMethod is being executed.
isTrue(boolean) - Static method in class com.cometway.util.Assert
 
isValid() - Method in interface com.cometway.util.ISchedule
Returns true if the schedule has been properly initialized.
isValid - Variable in class com.cometway.util.Schedule
 
isValid() - Method in class com.cometway.util.Schedule
This returns the validity of the current schedule
iterate(String) - Method in class com.cometway.props.PropsListIteratorAgent
Iterates over the specified PropsList calling handleRequest for each Props in the PropsList.
ITextBuffer - Interface in com.cometway.text
This interface defines an interface for reading and manipulating a buffer of text.
ITextBufferListener - Interface in com.cometway.text
Listener interface for receiving notifications about changes to text buffers.
ITextFinder - Interface in com.cometway.text
Interface for implementing an abstract text searching algorithm.
ITextPointerListener - Interface in com.cometway.text
Listener interface for receiving notifications about changes to a text pointer.

J

JDBCAgent - Class in com.cometway.jdbc
The JDBCAgent manages a JDBC connection and performs simple database tasks such as creating and dropping tables, and executing queries, inserts and updates.
JDBCAgent() - Constructor for class com.cometway.jdbc.JDBCAgent
 
jdbcCompliant() - Method in class com.cometway.jdbc.JDBCConnectionDriver
This driver is not JDBC Compliant.
JDBCConnection - Class in com.cometway.jdbc
This class implements a pool-able JDBCConnection.
JDBCConnection(String, Connection, JDBCConnectionPool, ReporterInterface) - Constructor for class com.cometway.jdbc.JDBCConnection
Users will probably not need to call the constructor directly; the connection is typically created by a ConnectionPoolManager.
JDBCConnection(String, String, String, String) - Constructor for class com.cometway.jdbc.JDBCConnection
 
jdbcConnection - Variable in class com.cometway.jdbc.JDBCExportAgent
 
JDBCConnectionDriver - Class in com.cometway.jdbc
The JDBCConnectionDriver class provides access to pooled JDBCConnections.
JDBCConnectionDriver(String, String, String, String, ReporterInterface) - Constructor for class com.cometway.jdbc.JDBCConnectionDriver
 
jdbcConnectionDriver - Variable in class com.cometway.jdbc.PooledJDBCAgent
 
JDBCConnectionPool - Class in com.cometway.jdbc
The JDBCConnectionPool manages pooled JDBCConnnections for the JDBCConnectionDriver.
JDBCConnectionPool(String, String, String, ReporterInterface) - Constructor for class com.cometway.jdbc.JDBCConnectionPool
Creates a JDBCConnectionPool using the given jdbcURL, username, password, and reporter.
JDBCConnectionPool(String, String, String, ReporterInterface, int) - Constructor for class com.cometway.jdbc.JDBCConnectionPool
Creates a JDBCConnectionPool using the given jdbcURL, username, password, reporter and pool size.
JDBCConnectionPool(String, String, String, ReporterInterface, boolean, int) - Constructor for class com.cometway.jdbc.JDBCConnectionPool
Creates a JDBCConnectionPool using the given jdbcURL, username, password, reporter, validation, and pool size.
JDBCCreateTableAgent - Class in com.cometway.jdbc
Creates a new table using the specified table name, and field properties.
JDBCCreateTableAgent() - Constructor for class com.cometway.jdbc.JDBCCreateTableAgent
 
JDBCDropTableAgent - Class in com.cometway.jdbc
Drops the specified SQL table.
JDBCDropTableAgent() - Constructor for class com.cometway.jdbc.JDBCDropTableAgent
 
JDBCExecutive - Class in com.cometway.jdbc
This agent executes SQL the command specified by sql_statement through a JDBC interface.
JDBCExecutive() - Constructor for class com.cometway.jdbc.JDBCExecutive
 
JDBCExportAgent - Class in com.cometway.jdbc
This agent exports the specified fields from a PropsList to the specified field and field types in a SQL table through a JDBC connection to the database.
JDBCExportAgent() - Constructor for class com.cometway.jdbc.JDBCExportAgent
 
JDBCObjectManager - Class in com.cometway.jdbc
This is the JDBC implementation of IObjectManager.
JDBCObjectManager(String, String, String, String) - Constructor for class com.cometway.jdbc.JDBCObjectManager
Creates a new instance of this object manager and connects to a database using the supplied parameters.
JDBCPropsContainer - Class in com.cometway.jdbc
 
JDBCPropsContainer(JDBCConnectionDriver, Vector, String, String) - Constructor for class com.cometway.jdbc.JDBCPropsContainer
 
JDBCServiceAgent - Class in com.cometway.jdbc
The JDBCAgent is a service that manages JDBC connections using the JDBC driver and URL specified in the properties.
JDBCServiceAgent() - Constructor for class com.cometway.jdbc.JDBCServiceAgent
 
JDBCToXMLAgent - Class in com.cometway.jdbc
This agent uses the JDBCAgent to access a relational database and output data from specified tables in XML format.
JDBCToXMLAgent() - Constructor for class com.cometway.jdbc.JDBCToXMLAgent
 
jGrep - Class in com.cometway.util
This class provides static methods for quick and easy regular expression matching and replacement.
jGrep(String, String, boolean) - Constructor for class com.cometway.util.jGrep
 

K

kAuthFailed - Static variable in class com.cometway.net.ESMTPSender
 
kBadESMTP - Static variable in class com.cometway.net.ESMTPSender
 
kBasicCommands - Static variable in class com.cometway.net.ESMTPReceiver
 
kCommandUnrecognized - Static variable in class com.cometway.net.ESMTPReceiver
 
kCommError - Static variable in class com.cometway.net.ESMTPSender
 
kCRLF - Static variable in class com.cometway.net.ESMTPReceiver
 
kCRLF - Static variable in class com.cometway.net.ESMTPSender
 
kDays - Static variable in class com.cometway.util.Schedule
 
kDaysPerWeek - Static variable in class com.cometway.util.DateTools
 
kDefaultBlockSize - Static variable in class com.cometway.net.ESMTPSender
 
kDefaultGreeting - Static variable in class com.cometway.net.ESMTPReceiver
 
kDefaultSMTPHostName - Static variable in class com.cometway.net.ESMTPSender
 
kDefaultSMTPPort - Static variable in class com.cometway.net.ESMTPSender
 
KEEP_ALIVE - Static variable in class com.cometway.httpd.ConnectionKMethod
 
KEEP_ALIVE_CONNECTION - Static variable in class com.cometway.net.HTTPRequest
* This is the KEEP ALIVE connection type
KEEP_ALIVE_FIELD - Static variable in class com.cometway.httpd.ConnectionKMethod
 
kError - Static variable in class com.cometway.net.ESMTPSender
 
key - Variable in class com.cometway.om.PropsQuery
This is the name of the parameter key to query.
key - Variable in class com.cometway.props.PropsComparator
 
key - Variable in class com.cometway.util.MapComparator
 
key_file - Variable in class com.cometway.net.HTTPLoader
 
key_file - Variable in class com.cometway.net.SecureHTTPLoader
This is the path and filename of the non-passphrased, PKCS8 encoded private key in PEM format.
kFailure - Static variable in class com.cometway.net.ESMTPSender
 
kHours - Static variable in class com.cometway.util.Schedule
 
kInitialState - Static variable in class com.cometway.net.ESMTPSender
 
kMail - Static variable in class com.cometway.net.ESMTPReceiver
 
KMethod - Class in com.cometway.util
KMethod is a wrapper for java.lang.reflect.Method.
KMethod(Runnable) - Constructor for class com.cometway.util.KMethod
Create a KMethod around a Runnable.
KMethod(Method, Object, Object[]) - Constructor for class com.cometway.util.KMethod
Create a KMethod around a java.lang.reflect.Method.
KMethod() - Constructor for class com.cometway.util.KMethod
Creates an empty KMethod.
kMinutes - Static variable in class com.cometway.util.Schedule
 
kMonths - Static variable in class com.cometway.util.Schedule
 
kMonthsPerYear - Static variable in class com.cometway.util.DateTools
 
kRcpt - Static variable in class com.cometway.net.ESMTPReceiver
 
kRset - Static variable in class com.cometway.net.ESMTPReceiver
 
kSeconds - Static variable in class com.cometway.util.Schedule
 
kSenderError - Static variable in class com.cometway.net.ESMTPSender
 
kSuccess - Static variable in class com.cometway.net.ESMTPSender
 
kSyntaxError - Static variable in class com.cometway.net.ESMTPReceiver
 
kWeeks - Static variable in class com.cometway.util.Schedule
 
kYears - Static variable in class com.cometway.util.Schedule
 

L

last() - Method in class com.cometway.email.ReceivePOP3EmailAgent
Returns the number of the highest message accesed.
lease() - Method in class com.cometway.jdbc.JDBCConnection
Called by the JDBCConnectionPool.
LENGTH_REQUIRED - Static variable in class com.cometway.httpd.WebServer
The server refuses to accept the request without a defined Content- Length.
LightBox - Class in com.cometway.swing
This agent displays a frame that contains Lights, or more accurately colored squares, that are drawn in a grid style array.
LightBox() - Constructor for class com.cometway.swing.LightBox
 
LIST_SUPPORTED_TYPES - Static variable in interface com.cometway.om.IObjectManager
This object can be passed to the listObjects method to return a Vector containing the full class names of ObjectTypes which are supported by the createObject method.
LIST_TYPES - Static variable in interface com.cometway.om.IObjectManager
This object can be passed to the listObjects method to return a Vector containing the ObjectTypes which currently exist in the object manager.
listMessage(int) - Method in class com.cometway.email.ReceivePOP3EmailAgent
This method lists a message on the POP3 server by its message number.
listMessages() - Method in class com.cometway.email.ReceivePOP3EmailAgent
Returns a vector of pairs.
listObjects(Object) - Method in class com.cometway.jdbc.JDBCObjectManager
Returns a Vector of objects designated by the objectQuery parameter.
listObjects(Object) - Method in class com.cometway.om.FileObjectManager
 
listObjects(Object) - Method in interface com.cometway.om.IObjectManager
Returns a Vector of objects designated by the objectQuery parameter.
listObjects(Object) - Method in class com.cometway.om.ObjectManager
Returns a Vector of objects designated by the objectQuery parameter.
listProps() - Method in class com.cometway.props.PropsList
Returns a List containing all of the Props contained by this List.
listProps(String, Object) - Method in class com.cometway.props.PropsList
Returns a List containing a subset of the Props contained by this list specified by a matching key and value.
listProps(String, Object, String) - Method in class com.cometway.props.PropsList
Returns a List containing a subset of the Props contained by this list specified by a matching key and value.
listPropsMatchingRegEx(String, String) - Method in class com.cometway.props.PropsList
Returns a List containing a subset of the Props contained by this list specified by a matching property containing a regular expression.
listPropsRegExMatching(String, String) - Method in class com.cometway.props.PropsList
Returns a List containing a subset of the Props contained by this list specified by a matching property containing a regular expression.
listServices(String, Object) - Method in class com.cometway.ak.SecureServiceManager.SecureServiceManagerImpl
Returns a List containing matching implementations for the specified service names.
listServices(String, Object) - Method in class com.cometway.ak.ServiceManager.ServiceManagerImpl
Returns a List containing matching implementations for the specified service names.
listServices(String, Object) - Method in interface com.cometway.ak.ServiceManagerInterface
Returns a List containing matching implementations for the specified service names.
listServices(String, Object) - Method in class com.cometway.props.PropsListServiceManager.PropsListServiceManagerImpl
Returns an implementation for the specified service name if one exists; null otherwise.
loadArchive() - Method in class com.cometway.om.ObjectManagerArchiver
 
loadArchive() - Method in class com.cometway.xml.ObjectManagerArchiver
 
loadDefaultMimeTypes() - Static method in class com.cometway.httpd.WebServer
 
loadFrames - Variable in class com.cometway.net.HTTPLoader
 
loadFrames(String) - Method in class com.cometway.net.HTTPLoader
* Loads pages from framesets embedded in the results and returns them inline.
loadFromFile(String) - Static method in class com.cometway.xml.XMLPropsList
Loads a Props List XML file into a Vector of Props.
loadMimeTypes(String) - Static method in class com.cometway.httpd.WebServer
 
loadProps(String) - Static method in class com.cometway.props.Props
Loads a Props from the specified plain text file.
loadPropsFromXMLFile(String, String) - Method in class com.cometway.xml.XMLRequestAgent
 
loadPropsList() - Method in class com.cometway.xml.XMLPropsList
 
localHost - Static variable in class com.cometway.net.ESMTPReceiver
 
localHostName - Static variable in class com.cometway.net.ESMTPReceiver
 
log(String) - Method in class com.cometway.io.FileLoggerAgent
Writes information given as a String input to log file.
log_debug - Variable in class com.cometway.io.FileReporter
 
log_error - Variable in class com.cometway.io.FileReporter
 
log_file - Variable in class com.cometway.io.LogMonitorAgent
 
log_println - Variable in class com.cometway.io.FileReporter
 
log_warning - Variable in class com.cometway.io.FileReporter
 
logCount - Variable in class com.cometway.io.FileLoggerAgent
 
logger - Variable in class com.cometway.httpd.WebServer
 
LoggingAPIReporter - Class in com.cometway.util
Each ReporterInterface method call is output using on of the appropriate Logging API methods defined by java.util.logging.Logger.
LoggingAPIReporter() - Constructor for class com.cometway.util.LoggingAPIReporter
 
LogMonitorAgent - Class in com.cometway.io
 
LogMonitorAgent() - Constructor for class com.cometway.io.LogMonitorAgent
 
LogMonitorAgent.FileReaderThread - Class in com.cometway.io
 
LogMonitorAgent.FileReaderThread() - Constructor for class com.cometway.io.LogMonitorAgent.FileReaderThread
 
logon(String, String) - Method in class com.cometway.email.ReceivePOP3EmailAgent
Sends the logon command to the POP3 server using the specified username and password.
logOut - Variable in class com.cometway.httpd.HTTPFileDownloadAgent
 
logOut - Variable in class com.cometway.httpd.HTTPThrottledFileServer
 
logSync - Variable in class com.cometway.io.FileLoggerAgent
 
LogViewerPage - Class in com.cometway.httpd
This agent registers itself into the ServiceManager and accepts http requests to view information stored in log files.
LogViewerPage() - Constructor for class com.cometway.httpd.LogViewerPage
 
longToBytes(long) - Static method in class com.cometway.util.ByteTools
 

M

mail(String, String, String, String) - Method in class com.cometway.net.ESMTPSender
 
main(String[]) - Static method in class com.cometway.ak.AK
Called with command line parameters to bootstrap the agent kernel.
main(String[]) - Static method in class com.cometway.email.EmailHeader
 
main(String[]) - Static method in class com.cometway.httpd.HTMLStringTools
 
main(String[]) - Static method in class com.cometway.httpd.HTTPDecoderStream
 
main(String[]) - Static method in class com.cometway.io.PushBackBufferedInputStream
 
main(String[]) - Static method in class com.cometway.net.Emailer
 
main(String[]) - Static method in class com.cometway.net.ESMTPReceiver
 
main(String[]) - Static method in class com.cometway.net.HTTPLoader
 
main(String[]) - Static method in class com.cometway.net.SecureHTTPLoader
This class can be called from the command line to retrieve a page.
main(String[]) - Static method in class com.cometway.om.FilePropsContainer
 
main(String[]) - Static method in class com.cometway.util.Assert
 
main(String[]) - Static method in class com.cometway.util.Base64Encoding
 
main(String[]) - Static method in class com.cometway.util.ExecuteCommand
 
main(String[]) - Static method in class com.cometway.util.jGrep
 
main(String[]) - Static method in class com.cometway.util.Schedule
 
main(String[]) - Static method in class com.cometway.util.StringScrambler
 
main(String[]) - Static method in class com.cometway.util.ThreadPool
 
main(String[]) - Static method in class com.cometway.xml.XMLFileParser
 
main(String[]) - Static method in class com.cometway.xml.XMLToken
 
makePooledThread() - Method in class com.cometway.util.ThreadPool
 
makeString(Pair) - Static method in class com.cometway.util.Pair
tries to construct the pair (first and second) from a string
MapComparator - Class in com.cometway.util
 
MapComparator(String) - Constructor for class com.cometway.util.MapComparator
 
mark(int) - Method in class com.cometway.httpd.HTTPDecoderStream
 
mark(int) - Method in class com.cometway.io.FixedLengthInputStream
 
mark(int) - Method in class com.cometway.io.PushBackBufferedInputStream
This functionality is not supported.
mark(int) - Method in class com.cometway.io.ReaderInputStream
 
markSupported() - Method in class com.cometway.httpd.HTTPDecoderStream
 
markSupported() - Method in class com.cometway.io.FixedLengthInputStream
 
markSupported() - Method in class com.cometway.io.PushBackBufferedInputStream
This method will always return true
markSupported() - Method in class com.cometway.io.ReaderInputStream
 
matches - Variable in class com.cometway.util.jGrep
 
max_threads - Variable in class com.cometway.util.ThreadPool
 
maximumLatency - Variable in class com.cometway.util.Schedule
maximumLatency: This is the maximum number of milliseconds this schedule can be delayed.
menu - Variable in class com.cometway.swing.AbstractJFrameAgent
 
menuActionListener - Variable in class com.cometway.swing.AbstractJFrameAgent
 
menuBar - Variable in class com.cometway.swing.AbstractJFrameAgent
 
message - Variable in class com.cometway.email.EmailListAgent
 
Message - Class in com.cometway.email
Message is an IMessage that represents an RFC822 compliant message.
Message() - Constructor for class com.cometway.email.Message
A constructor for creating an empty Message with empty 'To' and 'From' fields
Message(String) - Constructor for class com.cometway.email.Message
A constructor for creating a Message from a String
Message(String, String, String) - Constructor for class com.cometway.email.Message
A constructor for creating a Message with the specified 'To' and 'From' fields and message body
Message(String, String) - Constructor for class com.cometway.email.Message
A constructor for creating a Message with the specified headers and message body
MESSAGE - Static variable in class com.cometway.xml.MinRPCAgent
 
MessageAgent - Class in com.cometway.ak
A Message Agent is a Service Agent which implements the MessageAgentInterface.
MessageAgent() - Constructor for class com.cometway.ak.MessageAgent
 
MessageAgentInterface - Interface in com.cometway.ak
A standard interface for inter-agent communication.
messageQueue - Variable in class com.cometway.email.SendEmailAgent
 
MessageTools - Class in com.cometway.email
This helper class provides a suite of utility methods for accessing and changing an IMessage.
MessageTools() - Constructor for class com.cometway.email.MessageTools
 
MessageTools(IMessage) - Constructor for class com.cometway.email.MessageTools
 
META_HTTP_REGEXP - Static variable in class com.cometway.net.HTTPLoader
 
method - Variable in class com.cometway.util.KMethod
 
METHOD - Static variable in class com.cometway.xml.MinRPCAgent
 
METHOD_NOT_ALLOWED - Static variable in class com.cometway.httpd.WebServer
The method specified in the Request-Line is not allowed for the resource identified by the Request-URI.
MIME_TYPE - Static variable in class com.cometway.xml.XMLPropsList
 
mimeTypes - Static variable in class com.cometway.httpd.WebServer
 
MinRPCAgent - Class in com.cometway.xml
 
MinRPCAgent() - Constructor for class com.cometway.xml.MinRPCAgent
 
monthsTable - Static variable in class com.cometway.util.DateTools
 
MOVED - Static variable in class com.cometway.httpd.WebServer
The requested resource resides temporarily under a different URI.
MOVED_PERMANENTLY - Static variable in class com.cometway.httpd.WebServer
The requested resource has been assigned a new permanent URI and any future references to this resource SHOULD use one of the returned URIs.
moveFile(String, String) - Method in class com.cometway.io.MoveFileAgent
Moves the specified file if possible.
MoveFileAgent - Class in com.cometway.io
This agent deletes the files specified by delete_files.
MoveFileAgent() - Constructor for class com.cometway.io.MoveFileAgent
 
multihome - Variable in class com.cometway.httpd.WebServer
 
myHost - Variable in class com.cometway.net.ESMTPSender
 

N

name - Variable in class com.cometway.jdbc.JDBCPropsContainer
 
nativeSQL(String) - Method in class com.cometway.jdbc.JDBCConnection
 
needsToSave() - Method in class com.cometway.props.PropsList
Returns true if any of the data managed by this list has been changed.
nextBlock - Variable in class com.cometway.om.FileObjectBlock
 
nextElement() - Method in class com.cometway.util.Queue
 
nextElementContent() - Method in class com.cometway.xml.XMLParser
Returns the next token if it's type is XML.ELEMENT_CONTENT.
nextEmptyElementTag() - Method in class com.cometway.xml.XMLParser
Returns the next token if it's type is XML.EMPTY_ELEMENT_TAG.
nextEndTag() - Method in class com.cometway.xml.XMLParser
Returns the next token if it's type is XML.END_TAG.
nextID - Variable in class com.cometway.om.FileObjectManager
 
nextID - Variable in class com.cometway.util.ThreadPool
 
nextStartTag() - Method in class com.cometway.xml.XMLParser
Returns the next token if it's type is XML.START_TAG.
nextToken() - Method in class com.cometway.xml.XMLParser
This method returns the next parsed token from the source Stream.
nextToken(String) - Method in class com.cometway.xml.XMLParser
Returns the next token if it matches the specified data.
NO_CONTENT - Static variable in class com.cometway.httpd.WebServer
The server has fulfilled the request but does not need to return an entity-body, and might want to return updated metainformation.
NO_ROUTE_TO_HOST - Static variable in class com.cometway.httpd.HTTPCheckKMethod
No route was available to the host and port
noop() - Method in class com.cometway.email.ReceivePOP3EmailAgent
Sends a NOOP command to the POP3 server.
NOOP - Static variable in exception com.cometway.net.ESMTPException
 
noop() - Method in class com.cometway.net.ESMTPSender
 
NORMAL - Static variable in class com.cometway.io.VT100ConsoleReporter
 
NOT_IMPLEMENTED - Static variable in class com.cometway.httpd.WebServer
The server does not support the functionality required to fulfill the request.
NOT_MODIFIED - Static variable in class com.cometway.httpd.WebServer
If the client has performed a conditional GET request and access is allowed, but the document has not been modified, the server SHOULD respond with this status code.
notifyAgentsChanged() - Method in class com.cometway.swing.AgentTableModel
Call this method to indicate that the agent descriptions in the table have changed.
notifyPropsChanged(String) - Method in class com.cometway.props.Props
Can be called externally to manually send props changes messages to all registered IPropsChangeListeners.
notifyPropsChanged() - Method in class com.cometway.swing.PropsTableModel
Call this method to indicate that the values in the table have changed.
notifyPropsChangedIgnore(String, IPropsChangeListener) - Method in class com.cometway.props.Props
Can be called externally to manually send props changes messages to all registered IPropsChangeListeners, except the one passed.
notifyPropsChangedIgnore(String[], IPropsChangeListener) - Method in class com.cometway.props.Props
Can be called externally to manually send props changes messages to all registered IPropsChangeListeners, except the one passed.
num_threads - Variable in class com.cometway.util.ThreadPool
 
numConnections - Variable in class com.cometway.httpd.WebServer
 

O

obj - Variable in class com.cometway.util.KMethod
 
ObjectID - Class in com.cometway.om
This class uniquely identifies an Object contained within an ObjectManager.
ObjectID(String, String) - Constructor for class com.cometway.om.ObjectID
Object type and id parameters must be only alphanumeric characters including underscores ('_').
ObjectID(String) - Constructor for class com.cometway.om.ObjectID
Takes a fully qualified type/id string using the format "type|id".
ObjectManager - Class in com.cometway.om
Reference implementation of a non-persistent IObjectManager as an agent.
ObjectManager() - Constructor for class com.cometway.om.ObjectManager
 
ObjectManagerArchiver - Class in com.cometway.om
 
ObjectManagerArchiver() - Constructor for class com.cometway.om.ObjectManagerArchiver
 
ObjectManagerArchiver - Class in com.cometway.xml
 
ObjectManagerArchiver() - Constructor for class com.cometway.xml.ObjectManagerArchiver
 
ObjectSerializer - Class in com.cometway.util
This class has static methods that serialize and unserialize Objects to and from byte[] arrays.
ObjectSerializer() - Constructor for class com.cometway.util.ObjectSerializer
 
ObjectType - Class in com.cometway.om
This class represents a type of object recognized by the Object Manager.
ObjectType() - Constructor for class com.cometway.om.ObjectType
Default constructor.
ObjectType(String) - Constructor for class com.cometway.om.ObjectType
Constructor.
ObjectWriterThread - Class in com.cometway.jdbc
 
ObjectWriterThread(ThreadGroup) - Constructor for class com.cometway.jdbc.ObjectWriterThread
 
offset(int) - Method in class com.cometway.text.TextPointer
Offsets the current position of this TextPointer by the given parameter.
offset(int, int) - Method in class com.cometway.text.TextRange
Offsets the current range by offsetting the TextPointers pointing to the beginning and end of the range.
okResponse(String) - Method in class com.cometway.email.ReceivePOP3EmailAgent
Return true if input String starts with '+OK'.
okResponse() - Method in class com.cometway.email.ReceivePOP3EmailAgent
Returns true if the server returned '+OK'.
om - Variable in class com.cometway.om.AgentServer
 
om - Variable in class com.cometway.om.ObjectManagerArchiver
 
om - Variable in class com.cometway.om.SessionManager
 
om - Variable in class com.cometway.xml.ObjectManagerArchiver
 
openConnection() - Method in class com.cometway.email.ReceivePOP3EmailAgent
Opens a connection to the POP3 server for the agent to use.
openConnection() - Method in class com.cometway.net.HTTPLoader
* Opens a request connection.
openConnectionDriver() - Method in class com.cometway.jdbc.PooledJDBCAgent
 
openFrame() - Method in class com.cometway.swing.AbstractJFrameAgent
Creates, initializes, and opens a JFrame instance managed by this agent.
openFrame() - Method in class com.cometway.swing.LightBox
Creates and initializes the JFrame used to display the Light Box.
openFrame() - Method in class com.cometway.swing.PropsEditor
Creates and initializes the Props Editor JFrame.
openFrame() - Method in class com.cometway.swing.StartupEditor
Creates and initializes the Props Editor JFrame.
openLogFile() - Method in class com.cometway.io.LogMonitorAgent
 
openSocket() - Method in class com.cometway.net.HTTPLoader
* Opens a socket connection.
openSocket() - Method in class com.cometway.net.SecureHTTPLoader
Opens a socket connection.
OPTIONAL - Static variable in class com.cometway.xml.MinRPCAgent
 
org.apache.oro.text - package org.apache.oro.text
 
org.apache.oro.text.perl - package org.apache.oro.text.perl
 
otherHeaders - Variable in class com.cometway.net.HTTPRequest
* This is a Vector of Strings for user specific headers
out - Variable in class com.cometway.ak.AgentRequest
 
out - Variable in class com.cometway.io.FileLoggerAgent
 
out - Variable in class com.cometway.io.OutputStreamReporter
 
out - Variable in class com.cometway.io.PrintStreamReporter
 
out - Variable in class com.cometway.net.ESMTPReceiver
 
OutputStreamReporter - Class in com.cometway.io
This uses an OutputStream for directing reporting information.
OutputStreamReporter(OutputStream) - Constructor for class com.cometway.io.OutputStreamReporter
Constructor for combined println, debug, warning, and error output to one OutputStream.
OutputStreamReporter(OutputStream, OutputStream) - Constructor for class com.cometway.io.OutputStreamReporter
Constructor for sending println, debug reporting to one OutputStream, and warning and error output to another OutputStream.
OutputStreamReporter(OutputStream, OutputStream, String) - Constructor for class com.cometway.io.OutputStreamReporter
Constructor for sending println, debug reporting to one OutputStream, and warning and error output to another OutputStream.

P

Pair - Class in com.cometway.util
This class implements a tuple.
Pair() - Constructor for class com.cometway.util.Pair
 
Pair(Object, Object) - Constructor for class com.cometway.util.Pair
This constructor sets the first and second objects with the parameters.
pairCaseSensitiveSort(Vector) - Static method in class com.cometway.util.StringTools
Sorts Pairs within a vector based on the first object (which should be string)
pairSort(Vector) - Static method in class com.cometway.util.StringTools
Case-insensitive Sort of Pairs within a vector based on the first object (which should be string)
parentBlockIndex - Variable in class com.cometway.om.FileObjectBlock
 
parse(String, String) - Method in class com.cometway.props.Props
Parses the source using the specified pattern, setting the specified properties with their coresponding values.
parse(String) - Static method in class com.cometway.props.PropsSchema
Parses the formatted schema string and returns it as a List of Props.
parseAllMessages(Vector) - Method in class com.cometway.email.ReceivePOP3EmailAgent
Parses a Vector containing Pairs referencing message headers and bodies into a Vector of Hashtables containing message attributes including the message body.
parseArgs(String) - Static method in class com.cometway.util.StringTools
Takes a string and parses them into arguments, preserving backslashes and double quotes.
parseCommand(String) - Method in class com.cometway.net.ESMTPReceiver
 
parseCommand(String) - Method in interface com.cometway.util.ICommandParser
parse: method parses a command represented as a String of tokens, returning a String response.
parseData(Enumeration) - Method in class com.cometway.net.ESMTPReceiver
 
parseEhlo(Enumeration) - Method in class com.cometway.net.ESMTPReceiver
 
parseEmailAddress(String) - Static method in class com.cometway.email.EmailTools
This method parses the specified String typically containing the text contents from an email message header (ie: "Bob Smith" ) and returns two String components as a Pair.
parseHelo(Enumeration) - Method in class com.cometway.net.ESMTPReceiver
 
parseInfo(Hashtable, Hashtable, boolean) - Method in class com.cometway.httpd.LogViewerPage
Parses log file information in hash table, searches for patterns and stores matches.
parseInputStream(InputStream) - Static method in class com.cometway.xml.XMLPropsList
Loads a Props List XML document into a Vector of Props.
parseInputStream(InputStream) - Method in class com.cometway.xml.XMLPropsListImportAgent
Loads a Props List XML document into a Vector of Props.
parseISO8601String(String) - Static method in class com.cometway.util.DateTools
 
parseMail(String) - Method in class com.cometway.net.ESMTPReceiver
 
parseMessage(Pair) - Method in class com.cometway.email.ReceivePOP3EmailAgent
Parses the message header and body in the specified Pair into a Hashtable containing attributes, with the "body" attribute set to the specified body.
parseMessage(String, String) - Method in class com.cometway.email.ReceivePOP3EmailAgent
Parses the message header and body into a Hastable containing attributes, with the "body" attribute set to the specified body.
parseNonRFCMail(Enumeration) - Method in class com.cometway.net.ESMTPReceiver
 
parseNonRFCRcpt(Enumeration) - Method in class com.cometway.net.ESMTPReceiver
 
parseNoop(Enumeration) - Method in class com.cometway.net.ESMTPReceiver
 
parseQuit(Enumeration) - Method in class com.cometway.net.ESMTPReceiver
 
parseRcpt(String) - Method in class com.cometway.net.ESMTPReceiver
 
parseRset(Enumeration) - Method in class com.cometway.net.ESMTPReceiver
 
parseVrfy(Enumeration) - Method in class com.cometway.net.ESMTPReceiver
 
pattern - Variable in class com.cometway.util.jGrep
 
PooledJDBCAgent - Class in com.cometway.jdbc
 
PooledJDBCAgent() - Constructor for class com.cometway.jdbc.PooledJDBCAgent
 
PooledThread - Class in com.cometway.util
This is a Thread used by the ThreadPool class.
PooledThread(ThreadPool) - Constructor for class com.cometway.util.PooledThread
Creates a new PooledThread.
port - Variable in class com.cometway.httpd.HTTPCheckKMethod
 
port - Variable in class com.cometway.net.ESMTPSender
 
POST_REQUEST_TYPE - Static variable in class com.cometway.net.HTTPRequest
* This is the type for a POST request
postURL(String, Props) - Method in class com.cometway.net.HTTPLoader
Sends a POST request; HTTP parameters contained in a Props.
postURL(String, Props, OutputStream) - Method in class com.cometway.net.HTTPLoader
 
postURL(String, Vector, Vector) - Method in class com.cometway.net.HTTPLoader
Sends a POST request; HTTP parameters contained in Vectors.
postURL(String, Vector, Vector, OutputStream) - Method in class com.cometway.net.HTTPLoader
 
postURL(String, String) - Method in class com.cometway.net.HTTPLoader
Sends a POST request; HTTP parameters already encoded as String.
postURL(String, String, OutputStream) - Method in class com.cometway.net.HTTPLoader
 
postURL(String) - Method in class com.cometway.net.HTTPLoader
Sends a POST request; no HTTP parameters.
postURL(String, OutputStream) - Method in class com.cometway.net.HTTPLoader
 
postURL(String, File, String) - Method in class com.cometway.net.HTTPLoader
 
postURL(String, File, String, OutputStream) - Method in class com.cometway.net.HTTPLoader
 
PRECONDITION_FAILED - Static variable in class com.cometway.httpd.WebServer
The precondition given in one or more of the request-header fields evaluated to false when it was tested on the server.
prepareCall(String) - Method in class com.cometway.jdbc.JDBCConnection
 
prepareCall(String, int, int) - Method in class com.cometway.jdbc.JDBCConnection
 
prepareCall(String, int, int, int) - Method in class com.cometway.jdbc.JDBCConnection
 
prepareMessage() - Method in class com.cometway.net.ESMTPReceiver
prepareMessage() should occur before routeMessage() and deliverMessage()
prepareRequest(String) - Method in class com.cometway.net.HTTPLoader
* Prepares this object for a connection by parsing the target URL.
prepareStatement(String) - Method in class com.cometway.jdbc.JDBCConnection
 
prepareStatement(String, int, int) - Method in class com.cometway.jdbc.JDBCConnection
 
prepareStatement(String, String[]) - Method in class com.cometway.jdbc.JDBCConnection
 
prepareStatement(String, int) - Method in class com.cometway.jdbc.JDBCConnection
 
prepareStatement(String, int[]) - Method in class com.cometway.jdbc.JDBCConnection
 
prepareStatement(String, int, int, int) - Method in class com.cometway.jdbc.JDBCConnection
 
prevIndexOf(char, int) - Method in interface com.cometway.text.ITextBuffer
Returns the index of the previous occurence of the specified character starting at the specified location and continuing to the end of the buffer.
prevIndexOf(char, int) - Method in class com.cometway.text.StringTextBuffer
Returns the index of the previous occurence of the specified character starting at the specified location and continuing to the end of the buffer.
print(String) - Method in class com.cometway.ak.AgentRequest
Prints the String to the agent's standard OutputStream using a PrintWriter.
print(int) - Method in class com.cometway.httpd.HTMLFormWriter
Converts the integer to a String and writes it to the output.
print(String) - Method in class com.cometway.httpd.HTMLFormWriter
Prints the String to the output.
print(String) - Method in class com.cometway.httpd.HTTPAgentRequest
Prints String input and header information (content-type, etc.).
print(String) - Method in class com.cometway.net.Emailer
Print method.
print(String) - Method in class com.cometway.net.ESMTPSender
 
print(String) - Method in class com.cometway.om.FileObjectBlock
 
print(String) - Method in class com.cometway.om.FileObjectStore
 
print() - Method in class com.cometway.util.BinaryHeap
 
print(String) - Method in class com.cometway.util.KMethod
 
print(String) - Static method in class com.cometway.util.Schedule
 
print_errors - Variable in class com.cometway.util.KMethod
 
printBin(boolean[]) - Static method in class com.cometway.util.Base64Encoding
Prints a binary number.
printBin(boolean[]) - Static method in class com.cometway.util.StringScrambler
Prints a binary number.
println(String) - Method in class com.cometway.ak.Agent
Prints a message tagged with this agent's identity to the output stream.
println(String) - Method in interface com.cometway.ak.AgentInterface
Sends the message to the agent's standard output.
println() - Method in class com.cometway.ak.AgentRequest
Prints a newline to the agent's standard OutputStream using a PrintWriter.
println(String) - Method in class com.cometway.ak.AgentRequest
Prints the String followed by a newline to the agent's standard OutputStream using a PrintWriter.
println(Object, String) - Method in class com.cometway.email.EmailReporter
Use this method to report an event message.
println(int) - Method in class com.cometway.httpd.HTMLFormWriter
Converts the integer to a String and writes it to the output followed by a carriage return.
println(String) - Method in class com.cometway.httpd.HTMLFormWriter
Prints the String to the output followed by a carriage return.
println(String) - Method in class com.cometway.httpd.HTTPAgentRequest
Prints String and header information to HTML output.
println() - Method in class com.cometway.httpd.HTTPAgentRequest
 
println(Object, String) - Method in class com.cometway.io.FileReporter
Use this method to report an event message.
println(Object, String) - Method in class com.cometway.io.OutputStreamReporter
Use this method to report an event message.
println(Object, String) - Method in class com.cometway.io.PrintStreamReporter
Use this method to report an event message.
println(Object, String) - Method in class com.cometway.io.VT100ConsoleReporter
Use this method to report an event message.
println(String) - Method in class com.cometway.jdbc.JDBCConnection
Prints a message tagged with this connection's identity to the output stream.
println(String) - Method in class com.cometway.jdbc.JDBCConnectionDriver
Prints a message tagged with this connection's identity to the output stream.
println(String) - Method in class com.cometway.jdbc.JDBCConnectionPool
Prints a message tagged with this JDBCConnectionPool's identity to the output stream.
println(String) - Method in class com.cometway.net.HTTPLoader
* Prints a message to System.out
println(Object, String) - Method in class com.cometway.util.DevNullReporter
Does nothing.
println(Object, String) - Method in class com.cometway.util.LoggingAPIReporter
Use this method to report an event message.
println(Object, String) - Method in interface com.cometway.util.ReporterInterface
Use this method to report an event message.
println(Object, String) - Method in class com.cometway.util.SystemReporter
Use this method to report an event message.
println(Object, String) - Method in class com.cometway.util.TimeStampedReporter
Use this method to report an event message.
PRINTLN_AFTER - Static variable in class com.cometway.email.EmailReporter
 
PRINTLN_AFTER - Static variable in class com.cometway.io.FileReporter
 
PRINTLN_AFTER - Static variable in class com.cometway.io.PrintStreamReporter
 
PRINTLN_AFTER - Static variable in class com.cometway.io.VT100ConsoleReporter
 
PRINTLN_AFTER - Static variable in class com.cometway.util.SystemReporter
 
PRINTLN_AFTER - Static variable in class com.cometway.util.TimeStampedReporter
 
PRINTLN_BEFORE - Static variable in class com.cometway.email.EmailReporter
 
PRINTLN_BEFORE - Static variable in class com.cometway.io.FileReporter
 
PRINTLN_BEFORE - Static variable in class com.cometway.io.PrintStreamReporter
 
PRINTLN_BEFORE - Static variable in class com.cometway.io.VT100ConsoleReporter
 
PRINTLN_BEFORE - Static variable in class com.cometway.util.SystemReporter
 
PRINTLN_BEFORE - Static variable in class com.cometway.util.TimeStampedReporter
 
printlnReporter - Variable in class com.cometway.ak.Agent
This is a reference to the Reporter assigned to this agent for println output.
printLog(String, HTTPAgentRequest) - Method in class com.cometway.httpd.HTTPFileDownloadAgent
This method is used by this Agent to log bandwidth related information to the log file.
printLog(String, HTTPAgentRequest) - Method in class com.cometway.httpd.HTTPThrottledFileServer
This method is used by this Agent to log bandwidth related information to the log file.
printRedirect(HTTPAgentRequest, String, boolean) - Method in class com.cometway.httpd.HTTPFileServerAgent
Prints redirect information for a site to HTML output.
printStr - Variable in class com.cometway.net.HTTPLoader
 
PrintStreamReporter - Class in com.cometway.io
This implementation of ReporterInterface streams output using separate PrintStreams for println and debug messages, and warning and debug messages.
PrintStreamReporter() - Constructor for class com.cometway.io.PrintStreamReporter
 
printThreads() - Method in class com.cometway.httpd.WebServer
 
printTryAgain(HTTPAgentRequest) - Method in class com.cometway.httpd.HTTPThrottledFileServer
This method generates the message when the maximum number of connections has been reached.
priority - Variable in class com.cometway.util.ThreadPool
 
processCGIOutput(HTTPAgentRequest, StringBuffer) - Method in class com.cometway.httpd.HTTPcgi
 
processErr - Variable in class com.cometway.util.ExecuteCommand
Set this to the StringBuffer used to store the process' error output.
processErrThreads - Variable in class com.cometway.util.ExecuteCommand
Set this to the ThreadPool which is used to read the process' error output.
processLine(String) - Method in class com.cometway.io.LogMonitorAgent
 
processOut - Variable in class com.cometway.util.ExecuteCommand
Set this to the StringBuffer used to store the process' output.
processOutThreads - Variable in class com.cometway.util.ExecuteCommand
Set this to the ThreadPool which is used to read the process' output.
PRODUCT_NAME - Static variable in class com.cometway.ak.AK
This is the proper name of the Agent Kernel
propertyMatchesRegEx(String, String) - Method in class com.cometway.props.Props
Matches the string against the regular expression stored in the specified property.
props - Variable in class com.cometway.ak.Agent
Deprecated. use the getProps method if you need a Props reference.
props - Variable in class com.cometway.ak.AgentMessage
 
Props - Class in com.cometway.props
The Props object keeps track of a set of properties.
Props() - Constructor for class com.cometway.props.Props
Creates a new Props based on a PropsContainer.
Props(IPropsContainer) - Constructor for class com.cometway.props.Props
Creates a new Props based on a given IPropsContainer.
propsChanged(Props, String[]) - Method in interface com.cometway.props.IPropsChangeListener
Notifies this object that the Props have changed.
propsChangeListener - Variable in class com.cometway.props.PropsList
 
PropsComparator - Class in com.cometway.props
Enabled Props to be compared to other Props based on key values using the Collections API.
PropsComparator(String) - Constructor for class com.cometway.props.PropsComparator
 
PropsContainer - Class in com.cometway.props
A Props class can reference this generic PropsContainer for simple transient storage of properties.
PropsContainer() - Constructor for class com.cometway.props.PropsContainer
 
PropsEditor - Class in com.cometway.swing
This agent is used by the StartupEditor agent application.
PropsEditor() - Constructor for class com.cometway.swing.PropsEditor
 
PropsException - Exception in com.cometway.props
This exception is thrown by com.cometway.props classes when there is a problem.
PropsException(String) - Constructor for exception com.cometway.props.PropsException
Constructor for this exception.
PropsException(String, Exception) - Constructor for exception com.cometway.props.PropsException
Constructor for this exception.
propsList - Variable in class com.cometway.props.AbstractPropsPoolAgent
 
PropsList - Class in com.cometway.props
This class represents a list of Props stored in memory.
PropsList() - Constructor for class com.cometway.props.PropsList
 
propsList - Variable in class com.cometway.props.PropsList
 
propsList - Variable in class com.cometway.props.PropsListAgent
 
PropsListAgent - Class in com.cometway.props
This agent creates and registers a PropsList to the service manager.
PropsListAgent() - Constructor for class com.cometway.props.PropsListAgent
 
PropsListIteratorAgent - Class in com.cometway.props
This agent can be extended to iterate over a PropsList passing each Props value to the handleRequest method when the agent is started, or it's iterate method is called.
PropsListIteratorAgent() - Constructor for class com.cometway.props.PropsListIteratorAgent
 
PropsListServiceManager - Class in com.cometway.props
Reference implementation of the ServiceManagerInterface.
PropsListServiceManager() - Constructor for class com.cometway.props.PropsListServiceManager
 
PropsListServiceManager.PropsListServiceManagerImpl - Class in com.cometway.props
 
PropsListServiceManager.PropsListServiceManagerImpl() - Constructor for class com.cometway.props.PropsListServiceManager.PropsListServiceManagerImpl
 
propsPool - Variable in class com.cometway.props.AbstractPropsPoolAgent
 
PropsPoolInterface - Interface in com.cometway.props
This interface is for getting and returning a Props from a pool.
PropsQuery - Class in com.cometway.om
This is an ObjectQuery which queries Props objects.
PropsQuery(String, String, Object) - Constructor for