C# Class WireBus.WireContext

A context describing a received message and the ability to reply to it.
显示文件 Open project: bytenik/WireBus.NET

Public Methods

Method Description
Reply ( byte message ) : void

Reply to the message

ReplyAsync ( byte message ) : System.Threading.Tasks.Task

Reply to the message

Private Methods

Method Description
WireContext ( WireBusClient client, byte message ) : System
WireContext ( WireBusClient client, byte message, uint id ) : System

Method Details

Reply() public method

Reply to the message
non-replyable message
public Reply ( byte message ) : void
message byte the reply message data
return void

ReplyAsync() public method

Reply to the message
non-replyable message
public ReplyAsync ( byte message ) : System.Threading.Tasks.Task
message byte the reply message data
return System.Threading.Tasks.Task