00001 // Copyright (c) 2000-2009 Nokia Corporation and/or its subsidiary(-ies). 00002 // All rights reserved. 00003 // This component and the accompanying materials are made available 00004 // under the terms of "Eclipse Public License v1.0" 00005 // which accompanies this distribution, and is available 00006 // at the URL "http://www.eclipse.org/legal/epl-v10.html". 00007 // 00008 // Initial Contributors: 00009 // Nokia Corporation - initial contribution. 00010 // 00011 // Contributors: 00012 // 00013 // Description: 00014 // Transient server example - test client interface 00015 // 00016 00017 #include "plugin.h" 00018 00019 class CClient : public CPlugIn<CClient> 00020 { 00021 public: 00022 virtual TInt Send(const TDesC& aMessage) =0; 00023 virtual void Receive(TRequestStatus& aStatus,TDes& aMessage) =0; 00024 virtual void CancelReceive() =0; 00025 protected: 00026 virtual ~CClient() {} 00027 }; 00028