diff -r 000000000000 -r dfb7c4ff071f datacommsserver/esockserver/esock_internal_messages/inc/LinkMessages.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/datacommsserver/esockserver/esock_internal_messages/inc/LinkMessages.h Thu Dec 17 09:22:25 2009 +0200 @@ -0,0 +1,89 @@ +// Copyright (c) 2006-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: +// Definitions for generic Link Tier messages. +// +// + +/** + @file + @internalTechnology +*/ + +#ifndef LINKMESSAGES_H +#define LINKMESSAGES_H + +#include + + +class TLinkMessage + { +public: + enum { ERealmId = 0x10281DE6 }; //same as agentcorepr + +private: + // + // Messages are grouped according to direction in an attempt to make it easier + // to decipher message direction whilst debugging. + // + enum + /** + Definition of generic Link Tier message ids + */ + { + // Flow -> SCPR + EAuthenticate = Messages::KNullMessageId + 1, + EFlowToAgentNotification = 2, + + // SCPR -> Flow + EAuthenticateResponse = 3, + EAgentToFlowNotification = 4, + + // AgentSCPr -> IPProtoSCPr + EAgentEventNotification = 10 + }; +public: + // + // Generic Link Tier Flow -> SCPR messages + // + // These are simple messages with no arguments. + + typedef Messages::TMessageSigVoid TAuthenticate; + + // Send a TCancel message to SCPR to cancel a previous TAuthenticateMsg + // (there is no specific CancelAuthenticate) + + // Notification message to Agent + typedef Messages::TMessageSigNumber TFlowToAgentNotification; + + + + // + // Generic Link Tier SCPR -> Flow messages + // + // These are simple messages with no arguments. + + typedef Messages::TMessageSigVoid TAuthenticateResponse; + + // Notification message to Flow + typedef Messages::TMessageSigNumber TAgentToFlowNotification; + + // + // AgentSCPr -> IPProtoSCPr + // + typedef Messages::TMessageSigNumberNumber TAgentEventNotification; + }; + +#endif +// LINKMESSAGES_H +