addI32() public method

Add a new 32 bit unsigned int field.
public addI32 ( string name, ushort fid, int val ) : void
name string
fid ushort
val int
return void
コード例 #1
0
ファイル: MamaInboxCS.cs プロジェクト: jacobraj/MAMA
		private void SendRequest()
		{
			try
			{
				MamaMsg msg = new MamaMsg();
				msg.addI32 ("field", 1, 32);

				publisher.sendFromInboxWithThrottle(inbox, msg, sendCompleteCallback, null);

				GC.KeepAlive(msg);
			}
			catch (MamaException e)
			{
				Console.WriteLine("Error sending request: {0}", e.ToString());
				Exit(1);
			}
		}