Exemplo n.º 1
0
        public CSTAConfirmationEvent Parse(IStructReader reader)
        {
            try
            {
                logger.Info("CSTASnapshotCallConfParser.Parse: eventType=CSTA_SNAPSHOT_CALL_CONF");

                CSTASnapshotCallConfEvent_t snapshotCall = new CSTASnapshotCallConfEvent_t
                {
                    snapshotData = ReadSnapshotCallData(reader)
                };

                CSTAConfirmationEvent cstaConfirmation = new CSTAConfirmationEvent {
                    u = { snapshotCall = snapshotCall }
                };

                return(cstaConfirmation);
            }
            catch (Exception err)
            {
                logger.Error(string.Format("Error in CSTASnapshotCallConfParser.Parse: {0}", err));
            }

            return(null);
        }
Exemplo n.º 2
0
 public SnapshotCallEventReturn(CstaConfirmationEvent a1, ATTEvent_t a2)
 {
     Csta = a1.snapshotCall;
     Att  = a2.snapshotCallConf;
 }