From 4aa217c51cfc5ef976ee3351c3af83a4ab549442 Mon Sep 17 00:00:00 2001
From: fcolin
Date: Thu, 1 Feb 2007 09:54:02 +0000
Subject: Utilisateur : Fcolin Date : 4/07/03 Heure : 18:39 Archivé
dans $/EScribe/Ivy Commentaire: (vss 3)
---
CSharp/Ivy/IvyPPC/Ivy.cs | 23 ++++-------------------
1 file changed, 4 insertions(+), 19 deletions(-)
(limited to 'CSharp')
diff --git a/CSharp/Ivy/IvyPPC/Ivy.cs b/CSharp/Ivy/IvyPPC/Ivy.cs
index 2ef37ae..ccd8df3 100644
--- a/CSharp/Ivy/IvyPPC/Ivy.cs
+++ b/CSharp/Ivy/IvyPPC/Ivy.cs
@@ -84,17 +84,17 @@ namespace IvyBus
internal String appName;
/// the protocol version number
///
- public const int PROCOCOLVERSION = 3;
+ internal const int PROCOCOLVERSION = 3;
/// the port for the UDP rendez vous, if none is supplied
///
- public const int DEFAULT_PORT = 2010;
+ internal const int DEFAULT_PORT = 2010;
/// the domain for the UDP rendez vous
///
- public static readonly String DEFAULT_DOMAIN = "127.255.255.255:" + DEFAULT_PORT;
+ internal static readonly String DEFAULT_DOMAIN = "127.255.255.255:" + DEFAULT_PORT;
/// the library version, useful for development purposes only, when java is
/// invoked with -DIVY_DEBUG
///
- public const String libVersion = "1.0.0";
+ internal const String libVersion = "1.0.0";
private bool debug;
private static int serial = 0; /* an unique ID for each regexp */
@@ -109,8 +109,6 @@ namespace IvyBus
internal Hashtable regexp_out;
internal String ready_message = null;
- public const int TIMEOUTLENGTH = 3000;
-
/// Readies the structures for the software bus connexion.
/// *
/// All the dirty work is done un the start() method
@@ -563,19 +561,6 @@ namespace IvyBus
Console.Out.WriteLine("-->ivy<-- " + s);
}
- /* a small private method for debbugging purposes */
-
- public String domains(String toparse)
- {
- String s = "broadcasting on ";
- Ivy.Domain[] d = parseDomains(toparse);
- for (int index = 0; index < d.Length; index++)
- {
- s += d[index].Domainaddr + ":" + d[index].Port + " ";
- }
- return s;
- }
-
internal class Domain
{
public virtual String Domainaddr
--
cgit v1.1