DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 4 of 4

Thread: Events -vs- Messages

  1. #1
    Ken Guest

    Events -vs- Messages


    I have a simple question. What are the basic differences between events and
    messages? To me, they appear to do the same thing.

    Thanks in advance.
    Ken

  2. #2
    Michael Gautier Guest

    Re: Events -vs- Messages

    Depending on the context, an event is a message with a particular
    notification mechanism (event handlers, delegates, etc). Messages are a more
    general term that is used to describe events, asynchronous message
    callbacks, and other techniques for notification (files, databases, message
    queues, etc.).

    "Ken" <terryken@erols.com> wrote in message
    news:3e9b0b6a$1@tnews.web.devx.com...
    >
    > I have a simple question. What are the basic differences between events

    and
    > messages? To me, they appear to do the same thing.
    >
    > Thanks in advance.
    > Ken




  3. #3
    Ken Guest

    Re: Events -vs- Messages


    So one way to look at it is that messages use an event mechanism for transporting
    it.

    "Michael Gautier" <gautier_michael@hotmail.com> wrote:
    >Depending on the context, an event is a message with a particular
    >notification mechanism (event handlers, delegates, etc). Messages are a

    more
    >general term that is used to describe events, asynchronous message
    >callbacks, and other techniques for notification (files, databases, message
    >queues, etc.).
    >
    >"Ken" <terryken@erols.com> wrote in message
    >news:3e9b0b6a$1@tnews.web.devx.com...
    >>
    >> I have a simple question. What are the basic differences between events

    >and
    >> messages? To me, they appear to do the same thing.
    >>
    >> Thanks in advance.
    >> Ken

    >
    >



  4. #4
    luo.gelin Guest

    Re: Events -vs- Messages


    I would rather say that event is a logic concept while message turn to be
    a physical stuff. A message can be used to carry an event.

    "Michael Gautier" <gautier_michael@hotmail.com> wrote:
    >Depending on the context, an event is a message with a particular
    >notification mechanism (event handlers, delegates, etc). Messages are a

    more
    >general term that is used to describe events, asynchronous message
    >callbacks, and other techniques for notification (files, databases, message
    >queues, etc.).
    >
    >"Ken" <terryken@erols.com> wrote in message
    >news:3e9b0b6a$1@tnews.web.devx.com...
    >>
    >> I have a simple question. What are the basic differences between events

    >and
    >> messages? To me, they appear to do the same thing.
    >>
    >> Thanks in advance.
    >> Ken

    >
    >



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center