token.msg

来自「simulation tokenring network」· MSG 代码 · 共 48 行

MSG
48
字号
//
// This file is part of an OMNeT++/OMNEST simulation example.
//
// Copyright (C) 1992-2005 Andras Varga
//
// This file is distributed WITHOUT ANY WARRANTY. See the file
// `license' for details on this and other legal matters.
//


enum TRTypes
{
    TR_TOKEN = 1;
    TR_FRAME = 2;
};


//
// Application data.
//
message TRApplicationData
{
    fields:
       int destination;
       string data;
};


//
// The token.
//
message TRToken
{
    fields:
};


//
// Data frame on the Token Ring LAN.
//
message TRFrame
{
    fields:
       int source;
       int destination;
};

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?