Arcane  v3.14.10.0
Documentation utilisateur
Chargement...
Recherche...
Aucune correspondance
SerializeMessage.cc
1// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
2//-----------------------------------------------------------------------------
3// Copyright 2000-2022 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com)
4// See the top-level COPYRIGHT file for details.
5// SPDX-License-Identifier: Apache-2.0
6//-----------------------------------------------------------------------------
7/*---------------------------------------------------------------------------*/
8/* SerializeMessage.cc (C) 2000-2020 */
9/* */
10/* Message utilisant un SerializeBuffer. */
11/*---------------------------------------------------------------------------*/
12/*---------------------------------------------------------------------------*/
13
14#include "arcane/SerializeMessage.h"
15
16/*---------------------------------------------------------------------------*/
17/*---------------------------------------------------------------------------*/
18
19namespace Arcane
20{
21
22/*---------------------------------------------------------------------------*/
23/*---------------------------------------------------------------------------*/
24
25SerializeMessage::
26SerializeMessage(Int32 orig_rank,Int32 dest_rank,eMessageType mtype)
27: BasicSerializeMessage(MessageRank(orig_rank),MessageRank(dest_rank),
28 _toP2PType(mtype),new SerializeBuffer())
29{
30}
31
32/*---------------------------------------------------------------------------*/
33/*---------------------------------------------------------------------------*/
34
35SerializeMessage::
36SerializeMessage(Int32 orig_rank,MessageId message_id)
37: BasicSerializeMessage(MessageRank(orig_rank),message_id,new SerializeBuffer())
38{
39}
40
41/*---------------------------------------------------------------------------*/
42/*---------------------------------------------------------------------------*/
43
44} // End namespace Arcane
45
46/*---------------------------------------------------------------------------*/
47/*---------------------------------------------------------------------------*/
-*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-