My Project
JC_Options.h
1 #pragma once
2 #include <string>
3 
4 namespace ParaEngine
5 {
6  using namespace std;
7 
11  class JCOptions
12  {
13  public:
14  JCOptions();
15 
19  string NAMESPACE;
20 
24  string NETWORK_HOST;
25 
29  string SERVER;
30 
34  string TO;
38  string SERVER_ID;
42  float KEEP_ALIVE;
46  int PORT;
50  bool SSL;
54  bool AUTO_TLS;
62  bool PLAINTEXT;
66  bool SASL;
67 
68 
72  string USER;
76  string PASSWORD;
80  string RESOURCE;
84  int PRIORITY;
85 
86 
90  bool AUTO_LOGIN;
103  };
104 }
string SERVER_ID
The identity that we expect on the X.509 certificate on the other side.
Definition: JC_Options.h:38
int PORT
Port number to connect to or listen on.
Definition: JC_Options.h:46
string RESOURCE
The resource to bind to.
Definition: JC_Options.h:80
string SERVER
The name of the server to connect to.
Definition: JC_Options.h:29
bool AUTO_LOGIN
Automatically login.
Definition: JC_Options.h:90
different physics engine has different winding order.
Definition: EventBinding.h:32
bool SASL
Do SASL connection?
Definition: JC_Options.h:66
bool AUTO_COMPRESS
Automatically negotiate XEP-138 compression.
Definition: JC_Options.h:58
bool PLAINTEXT
Allow plaintext logins.
Definition: JC_Options.h:62
bool SSL
Do SSL on connection?
Definition: JC_Options.h:50
bool AUTO_TLS
Automatically negotiate TLS.
Definition: JC_Options.h:54
float KEEP_ALIVE
How often to do keep-alive spaces (seconds).
Definition: JC_Options.h:42
string NETWORK_HOST
The IP or hostname of the machine to connect to.
Definition: JC_Options.h:24
string USER
The user to log in as.
Definition: JC_Options.h:72
bool AUTO_ROSTER
Automatically retrieve the roster.
Definition: JC_Options.h:94
string NAMESPACE
Default namespace.
Definition: JC_Options.h:19
string TO
The identity of the thing we&#39;re connecting to.
Definition: JC_Options.h:34
bool AUTO_PRESENCE
Automatically send presence.
Definition: JC_Options.h:102
string PASSWORD
The password for the user, or secret for the component.
Definition: JC_Options.h:76
int PRIORITY
Default priority for presence.
Definition: JC_Options.h:84
Option names.
Definition: JC_Options.h:11
bool AUTO_IQ_ERRORS
Automatically send back 501/feature-not-implemented to IQs that have not been handled.
Definition: JC_Options.h:98