SHIPHarbour: Generic

Description

The SHIPHarbour API ultimately only allows transmission of one type of message which is called a Generic message. This message type holds required fields of all messages as well as holding all possible message payloads.

Message Fields

version

Must be set to the VersionCode of the protocol currently being used.

error

Must be set to NONE when sending a new request to SHIPHarbour Master. Any response messages will have this field set to the most descriptive ErrorCode if a request fails.

payload

Holds exactly one of the following types:

  • open – These messages are used to establish a new connection between SHIPHarbour Master and a client.
  • close – These messages are used to terminate an active connection with SHIPHarbour Master.
  • pluginInfo – These messages are sent spontaneously by SHIPHarbour Master in order to notify clients of available communications interfaces.
  • moduleInfo – These messages are sent spontaneously by SHIPHarbour Master in order to notify clients of connections and disconnections of Endpoints.
  • routine – All requests that are directly targeted at interacting with a Serious Integrated module are encapsulated in this message type.
Cookie Settings
e2ip technologies respects your privacy

Our website uses cookies to improve your experience. By clicking "Accept All", you consent to the usage of all cookies. You can customize your preferences through the below options. For more information, please read our Privacy Policy.

 

Strictly Necessary

Strictly Necessary Cookies ensure a smooth website navigation by enabling fundamental features like page browsing and secure access to specific areas. Without these cookies, the website would experience functionality issues.

Analytics

Analytics cookies enable us to gain insights into visitor interactions on the website by gathering and presenting data. This data remains anonymous and does not contain personally identifiable information.

Targeting

Targeting cookies are used to limit the number of times you see an advert, to show you adverts relevant to you, and to help measure the effectiveness of marketing activities.