From 3a71af1001479418128803ed86428602bad9dd66 Mon Sep 17 00:00:00 2001 From: jestin Date: Wed, 8 Aug 2001 15:14:16 +0000 Subject: Adding the html API documentation --- doc/html/api/allclasses-frame.html | 35 ++ doc/html/api/deprecated-list.html | 87 +++ doc/html/api/fr/dgac/ivy/Ivy.html | 590 +++++++++++++++++++++ .../api/fr/dgac/ivy/IvyApplicationAdapter.html | 296 +++++++++++ .../api/fr/dgac/ivy/IvyApplicationListener.html | 248 +++++++++ doc/html/api/fr/dgac/ivy/IvyClient.html | 223 ++++++++ doc/html/api/fr/dgac/ivy/IvyException.html | 166 ++++++ doc/html/api/fr/dgac/ivy/IvyMessageListener.html | 174 ++++++ doc/html/api/help-doc.html | 136 +++++ doc/html/api/index-all.html | 224 ++++++++ doc/html/api/index.html | 22 + doc/html/api/overview-tree.html | 111 ++++ doc/html/api/packages.html | 26 + doc/html/api/serialized-form.html | 98 ++++ doc/html/api/stylesheet.css | 29 + 15 files changed, 2465 insertions(+) create mode 100644 doc/html/api/allclasses-frame.html create mode 100644 doc/html/api/deprecated-list.html create mode 100644 doc/html/api/fr/dgac/ivy/Ivy.html create mode 100644 doc/html/api/fr/dgac/ivy/IvyApplicationAdapter.html create mode 100644 doc/html/api/fr/dgac/ivy/IvyApplicationListener.html create mode 100644 doc/html/api/fr/dgac/ivy/IvyClient.html create mode 100644 doc/html/api/fr/dgac/ivy/IvyException.html create mode 100644 doc/html/api/fr/dgac/ivy/IvyMessageListener.html create mode 100644 doc/html/api/help-doc.html create mode 100644 doc/html/api/index-all.html create mode 100644 doc/html/api/index.html create mode 100644 doc/html/api/overview-tree.html create mode 100644 doc/html/api/packages.html create mode 100644 doc/html/api/serialized-form.html create mode 100644 doc/html/api/stylesheet.css (limited to 'doc/html') diff --git a/doc/html/api/allclasses-frame.html b/doc/html/api/allclasses-frame.html new file mode 100644 index 0000000..dfe1ac6 --- /dev/null +++ b/doc/html/api/allclasses-frame.html @@ -0,0 +1,35 @@ + + + + + + +All Classes + + + + + +All Classes +
+ + + + + +
Ivy +
+IvyApplicationAdapter +
+IvyApplicationListener +
+IvyClient +
+IvyException +
+IvyMessageListener +
+
+ + + diff --git a/doc/html/api/deprecated-list.html b/doc/html/api/deprecated-list.html new file mode 100644 index 0000000..f46a5ea --- /dev/null +++ b/doc/html/api/deprecated-list.html @@ -0,0 +1,87 @@ + + + + + + +: Deprecated List + + + + + + + + + + + + + + + + + +
+ +
+ + +
+
+

+Deprecated API

+
+
+ + + + + + + + + + + + + +
+ +
+ + +
+ + + diff --git a/doc/html/api/fr/dgac/ivy/Ivy.html b/doc/html/api/fr/dgac/ivy/Ivy.html new file mode 100644 index 0000000..3e44d3e --- /dev/null +++ b/doc/html/api/fr/dgac/ivy/Ivy.html @@ -0,0 +1,590 @@ + + + + + + +: Class Ivy + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + +
+ +

+ +fr.dgac.ivy +
+Class Ivy

+
+java.lang.Object
+  |
+  +--fr.dgac.ivy.Ivy
+
+
+
All Implemented Interfaces:
java.util.EventListener, IvyApplicationListener, java.lang.Runnable
+
+
+
+
public class Ivy
extends java.lang.Object
implements java.lang.Runnable, IvyApplicationListener
+ +

+A class connecting to the Ivy software bus. + For example: +

+Ivy bus = new Ivy("Dummy agent","ready",null);
+bus.bindMsg("(.*)",myMessageListener);
+bus.start(null);
+
+

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+ java.lang.StringappName + +
+          the name of the application on the bus
+static java.lang.StringDEFAULT_DOMAIN + +
+          the domain for the UDP rendez vous
+static intDEFAULT_PORT + +
+          the port for the UDP rendez vous, if none is supplied
+static intPROCOCOLVERSION + +
+          the protocol version number
+  + + + + + + + + + + +
+Constructor Summary
Ivy(java.lang.String name, + java.lang.String message, + IvyApplicationListener appcb) + +
+          Readies the structures for the software bus connexion. + +
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ intaddApplicationListener(IvyApplicationListener callback) + +
+          adds an application listener to a bus
+ intbindMsg(java.lang.String regexp, + IvyMessageListener callback) + +
+          Subscribes to a regular expression. + +
+ voidconnect(IvyClient client) + +
+          invoked when a Ivy Client has joined the bus
+ voiddie(IvyClient client, + int id) + +
+          invoked when a peer request us to leave the bus
+ voiddirectMessage(IvyClient client, + int id, + java.lang.String msgarg) + +
+          invoked when a peer sends us a direct message
+ voiddisconnect(IvyClient client) + +
+          invoked when a Ivy Client has left the bus
+ voidremoveApplicationListener(int id) + +
+          removes an application listener
+ voidrun() + +
+           
+ intsendMsg(java.lang.String message) + +
+          Performs a pattern matching according to everyone's regexps, and sends + the results to the relevant ivy agents. +
+ voidstart(java.lang.String domainbus) + +
+          connects the Ivy bus to a domain or list of domains
+ voidstop() + +
+          disconnects from the Ivy bus. +
+ voidunBindMsg(int id) + +
+          unsubscribes a regular expression
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+appName

+
+public java.lang.String appName
+
+
the name of the application on the bus
+
+ +

+PROCOCOLVERSION

+
+public static final int PROCOCOLVERSION
+
+
the protocol version number
+
+ +

+DEFAULT_PORT

+
+public static final int DEFAULT_PORT
+
+
the port for the UDP rendez vous, if none is supplied
+
+ +

+DEFAULT_DOMAIN

+
+public static final java.lang.String DEFAULT_DOMAIN
+
+
the domain for the UDP rendez vous
+ + + + + + + + +
+Constructor Detail
+ +

+Ivy

+
+public Ivy(java.lang.String name,
+           java.lang.String message,
+           IvyApplicationListener appcb)
+
+
Readies the structures for the software bus connexion. + + All the dirty work is done un the start() method
+
Parameters:
name - The name of your Ivy agent on the software bus
message - The hellow message you will send once ready
appcb - A callback handling the notification of connexions and + disconnections, may be null
See Also:
start(java.lang.String)
+
+
+ + + + + + + + +
+Method Detail
+ +

+start

+
+public void start(java.lang.String domainbus)
+           throws IvyException
+
+
connects the Ivy bus to a domain or list of domains
+
+
+
+
Parameters:
domainbus - a domain of the form 10.0.0:1234, it is similar to the + netmask without the trailing .255. This will determine the meeting point + of the different applications. Right now, this is done with an UDP + broadcast. Beware of routing problems ! You can also use a comma + separated list of domains.
+
+
+
+ +

+stop

+
+public void stop()
+
+
disconnects from the Ivy bus. + TODO is there a bug here ? There is still a thread running and a + standalone application won't quit here.
+
+
+
+
+ +

+sendMsg

+
+public int sendMsg(java.lang.String message)
+
+
Performs a pattern matching according to everyone's regexps, and sends + the results to the relevant ivy agents. +

There is one thread for each client connected, we could also + create another thread each time we send a message.

+
+
+
+
Parameters:
message - A String which will be compared to the regular + expressions of the different clients
Returns:
the number of messages actually sent
+
+
+
+ +

+bindMsg

+
+public int bindMsg(java.lang.String regexp,
+                   IvyMessageListener callback)
+
+
Subscribes to a regular expression. + + The callback will be executed with + the saved parameters of the regexp as arguments when a message will sent + by another agent. A program doesn't receive its own messages. +

Example: +
the Ivy agent A performs

