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 - client interface 00015 // 00016 00017 #ifndef __T_CLIENT_H__ 00018 #define __T_CLIENT_H__ 00019 00020 #include <e32std.h> 00021 00022 class RMySession : public RSessionBase 00023 { 00024 public: 00025 IMPORT_C TInt Connect(); 00026 IMPORT_C TInt Send(const TDesC& aMessage); 00027 IMPORT_C void Receive(TRequestStatus& aStatus,TDes& aMessage); 00028 IMPORT_C void CancelReceive(); 00029 }; 00030 00031 #endif