Logo Search packages:      
Sourcecode: vdccm version File versions

rapiproxyconnection.h

//
// C++ Interface: rapiproxyconnection
//
// Description:
//
//
// Author: Volker Christian <voc@users.sourceforge.net>, (C) 2006
//
// Copyright: See COPYING file that comes with this distribution
//
//
#ifndef RAPIPROXYCONNECTION_H
#define RAPIPROXYCONNECTION_H

/**
      @author Volker Christian <voc@users.sourceforge.net>
*/
class RapiConnection;
class RapiProxy;
class RapiProvisioningClient;
class NetSocket;

class RapiProxyConnection{
public:
    RapiProxyConnection(RapiConnection *rapiConnection, RapiProxy *rapiProxy, RapiProvisioningClient *rapiProvisioningClient);

    ~RapiProxyConnection();

    void messageToDevice();
    void messageToApplication();
    void forwardMessage(NetSocket *from, NetSocket *to);
    void writeEnabled(NetSocket *where);

    void provisioningClientInitialized();
    void provisioningClientNotInitialized();

    private:
        RapiConnection *rapiConnection;
        RapiProxy *rapiProxy;
        RapiProvisioningClient *rapiProvisioningClient;
        unsigned int mtuWH;
        unsigned char *forwardBuffer;
};

#endif

Generated by  Doxygen 1.6.0   Back to index