Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Introduction

The Pocket Connector is one of the agents that controls communications with the outside world. It is specifically designed to handle all communication between the database and the PocketApps.

In and on itself, the Pocket Connector does not do much, but is needed to connect PocketApps to the system.

Communication
Status
colourYellow
titledeveloper

Information is communicated between the PocketApp and its Connector using XML over an HTTP POST interface. Be default the Connector listens on all IP addresses, on port 8080.

Note

When listening to IP 0.0.0.0 (default), it needs administrator privileges.

All received messages will be XML-parsed and checked against an XMLSchema. The schemas can be found in the Sapphire Runtime/schemas folder.

INI settings

section

name

value

description

general

loglevel

Debug, Warning, Error

What messages should be logged

general

logbuffer

(integer)

Length of the buffer on screen

objectinfo

article

(query)

The query to run when an object of type article is scanned in the “Check” feature of the PocketApp

objectinfo

carrier

(query)

Idem, for carrier objects

objectinfo

location

(query)

Idem, for location objects