1  //!-- UTF8
     2  /*
     3   Oregano Multiuser Server - Version 1.2.0 - January 4th, 2005
     4   
     5  	Web:  www.oregano-server.org
     6  	Mail: info@oregano-server.org
     7   
     8  	Copyright 2003 - 2004 - 2004 Jens Halm / Cologne, Germany
     9   
    10   This library is free software; you can redistribute it and/or
    11   modify it under the terms of the GNU Lesser General Public
    12   License as published by the Free Software Foundation; either
    13   version 2.1 of the License, or (at your option) any later version.
    14   
    15   This library is distributed in the hope that it will be useful,
    16   but WITHOUT ANY WARRANTY; without even the implied warranty of
    17   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
    18   Lesser General Public License for more details.
    19   
    20   You should have received a copy of the GNU Lesser General Public
    21   License along with this library; if not, write to the Free Software
    22   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    23  */
    24  
    25  /*
    26   -------------------------------------------
    27  	Classe Socket
    28   
    29  	@description :
    30  	Rajoute des fonctionnalités à XMLSocket.
    31   
    32   
    33  	@author Jens Halm copyright http://www.spicefactory.org/
    34  	@author erixtekila copyleft http://www.v-i-a.net  
    35   -------------------------------------------
    36  	version history :
    37  	1.2.0 : 05/02/05
    38  			- Portage en actionscript 2 pour le
    39  			compile time type checking
    40   -------------------------------------------
    41   */
    42  
    43  
    44  
    45  /**
    46   *	Cette classe gère l'écriture pour les éléments de requête SQL.
    47   *
    48   *	@author Jens Halm copyright http://www.spicefactory.org/
    49   *	@author erixtekila copyleft http://www.v-i-a.net 
    50   *	@version 1.2.0
    51   */
    52  class org.omus.util.Socket extends XMLSocket
    53  {
    54  	//--------------------
    55  	// PROPRIETES
    56  	//--------------------
    57  	/**
    58  	 *	Pour la reconnection en cas de cluster.
    59  	 */
    60  	public var active:Boolean;
    61  	
    62  	//--------------------
    63  	// CONSTRUCTEUR
    64  	//--------------------
    65  	/**
    66  	 *	Classe enveloppe de XMLSocket.
    67  	 */
    68  	public function Socket ()
    69  	{
    70  		super();
    71  		
    72  		// trace(this+ " installé.");
    73  	}
    74  	
    75  	//--------------------
    76  	// METHODES PUBLIQUES
    77  	//--------------------
    78  	/**
    79  	 *	Utilisé dans un contexte littéral
    80  	 *	@return	Une chaine définissant l'objet
    81  	 */
    82  	public function toString():String
    83  	{
    84  		return "[Objet Socket]";
    85  	}
    86  	
    87  	//--------------------
    88  	// METHODES PRIVEES
    89  	//--------------------
    90  	
    91  	
    92  	//--------------------
    93  	// METHODES STATIQUES
    94  	//--------------------
    95  	/**
    96  	 *	Utilisé dans un contexte littéral
    97  	 *
    98  	 *	@return Une chaine définissant l'objet.
    99  	 */
   100  	public static function toLog():String
   101  	{
   102  		return "[Objet Socket]";
   103  	}
   104  }
   105