diff options
author | fcolin | 2007-02-01 09:46:05 +0000 |
---|---|---|
committer | fcolin | 2007-02-01 09:46:05 +0000 |
commit | 322b1d991d4d4825fd3d506bc9eae40ba68dbb32 (patch) | |
tree | 9b72d2739f547f1c6f64c3fac488d80f424a9989 /CSharp/Ivy | |
parent | 6c464935408e2e56de1338300bfd10044977ea9a (diff) | |
download | ivy-csharp-322b1d991d4d4825fd3d506bc9eae40ba68dbb32.zip ivy-csharp-322b1d991d4d4825fd3d506bc9eae40ba68dbb32.tar.gz ivy-csharp-322b1d991d4d4825fd3d506bc9eae40ba68dbb32.tar.bz2 ivy-csharp-322b1d991d4d4825fd3d506bc9eae40ba68dbb32.tar.xz |
Utilisateur : Fcolin Date : 4/07/03 Heure : 18:39 Archivé dans $/EScribe/Ivy Commentaire: (vss 5)
Diffstat (limited to 'CSharp/Ivy')
-rw-r--r-- | CSharp/Ivy/Ivy/IvyClient.cs | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/CSharp/Ivy/Ivy/IvyClient.cs b/CSharp/Ivy/Ivy/IvyClient.cs index 9757d2f..4035b2a 100644 --- a/CSharp/Ivy/Ivy/IvyClient.cs +++ b/CSharp/Ivy/Ivy/IvyClient.cs @@ -24,7 +24,7 @@ namespace IvyBus using System.Net.Sockets;
using System.Configuration;
- public class MyTcpClient : TcpClient
+ internal class MyTcpClient : TcpClient
{
public IPAddress RemoteAddress
{
@@ -55,7 +55,7 @@ namespace IvyBus public class IvyClient
{
- public virtual String ApplicationName
+ public String ApplicationName
{
get
{
@@ -137,7 +137,7 @@ namespace IvyBus private volatile Thread clientThread; // volatile to ensure the quick communication
private Int32 clientKey;
private static bool doping = (ConfigurationSettings.AppSettings["IVY_PING"] != null);
- internal const int PINGTIMEOUT = 5000;
+ private const int PINGTIMEOUT = 5000;
private volatile Thread pingerThread;
// protected variables
@@ -192,7 +192,7 @@ namespace IvyBus send(MessageType.AddRegexp, id, regexp); /* perhaps we should perform some checking here */
}
- public virtual void delRegexp(int id)
+ internal void delRegexp(int id)
{
send(MessageType.DelRegexp, id, "");
}
@@ -204,7 +204,7 @@ namespace IvyBus /// <param name="message">the string that will be match-tested
///
/// </param>
- public void sendDirectMsg(int id, String message)
+ internal void sendDirectMsg(int id, String message)
{
send(MessageType.DirectMsg, id, message);
}
@@ -277,7 +277,7 @@ namespace IvyBus /// <summary> the code of the thread handling the incoming messages.
/// </summary>
- public void Run()
+ private void Run()
{
String msg = null;
try
@@ -567,11 +567,11 @@ namespace IvyBus }
}
- internal void sendPong(String s)
+ private void sendPong(String s)
{
send(MessageType.Pong, 0, s);
}
- public void sendPing(String s)
+ private void sendPing(String s)
{
send(MessageType.Ping, 0, s);
}
@@ -585,11 +585,11 @@ namespace IvyBus send(MessageType.Bye, 0, message);
}
- public virtual void sendDie()
+ private void sendDie()
{
send(MessageType.Die, 0, "");
}
- public virtual void sendDie(String message)
+ private void sendDie(String message)
{
send(MessageType.Die, 0, message);
}
@@ -607,7 +607,7 @@ namespace IvyBus }
internal bool isPinging = false;
- public void PingerRun()
+ private void PingerRun()
{
isPinging = true;
traceDebug("Pinger Thread started");
|