示例#1
0
 public bool RemoveStreamData(StreamData record)
 {
     if (Streams.Contains(record))
     {
         Streams.Remove(record);
         ClearCredentials(record);
         return(true);
     }
     return(false);
 }
示例#2
0
        private bool ClearCredentials(StreamData record)
        {
            Frame outputCredential = (Frame)OutputCredentials[record.Port];

            return(outputCredential.ClearVirtualContainer(record.VcLevel, record.HigherPath, record.LowerPath));
        }
示例#3
0
        private bool CheckStreamData(StreamData record)
        {
            VirtualContainer vc = new VirtualContainer(record.VcLevel);

            return(OutputCredentials[record.Port].SetVirtualContainer(record.VcLevel, record.HigherPath, record.LowerPath, vc));
        }