Example #1
0
        public static GtsMsgHeader GetHeader(byte[] bytes)
        {
            GtsMsgHeader header = new GtsMsgHeader();

            if (-1 == header.DeserializeToStruct(bytes, 0))
            {
                return(null);
            }
            return(header);
        }
Example #2
0
        public byte u8Completed;                                /*完成标志*/

        public MsgGtsa2GtsmFulCompleteInd()
        {
            header     = new GtsMsgHeader();
            u8FileName = new byte[GtsMsgType.MAX_FILE_PATH_NAME_LENGTH];
        }
Example #3
0
 public MsgGtsa2GtsmFilterResetRsp()
 {
     header = new GtsMsgHeader();
 }
Example #4
0
 public MsgGtsm2GtsaFilterResetReq()
 {
     header = new GtsMsgHeader();
 }
Example #5
0
 public MsgGtsa2GtsmLogonRsp()
 {
     header = new GtsMsgHeader();
 }
Example #6
0
 public MsgGtsm2GtsaLogonReq()
 {
     u8MacAddr = new byte[6];
     header    = new GtsMsgHeader();
 }
Example #7
0
        public byte[] u8Data;                                      /*NBT使用的DIAG断开信息*/

        public MsgGtsm2GtsaQuitInd()
        {
            u8Data = new byte[GtsMsgType.MAX_DIAG_MSG_LEN];
            header = new GtsMsgHeader();
        }
Example #8
0
        public ushort u16ProcId;                                        /*处理器号,暂时不用,以后扩展*/

        public MsgGtsm2GtsaAddFlowReq()
        {
            header    = new GtsMsgHeader();
            u8PcIpAdd = new byte[GtsMsgType.IP_ADDRESS_LEN_V6];
        }
Example #9
0
        public byte[] u8TraceControl;                                                   /*跟踪开关*/

        public MsgGtsm2GtsaTraceCtrlReq()
        {
            header         = new GtsMsgHeader();
            u8TraceControl = new byte[GtsMsgType.MAX_TRACE_NUM];
        }
Example #10
0
 public MsgGtsm2GtsaDspTraceCtrlReq()
 {
     header = new GtsMsgHeader();
 }
Example #11
0
 public MsgGtsa2GtsmTraceCtrlRsp()
 {
     header = new GtsMsgHeader();
 }
Example #12
0
        public StruFdlData struFileData;                                                /*数据部分*/

        public MsgGtsm2GtsaFdlReq()
        {
            header       = new GtsMsgHeader();
            u8Padding    = new byte[2];
            struFileData = new StruFdlData();
        }
Example #13
0
        public StruFdlEndInfo struFileData;                                             /*数据部分*/

        public MsgGtsa2GtsmFdlCompleteInd()
        {
            header       = new GtsMsgHeader();
            u8Padding    = new byte[2];
            struFileData = new StruFdlEndInfo();
        }
Example #14
0
        public uint[] u32FilterOpcode;                              /*过滤条件*/

        public MsgGtsm2GtsaFilterRuleReq()
        {
            header          = new GtsMsgHeader();
            u32FilterOpcode = new uint[100];
        }
Example #15
0
        public int s32Result;                                   /*建链结果,0为成功,1为失败*/

        public MsgGtsa2GtsmAddFlowRsp()
        {
            header = new GtsMsgHeader();
        }
Example #16
0
        public byte[] u8FileName;                                       /*文件名*/

        public MsgGtsm2GtsaFulReq()
        {
            header     = new GtsMsgHeader();
            u8FileName = new byte[GtsMsgType.MAX_FILE_PATH_NAME_LENGTH];
        }
Example #17
0
 public MsgGtsm2GtsaFulRsp()
 {
     header    = new GtsMsgHeader();
     u8Padding = new byte[3];
 }
Example #18
0
 public MsgGtsm2GtsaAliveRpt()
 {
     header = new GtsMsgHeader();
     u8Pad  = new byte[2];
 }