Class: DeepConnect::Config

Inherits:
Object show all
Defined in:
lib/deep-connect/conf.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfig

Returns a new instance of Config.



10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# File 'lib/deep-connect/conf.rb', line 10

def initialize

  # enable distributed garbage collection.
  @ENABLE_GC = false

  @KEEP_ALIVE_INTERVAL = 60
  @MON_INTERVAL = 10

  # debugging attributes.
  @DISABLE_INFO = true

  @DISPLAY_MESSAGE_TRACE = false
  @MESSAGE_DISPLAY = false
  @DEBUG = false
  @DISPLAY_METHOD_SPEC = false
  @DISPLAY_MONITOR_MESSAGE = false
  @DISPLAY_KEEP_ALIVE = false

  @DEBUG_REFERENCE = false
  @DISPLAY_GC = false
end

Instance Attribute Details

#DEBUGObject

Returns the value of attribute DEBUG.



38
39
40
# File 'lib/deep-connect/conf.rb', line 38

def DEBUG
  @DEBUG
end

#DEBUG_REFERENCEObject

Returns the value of attribute DEBUG_REFERENCE.



43
44
45
# File 'lib/deep-connect/conf.rb', line 43

def DEBUG_REFERENCE
  @DEBUG_REFERENCE
end

#DISABLE_INFOObject

Returns the value of attribute DISABLE_INFO.



46
47
48
# File 'lib/deep-connect/conf.rb', line 46

def DISABLE_INFO
  @DISABLE_INFO
end

#DISPLAY_GCObject

Returns the value of attribute DISPLAY_GC.



44
45
46
# File 'lib/deep-connect/conf.rb', line 44

def DISPLAY_GC
  @DISPLAY_GC
end

#DISPLAY_KEEP_ALIVEObject

Returns the value of attribute DISPLAY_KEEP_ALIVE.



41
42
43
# File 'lib/deep-connect/conf.rb', line 41

def DISPLAY_KEEP_ALIVE
  @DISPLAY_KEEP_ALIVE
end

#DISPLAY_MESSAGE_TRACEObject

Returns the value of attribute DISPLAY_MESSAGE_TRACE.



36
37
38
# File 'lib/deep-connect/conf.rb', line 36

def DISPLAY_MESSAGE_TRACE
  @DISPLAY_MESSAGE_TRACE
end

#DISPLAY_METHOD_SPECObject

Returns the value of attribute DISPLAY_METHOD_SPEC.



39
40
41
# File 'lib/deep-connect/conf.rb', line 39

def DISPLAY_METHOD_SPEC
  @DISPLAY_METHOD_SPEC
end

#DISPLAY_MONITOR_MESSAGEObject

Returns the value of attribute DISPLAY_MONITOR_MESSAGE.



40
41
42
# File 'lib/deep-connect/conf.rb', line 40

def DISPLAY_MONITOR_MESSAGE
  @DISPLAY_MONITOR_MESSAGE
end

#ENABLE_GCObject

Returns the value of attribute ENABLE_GC.



32
33
34
# File 'lib/deep-connect/conf.rb', line 32

def ENABLE_GC
  @ENABLE_GC
end

#KEEP_ALIVE_INTERVALObject

Returns the value of attribute KEEP_ALIVE_INTERVAL.



33
34
35
# File 'lib/deep-connect/conf.rb', line 33

def KEEP_ALIVE_INTERVAL
  @KEEP_ALIVE_INTERVAL
end

#MESSAGE_DISPLAYObject

Returns the value of attribute MESSAGE_DISPLAY.



37
38
39
# File 'lib/deep-connect/conf.rb', line 37

def MESSAGE_DISPLAY
  @MESSAGE_DISPLAY
end

#MON_INTERVALObject

Returns the value of attribute MON_INTERVAL.



34
35
36
# File 'lib/deep-connect/conf.rb', line 34

def MON_INTERVAL
  @MON_INTERVAL
end