Call the observers of the specified sequence. */
| 729 | |
| 730 | /** Call the observers of the specified sequence. */ |
| 731 | void NetworkSequenceCollection::notify(const V& key) |
| 732 | { |
| 733 | switch (m_state) { |
| 734 | case NAS_ERODE: |
| 735 | case NAS_ERODE_WAITING: |
| 736 | case NAS_ERODE_COMPLETE: |
| 737 | AssemblyAlgorithms::erode(this, |
| 738 | m_data.getSeqAndData(key)); |
| 739 | break; |
| 740 | default: |
| 741 | // Nothing to do. |
| 742 | break; |
| 743 | } |
| 744 | } |
| 745 | |
| 746 | void NetworkSequenceCollection::handle( |
| 747 | int /*senderID*/, const SeqAddMessage& message) |