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

A

accept(InetAddress) - Method in interface com.ccg.net.tcp.InetAddressFilter
Indicates whether the IP address be accepted or rejected.
accept(InetAddress) - Method in class com.ccg.net.tcp.MaskAndMatch
 
acceptExactMatch(InetAddress) - Static method in class com.ccg.net.tcp.InetAddressFilters
Get a IP filter which only "accepts" an IP address that matches a particular InetAddress exactly.
acceptLocalHost() - Static method in class com.ccg.net.tcp.InetAddressFilters
Get a IP filter which only "accepts" an IP address that is the local host (127.0.0.1).
acceptMaskAndMatch(InetAddress, InetAddress) - Static method in class com.ccg.net.tcp.InetAddressFilters
Get a IP filter which only "accepts" an IP address that matches a particular InetAddress exactly.
acceptThisHost() - Static method in class com.ccg.net.tcp.InetAddressFilters
Get a IP filter which only "accepts" IP addresses that corresponds to this host.
add(Object) - Method in class com.ccg.net.Dispatcher
One line summary...
add(Message.RecipientType, Address) - Method in class com.ccg.net.email.DistributionList
One line summary...
add(DistributionList) - Method in class com.ccg.net.email.DistributionList
 
add(Lookup, Message.RecipientType) - Method in class com.ccg.net.email.DistributionList
 
