From bf54b032893cf19eb6554ee07861a04ce2ce8624 Mon Sep 17 00:00:00 2001 From: fcolin Date: Thu, 1 Feb 2007 09:50:03 +0000 Subject: Utilisateur : Fcolin Date : 12/01/06 Heure : 12:53 Archivé dans $/CSharp/Ivy/Ivy Commentaire: (vss 6) --- CSharp/Ivy/Ivy/IvyTCPStreamV3.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'CSharp') diff --git a/CSharp/Ivy/Ivy/IvyTCPStreamV3.cs b/CSharp/Ivy/Ivy/IvyTCPStreamV3.cs index 229e37d..f5bf292 100644 --- a/CSharp/Ivy/Ivy/IvyTCPStreamV3.cs +++ b/CSharp/Ivy/Ivy/IvyTCPStreamV3.cs @@ -56,7 +56,7 @@ namespace IvyBus private void sendMsg(MessageType msgType, ushort msgId, string msgData) { #if DEBUG - Console.WriteLine(" sendMsg {0} id={1} data={2}", msgType, msgId, msgData); + Console.Error.WriteLine(" sendMsg {0} id={1} data={2}", msgType, msgId, msgData); #endif output.Write((ushort)msgType); @@ -172,7 +172,7 @@ namespace IvyBus msgId = DeserializeShort(); msgData = DeserializeString(MSG_END); #if DEBUG - Console.WriteLine(" receiveMsg {0} id={1} data={2}", msgType, msgId, msgData); + Console.Error.WriteLine(" receiveMsg {0} id={1} data={2}", msgType, msgId, msgData); #endif switch (msgType) { @@ -230,11 +230,11 @@ namespace IvyBus } - catch (EndOfStreamException nfe) + catch (EndOfStreamException) { return false; } - catch (FormatException nfe) + catch (FormatException) { throw new IvyException("protocol error on msgType"); } -- cgit v1.1