connected Property

Indicates whether or not the class is bound.

Syntax

def get_connected() -> bool: ...

connected = property(get_connected, None)

Default Value

FALSE

Remarks

The value of this property indicates whether or not the class has successfully bound to the smpp_server. It will not be true until a successful on_connected event has fired.

There are two ways to bind: by calling connect with a user identifier and password which will set the user_id and password properties before connecting; or by setting those two properties and calling send_message while not connected.

This property is read-only.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 Python Edition - Version 20.0 [Build 8307]