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 Wed Oct 13 16:17:58 2010 +0300
@@ -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 <e32def.h>
+
+// 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