SourceCode/Bond/Servo/CGlass.cpp
@@ -84,6 +84,20 @@
      return m_pPath;
   }
   CPath* CGlass::getPathWithSiteId(unsigned int nSiteId)
   {
      CPath* pTemp = m_pPath;
      while (pTemp != nullptr) {
         if (pTemp->getSiteID() == nSiteId) {
            return pTemp;
         }
         pTemp = pTemp->getNext();
      }
      return nullptr;
   }
   void CGlass::addPath(unsigned int nSiteId)
   {
      CPath* pPath = new CPath(nSiteId);
@@ -182,4 +196,20 @@
   {
      return m_strBuddyId;
   }
   void CGlass::processEnd(unsigned int nSiteId)
   {
      CPath* pPath = getPathWithSiteID(nSiteId);
      if (pPath != nullptr) {
         pPath->processEnd();
      }
   }
   BOOL CGlass::isProcessed(unsigned int nSiteId)
   {
      CPath* pPath = getPathWithSiteID(nSiteId);
      if (pPath == nullptr) return FALSE;
      return pPath->isProcessEnd();
   }
}