Difference between revisions of "WorkMan HVS - IP Protocol"
From WorkManSoft Wiki
Jump to navigationJump to search (→About) |
|||
Line 32: | Line 32: | ||
|} | |} | ||
− | === | + | === Keep-alive === |
{| class="wikitable" {{table }} | {| class="wikitable" {{table }} | ||
Line 42: | Line 42: | ||
| style="background-color:#ffffcc;" | '''Mandatory'''||No, only HVS in clientmode sends this. | | style="background-color:#ffffcc;" | '''Mandatory'''||No, only HVS in clientmode sends this. | ||
|- | |- | ||
− | | style="background-color:#ffffcc;" | '''Structure'''||ALIVE | + | | style="background-color:#ffffcc;" | '''Structure'''||ALIVE |
|- | |- | ||
− | | style="background-color:#ffffcc;" | '''Response'''||OK;ALIVE | + | | style="background-color:#ffffcc;" | '''Response'''||OK;ALIVE |
|- | |- | ||
− | | style="background-color:#ffffcc;" | '''Example sender'''||ALIVE | + | | style="background-color:#ffffcc;" | '''Example sender'''||ALIVE |
|- | |- | ||
− | | style="background-color:#ffffcc;" | '''Example response'''||OK;ALIVE | + | | style="background-color:#ffffcc;" | '''Example response'''||OK;ALIVE |
|- | |- | ||
− | | style="background-color:#ffffcc;" | '''About'''||Sends | + | | style="background-color:#ffffcc;" | '''About'''||Sends an ALIVE-signal to the server to see that connection is up. |
|} | |} | ||
Revision as of 13:30, 31 August 2012
About
This protocol is our own protocol and can be used if no other protocol is in place.
The protocol works over TCP/IP and is linebased with CR+LF (#13#10) as a end of command terminator. The second parameter is always a sequencenumber. WorkMan HVS can work both as a client and as a server.
HS = Hotel System HVS = Our system (Hotel Växel System)
List over commands
Welcome
Command | WELCOME |
Direction | HVS to HS |
Mandatory | No, only HVS in servermode sends this. |
Structure | WELCOME; |
Response | none |
Example sender | WELCOME;1 |
Example response | |
About | Sends a welcome from the HVS server to connecting client. |
Keep-alive
Command | ALIVE |
Direction | HVS to HS |
Mandatory | No, only HVS in clientmode sends this. |
Structure | ALIVE |
Response | OK;ALIVE |
Example sender | ALIVE |
Example response | OK;ALIVE |
About | Sends an ALIVE-signal to the server to see that connection is up. |