PureData Server

Version 1.4

This document describes the PureData Server. The server is designed to be used with the PureLoad PureData tasks.

PureDataServer is used to store data in multiple named hash maps. Data associated with keys are simple comma-separated strings (actually the server handles the comma separated string as any string value).

PureData Protocol

For details of the protocol used see PureData Protocol

Installation

Extract the installation tar-file and the complete the following steps:

  1. Install Java or find where Java is installed on your system
  2. Edit the start script: bin/puredata-server.sh
    Specify JAVA_HOME if not already set on your system
  3. Check and edit conf/server.properties
    Default should be ok in most cases. Also see the comments in the file.
  4. Start the server: bin/puredata-server.sh

Verify that the server is running by connecting to the server using telnet. Issue a simple command, like STATUS and verify that you get a response.

Example:

# telnet localhost 3737
Connected to localhost.
Escape character is '^]'.
STATUS
VAL maps:0;total-size:0;heap:61;heap-max:1011;heap-used:6;OS:Mac OS X x86_64 10.8.5;JVM:1.6.0_37 Apple Inc.;
EXIT
Connection closed by foreign host.

Configuration

There are 2 configuration files found in the conf directory:

  • server.properties
    here you can specify host/port that the server should listen for and socket timeout
  • log4j.properties
    Logging properties.
About Emblasoft

From innovation, to validation and smooth operation, our solutions help operators and equipment vendors deliver outstanding services and performance to their customers.

Emblasoft Test & Measurement AB
Hammarby allé 29
120 32 Stockholm, Sweden

Send us an email: contact@emblasoft.com

  • Linkedin
  • Twitter
Ready to talk to us?