Examples » History » Version 13

Version 12 (J. Moringen, 08/10/2011 06:33 PM) → Version 13/17 (J. Moringen, 09/04/2011 08:36 PM)

h1. Examples

{{>toc}}

Each language implementation comes with several example programs. This is generally the first place to search for example code.

h2. C++

Example folder: source:trunk/cpp/core/examples

* Sending Events
source:trunk/cpp/core/examples/informer/informer.cpp
* Listening for Events
source:trunk/cpp/core/examples/listener/listener.cpp
source:trunk/cpp/core/examples/reader/reader.cpp _(Not fully functional, yet)_
* Processing Events in a loop
source:trunk/cpp/core/examples/queue_processing/queueprocessing.cpp
* Protocol Buffer Converter
source:trunk/cpp/core/examples/protobuf_converter
* Client/Server Communication
source:trunk/cpp/core/examples/server/client.cpp
source:trunk/cpp/core/examples/server/server.cpp

h2. Java

Example folder: source:trunk/java/core/examples

* Sending Events
source:trunk/java/core/examples/InformerExample.java
* Listening for Events
source:trunk/java/core/examples/ListenerExample.java
* Protocol Buffer Converter
source:trunk/java/core/examples/tutorial/protobuf
* Client/Server Communication
source:trunk/java/core/examples/ServerExample.java
source:trunk/java/core/examples/ClientExample.java

h2. Python

Example folder: source:trunk/python/core/examples

* Sending Events
source:trunk/python/core/examples/informer.py
* Listening for Events
source:trunk/python/core/examples/listener.py
* Client/Server Communication
source:trunk/python/core/examples/client.py
source:trunk/python/core/examples/server.py
* Protocol Buffers Use
source:trunk/python/core/examples/protobuf

h2. Common Lisp

Example folder: source:trunk/cl/cl-rsb/examples

* Sending Events
source:trunk/cl/cl-rsb/examples/informer.lisp
* Listening for Events (push-style)
source:trunk/cl/cl-rsb/examples/listener.lisp
* "Reading" Events (pull-style)
source:trunk/cl/cl-rsb/examples/reader.lisp
* Client/Server Communication
source:trunk/cl/cl-rsb/examples/server.lisp
source:trunk/cl/cl-rsb/examples/client.lisp
* Protocol Buffer Converter
source:trunk/cl/cl-rsb/examples/protocol-buffers