from enum import Enum
import time

class DataType(Enum):
    STRING = 1
    NUMERIC = 2
    TIME = 3

class MessageType(Enum):
    EMPTY = 0
    STATE = 1


class Message:
    type = None
    timestamp = 0
    payload = None
    
    def __init__(self, type=None, payload=None) -> None:
        self.type = type
        self.timestamp = time.time()
        self.payload = payload


    

class StateMessage:
    infos = None
    session = None
    messages = None

    def __init__(self,  **entries):
        self.__dict__.update(entries) 

28b8a9e557b68cfb491f309da244bce5511c601d
<mask token>


class StateMessage:
    infos = None
    session = None
    messages = None

    def __init__(self, **entries):
        self.__dict__.update(entries)

<mask token>


class Message:
    <mask token>
    <mask token>
    <mask token>
    <mask token>


class StateMessage:
    infos = None
    session = None
    messages = None

    def __init__(self, **entries):
        self.__dict__.update(entries)

<mask token>


class Message:
    <mask token>
    <mask token>
    <mask token>

    def __init__(self, type=None, payload=None) ->None:
        self.type = type
        self.timestamp = time.time()
        self.payload = payload


class StateMessage:
    infos = None
    session = None
    messages = None

    def __init__(self, **entries):
        self.__dict__.update(entries)

<mask token>


class DataType(Enum):
    <mask token>
    <mask token>
    <mask token>


class MessageType(Enum):
    EMPTY = 0
    STATE = 1


class Message:
    type = None
    timestamp = 0
    payload = None

    def __init__(self, type=None, payload=None) ->None:
        self.type = type
        self.timestamp = time.time()
        self.payload = payload


class StateMessage:
    infos = None
    session = None
    messages = None

    def __init__(self, **entries):
        self.__dict__.update(entries)

from enum import Enum
import time

class DataType(Enum):
    STRING = 1
    NUMERIC = 2
    TIME = 3

class MessageType(Enum):
    EMPTY = 0
    STATE = 1


class Message:
    type = None
    timestamp = 0
    payload = None
    
    def __init__(self, type=None, payload=None) -> None:
        self.type = type
        self.timestamp = time.time()
        self.payload = payload


    

class StateMessage:
    infos = None
    session = None
    messages = None

    def __init__(self,  **entries):
        self.__dict__.update(entries) 
