<filename>xiPy/xively_connection_parameters.py<gh_stars>1-10
# Copyright (c) 2003-2016, Xively. All rights reserved.
# This is part of Xively Python library, it is under the BSD 3-Clause license.

class XivelyConnectionParameters:

    """XivelyClient Connection parameters"""

    def __init__(self):

        self.username = None
        self.password = <PASSWORD>

        self.client_id = None
        self.keep_alive = 60
        self.clean_session = False
        self.connection_timeout = 10

        self.will_qos = 0
        self.will_topic = None
        self.will_retain = False
        self.will_message = None

        self.use_websocket = False

<filename>xiPy/xively_connection_parameters.py<gh_stars>1-10
# Copyright (c) 2003-2016, Xively. All rights reserved.
# This is part of Xively Python library, it is under the BSD 3-Clause license.

class XivelyConnectionParameters:

    """XivelyClient Connection parameters"""

    def __init__(self):

        self.username = None
        self.password = <PASSWORD>

        self.client_id = None
        self.keep_alive = 60
        self.clean_session = False
        self.connection_timeout = 10

        self.will_qos = 0
        self.will_topic = None
        self.will_retain = False
        self.will_message = None

        self.use_websocket = False

# Copyright (c) 2003-2016, Xively. All rights reserved. # This is part of Xively Python library, it is under the BSD 3-Clause license. XivelyClient Connection parameters