summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfcolin2007-02-01 09:50:03 +0000
committerfcolin2007-02-01 09:50:03 +0000
commitbf54b032893cf19eb6554ee07861a04ce2ce8624 (patch)
tree579b743b4e48c38223d8f5a5db30c2ee78ba3ed7
parenta78ac825531f9fc9fbaa9d06bece4d2c30e469fe (diff)
downloadivy-csharp-bf54b032893cf19eb6554ee07861a04ce2ce8624.zip
ivy-csharp-bf54b032893cf19eb6554ee07861a04ce2ce8624.tar.gz
ivy-csharp-bf54b032893cf19eb6554ee07861a04ce2ce8624.tar.bz2
ivy-csharp-bf54b032893cf19eb6554ee07861a04ce2ce8624.tar.xz
Utilisateur : Fcolin Date : 12/01/06 Heure : 12:53 Archivé dans $/CSharp/Ivy/Ivy Commentaire: (vss 6)
-rw-r--r--CSharp/Ivy/Ivy/IvyTCPStreamV3.cs8
1 files changed, 4 insertions, 4 deletions
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");
}