Package com.ccg.net

Classes Related to Networking.

See:
          Description

Interface Summary
ClientGenerator Not ready for prime time - please ignore for now.
Connection Not ready for prime time - please ignore for now.
Receiver Not ready for prime time - please ignore for now.
Transport Not ready for prime time - please ignore for now.
 

Class Summary
Connector Not ready for prime time - please ignore for now.
Dispatcher Not ready for prime time - please ignore for now.
DispatchNode  
LineReceiver Base class for implementing ASCII text clients.
LineReceiverMonitor A Swing monitor for the LineReceiver class.
MimeType Representation of a MIME content type.
MimeTypes Used to keep track of a large set of MimeType objects (offering a mechanism to guess mime type from file extension).
SerializedCat Command line utility read serialized Java objects retrieved.
TransportNull Not ready for prime time - please ignore for now.
TransportStreams Not ready for prime time - please ignore for now.
URLCat Command line utility to fetch document data, status or info from a URL.
URLConnections Loads all of the URL connection types supported.
URLPost Class designed to communicate with a HTTP server by posting arguments.
URLPostMultiPartForm Class designed to communicate with a HTTP server like a multi-part form.
 

Exception Summary
ConnectionFailed Exception indicating that connection could not be established.
MissingProperties Exception indicating that information is missing.
NotSupported Exception indicating that the desired operation is not supported.
 

Package com.ccg.net Description

Classes Related to Networking.

This package contains classes which are related to networking. Unfortunately, there is very little of it which is usable at the moment (I've been sidetracked from creating a generic client/server protocol).

However, there are still a few points of interest, which are functional (though not well documented). This includes:

URLCat
A command line utility to fetch document data, status or info from a web server - this can be pretty handy at times.

SerializedCat
A command line utility to fetch serialized java objects and display them from a variety of sources (files, servlets, TCP servers etc). This can be handy when testing.

LineReceiver
A handy base class when you are creating a simple client application which needs to read (no write) ASCII lines of text broadcasted by a server. Server can be http, servlet, TCP, etc.

URLPost
A handy class when you need to POST arguments to a HTTP server during your request.

com.ccg.net.tcp
A useful package for working with TCP connections. This package provides a "tcp://HOST:PORT" URL as well as a nice framework for creating TCP based client/server applications.

License/Use Information

The license text below the dashed line pertains to the "com/ccg" and
"com/include" libraries, documentation, executable binaries, and the
source code as distributed in this package by Paul Blankenbaker
(paul@mekwin.com).

------------------------------------------------------------------------------
This software is copyrighted by Paul Blankenbaker, Global
Atmospherics, Inc. and Unified Technologies, Inc., and other parties.
The following terms apply to all files associated with the software
unless explicitly disclaimed in individual files.

The authors hereby grant permission to use, copy, modify, distribute,
and license this software and its documentation for any purpose, provided
that existing copyright notices are retained in all copies and that this
notice is included verbatim in any distributions. No written agreement,
license, or royalty fee is required for any of the authorized uses.
Modifications to this software may be copyrighted by their authors
and need not follow the licensing terms described here, provided that
the new terms are clearly indicated on the first page of each file where
they apply.

IN NO EVENT SHALL THE AUTHORS OR DISTRIBUTORS BE LIABLE TO ANY PARTY
FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
ARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY
DERIVATIVES THEREOF, EVEN IF THE AUTHORS HAVE BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.

THE AUTHORS AND DISTRIBUTORS SPECIFICALLY DISCLAIM ANY WARRANTIES,
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT.  THIS SOFTWARE
IS PROVIDED ON AN "AS IS" BASIS, AND THE AUTHORS AND DISTRIBUTORS HAVE
NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR
MODIFICATIONS.

RESTRICTED RIGHTS: Use, duplication or disclosure by the government
is subject to the restrictions as set forth in subparagraph (c) (1) (ii)
of the Rights in Technical Data and Computer Software Clause as DFARS
252.227-7013 and FAR 52.227-19.



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