public string stringForType(mamaMsgType type) { EnsurePeerCreated(); return Marshal.PtrToStringAnsi(NativeMethods.mamaMsgType_stringForType((int)type)); }
public void onMsg (MamaSubscription subscription, MamaMsg msg) { if (quietness < 1) { Console.WriteLine("Recieved message of type " + msg.stringForType (msg.getType()) + " for " + subscription.subscSymbol); } }