- The Syllabus describes topics to be covered, reading material for you to digest before coming to class, and due dates for the assigned projects.
-
Projects:
Project #3, Project #4
Project3HelpF2018 Project4HelpF2018 -
Asynchronous Communication
Asynchronous Systems Presentation, pptx,BasicNetThreadDemos Queued Messages
Deposit messages in a queue for later retrieval by another thread.WPF Thread Demos
Illustrates use of (1) threads, and (2) asynch awaits to implement long running activities and displaying results in a WPF window.Abstract Task Model
Illustrates basic use of C# Tasks.Basic Tasks
Explores asynchronous processing, using Tasks, with combinations of inputs and outputs, and also use of continuations.async await Pattern
Shows how to use asynch await emphasizing the affect of await's continuation.Asynchronous Calls Demo
Use delegates asynchronous BeginInvoke and EndInvoke methods.Form with BeginInvoke
Use the same asynchronous delegate, but now dequeue with a UI thread.ThreadPool Demo
Dispatch work items to members of a thread pool.Form's BackgroundWorker
The Form provided BackgroundWorker wraps the use of a ThreadPool to simplify a developer's implementation. You can use the BackgroundWorker with WPF, accorting to this blog post -
Queueing
-
Another interesting way of implementing message passing:
Cell-based message passing, Blog Discussion
This demo grew out of the prototype linked below.ADAM-Wrapper-Prototype, updated with Comm component
All message handlers, e.g., virtually all parts, inherit from AWrapper, except for UIs that already inherit implementation from Form. UIs need to create a message handler that does inherit from AWrapper. -
Peer-to-Peer Prototype
Illustrates use of bilateral remoting with SingleCall activation to establish Peer-To-Peer communication. - Software Structure, pptx
- Software Structure Research, pptx
- Software Design, ppt