This class represents the core of the system. More...

Public Member Functions | |
| String | processClientMessage (String json, String userName, GeneralUserPermission userPermission) |
| Process a message sent from a client. More... | |
| CopaSystemContext | getContext () |
Static Public Member Functions | |
| static CopaSystem | getInstance () |
| Get the instance of the CopaSystem. More... | |
This class represents the core of the system.
It receives client messages, processes them and returns responses. It is to be used by a wrapper that provides the communication with clients. Due to allow simple access by these wrappers, the class is a singleton.
|
static |
Get the instance of the CopaSystem.
Do not use this if not absolutely necessary. Components of the system are provided with the needed information by the system itself.
| String unicopa.copa.server.CopaSystem.processClientMessage | ( | String | json, |
| String | userName, | ||
| GeneralUserPermission | userPermission | ||
| ) |
Process a message sent from a client.
| json | the message from the client (expected in JSON format) |
| userName | the unique user name of the user whose message to process |
1.8.4