fr.dgac.ivy
Class IvyClient

java.lang.Object
  |
  +--fr.dgac.ivy.IvyClient
All Implemented Interfaces:
java.lang.Runnable

public class IvyClient
extends java.lang.Object
implements java.lang.Runnable


Method Summary
 void delRegexp(int id)
           
 java.lang.String getApplicationName()
          returns the name of the remote agent.
 void run()
          the code of the thread handling the incoming messages.
 void sendDie()
           
 void sendDie(java.lang.String message)
           
 void sendDirectMsg(int id, java.lang.String message)
          sends a direct message to the peer
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getApplicationName

public java.lang.String getApplicationName()
returns the name of the remote agent.


delRegexp

public void delRegexp(int id)

sendDirectMsg

public void sendDirectMsg(int id,
                          java.lang.String message)
sends a direct message to the peer

Parameters:
id - the numeric value provided to the remote client
message - the string that will be match-tested

run

public void run()
the code of the thread handling the incoming messages.

Specified by:
run in interface java.lang.Runnable

sendDie

public void sendDie()

sendDie

public void sendDie(java.lang.String message)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object