b.bindMsg("^Hello (*)",cb);
+
the Ivy agent B performs
b2.sendMsg("Hello world");
+
a thread in A will uun the callback cb with its second argument set + to a array of String, with one single element, "world"
+
+
+
+
Parameters:
regexp - a perl regular expression, groups are done with parenthesis
callback - any objects implementing the IvyMessageListener + interface, on the AWT/Swing framework
Returns:
the id of the regular expression
+
+
+
+ +

+unBindMsg

+
+public void unBindMsg(int id)
+               throws IvyException
+
+
unsubscribes a regular expression
+
+
+
+
Parameters:
id - the id of the regular expression, returned when it was bound
+
+
+
+ +

+addApplicationListener

+
+public int addApplicationListener(IvyApplicationListener callback)
+
+
adds an application listener to a bus
+
+
+
+
Parameters:
callback - is an object implementing the IvyApplicationListener + interface
Returns:
the id of the application listener, useful if you wish to remove + it later
+
+
+
+ +

+removeApplicationListener

+
+public void removeApplicationListener(int id)
+
+
removes an application listener
+
+
+
+
Parameters:
id - the id of the application listener to remove
+
+
+
+ +

+connect

+
+public void connect(IvyClient client)
+
+
Description copied from interface: IvyApplicationListener
+
invoked when a Ivy Client has joined the bus
+
Specified by:
connect in interface IvyApplicationListener
+
+
Following copied from interface: fr.dgac.ivy.IvyApplicationListener
+
+
Parameters:
client - the peer
+
+
+
+ +

+disconnect

+
+public void disconnect(IvyClient client)
+
+
Description copied from interface: IvyApplicationListener
+
invoked when a Ivy Client has left the bus
+
Specified by:
disconnect in interface IvyApplicationListener
+
+
Following copied from interface: fr.dgac.ivy.IvyApplicationListener
+
+
Parameters:
client - the peer
+
+
+
+ +

+die

+
+public void die(IvyClient client,
+                int id)
+
+
Description copied from interface: IvyApplicationListener
+
invoked when a peer request us to leave the bus
+
Specified by:
die in interface IvyApplicationListener
+
+
Following copied from interface: fr.dgac.ivy.IvyApplicationListener
+
+
Parameters:
client - the peer
+
+
+
+ +

+directMessage

+
+public void directMessage(IvyClient client,
+                          int id,
+                          java.lang.String msgarg)
+
+
Description copied from interface: IvyApplicationListener
+
invoked when a peer sends us a direct message
+
Specified by:
directMessage in interface IvyApplicationListener
+
+
Following copied from interface: fr.dgac.ivy.IvyApplicationListener
+
+
Parameters:
client - the peer
id -  
msgarg - the message itself + this is not yet implemented in java. I believe it has no real use :)
+
+
+
+ +

+run

+
+public void run()
+
+
+
Specified by:
run in interface java.lang.Runnable
+
+
+ +
+ + + + + + + + + + + + + + + + + +
+ +
+ + +
+ + + diff --git a/doc/html/api/fr/dgac/ivy/IvyApplicationAdapter.html b/doc/html/api/fr/dgac/ivy/IvyApplicationAdapter.html new file mode 100644 index 0000000..fa18746 --- /dev/null +++ b/doc/html/api/fr/dgac/ivy/IvyApplicationAdapter.html @@ -0,0 +1,296 @@ + + + + + + +: Class IvyApplicationAdapter + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + +
+ +

+ +fr.dgac.ivy +
+Class IvyApplicationAdapter

+
+java.lang.Object
+  |
+  +--fr.dgac.ivy.IvyApplicationAdapter
+
+
+
All Implemented Interfaces:
java.util.EventListener, IvyApplicationListener
+
+
+
+
public abstract class IvyApplicationAdapter
extends java.lang.Object
implements IvyApplicationListener
+ +

+this class is a dummy ApplicationListener +

+


+ +

+ + + + + + + + + + + + + + + + +
+Constructor Summary
IvyApplicationAdapter() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidconnect(IvyClient client) + +
+          invoked when a Ivy Client has joined the bus
+ voiddie(IvyClient client) + +
+           
+ voiddirectMessage(IvyClient client, + int id, + java.lang.String msgarg) + +
+          invoked when a peer sends us a direct message
+ voiddisconnect(IvyClient client) + +
+          invoked when a Ivy Client has left the bus
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+ + + + + + + +
Methods inherited from interface fr.dgac.ivy.IvyApplicationListener
die
+  +

+ + + + + + + + + + + +
+Constructor Detail
+ +

+IvyApplicationAdapter

+
+public IvyApplicationAdapter()
+
+
+ + + + + + + + +
+Method Detail
+ +

+connect

+
+public void connect(IvyClient client)
+
+
Description copied from interface: IvyApplicationListener
+
invoked when a Ivy Client has joined the bus
+
Specified by:
connect in interface IvyApplicationListener
+
+
Following copied from interface: fr.dgac.ivy.IvyApplicationListener
+
+
Parameters:
client - the peer
+
+
+
+ +

+disconnect

+
+public void disconnect(IvyClient client)
+
+
Description copied from interface: IvyApplicationListener
+
invoked when a Ivy Client has left the bus
+
Specified by:
disconnect in interface IvyApplicationListener
+
+
Following copied from interface: fr.dgac.ivy.IvyApplicationListener
+
+
Parameters:
client - the peer
+
+
+
+ +

+die

+
+public void die(IvyClient client)
+
+
+
+
+
+
+ +

+directMessage

+
+public void directMessage(IvyClient client,
+                          int id,
+                          java.lang.String msgarg)
+
+
Description copied from interface: IvyApplicationListener
+
invoked when a peer sends us a direct message
+
Specified by:
directMessage in interface IvyApplicationListener
+
+
Following copied from interface: fr.dgac.ivy.IvyApplicationListener
+
+
Parameters:
client - the peer
id -  
msgarg - the message itself + this is not yet implemented in java. I believe it has no real use :)
+
+
+ +
+ + + + + + + + + + + + + + + + + +
+ +
+ + +
+ + + diff --git a/doc/html/api/fr/dgac/ivy/IvyApplicationListener.html b/doc/html/api/fr/dgac/ivy/IvyApplicationListener.html new file mode 100644 index 0000000..e780396 --- /dev/null +++ b/doc/html/api/fr/dgac/ivy/IvyApplicationListener.html @@ -0,0 +1,248 @@ + + + + + + +: Interface IvyApplicationListener + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + +
+ +

+ +fr.dgac.ivy +
+Interface IvyApplicationListener

+
+
All Superinterfaces:
java.util.EventListener
+
+
+
All Known Implementing Classes:
IvyApplicationAdapter, Ivy
+
+
+
+
public interface IvyApplicationListener
extends java.util.EventListener
+ +

+this interface specifies the methods of an ApplicationListener +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidconnect(IvyClient client) + +
+          invoked when a Ivy Client has joined the bus
+ voiddie(IvyClient client, + int id) + +
+          invoked when a peer request us to leave the bus
+ voiddirectMessage(IvyClient client, + int id, + java.lang.String msgarg) + +
+          invoked when a peer sends us a direct message
+ voiddisconnect(IvyClient client) + +
+          invoked when a Ivy Client has left the bus
+  +

+ + + + + + + + + + + + + + +
+Method Detail
+ +

+connect

+
+public void connect(IvyClient client)
+
+
invoked when a Ivy Client has joined the bus
+
+
+
+
Parameters:
client - the peer
+
+
+
+ +

+disconnect

+
+public void disconnect(IvyClient client)
+
+
invoked when a Ivy Client has left the bus
+
+
+
+
Parameters:
client - the peer
+
+
+
+ +

+die

+
+public void die(IvyClient client,
+                int id)
+
+
invoked when a peer request us to leave the bus
+
+
+
+
Parameters:
client - the peer
+
+
+
+ +

+directMessage

+
+public void directMessage(IvyClient client,
+                          int id,
+                          java.lang.String msgarg)
+
+
invoked when a peer sends us a direct message
+
+
+
+
Parameters:
client - the peer
id -  
msgarg - the message itself + this is not yet implemented in java. I believe it has no real use :)
+
+
+ +
+ + + + + + + + + + + + + + + + + +
+ +
+ + +
+ + + diff --git a/doc/html/api/fr/dgac/ivy/IvyClient.html b/doc/html/api/fr/dgac/ivy/IvyClient.html new file mode 100644 index 0000000..8255b10 --- /dev/null +++ b/doc/html/api/fr/dgac/ivy/IvyClient.html @@ -0,0 +1,223 @@ + + + + + + +: Class IvyClient + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + +
+ +

+ +fr.dgac.ivy +
+Class IvyClient

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

+A private Class for the the peers on the bus. +

+


+ +

+ + + + + + + + + + + + + +
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
+  + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voiddelRegexp(int id) + +
+           
+ voidrun() + +
+          the code of the thread handling the incoming messages. + this thread stops (at least it should) when the socket is closed + or when gardefou=false
+ + + + + + + +
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + + + + + + + +
+Method Detail
+ +

+delRegexp

+
+public void delRegexp(int id)
+
+
+
+ +

+run

+
+public void run()
+
+
the code of the thread handling the incoming messages. + this thread stops (at least it should) when the socket is closed + or when gardefou=false
+
Overrides:
run in class java.lang.Thread
+
+
+ +
+ + + + + + + + + + + + + + + + + +
+ +
+ + +
+ + + diff --git a/doc/html/api/fr/dgac/ivy/IvyException.html b/doc/html/api/fr/dgac/ivy/IvyException.html new file mode 100644 index 0000000..5246c06 --- /dev/null +++ b/doc/html/api/fr/dgac/ivy/IvyException.html @@ -0,0 +1,166 @@ + + + + + + +: Class IvyException + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + +
+ +

+ +fr.dgac.ivy +
+Class IvyException

+
+java.lang.Object
+  |
+  +--java.lang.Throwable
+        |
+        +--java.lang.Exception
+              |
+              +--fr.dgac.ivy.IvyException
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class IvyException
extends java.lang.Exception
+ +

+signals that an unrecoverrable Ivy exception has occured. +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + + + + +
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + + + +


+ + + + + + + + + + + + + + + + + +
+ +
+ + +
+ + + diff --git a/doc/html/api/fr/dgac/ivy/IvyMessageListener.html b/doc/html/api/fr/dgac/ivy/IvyMessageListener.html new file mode 100644 index 0000000..cd3bad5 --- /dev/null +++ b/doc/html/api/fr/dgac/ivy/IvyMessageListener.html @@ -0,0 +1,174 @@ + + + + + + +: Interface IvyMessageListener + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + +
+ +

+ +fr.dgac.ivy +
+Interface IvyMessageListener

+
+
All Superinterfaces:
java.util.EventListener
+
+
+
+
public interface IvyMessageListener
extends java.util.EventListener
+ +

+this interface specifies the methods of an IvyMessageListener +

+


+ +

+ + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidreceive(IvyClient client, + java.lang.String[] args) + +
+          this callback is invoked when a message has been received
+  +

+ + + + + + + + + + + + + + +
+Method Detail
+ +

+receive

+
+public void receive(IvyClient client,
+                    java.lang.String[] args)
+
+
this callback is invoked when a message has been received
+
+
+
+
Parameters:
client - the peer who sent the message
args - the array of string, on string for each subregexp
+
+
+ +
+ + + + + + + + + + + + + + + + + +
+ +
+ + +
+ + + diff --git a/doc/html/api/help-doc.html b/doc/html/api/help-doc.html new file mode 100644 index 0000000..45ca399 --- /dev/null +++ b/doc/html/api/help-doc.html @@ -0,0 +1,136 @@ + + + + + + +: API Help + + + + + + + + + + + + + + + + + +
+ +
+ + +
+
+

+How This API Document Is Organized

+
+This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.

+Package

+
+ +

+Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain four categories:

+
+

+Class/Interface

+
+ +

+Each class, interface, inner class and inner interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:

+Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.
+

+Tree (Class Hierarchy)

+
+There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object. The interfaces do not inherit from java.lang.Object. +
+

+Deprecated API

+
+The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.
+

+Index

+
+The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.
+

+Prev/Next

+These links take you to the next or previous class, interface, package, or related page.

+Frames/No Frames

+These links show and hide the HTML frames. All pages are available with or without frames. +

+

+Serialized Form

+Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description. +

+ + +This help file applies to API documentation generated using the standard doclet. + +
+


+ + + + + + + + + + + + + +
+ +
+ + +
+ + + diff --git a/doc/html/api/index-all.html b/doc/html/api/index-all.html new file mode 100644 index 0000000..1a94220 --- /dev/null +++ b/doc/html/api/index-all.html @@ -0,0 +1,224 @@ + + + + + + +: Index + + + + + + + + + + + + + + + + + +
+ +
+ + +A B C D I P R S U
+

+A

+
+
addApplicationListener(IvyApplicationListener) - +Method in class fr.dgac.ivy.Ivy +
adds an application listener to a bus +
appName - +Variable in class fr.dgac.ivy.Ivy +
the name of the application on the bus +
+
+

+B

+
+
bindMsg(String, IvyMessageListener) - +Method in class fr.dgac.ivy.Ivy +
Subscribes to a regular expression. + + +
+
+

+C

+
+
connect(IvyClient) - +Method in class fr.dgac.ivy.IvyApplicationAdapter +
  +
connect(IvyClient) - +Method in interface fr.dgac.ivy.IvyApplicationListener +
invoked when a Ivy Client has joined the bus +
connect(IvyClient) - +Method in class fr.dgac.ivy.Ivy +
  +
+
+

+D

+
+
DEFAULT_DOMAIN - +Static variable in class fr.dgac.ivy.Ivy +
the domain for the UDP rendez vous +
DEFAULT_PORT - +Static variable in class fr.dgac.ivy.Ivy +
the port for the UDP rendez vous, if none is supplied +
delRegexp(int) - +Method in class fr.dgac.ivy.IvyClient +
  +
die(IvyClient) - +Method in class fr.dgac.ivy.IvyApplicationAdapter +
  +
die(IvyClient, int) - +Method in interface fr.dgac.ivy.IvyApplicationListener +
invoked when a peer request us to leave the bus +
die(IvyClient, int) - +Method in class fr.dgac.ivy.Ivy +
  +
directMessage(IvyClient, int, String) - +Method in class fr.dgac.ivy.IvyApplicationAdapter +
  +
directMessage(IvyClient, int, String) - +Method in interface fr.dgac.ivy.IvyApplicationListener +
invoked when a peer sends us a direct message +
directMessage(IvyClient, int, String) - +Method in class fr.dgac.ivy.Ivy +
  +
disconnect(IvyClient) - +Method in class fr.dgac.ivy.IvyApplicationAdapter +
  +
disconnect(IvyClient) - +Method in interface fr.dgac.ivy.IvyApplicationListener +
invoked when a Ivy Client has left the bus +
disconnect(IvyClient) - +Method in class fr.dgac.ivy.Ivy +
  +
+
+

+I

+
+
Ivy - class fr.dgac.ivy.Ivy.
A class connecting to the Ivy software bus. +
Ivy(String, String, IvyApplicationListener) - +Constructor for class fr.dgac.ivy.Ivy +
Readies the structures for the software bus connexion. + + +
IvyApplicationAdapter - class fr.dgac.ivy.IvyApplicationAdapter.
this class is a dummy ApplicationListener
IvyApplicationAdapter() - +Constructor for class fr.dgac.ivy.IvyApplicationAdapter +
  +
IvyApplicationListener - interface fr.dgac.ivy.IvyApplicationListener.
this interface specifies the methods of an ApplicationListener
IvyClient - class fr.dgac.ivy.IvyClient.
A private Class for the the peers on the bus.
IvyException - exception fr.dgac.ivy.IvyException.
signals that an unrecoverrable Ivy exception has occured.
IvyMessageListener - interface fr.dgac.ivy.IvyMessageListener.
this interface specifies the methods of an IvyMessageListener
+
+

+P

+
+
PROCOCOLVERSION - +Static variable in class fr.dgac.ivy.Ivy +
the protocol version number +
+
+

+R

+
+
receive(IvyClient, String[]) - +Method in interface fr.dgac.ivy.IvyMessageListener +
this callback is invoked when a message has been received +
removeApplicationListener(int) - +Method in class fr.dgac.ivy.Ivy +
removes an application listener +
run() - +Method in class fr.dgac.ivy.IvyClient +
the code of the thread handling the incoming messages. + this thread stops (at least it should) when the socket is closed + or when gardefou=false +
run() - +Method in class fr.dgac.ivy.Ivy +
  +
+
+

+S

+
+
sendMsg(String) - +Method in class fr.dgac.ivy.Ivy +
Performs a pattern matching according to everyone's regexps, and sends + the results to the relevant ivy agents. + +
start(String) - +Method in class fr.dgac.ivy.Ivy +
connects the Ivy bus to a domain or list of domains +
stop() - +Method in class fr.dgac.ivy.Ivy +
disconnects from the Ivy bus. + +
+
+

+U

+
+
unBindMsg(int) - +Method in class fr.dgac.ivy.Ivy +
unsubscribes a regular expression +
+
+A B C D I P R S U + + + + + + + + + + + + +
+ +
+ + +
+ + + diff --git a/doc/html/api/index.html b/doc/html/api/index.html new file mode 100644 index 0000000..4149128 --- /dev/null +++ b/doc/html/api/index.html @@ -0,0 +1,22 @@ + + + + + + +Generated Documentation (Untitled) + + + + + + + +<H2> +Frame Alert</H2> + +<P> +This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. +<BR> +Link to <A HREF="fr/dgac/ivy/Ivy.html">Non-frame version.</A> + diff --git a/doc/html/api/overview-tree.html b/doc/html/api/overview-tree.html new file mode 100644 index 0000000..9ebffeb --- /dev/null +++ b/doc/html/api/overview-tree.html @@ -0,0 +1,111 @@ + + + + + + +: Class Hierarchy + + + + + + + + + + + + + + + + + +
+ +
+ + +
+
+

+Hierarchy For All Packages

+
+

+Class Hierarchy +

+ +

+Interface Hierarchy +

+ +
+ + + + + + + + + + + + + +
+ +
+ + +
+ + + diff --git a/doc/html/api/packages.html b/doc/html/api/packages.html new file mode 100644 index 0000000..f80db8b --- /dev/null +++ b/doc/html/api/packages.html @@ -0,0 +1,26 @@ + + + + + + + + + + + + +
+ +
+ +
+
+The front page has been relocated.Please see: +
+          Frame version +
+          Non-frame version.
+ + + diff --git a/doc/html/api/serialized-form.html b/doc/html/api/serialized-form.html new file mode 100644 index 0000000..c738901 --- /dev/null +++ b/doc/html/api/serialized-form.html @@ -0,0 +1,98 @@ + + + + + + +Serialized Form + + + + + + + + + + + + + + + + + +
+ +
+ + +
+
+

+Serialized Form

+
+ + + + + +
+Class fr.dgac.ivy.IvyException implements Serializable
+ +

+ +

+


+ + + + + + + + + + + + + +
+ +
+ + +
+ + + diff --git a/doc/html/api/stylesheet.css b/doc/html/api/stylesheet.css new file mode 100644 index 0000000..95f5764 --- /dev/null +++ b/doc/html/api/stylesheet.css @@ -0,0 +1,29 @@ +/* Javadoc style sheet */ + +/* Define colors, fonts and other style attributes here to override the defaults */ + +/* Page background color */ +body { background-color: #FFFFFF } + +/* Table colors */ +.TableHeadingColor { background: #CCCCFF } /* Dark mauve */ +.TableSubHeadingColor { background: #EEEEFF } /* Light mauve */ +.TableRowColor { background: #FFFFFF } /* White */ + +/* Font used in left-hand frame lists */ +.FrameTitleFont { font-size: normal; font-family: normal } +.FrameHeadingFont { font-size: normal; font-family: normal } +.FrameItemFont { font-size: normal; font-family: normal } + +/* Example of smaller, sans-serif font in frames */ +/* .FrameItemFont { font-size: 10pt; font-family: Helvetica, Arial, sans-serif } */ + +/* Navigation bar fonts and colors */ +.NavBarCell1 { background-color:#EEEEFF;}/* Light mauve */ +.NavBarCell1Rev { background-color:#00008B;}/* Dark Blue */ +.NavBarFont1 { font-family: Arial, Helvetica, sans-serif; color:#000000;} +.NavBarFont1Rev { font-family: Arial, Helvetica, sans-serif; color:#FFFFFF;} + +.NavBarCell2 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF;} +.NavBarCell3 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF;} + -- cgit v1.1