2013-04-29 21:51:20 +02:00
|
|
|
# include/statuscodes.py
|
|
|
|
#
|
2013-06-19 16:25:43 +02:00
|
|
|
# module version: 1.0.20130617
|
|
|
|
# for protocol version 0.2.20130617
|
2013-04-29 21:51:20 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2013-04-26 12:55:37 +02:00
|
|
|
class statuscodes:
|
|
|
|
description = dict(
|
|
|
|
# 000 - 400 server side
|
|
|
|
# 000 information
|
2013-04-29 21:51:20 +02:00
|
|
|
s001 = "OK",
|
|
|
|
s002 = "Version",
|
|
|
|
s003 = "MOTD",
|
2013-06-19 16:25:43 +02:00
|
|
|
s004 = "Exit",
|
2013-04-26 12:55:37 +02:00
|
|
|
# 100 authentication and maintenance
|
2013-04-29 21:51:20 +02:00
|
|
|
s101 = "Challenge",
|
|
|
|
s102 = "Success",
|
|
|
|
s103 = "Failure",
|
|
|
|
s104 = "To Many Tries",
|
2013-04-26 12:55:37 +02:00
|
|
|
# 200 command
|
2013-04-29 21:51:20 +02:00
|
|
|
s201 = "Valid",
|
|
|
|
s202 = "Valid Service Command",
|
|
|
|
s203 = "Invalid",
|
|
|
|
s204 = "Failure",
|
|
|
|
s205 = "Continue",
|
2013-04-26 12:55:37 +02:00
|
|
|
# 300 server
|
2013-04-29 21:51:20 +02:00
|
|
|
s301 = "Unhandled Exception",
|
|
|
|
s302 = "Shutting Down",
|
|
|
|
s303 = "Restarting",
|
|
|
|
s304 = "Encoding Error",
|
|
|
|
s305 = "SSL Error",
|
2013-04-26 12:55:37 +02:00
|
|
|
# 500 - 900 client side
|
|
|
|
# 500 information
|
2013-04-29 21:51:20 +02:00
|
|
|
s501 = "OK",
|
|
|
|
s502 = "Version",
|
2013-04-26 12:55:37 +02:00
|
|
|
# 600 authentication and maintenance
|
2013-04-29 21:51:20 +02:00
|
|
|
s601 = "Response",
|
|
|
|
s602 = "Failure",
|
2013-04-26 12:55:37 +02:00
|
|
|
# 700 command
|
2013-04-29 21:51:20 +02:00
|
|
|
s701 = "Reqiuest",
|
|
|
|
s702 = "Cancel",
|
2013-04-26 12:55:37 +02:00
|
|
|
# 800 client
|
2013-04-29 21:51:20 +02:00
|
|
|
s801 = "SSL Error"
|
2013-04-26 12:55:37 +02:00
|
|
|
)
|