rail server: implement channel code for rail server

* Split common functionality from client code
* Clean up client code and use proper defines for constants
* Implements the channel code to read/write server side
  messages.
This commit is contained in:
Mati Shabtay
2019-07-04 10:58:08 +03:00
committed by akallabeth
parent 8298728663
commit 4dacb57f6f
16 changed files with 2487 additions and 645 deletions

View File

@@ -20,3 +20,7 @@ define_channel("rail")
if(WITH_CLIENT_CHANNELS)
add_channel_client(${MODULE_PREFIX} ${CHANNEL_NAME})
endif()
if(WITH_SERVER_CHANNELS)
add_channel_server(${MODULE_PREFIX} ${CHANNEL_NAME})
endif()