summaryrefslogtreecommitdiff
path: root/CSharp/Ivy/IvyPPC/Ivy.cs
diff options
context:
space:
mode:
authorfcolin2007-02-01 09:55:18 +0000
committerfcolin2007-02-01 09:55:18 +0000
commit1a905f799ff0f1230b72acc069075fa67afbabc5 (patch)
tree55ab29de9c031aa769cb86988c11064dfd563eec /CSharp/Ivy/IvyPPC/Ivy.cs
parent0c03d986aeccd723021fdd164634f8d7ce8f8166 (diff)
downloadivy-csharp-1a905f799ff0f1230b72acc069075fa67afbabc5.zip
ivy-csharp-1a905f799ff0f1230b72acc069075fa67afbabc5.tar.gz
ivy-csharp-1a905f799ff0f1230b72acc069075fa67afbabc5.tar.bz2
ivy-csharp-1a905f799ff0f1230b72acc069075fa67afbabc5.tar.xz
Utilisateur : Fcolin Date : 24/01/06 Heure : 15:44 Archivé dans $/CSharp/Ivy/Ivy Commentaire: (vss 41)
Diffstat (limited to 'CSharp/Ivy/IvyPPC/Ivy.cs')
-rw-r--r--CSharp/Ivy/IvyPPC/Ivy.cs49
1 files changed, 27 insertions, 22 deletions
diff --git a/CSharp/Ivy/IvyPPC/Ivy.cs b/CSharp/Ivy/IvyPPC/Ivy.cs
index 40caf48..fc358fb 100644
--- a/CSharp/Ivy/IvyPPC/Ivy.cs
+++ b/CSharp/Ivy/IvyPPC/Ivy.cs
@@ -128,6 +128,7 @@ namespace IvyBus
}
}
+ /// <summary>AppId the Application Unique ID</summary>
[Browsable(false)]
public string AppId
{
@@ -137,6 +138,7 @@ namespace IvyBus
}
}
+ /// <summary>AppPriority the Application Priority: the clients list is sorted against priority</summary>
[Category("Ivy")]
public ushort AppPriority
{
@@ -183,6 +185,25 @@ namespace IvyBus
}
}
+ /// <summary>ReadyMessage message send when Application receive all the regexp at the connection of the client</summary>
+ [Category("Ivy")]
+ public string ReadyMessage
+ {
+ get { return ready_message; }
+ set { ready_message = value; }
+ }
+
+
+ [Category("Ivy")]
+ public Control SyncControl
+ {
+ get { return syncControl; }
+ set
+ {
+ syncControl = value;
+ AutoBinding(syncControl);
+ }
+ }
internal class MyTcpListener : TcpListener
{
public MyTcpListener(IPAddress address, int port) : base(address, port)
@@ -233,23 +254,7 @@ namespace IvyBus
// for synchronous event
private Control syncControl = null;
- [Category("Ivy")]
- public string ReadyMessage
- {
- get { return ready_message; }
- set { ready_message = value; }
- }
-
-
- [Category("Ivy")]
- public Control SyncControl
- {
- get { return syncControl; }
- set {
- syncControl = value;
- AutoBinding(syncControl);
- }
- }
+
public Ivy()
{
clients = new List<IvyClient>();
@@ -865,7 +870,7 @@ namespace IvyBus
{
traceDebug("Error IvyServer exception: " + e.Message);
- Console.Error.WriteLine("Ivy server socket reader caught an exception " + e.Message);
+ Console.WriteLine("Ivy server socket reader caught an exception " + e.Message);
// e.printStackTrace();
}
catch (SocketException e)
@@ -876,12 +881,12 @@ namespace IvyBus
}
traceDebug("Ivy service Thread stopped");
}
-
-
- private void traceDebug(string s)
+
+
+ internal void traceDebug(string s)
{
if (debug)
- Console.Error.WriteLine("-->ivy<-- " + s);
+ Console.WriteLine("-->ivy<-- " + s);
}
internal class Domain