summaryrefslogtreecommitdiff
path: root/CSharp/Ivy/IvyPPC
diff options
context:
space:
mode:
authorfcolin2007-02-01 10:01:52 +0000
committerfcolin2007-02-01 10:01:52 +0000
commit3b9a1f75387d365e1bcfe18daedc673d91b85b8e (patch)
treeb8913e5ecd4ddbad71bb7ab8a22a98d2738b6814 /CSharp/Ivy/IvyPPC
parente6855cc883c7a05848e74cb2afed197a4203141f (diff)
downloadivy-csharp-3b9a1f75387d365e1bcfe18daedc673d91b85b8e.zip
ivy-csharp-3b9a1f75387d365e1bcfe18daedc673d91b85b8e.tar.gz
ivy-csharp-3b9a1f75387d365e1bcfe18daedc673d91b85b8e.tar.bz2
ivy-csharp-3b9a1f75387d365e1bcfe18daedc673d91b85b8e.tar.xz
Utilisateur : Fcolin Date : 12/01/06 Heure : 12:53 Archivé dans $/CSharp/Ivy/Ivy Commentaire: (vss 6)
Diffstat (limited to 'CSharp/Ivy/IvyPPC')
-rw-r--r--CSharp/Ivy/IvyPPC/IvyTCPStreamV3.cs8
1 files changed, 4 insertions, 4 deletions
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");
}