/* ====================================================================
 * The Vovida Software License, Version 1.0 
 * 
 * Copyright (c) 2000 Vovida Networks, Inc.  All rights reserved.
 * 
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions
 * are met:
 * 
 * 1. Redistributions of source code must retain the above copyright
 *    notice, this list of conditions and the following disclaimer.
 * 
 * 2. Redistributions in binary form must reproduce the above copyright
 *    notice, this list of conditions and the following disclaimer in
 *    the documentation and/or other materials provided with the
 *    distribution.
 * 
 * 3. The names "VOCAL", "Vovida Open Communication Application Library",
 *    and "Vovida Open Communication Application Library (VOCAL)" must
 *    not be used to endorse or promote products derived from this
 *    software without prior written permission. For written
 *    permission, please contact vocal@vovida.org.
 *
 * 4. Products derived from this software may not be called "VOCAL", nor
 *    may "VOCAL" appear in their name, without prior written
 *    permission of Vovida Networks, Inc.
 * 
 * THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESSED OR IMPLIED
 * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND
 * NON-INFRINGEMENT ARE DISCLAIMED.  IN NO EVENT SHALL VOVIDA
 * NETWORKS, INC. OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT DAMAGES
 * IN EXCESS OF $1,000, NOR FOR ANY INDIRECT, INCIDENTAL, SPECIAL,
 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
 * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
 * DAMAGE.
 * 
 * ====================================================================
 * 
 * This software consists of voluntary contributions made by Vovida
 * Networks, Inc. and many individuals on behalf of Vovida Networks,
 * Inc.  For more information on Vovida Networks, Inc., please see
 * <http://www.vovida.org/>.
 *
 */
$Id: README,v 1.3.2.1 2003/03/28 05:26:03 bko Exp $

For information about licensing, please see the LICENSE file in this
directory, or http://www.vovida.org/license.html .

This directory include Vovida implementation of COPS stack.

               Implementation details about the LS functions 
The only LS functions that are supported in this release are related to 
the Peer-to-Peer connection management using OPEN msg and maintaining the
Finite State Machine (FSM).

LSSessionManager implements the Peer-Peer session management.It listens
on port 6069 for any connection request from remote LS.Once a connection is
accepted it creates a LSSendOnlySession, LSReceiveOnlySession or
LSSendReceiveSession object (PeerSession object) based on the capability 
supported by the LS.The PeerSession object then initiates the FSM, handles
the OPEN message and establishes a Peer session with remote LS.

Example shows a Peer-Peer session establised.
    try
    {
        cpLogSetPriority(7);
        ///ITAD is 1234
        LSSessionManager& manager = LSSessionManager::instance(1234);
        //This will run the manager in separate thread which will read
        //lsconf.cfg to connect to LS server
        manager.threadRun();
        while(1)
        {
            //To Keep the SessionManager alive
            sleep(2);
        }
    }
    catch(VException& e)
    {
        cerr << "Caught exception:" << e.getDescription().c_str() << endl;
    }



File tripclass.pdf file contains the class diagram for the TRIPCore and
LSFunctions.

The Stack Complies with Solaris with (g++ 2.95 and earlier) and 
Linux Red Hat 6.2 (gcc 2.95)

Please see the ChangeLog for bug fixes, functionality enhancements,  of 
Release 0.1

For information about licensing, please see the LICENSE file in this
directory, or http://www.vovida.org/license.html .

======================================================================

Copyright 2000-2003, Cisco Systems, Inc.
THE INFORMATION HEREIN IS PROVIDED ON AN "AS IS" BASIS, WITHOUT ANY
WARRANTIES OR REPRESENTATIONS, EXPRESS, IMPLIED OR STATUTORY, INCLUDING
WITHOUT LIMITATION, WARRANTIES OF NONINFRINGEMENT, MERCHANTABILITY OR
FITNESS FOR A PARTICULAR PURPOSE.

$Id: README,v 1.3.2.1 2003/03/28 05:26:03 bko Exp $