add(MimeType) - Method in class com.ccg.net.MimeTypes
One line summary...
addAttachment(String) - Method in class com.ccg.net.email.Mailer
Add a attachment to the outbound mail.
addParameter(Object, Object) - Method in class com.ccg.net.URLPost
Add a single name/value pair.
addParameters(Dictionary) - Method in class com.ccg.net.URLPost
Add a entire table of parameters.
addParameters(LookupKeyed) - Method in class com.ccg.net.URLPost
Add a entire table of parameters.
addReceiver(Receiver) - Method in class com.ccg.net.TransportNull
Allows any Receiver to view objects this Transport receives.
and(InetAddressFilter, InetAddressFilter) - Static method in class com.ccg.net.tcp.InetAddressFilters
A boolean AND of two different filters.
apply(Socket) - Method in class com.ccg.net.tcp.SocketOptions
Apply the settings to an open Socket connection.
apply(ServerSocket) - Method in class com.ccg.net.tcp.SocketOptions
Apply the settings to an open ServerSocket connection.
AuthenticatorSwing - Class in com.ccg.net.email
A "swing" based email authentication window (to be used in conjunction with Session objects).
AuthenticatorSwing() - Constructor for class com.ccg.net.email.AuthenticatorSwing
Construct the authentication object without associating a specific JFrame or JDialog object.
AuthenticatorSwing(JComponent, TagLookup) - Constructor for class com.ccg.net.email.AuthenticatorSwing
Construct the authentication object associated with a "owning" swing component (which we'll use when presenting the pop-up window).

B

BadAddressException - Exception in com.ccg.net.ethernet
Exception thrown when passed a bad value to decode a ethernet address from.
BadAddressException(String) - Constructor for exception com.ccg.net.ethernet.BadAddressException
Construct exception with a particular message.
buildMessage() - Method in class com.ccg.net.email.Mailer
Construct and send email message based on contents of bean.

C

Cat - Class in com.ccg.net.tcp
Program to "cat" data from a TCP connection (and test the URLConnection class.
Cat(String[]) - Constructor for class com.ccg.net.tcp.Cat
Standard CommandLineUtility constructor.
clearParameters() - Method in class com.ccg.net.URLPost
Remove all of the NAME/VALUE pairs that will be POSTed.
ClientGenerator - Interface in com.ccg.net
Not ready for prime time - please ignore for now.
close() - Method in class com.ccg.net.URLPostMultiPartForm
Closes all of the open connections.
com.ccg.net - package com.ccg.net
Classes Related to Networking.
com.ccg.net.email - package com.ccg.net.email
 
com.ccg.net.ethernet - package com.ccg.net.ethernet
Classes related to working with Ethernet addresses..
com.ccg.net.tcp - package com.ccg.net.tcp
TCP Network Related Classes.
connect(Object, Lookup) - Method in class com.ccg.net.Dispatcher
One line summary...
connect(URL, SocketOptions) - Static method in class com.ccg.net.tcp.URLConnection
Static method to open up a TCP connection.
connect() - Method in class com.ccg.net.tcp.URLConnection
Create the connection to the specified URL.
Connection - Interface in com.ccg.net
Not ready for prime time - please ignore for now.
ConnectionFailed - Exception in com.ccg.net
Exception indicating that connection could not be established.
ConnectionFailed() - Constructor for exception com.ccg.net.ConnectionFailed
Construct a ConnectionFailed exception with null as its message.
ConnectionFailed(String) - Constructor for exception com.ccg.net.ConnectionFailed
Construct a ConnectionFailed exception with a detailed message.
Connector - Class in com.ccg.net
Not ready for prime time - please ignore for now.
Connector() - Constructor for class com.ccg.net.Connector
Initializes object to...
connectToSmtpHost() - Method in class com.ccg.net.email.Mailer
One line summary...
create(DispatchNode, Object, Method) - Static method in class com.ccg.net.DispatchNode
 
createClient(Transport) - Method in interface com.ccg.net.ClientGenerator
Method to create a client object to associate with a Transport.
createClientSocket() - Method in class com.ccg.net.tcp.SocketOptions
Create a client socket object based upon the current settings in the bean.
createMessage() - Method in class com.ccg.net.email.Mailer
Creates a new message to be sent.
createSocket() - Method in class com.ccg.net.tcp.SimpleExpect
Create a Socket used for communications.
createSocket(TagLookup, String, int) - Method in class com.ccg.net.tcp.SocketOptions
Fully construct and initialize a TCP socket based on a set of properties.

D

DISABLE_SO_LINGER - Static variable in class com.ccg.net.tcp.SocketOptions
Used as a parameter to setSoLinger(int) to disable SO_LINGER.
dispatch(Transport, Object) - Method in class com.ccg.net.DispatchNode
 
Dispatcher - Class in com.ccg.net
Not ready for prime time - please ignore for now.
Dispatcher() - Constructor for class com.ccg.net.Dispatcher
Initializes object to...
DispatchNode - Class in com.ccg.net
 
distribute(Object) - Method in class com.ccg.net.TransportNull
One line summary...
DistributionList - Class in com.ccg.net.email
Class to manage a "distribution list" of zero of more email addresses.
DistributionList() - Constructor for class com.ccg.net.email.DistributionList
Initializes object to...

E

equals(Object) - Method in class com.ccg.net.ethernet.EthernetAddress
Determine if two ethernet address objects are "equal".
equals(Object) - Method in class com.ccg.net.MimeType
Determine if this type matches another type.
EthernetAddress - Class in com.ccg.net.ethernet
Manage ethernet address objects and provide a means to determine the ethernet address of the machine the JVM is running on.
EthernetAddress() - Constructor for class com.ccg.net.ethernet.EthernetAddress
Constructs object with "null values" (address of "0:0:0:0:0:0").

F

foo() - Static method in class com.ccg.net.Connector
 
formatInteger(long) - Method in class com.ccg.net.LineReceiverMonitor
Produce a integer format for a number.
formatTime(long) - Method in class com.ccg.net.LineReceiverMonitor
Format a date/time stamp.
formatTimeSpan(long) - Method in class com.ccg.net.LineReceiverMonitor
Format a duration (span of time).
fromBytes(byte[]) - Static method in class com.ccg.net.ethernet.EthernetAddress
Set the binary ID of your ethernet adapter.
fromMimeTypesString(String) - Static method in class com.ccg.net.MimeType
Creates a MimeType object from a ASCII line of text one might find in a /etc/mime.types files on a Unix System.
fromString(String) - Static method in class com.ccg.net.ethernet.EthernetAddress
Parse a ethernet address object from a string.
fromString(String) - Static method in class com.ccg.net.tcp.InetAddressFilters
A method to build a IP address filter from the contents of a string.

G

getAcceptCount() - Method in class com.ccg.net.tcp.Server
Get how many connections have been accepted.
getAddress(Lookup) - Static method in class com.ccg.net.email.DistributionList
One line summary...
getAllAdapters() - Static method in class com.ccg.net.ethernet.EthernetAddress
Get all of the ethernet addresses associated with the local machine.
getAuthenticator() - Method in class com.ccg.net.email.Mailer
Get the Authenticator used to prompt user for mail transport login ID/password (when required).
getBodyText() - Method in class com.ccg.net.email.Mailer
Get the text to appear in the main part of the body of the message.
getBytes() - Method in class com.ccg.net.ethernet.EthernetAddress
Get the binary ID of your ethernet adapter.
getCaptured() - Method in class com.ccg.net.tcp.SimpleExpect
Fetch the contents of the "capture buffer".
getCaptureMax() - Method in class com.ccg.net.tcp.SimpleExpect
Get the size of capture buffer which holds data read after run().
getCharsReceived() - Method in class com.ccg.net.LineReceiver
Get the number of ASCII characters received from the source.
getComponent() - Method in class com.ccg.net.LineReceiverMonitor
Get the graphical component which displays the status information.
getConnectDelayMillis() - Method in class com.ccg.net.LineReceiver
Get the number of milliseconds to delay between connection attempts.
getContentTypeFor(String) - Method in class com.ccg.net.MimeTypes
Looks up the content type identifier for a particular file extension.
getCount() - Method in class com.ccg.net.email.DistributionList
Get number of addresses in the distribution list.
getDateFormat() - Method in class com.ccg.net.LineReceiverMonitor
Get the date/time formatter to use for time stamps.
getDistributionList() - Method in class com.ccg.net.email.Mailer
Get the distribution list used when creating messages.
getExpectBytes() - Method in class com.ccg.net.tcp.SimpleExpect
Get the bytes we expect to receive from the host.
getFailedConnects() - Method in class com.ccg.net.LineReceiver
Get the number of times a connection attempt failed.
getFileExt() - Method in class com.ccg.net.MimeType
Get the typical file extension(s) associated with the mime type.
getFromAddress() - Method in class com.ccg.net.email.Mailer
Get the "from" address to be associated with each new message created.
getInetAddress() - Method in class com.ccg.net.tcp.SimpleExpect
Get the IP address to connect to
getInetAddress(String) - Static method in class com.ccg.net.tcp.SocketOptions
Helper method to convert string to internet address.
getInputStream() - Method in interface com.ccg.net.Connection
Get the InputStream for the method (if one exists).
getInputStream() - Method in class com.ccg.net.tcp.URLConnection
Get the InputStream to read data from the remote end.
getInputStream() - Method in class com.ccg.net.URLPostMultiPartForm
 
getInstance() - Static method in class com.ccg.net.URLConnections
Get access to the global URLConnections object
getInterpreter() - Method in class com.ccg.net.email.Mailer
Get the macro interpreter used to process text strings and files.
getLastException() - Method in class com.ccg.net.tcp.SimpleExpect
Get the Exception encountered during the last run.
getLineReceiver() - Method in class com.ccg.net.LineReceiverMonitor
Get the LineReceiver object which will be associated.
getLinesReceived() - Method in class com.ccg.net.LineReceiver
Get the number of ASCII text lines received from the source.
getLocalHost() - Method in class com.ccg.net.tcp.SocketOptions
Get the local host to connect to if creating a client socket.
getLocalInetAddress() - Method in class com.ccg.net.tcp.SimpleExpect
Get the local InetAddress to bind to.
getLocalPort() - Method in class com.ccg.net.tcp.SimpleExpect
Get the local port to bind to.
getLocalPort() - Method in class com.ccg.net.tcp.SocketOptions
Get the port number to connect to when making a local connection.
getMimeType(String) - Method in class com.ccg.net.MimeTypes
Validates a MIME type string by looking up MIME type object.
getMimeTypeForExt(String) - Method in class com.ccg.net.MimeTypes
Looks up the content type identifier for a particular file extension.
getMimeTypes() - Method in class com.ccg.net.email.Mailer
Get the MimeTypes used to map file name extensions to their corresponding MIME type.
getOutputStream() - Method in interface com.ccg.net.Connection
Get the InputStream for the method (if one exists).
getOutputStream() - Method in class com.ccg.net.tcp.URLConnection
Get the OutputStream to send data to the remote end.
getPasswordAuthentication() - Method in class com.ccg.net.email.AuthenticatorSwing
One line summary...
getPort() - Method in class com.ccg.net.tcp.Server
Get the TCP port number to listen for connections
getPort() - Method in class com.ccg.net.tcp.SimpleExpect
Get the TCP port to connect to
getPrecedingBytesReceived() - Method in class com.ccg.net.tcp.SimpleExpect
Get the number of bytes which preceded the "matched" expect sequence.
getPrimaryAdapter() - Static method in class com.ccg.net.ethernet.EthernetAddress
Try to determine the primary ethernet address of the machine.
getProperties(Properties, String) - Method in class com.ccg.net.tcp.SocketOptions
Set the value of the object from values specified in a TagLookup table.
getReceiveBufferSize() - Method in class com.ccg.net.tcp.SocketOptions
Get the transmit buffer size (in bytes).
getRecipientType(Lookup, Message.RecipientType) - Static method in class com.ccg.net.email.DistributionList
One line summary...
getRemoteHost() - Method in class com.ccg.net.tcp.SocketOptions
Get the remote host to connect to if creating a client socket.
getRemotePort() - Method in class com.ccg.net.tcp.SocketOptions
Get the port number to connect to when making a remote connection.
getReplyToAddress() - Method in class com.ccg.net.email.Mailer
Get the "reply-to" address to be associated with each new message created.
getRunMillis() - Method in class com.ccg.net.tcp.SimpleExpect
Get the number of milliseconds we actually waited.
getRunTimeSpan(TimeSpan) - Method in class com.ccg.net.LineReceiver
Get the thread run time.
getSendBufferSize() - Method in class com.ccg.net.tcp.SocketOptions
Get the transmit buffer size (in bytes).
getSendBytes() - Method in class com.ccg.net.tcp.SimpleExpect
Get the initial array of bytes that are to be written to the socket when opened.
getSession() - Method in class com.ccg.net.email.Mailer
Get the Session object used to connect to the mail transports.
getSmtpHost() - Method in class com.ccg.net.email.Mailer
Get the SMTP host to connect to.
getSmtpPassword() - Method in class com.ccg.net.email.Mailer
Get the SMTP user's password (if necessary).
getSmtpUser() - Method in class com.ccg.net.email.Mailer
Get the SMTP user login (not normally necessary).
getSocket() - Method in class com.ccg.net.tcp.URLConnection
Access the Socket which is established after URLConnection.connect(java.net.URL, com.ccg.net.tcp.SocketOptions) Typially one will just use the URLConnection.getInputStream() or URLConnection.getOutputStream() methods.
getSocketOptions() - Method in class com.ccg.net.tcp.Server
Get the socket options to apply to all incoming connections
getSocketOptions() - Method in class com.ccg.net.tcp.URLConnection
Get the socket options to apply to all incoming connections
getSoLinger() - Method in class com.ccg.net.tcp.SocketOptions
Get the linger time (in seconds).
getSoTimeout() - Method in class com.ccg.net.tcp.SocketOptions
Get the timeout value for the connection (in seconds).
getSource() - Method in class com.ccg.net.LineReceiver
Get the source of the network status to read information from.
getSubject() - Method in class com.ccg.net.email.Mailer
Get the subject to use in the outbound mail.
getSubType() - Method in class com.ccg.net.MimeType
Get the secondary Mime type (for example: "html" for "text/html").
getSuccessfulConnects() - Method in class com.ccg.net.LineReceiver
Get the number of times a successful connection has been made.
getTabPanels() - Method in class com.ccg.net.LineReceiverMonitor
Create and return the array of panels to be displayed.
getTotalBytesReceived() - Method in class com.ccg.net.tcp.SimpleExpect
Get the total number of bytes we received during the run.
getType() - Method in class com.ccg.net.MimeType
Get the primary Mime type (for example: "text" for "text/html").
getURL() - Method in class com.ccg.net.URLPost
Get the URL which we will open and post parameters to.
getURL() - Method in class com.ccg.net.URLPostMultiPartForm
Get the URL we communicate with
getURLInputStream() - Method in class com.ccg.net.URLCat
Fetch a InputStream to read data in from.
getUseCaches() - Method in class com.ccg.net.URLCat
Indicates whether we try to make use of HTTP cacheing.
getUseCaches() - Method in class com.ccg.net.URLPost
Indicates if we should use cached results if available.
getWaitMillis() - Method in class com.ccg.net.tcp.SimpleExpect
Get the number of milliseconds to wait for verification.

H

Handler - Class in com.ccg.net.tcp
A URLStreamHandler to handle the "tcp:" protocol.
Handler() - Constructor for class com.ccg.net.tcp.Handler
 
hashCode() - Method in class com.ccg.net.ethernet.EthernetAddress
Get a hash code for the object.
hashCode() - Method in class com.ccg.net.MimeType
Generate a hash code such that two objects which are equal produce the same hash code.

I

InetAddressFilter - Interface in com.ccg.net.tcp
Definition of a InetAddressFilter, which is used to accept/reject IP addresses.
InetAddressFilters - Class in com.ccg.net.tcp
Collection of standard IP address filters.
interpret(InputStream) - Method in class com.ccg.net.email.Mailer
Creates a new message to be sent.
isApplicationType() - Method in class com.ccg.net.MimeType
Is mime-type one of the "application/*" types.
isConnected() - Method in class com.ccg.net.LineReceiver
Is the connection to the source UP?
isDebugEnabled() - Method in class com.ccg.net.email.Mailer
Should debug output be generated from the Java Mail API code?
isExtSupported(String) - Method in class com.ccg.net.MimeType
Determine if the file extension in the string passed is associated with this mime type.
isFlushEnabled() - Method in class com.ccg.net.URLCat
Is should we flush the output as soon as data is received and written set?
isHexDump() - Method in class com.ccg.net.URLCat
Will a hex dump of the content received be done?
isImageType() - Method in class com.ccg.net.MimeType
Is mime-type one of the "image/*" types.
isNull() - Method in class com.ccg.net.ethernet.EthernetAddress
Check to see if all bytes of the ethernet address are zero.
isOK() - Method in class com.ccg.net.tcp.SimpleExpect
Is did the last run successfully verify the connection set?
isShutdown() - Method in class com.ccg.net.tcp.Server
Is server shutdown set?
isTcpNoDelay() - Method in class com.ccg.net.tcp.SocketOptions
Is whether TCP_NO_DELAY is enabled set?
isTextType() - Method in class com.ccg.net.MimeType
Is mime-type one of the "text/*" types.
isVideoType() - Method in class com.ccg.net.MimeType
Is mime-type one of the "video/*" types.

L

layoutField(StringBuffer, String, String, Object) - Method in class com.ccg.net.LineReceiver
A helper method to format output fields.
lineReceived(String) - Method in class com.ccg.net.LineReceiver
What to do with each line received from the server.
LineReceiver - Class in com.ccg.net
Base class for implementing ASCII text clients.
LineReceiver() - Constructor for class com.ccg.net.LineReceiver
Does the minimal initialization for the object.
LineReceiverMonitor - Class in com.ccg.net
A Swing monitor for the LineReceiver class.
LineReceiverMonitor() - Constructor for class com.ccg.net.LineReceiverMonitor
Constructs a new LineReceiverMonitor.
logError(String, Throwable) - Method in class com.ccg.net.LineReceiver
Log that a error condition has occurred.

M

Mailer - Class in com.ccg.net.email
Class to help in the creation and sending of email messages (uses Java Mail API).
Mailer() - Constructor for class com.ccg.net.email.Mailer
Initializes object to...
main(String[]) - Static method in class com.ccg.net.Connector
Main entry point into the application.
main(String[]) - Static method in class com.ccg.net.email.SendMail
Main entry point into the application.
main(String[]) - Static method in class com.ccg.net.SerializedCat
Main entry point into the application.
main(String[]) - Static method in class com.ccg.net.tcp.Cat
Main entry point into the application.
main(String[]) - Static method in class com.ccg.net.URLCat
Main entry point into the application.
MaskAndMatch - Class in com.ccg.net.tcp
 
MaskAndMatch(InetAddress, InetAddress) - Constructor for class com.ccg.net.tcp.MaskAndMatch
 
MIME_TYPE_SERIALIZED_OBJECT - Static variable in class com.ccg.net.URLPost
The mime type for serialized Java objects.
MimeType - Class in com.ccg.net
Representation of a MIME content type.
MimeType(String, String, String[]) - Constructor for class com.ccg.net.MimeType
Constructs a MimeType object with a type, subtype and optional set of file extensions typically associated with a mime type.
MimeTypes - Class in com.ccg.net
Used to keep track of a large set of MimeType objects (offering a mechanism to guess mime type from file extension).
MimeTypes() - Constructor for class com.ccg.net.MimeTypes
Initializes object to...
MimeTypes(MimeType[]) - Constructor for class com.ccg.net.MimeTypes
Create and initialize your own mime type object.
MissingProperties - Exception in com.ccg.net
Exception indicating that information is missing.
MissingProperties() - Constructor for exception com.ccg.net.MissingProperties
Construct a MissingProperties exception with null as its message.
MissingProperties(String) - Constructor for exception com.ccg.net.MissingProperties
Construct a MissingProperties exception with a detailed message.

N

newConnection(Socket) - Method in class com.ccg.net.tcp.Server
What to do with each incoming connection.
not(InetAddressFilter) - Static method in class com.ccg.net.tcp.InetAddressFilters
A boolean NOT of a particular filter.
NotSupported - Exception in com.ccg.net
Exception indicating that the desired operation is not supported.
NotSupported() - Constructor for exception com.ccg.net.NotSupported
Construct a NotSupported exception with null as its message.
NotSupported(String) - Constructor for exception com.ccg.net.NotSupported
Construct a NotSupported exception with a detailed message.
NULL - Static variable in class com.ccg.net.ethernet.EthernetAddress
Constant ethernet address object which has the "null address".

O

open(URL) - Method in class com.ccg.net.URLPost
Open a connection to a URL and POST parameters.
open() - Method in class com.ccg.net.URLPost
Open a connection to the URL and POST parameters.
open(URL, boolean) - Method in class com.ccg.net.URLPostMultiPartForm
Opens a URL connection.
openConnection(URL) - Method in class com.ccg.net.tcp.Handler
Attempt to create a URLConnection.
or(InetAddressFilter, InetAddressFilter) - Static method in class com.ccg.net.tcp.InetAddressFilters
A boolean OR of two different filters.

P

print(PrintWriter, String) - Method in class com.ccg.net.LineReceiver
A detailed "dump" of information about the state of the object.

R

receive() - Method in interface com.ccg.net.Transport
Method to receive a message from the other end of transport.
receive() - Method in class com.ccg.net.TransportNull
Method to receive a message from the other end of transport.
receive() - Method in class com.ccg.net.TransportStreams
One line summary...
received(Transport, Object) - Method in class com.ccg.net.Dispatcher
What to do with an Object received from a Transport This method handles the processing of objects which are received by a Transport.
received(Transport, Object) - Method in interface com.ccg.net.Receiver
What to do with an Object received from a Transport This method handles the processing of objects which are received by a Transport.
Receiver - Interface in com.ccg.net
Not ready for prime time - please ignore for now.
removeParameter(Object) - Method in class com.ccg.net.URLPost
Remove a NAME/VALUE pair.
run() - Method in class com.ccg.net.email.SendMail
One line summary...
run() - Method in class com.ccg.net.LineReceiver
Attempts to connect and receive lines of text from the source.
run() - Method in class com.ccg.net.LineReceiverMonitor
Does the actual transfer of information.
run() - Method in class com.ccg.net.SerializedCat
Does the actual reading and processing of the information.
run() - Method in class com.ccg.net.tcp.Cat
Main loop of the program.
run() - Method in class com.ccg.net.tcp.ServerThread
Background method to accept incoming connections.
run() - Method in class com.ccg.net.tcp.SimpleExpect
Try to establish and verify the connection.
run() - Method in class com.ccg.net.URLCat
Does the actual reading and processing of the information.

S

send(Serializable) - Method in interface com.ccg.net.Transport
Method to send a message to other end of transport.
send(Serializable) - Method in class com.ccg.net.TransportNull
Method to send a message to other end of transport.
send(Serializable) - Method in class com.ccg.net.TransportStreams
Method to send a message to other end of transport.
SendMail - Class in com.ccg.net.email
A simple utility to send mail messages from the command line.
SendMail(String[]) - Constructor for class com.ccg.net.email.SendMail
Initializes object to...
sendMessage(Message) - Method in class com.ccg.net.email.Mailer
One line summary...
SerializedCat - Class in com.ccg.net
Command line utility read serialized Java objects retrieved.
SerializedCat(String[]) - Constructor for class com.ccg.net.SerializedCat
Constructs the object with a set of command line arguments.
Server - Class in com.ccg.net.tcp
Fundamental building block for TCP servers.
Server() - Constructor for class com.ccg.net.tcp.Server
Initializes object to its default state.
ServerThread - Class in com.ccg.net.tcp
 
ServerThread(Server) - Constructor for class com.ccg.net.tcp.ServerThread
 
setAuthenticator(Authenticator) - Method in class com.ccg.net.email.Mailer
Set the Authenticator used to prompt user for mail transport login ID/password (when required).
setBodyFrom(InputStream, MimeType) - Method in class com.ccg.net.email.Mailer
Set the body of the text by doing a macro interpretation of a input stream.
setBodyText(String, MimeType) - Method in class com.ccg.net.email.Mailer
Set the text to appear in the main part of the body of the message.
setCaptureMax(int) - Method in class com.ccg.net.tcp.SimpleExpect
Set the capture buffer which holds data read after run().
setConnectDelayMillis(int) - Method in class com.ccg.net.LineReceiver
Set the number of milliseconds to delay between connection attempts.
setConnected(boolean) - Method in class com.ccg.net.LineReceiver
This method is invoked whenever the state of the connection changes.
setDateFormat(DateFormat) - Method in class com.ccg.net.LineReceiverMonitor
Set the date/time formatter to use for time stamps.
setDebugEnabled(boolean) - Method in class com.ccg.net.email.Mailer
Set whether debug output be generated from the Java Mail API code?
setExpectBytes(byte[]) - Method in class com.ccg.net.tcp.SimpleExpect
Set the bytes we expect to receive from the host.
setFlushEnabled(boolean) - Method in class com.ccg.net.URLCat
Set should we flush the output as soon as data is received and written.
setFromAddress(Address) - Method in class com.ccg.net.email.Mailer
Set the "from" address to be associated with each new message created.
setFromConfig(String) - Method in class com.ccg.net.email.Mailer
One line summary...
setFromLookup(Lookup) - Method in class com.ccg.net.email.Mailer
One line summary...
setHexDump(boolean) - Method in class com.ccg.net.URLCat
Set whether we should do a hex instead of a ASCII dump.
setInetAddress(InetAddress) - Method in class com.ccg.net.tcp.SimpleExpect
Set the IP address to connect to.
setInterpreter(AtMacros) - Method in class com.ccg.net.email.Mailer
Set the macro interpreter used to process text strings and files.
setLineReceiver(LineReceiver) - Method in class com.ccg.net.LineReceiverMonitor
Set the LineReceiver object which will be associated.
setLocalHost(InetAddress) - Method in class com.ccg.net.tcp.SocketOptions
Set the local host to connect to if creating a client socket.
setLocalInetAddress(InetAddress) - Method in class com.ccg.net.tcp.SimpleExpect
Set the local InetAddress to bind to.
setLocalPort(int) - Method in class com.ccg.net.tcp.SimpleExpect
Set the local port to bind to.
setLocalPort(int) - Method in class com.ccg.net.tcp.SocketOptions
Set the port number to connect to when making a local connection.
setMessageRecipients(Message) - Method in class com.ccg.net.email.DistributionList
One line summary...
setMimeTypes(MimeTypes) - Method in class com.ccg.net.email.Mailer
Set the MimeTypes used to map file name extensions to their corresponding MIME type.
setPort(int) - Method in class com.ccg.net.tcp.Server
Set the TCP port number to listen for connections
setPort(int) - Method in class com.ccg.net.tcp.SimpleExpect
Set the TCP port to connect to.
setProperties(TagLookup) - Method in class com.ccg.net.email.AuthenticatorSwing
Set the properties to be used when setting labels, formats, etc (optional).
setProperties(TagLookup) - Method in class com.ccg.net.tcp.Server
Set the value of the object from values specified in a TagLookup table.
setProperties(TagLookup) - Method in class com.ccg.net.tcp.SocketOptions
Set the value of the object from values specified in a TagLookup table.
setReceiveBufferSize(int) - Method in class com.ccg.net.tcp.SocketOptions
Set the transmit buffer size (in bytes).
setRemoteHost(InetAddress) - Method in class com.ccg.net.tcp.SocketOptions
Set the remote host to connect to if creating a client socket.
setRemotePort(int) - Method in class com.ccg.net.tcp.SocketOptions
Set the port number to connect to when making a remote connection.
setReplyToAddress(Address) - Method in class com.ccg.net.email.Mailer
Set the "reply-to" address to be associated with each new message created.
setSendBufferSize(int) - Method in class com.ccg.net.tcp.SocketOptions
Set the transmit buffer size (in bytes).
setSendBytes(byte[]) - Method in class com.ccg.net.tcp.SimpleExpect
Set the initial array of bytes that are to be written to the socket when opened.
setSession(Session) - Method in class com.ccg.net.email.Mailer
Set the Session object used to connect to the mail transports.
setSmtpHost(String) - Method in class com.ccg.net.email.Mailer
Set the SMTP host to connect to.
setSmtpPassword(String) - Method in class com.ccg.net.email.Mailer
Set the SMTP user's password (if necessary).
setSmtpUser(String) - Method in class com.ccg.net.email.Mailer
Set the SMTP user login (not normally necessary).
setSocketOptions(SocketOptions) - Method in class com.ccg.net.tcp.Server
Set the socket options to apply to all incoming connections This method allows one to specify a specific set of socket options (receive buffer size, send buffer size, etc), which should be applied to all incoming connections.
setSocketOptions(SocketOptions) - Method in class com.ccg.net.tcp.URLConnection
Set the socket options to apply to all incoming connections This method allows one to specify a specific set of socket options (receive buffer size, send buffer size, etc), which should be applied to all incoming connections.
setSoLinger(int) - Method in class com.ccg.net.tcp.SocketOptions
Set the linger time (in seconds).
setSoTimeout(int) - Method in class com.ccg.net.tcp.SocketOptions
Set the timeout value for the connection (in milliseconds).
setSource(String) - Method in class com.ccg.net.LineReceiver
Set the source of the network status to read information from.
setSubject(String) - Method in class com.ccg.net.email.Mailer
Set the subject to use in the outbound mail.
setTcpNoDelay(boolean) - Method in class com.ccg.net.tcp.SocketOptions
Set whether TCP_NO_DELAY is enabled.
setURL(URL) - Method in class com.ccg.net.URLPost
Set the URL which we will open and post parameters to.
setUseCaches(boolean) - Method in class com.ccg.net.URLCat
Set should we enable the use of HTTP caches?
setUseCaches(boolean) - Method in class com.ccg.net.URLPost
Set whether we should use cached results if available.
setValues(Socket) - Method in class com.ccg.net.tcp.SocketOptions
Fetch the TCP settings from an open Socket.
setWaitMillis(int) - Method in class com.ccg.net.tcp.SimpleExpect
Set the number of milliseconds to wait for verification.
shutdown() - Method in class com.ccg.net.LineReceiver
Try to gracefully stop the background thread.
SimpleExpect - Class in com.ccg.net.tcp
A very simple implementation of a "send/expect" checking object.
SimpleExpect() - Constructor for class com.ccg.net.tcp.SimpleExpect
Default object constructor.
SocketOptions - Class in com.ccg.net.tcp
A handy "bean" type wrapper around the standard Socket options.
SocketOptions() - Constructor for class com.ccg.net.tcp.SocketOptions
 
start() - Method in class com.ccg.net.tcp.Server
Starts the Server.
startReceiving(Transport) - Method in class com.ccg.net.Dispatcher
One line summary...
stop() - Method in class com.ccg.net.tcp.Server
Attempt to gracefully shutdown the server.

T

toMimeTypesString() - Method in class com.ccg.net.MimeType
Return the mime type in a string form as one might find in "/etc/mime.types".
toString() - Method in class com.ccg.net.email.DistributionList
 
toString() - Method in class com.ccg.net.email.Mailer
One line summary...
toString() - Method in class com.ccg.net.ethernet.EthernetAddress
Get the string representation of the ethernet address.
toString() - Method in class com.ccg.net.MimeType
Returns the standard "mime" looking string of the mime type (like: "text/html").
toString() - Method in class com.ccg.net.tcp.Server
Get the name/tag of the server.
toString() - Method in class com.ccg.net.tcp.SocketOptions
Get String representation of the object.
toString() - Method in class com.ccg.net.URLPost
Return the string representation of the object.
Transport - Interface in com.ccg.net
Not ready for prime time - please ignore for now.
TransportNull - Class in com.ccg.net
Not ready for prime time - please ignore for now.
TransportNull() - Constructor for class com.ccg.net.TransportNull
Initializes object to...
TransportStreams - Class in com.ccg.net
Not ready for prime time - please ignore for now.
TransportStreams(InputStream, OutputStream) - Constructor for class com.ccg.net.TransportStreams
Initializes object to...

U

UNKNOWN - Static variable in class com.ccg.net.MimeType
Constant for the "unknown/unknown" mime type (when we don't know the mime type).
update() - Method in class com.ccg.net.LineReceiverMonitor
Safely transfer values from the object to the AWT component.
URLCat - Class in com.ccg.net
Command line utility to fetch document data, status or info from a URL.
URLCat(String[]) - Constructor for class com.ccg.net.URLCat
Constructs the object with a set of command line arguments.
URLConnection - Class in com.ccg.net.tcp
Implementation of a URLConnection for TCP connections.
URLConnection(URL) - Constructor for class com.ccg.net.tcp.URLConnection
Initializes object with a standard URL This method is used to initialize the connection, however, no attempt will be made for a connection until the URLConnection.connect(java.net.URL, com.ccg.net.tcp.SocketOptions), URLConnection.getInputStream(), or URLConnection.getOutputStream() methods are invoked.
URLConnections - Class in com.ccg.net
Loads all of the URL connection types supported.
URLConnections() - Constructor for class com.ccg.net.URLConnections
Used to construct the single global instance of the class
URLPost - Class in com.ccg.net
Class designed to communicate with a HTTP server by posting arguments.
URLPost() - Constructor for class com.ccg.net.URLPost
Initializes object with no information.
URLPostMultiPartForm - Class in com.ccg.net
Class designed to communicate with a HTTP server like a multi-part form.
URLPostMultiPartForm() - Constructor for class com.ccg.net.URLPostMultiPartForm
 

W

writeEndParam() - Method in class com.ccg.net.URLPostMultiPartForm
 
writeFileParam(String, File) - Method in class com.ccg.net.URLPostMultiPartForm
Write a entire FILE to the server.
writeStartParam(String) - Method in class com.ccg.net.URLPostMultiPartForm
 
writeStringParam(String, String) - Method in class com.ccg.net.URLPostMultiPartForm
Write a single string parameter NAME/VALUE pair to the server.

Z

zero() - Method in class com.ccg.net.LineReceiver
Zero's out the internal counts/status information of the object.

_

_AcceptCount - Variable in class com.ccg.net.tcp.Server
Holds how many connections have been accepted.
_Port - Variable in class com.ccg.net.tcp.ServerThread
 
_Server - Variable in class com.ccg.net.tcp.ServerThread
 
_ServerSocket - Variable in class com.ccg.net.tcp.ServerThread
 
_Shutdown - Variable in class com.ccg.net.tcp.ServerThread
 

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

Copyright 1998-1998-2006 null. All Rights Reserved.