Commit e5c7e713 authored by Milosz Malczak's avatar Milosz Malczak

server: modified comments

parent d5118bc5
......@@ -5,10 +5,6 @@ logger = logging.getLogger(__name__)
class ConnectionManager():
"""
Manages connections with all nodes. Provides access to the nodes for other
classes
"""
def __init__(self):
self.__user_apps = dict()
......
......@@ -3,7 +3,7 @@ expose.py
============================================
Exposes the functionalities of the Server to Device Applications and to
User Applications. All communication with other applications is done using
Expose class.
the Expose class.
For communication with the nodes it uses `ZeroMQ <https://zeromq.org/>`_
sockets.
......@@ -241,7 +241,7 @@ class Expose():
and from Zeroconf (zeroconf_listener).
The monitor socket is used to monitor the state of ZeroMQ connection.
The message contain the name of the method to call. Since communication
The message contains the name of the method to call. Since communication
with the User Applications is synchronous, the socket_user_listener
sends back the data returned by the called funciton. In case of
socket_ADC_listener and zeroconf_listener the communication is
......
......@@ -12,17 +12,6 @@ class HorizontalSettingsError(Exception):
class UserApplication():
"""
It is a model of the User Application.
All changes in the User Application are reflected here(adding/removing
channels, triggers, starting/stopping acquisition, changing the acquisition
length.
All changes that affect the User Apllication are done through this class
(availability of the devices, acquisition data)
"""
def __init__(self, name, user_app_addr, user_app_port, connection_manager):
self.name = name
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment