summaryrefslogtreecommitdiff
path: root/doc/ivy-perl-6.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/ivy-perl-6.html')
-rw-r--r--doc/ivy-perl-6.html34
1 files changed, 34 insertions, 0 deletions
diff --git a/doc/ivy-perl-6.html b/doc/ivy-perl-6.html
new file mode 100644
index 0000000..a5ad87b
--- /dev/null
+++ b/doc/ivy-perl-6.html
@@ -0,0 +1,34 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
+<HTML>
+<HEAD>
+ <META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.7">
+ <TITLE>The Ivy C library guide: Conventions for writing applications</TITLE>
+ <LINK HREF="ivy-perl-5.html" REL=previous>
+ <LINK HREF="ivy-perl.html#toc6" REL=contents>
+</HEAD>
+<BODY>
+Next
+<A HREF="ivy-perl-5.html">Previous</A>
+<A HREF="ivy-perl.html#toc6">Contents</A>
+<HR>
+<H2><A NAME="s6">6. Conventions for writing applications</A></H2>
+<H3>6.1 Default bus</H3>
+By default, the bus used is <em><strong>127.255.255.255:2010 </em></strong> ie the application will be connected on the port 2010 of the local machine it runs on.</p>
+<P>You can set the bus to be used by setting the environment variable <CODE>IVYBUS</CODE> or by implementing the option <CODE>-b</CODE> in the application.</P>
+<P>
+<H3>6.2 Syntax of messages</h3>
+The syntax of the messages exchanged is totally free. However, the following convention is recommended:
+<menu>
+<li>The message syntax is <CODE>Subject Attributes</CODE></li>
+<li>A Subject is an object, named in a hierarchical form: <CODE>ObjectClass1:object1.ObjectClass2:object2...</CODE></li>
+<li>Attributes are pairs <CODE>(attribute-name, value)</CODE></li>
+</menu>
+Example:
+<p><CODE>AIRCRAFT:LIB720 Moved lat=46.1697 lon=2.0844 vx=-36 vy=-463 afl=330 rate=0 heading=184 ground_speed=465
+mach_speed=0 tendance=0 time=24600 cfl=330</CODE>
+<HR>
+Next
+<A HREF="ivy-perl-5.html">Previous</A>
+<A HREF="ivy-perl.html#toc6">Contents</A>
+</BODY>
+</HTML>