File: config.g

package info (click to toggle)
gap-scscp 2.2.3%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,696 kB
  • sloc: xml: 1,226; sh: 388; makefile: 19
file content (80 lines) | stat: -rw-r--r-- 3,032 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
###########################################################################
##
#W config.g                 The SCSCP package           Alexander Konovalov
#W                                                             Steve Linton
##
## This is a sample configuration file for the GAP package SCSCP. 
##
###########################################################################

###########################################################################
#
# General parameters
#

# setting the default InfoLevels
SetInfoLevel(InfoSCSCP,0);
SetInfoLevel(InfoMasterWorker,2);

# If the SuppressOpenMathReferences is set to true, then 
# OMPutReference (lib/openmath.gi) will put the actual 
# OpenMath code for an object whenever it has id or not.
# This might be needed for compatibility with some systems.
# This parameter was set to false in the OpenMath package.
# Uncomment the next line, if you need to change it.
# SuppressOpenMathReferences := true;

###########################################################################
#
# Default parameters for the server mode (note that they will be 
# overwritten if the server is started using scscp/gapscscp.sh script
#

# setting the default hostname to be used in the server mode. May be:
# * "localhost" or specific string
# * Hostname(); to determine it automatically
# * true to listen all network interfaces
# Uncomment needed line below.

SCSCPserverAddress := "localhost";
# SCSCPserverAddress := Hostname();
# SCSCPserverAddress := true;

# setting the default port
SCSCPserverPort := 26133;

# If SCSCPserverAcceptsOnlyTransientCD is true, the server
# will accept only procedures from scscp_transient_1 CD.
# otherwise calls like scscp1.procedure_call(integer2.euler(n))
# will be also possible (however, it is possible to have a
# designated procedure EvaluateOpenMathCode to evaluate 
# arbitrary OpenMath code.
# 
# If you run a public service it is strongly recommended to set 
# this parameter to 'true'
#
SCSCPserverAcceptsOnlyTransientCD := true;

# The server may have a backlog of SCSCPqueueLength connections:
# if the client will try to connect while the server is busy, it
# will be placed in the queue if the current length of the queue 
# is shorter than SCSCPqueueLength. Otherwise, the connection will
# be refused.
SCSCPqueueLength := 5;

# setting the name of the service, for example, 
# "GAP SCSCP service", "Group identification service" etc.
SCSCPserviceName:="GAP SCSCP service";

# setting information about the version of the service,
# which may combine packages versions, timestamp when
# the server was started, and other information
SCSCPserviceVersion:= Concatenation( 
	"GAP ", GAPInfo.Version, 
	" + SCSCP ", GAPInfo.PackagesInfo.scscp[1].Version );

# setting the default description, which may include, for example, 
# functions exposed, description of resources, contact details of 
# service provider, and any other useful information
SCSCPserviceDescription:= 
  "Started with the configuration file scscp/example/myserver.g ";