From 3b9a1f75387d365e1bcfe18daedc673d91b85b8e Mon Sep 17 00:00:00 2001 From: fcolin Date: Thu, 1 Feb 2007 10:01:52 +0000 Subject: Utilisateur : Fcolin Date : 12/01/06 Heure : 12:53 Archivé dans $/CSharp/Ivy/Ivy Commentaire: (vss 6) --- CSharp/Ivy/IvyPPC/IvyTCPStreamV3.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'CSharp/Ivy/IvyPPC') diff --git a/CSharp/Ivy/IvyPPC/IvyTCPStreamV3.cs b/CSharp/Ivy/IvyPPC/IvyTCPStreamV3.cs index 229e37d..f5bf292 100644 --- a/CSharp/Ivy/IvyPPC/IvyTCPStreamV3.cs +++ b/CSharp/Ivy/IvyPPC/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