epoc32/include/networkemulator/mucctransport.h
author William Roberts <williamr@symbian.org>
Wed, 31 Mar 2010 12:33:34 +0100
branchSymbian3
changeset 4 837f303aceeb
parent 2 2fe1408b6811
permissions -rw-r--r--
Current Symbian^3 public API header files (from PDK 3.0.h)
This is the epoc32/include tree with the "platform" subtrees removed, and
all but a selected few mbg and rsg files removed.
williamr@4
     1
/*
williamr@4
     2
* Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). 
williamr@4
     3
* All rights reserved.
williamr@4
     4
* This component and the accompanying materials are made available
williamr@4
     5
* under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
williamr@4
     6
* which accompanies this distribution, and is available
williamr@4
     7
* at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
williamr@4
     8
*
williamr@4
     9
* Initial Contributors:
williamr@4
    10
* Nokia Corporation - initial contribution.
williamr@4
    11
*
williamr@4
    12
* Contributors:
williamr@4
    13
*
williamr@4
    14
* Description:
williamr@4
    15
*
williamr@4
    16
*/
williamr@4
    17
williamr@4
    18
williamr@4
    19
/**
williamr@4
    20
 @file MUCCTransport.h
williamr@4
    21
*/
williamr@4
    22
williamr@4
    23
#ifndef __MUCCTRANSPORT_H__
williamr@4
    24
#define __MUCCTRANSPORT_H__
williamr@4
    25
williamr@4
    26
class MUCCTransport
williamr@4
    27
{
williamr@4
    28
public:
williamr@4
    29
	virtual ~MUCCTransport() {}
williamr@4
    30
	virtual TInt InitialiseL() = 0;
williamr@4
    31
	virtual TInt ConnectL( TDesC *aRemoteHost ) = 0;
williamr@4
    32
	virtual TInt RequestSend( TDesC8 *aData, const TUint aLength ) = 0;
williamr@4
    33
	virtual TInt RequestReceive( TPtr8 *aRecvBufferPtr, TUint aByteCount ) = 0;
williamr@4
    34
	virtual TInt Disconnect( void ) = 0;
williamr@4
    35
	virtual TInt Release( void ) = 0;
williamr@4
    36
	virtual TText8 *Error( void ) = 0;
williamr@4
    37
};
williamr@4
    38
williamr@4
    39
#endif // __MUCCTRANSPORT_H__