ServiceType¶
-
class
services.
ServiceType
¶ Bases:
object
ServiceTypes are all assoc serrives in our System They need to match with the one in the db
Attributes Summary
PUSH
REST
TCP
UNIX
UPD
WEBRTC
WEBSOCKET
Methods Summary
get_name
(_type)Gets the current name of ServiceType Attributes Documentation
-
PUSH
= 5¶
-
REST
= 4¶
-
TCP
= 2¶
-
UNIX
= 6¶
-
UPD
= 1¶
-
WEBRTC
= 7¶
-
WEBSOCKET
= 3¶
Methods Documentation
-
static
get_name
(_type)¶ Gets the current name of ServiceType
Parameters: - {Int} -- current type as int (_type) –
- {String} -- current string as name (returns) –
-