/**
 * @file
 * $Id$
 * $Revision$
 * $Author$
 * $Date$
 *
 * This file is part of The iWear Framework.
 *
 * The iWear Framework is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by the
 * Free Software Foundation as in version 2 of the License.

 * 
 * The iWear Framework is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
 * more details.
 * 
 * You should have received a copy of the GNU General Public License along with
 * The iWear Framework; if not, write to the Free Software Foundation, Inc., 59
 * Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */

#ifndef __IWREMOTE_SOCKETCONNECTIONDESCRIPTOR_H
#define __IWREMOTE_SOCKETCONNECTIONDESCRIPTOR_H

#include <iwremote/connectiondescriptor.h>
#include <iwremote/socketremoteconnection.h>

namespace iwear
{
    namespace net
    {

/**
 * For a SocketRemoteConnection we dont need to do anything else for now. But
 * for other connection types we might need to dynamically instantiate a new
 * connection, or do some magic on them before it is beeing usable, since not
 * all might properly support reconnect() out of the box when created (although
 * they should, and do themselves what is then done here, so maybe we can get
 * rid of this additional layer one day.)
 */
class SocketConnectionDescriptor: public ConnectionDescriptor
{
private:
protected:
public:
    /**
     * This returns the RemoteConnection that has been set by the connection
     * that created this Descriptor and is responsible for it.
     */
//    virtual RemoteConnection* get_connection( void ) { return remote_con; }

    SocketConnectionDescriptor( SocketRemoteConnectionPtr r) : ConnectionDescriptor(r) { }

    virtual ~SocketConnectionDescriptor() {}

    /**
     * We still need to specify the information returned on this
     */
    virtual void get_connection_features( void ) { }
};


}
}
#endif
