C# Class Microsoft.Zing.ReceiveEvent

This event is generated when a process consumes a message. State.GetEvents
A receive event is generated when a process consumes a message from a channel. The channel is available as a uint value corresponding to its Zing pointer. The message data is available as an object. The channel type is also available, primarily as a means of accessing the type name.
Inheritance: ZingEvent
Show file Open project: ZingModelChecker/Zing

Public Methods

Method Description
ToString ( ) : string

Formats the Receive event showing the channel type, number, and message data.

ToXml ( XmlElement parent ) : void

Private Methods

Method Description
ReceiveEvent ( ZingSourceContext context, ZingAttribute contextAttribute, ZingChan chan, object data ) : System
ReceiveEvent ( ZingSourceContext context, ZingAttribute contextAttribute, ZingChan chan, object data, int SerialNumber ) : System

Method Details

ToString() public method

Formats the Receive event showing the channel type, number, and message data.
public ToString ( ) : string
return string

ToXml() public method

public ToXml ( XmlElement parent ) : void
parent System.Xml.XmlElement
return void