Пример #1
0
        /*----< main thread enqueues message for sending >-------------*/

        public void postMessage(CommMessage msg)
        {
            sndQ.enQ(msg);
        }
Пример #2
0
        /*----< called by remote Comm to upload file >-----------------*/

        public bool postFile(CommMessage msg)
        {
            return(sndr.postFile(msg));
        }
Пример #3
0
 public void postMessage(CommMessage msg)
 {
     rcvQ.enQ(msg);
 }