O-DF in Database

Write request

Normal

This is normal write request, writes all data to data for test. Written from localhost.

Request:

Response:

Read request

Normal

This is normal read request without any extra arguments

Request:

Response:

Subtree

This is normal read request without any extra arguments, but now only Object1's subtree is wanted.

Request:

Response:

Objects xmlns="http://www.opengroup.org/xsd/odf/1.0/"

This is normal read request without any extra arguments, but now whole tree is wanted.

Request:

Response:

Not existing

This is normal read request without any extra arguments, now O-DF includes not existing elements.

Request:

Response:

Getting MetaData

This is normal read request without any extra arguments, now MetaData is wanted from Objects/Object1/Sensor1

Request:

Response:

Getting descriptions

This is normal read request without any extra arguments, now description is wanted from Objects/Object1/Sensor1

Request:

Response:

Newest

User wants 3 newest values.

Argument:
  • newest

Request:

Response:

Oldest

User wants 3 oldest values.

Argument:
  • oldest

Request:

Response:

Closed timeframe

User wants values between 01-01-1970T00:00:03.000 and 00:00:00.006.

Argument:
  • begin
  • end

Request:

Response:

Open timeframe, begin

User wants values after 01-01-1970T00:00:03.000

Argument:
  • begin

Request:

Response:

Open timeframe, end

User wants values before 01-01-1970T00:00:06.000.

Argument:
  • begin

Request:

Response:

Closed timeframe with newest

User wants two newest values between 01-01-1970T00:00:03.000 and 00:00:00.006.

Argument:
  • begin
  • end
  • newest

Request:

Response:

Closed timeframe with oldest

User wants two oldest values between 01-01-1970T00:00:03.000 and 00:00:00.006.

Argument:
  • begin
  • end
  • oldest

Request:

Response:

Open timeframe with oldest, begin

User wants two oldest values after 01-01-1970T00:00:03.000.

Argument:
  • begin
  • oldest

Request:

Response:

Open timeframe with newest, begin

User wants two newest values after 01-01-1970T00:00:03.000.

Argument:
  • begin
  • newest

Request:

Response:

Open timeframe with oldest, end

User wants two oldest values before 01-01-1970T00:00:06.000.

Argument:
  • end
  • oldest

Request:

Response:

Open timeframe with newest, end

User wants two newest values before 01-01-1970T00:00:06.000.

Argument:
  • end
  • newest

Request:

Response:

Callback

User wants node to send response for actual request to another address.

Argument:
  • callback

Request:

Response:

Subscription request

Polled inteval subscription

Subscription with interval of 1, but without a callback address.

Request:

Response:

Request:

Response:

Request:

Response:

Request:

Response:

Polled event subscription

Subscription with interval of -1, but without a callback address.

Request:

Response:

Request:

Response:

Request:

Response:

Request:

Response:

Request:

Response:

Normal inteval subscription

Subscription with interval of 1 and with a callback address.

Request:

Response:

Response to callback:

Response to callback:

Request:

Response:

Normal event subscription

Subscription with interval of -1 and with a callback address.

Request:

Response:

Request:

Response:

Response to callback:

Request:

Response: