diff -r 000000000000 -r 4e1aa6a622a0 accessoryservices/remotecontrolfw/server/inc/bulkservermsgqueue.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/accessoryservices/remotecontrolfw/server/inc/bulkservermsgqueue.h Tue Feb 02 00:53:00 2010 +0200 @@ -0,0 +1,61 @@ +// Copyright (c) 2008-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: +// + + + +/** + @file + @internalComponent +*/ + +#ifndef BULKSERVERMSGQUEUE_H +#define BULKSERVERMSGQUEUE_H + +#include + +NONSHARABLE_STRUCT(TBulkClientInfo) + { + // Process Id is used to match bulk session with target session + TProcessId iProcessId; + + // Use to uniquely identify this client to allow bearers to address + TRemConClientId iRemConId; + + // This contains only the bulk APIs + RArray iInterestedAPIs; + + // This is used by the receiver to queue. Only the owner of this + // object may queue it. + TSglQueLink iClientInfoLink; + }; + +enum TBulkServerMsgType + { + // Sent upon bulk server creation to provide the control server which + // is used to map RemCon Client IDs between bulk and control sessions. + EControlServer = 0, + // Sent upon bulk server creation to provide the bearer manager which + // can be used to extract (or create) the bulk interfaces from the bearer. + EBearerManager = 1, + }; + +NONSHARABLE_STRUCT(TBulkServerMsg) + { + TBulkServerMsgType iType; + TAny* iData; + }; + +#endif // BULKSERVERMSGQUEUE_H +