diff -r 000000000000 -r a03f92240627 hti/HtiServicePlugins/HtiIpProxyServicePlugin/IPProxyEngine/Src/MProtocolObserverUDP.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/hti/HtiServicePlugins/HtiIpProxyServicePlugin/IPProxyEngine/Src/MProtocolObserverUDP.h Tue Feb 02 01:57:15 2010 +0200 @@ -0,0 +1,51 @@ +/* +* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: Callback functions for UDP protocol +* +*/ + + + +#ifndef MPROTOCOLOBSERVERUDP_H +#define MPROTOCOLOBSERVERUDP_H + +// INCLUDES +#include "MProtocolObserver.h" + +#include + +// CLASS DECLARATION + +/** +* Events for protocol. +*/ +NONSHARABLE_CLASS( MProtocolObserverUDP ) : public MProtocolObserver + { + + public: // Abstract functions + + /** + * Frame has been parsed. + * @param aPort Port number parsed from received frame. + * @param aData Data parsed from received frame. + */ + virtual void UDPFrameParsedL( + TUint aPort, + const TDesC8& aData ) = 0; + + }; + +#endif // MPROTOCOLOBSERVERUDP_H + +// End of File