Module: OverSIP
- Defined in:
- lib/oversip/fiber_pool.rb,
lib/oversip.rb,
lib/oversip/tls.rb,
lib/oversip/utils.rb,
lib/oversip/config.rb,
lib/oversip/errors.rb,
lib/oversip/logger.rb,
lib/oversip/version.rb,
lib/oversip/posix_mq.rb,
lib/oversip/proxies_config.rb,
lib/oversip/config_validators.rb,
lib/oversip/syslogger_process.rb,
ext/stun/stun_ruby.c,
ext/utils/utils_ruby.c,
ext/sip_parser/sip_parser_ruby.c,
ext/websocket_http_parser/ws_http_parser_ruby.c,
ext/websocket_framing_utils/ws_framing_utils_ruby.c
Overview
NOTE: Extracted from github.com/schmurfy/fiber_pool.
Defined Under Namespace
Modules: Config, GemVersion, Launcher, Logger, ProxiesConfig, SIP, Stun, SysLoggerProcess, TLS, Utils, Version, WebSocket Classes: ConfigurationError, Error, FiberPool, LogicError, PosixMQ
Constant Summary collapse
- PROGRAM_NAME =
"OverSIP"
- PROGRAM_NAME_LOW =
PROGRAM_NAME.downcase
- PROGRAM_DESC =
"OverSIP Server"
- VERSION =
[Version::MAJOR, Version::MINOR, Version::TINY].join('.')
- AUTHOR =
"IƱaki Baz Castillo"
- AUTHOR_EMAIL =
"[email protected]"
- DESCRIPTION =
"#{PROGRAM_NAME} #{VERSION}\n2012, #{AUTHOR} <#{AUTHOR_EMAIL}>"
Class Attribute Summary collapse
-
.configuration ⇒ Object
Returns the value of attribute configuration.
-
.daemonized ⇒ Object
Returns the value of attribute daemonized.
-
.master_name ⇒ Object
Returns the value of attribute master_name.
-
.master_pid ⇒ Object
Returns the value of attribute master_pid.
-
.pid_file ⇒ Object
Returns the value of attribute pid_file.
-
.proxies ⇒ Object
Returns the value of attribute proxies.
-
.stud_pids ⇒ Object
Returns the value of attribute stud_pids.
-
.syslogger_mq_name ⇒ Object
Returns the value of attribute syslogger_mq_name.
-
.syslogger_pid ⇒ Object
Returns the value of attribute syslogger_pid.
-
.tls ⇒ Object
Returns the value of attribute tls.
-
.tls_private_cert ⇒ Object
Returns the value of attribute tls_private_cert.
-
.tls_proxy_ipv4 ⇒ Object
Returns the value of attribute tls_proxy_ipv4.
-
.tls_proxy_ipv6 ⇒ Object
Returns the value of attribute tls_proxy_ipv6.
-
.tls_public_cert ⇒ Object
Returns the value of attribute tls_public_cert.
Class Method Summary collapse
Class Attribute Details
.configuration ⇒ Object
Returns the value of attribute configuration.
36 37 38 |
# File 'lib/oversip.rb', line 36 def configuration @configuration end |
.daemonized ⇒ Object
Returns the value of attribute daemonized.
36 37 38 |
# File 'lib/oversip.rb', line 36 def daemonized @daemonized end |
.master_name ⇒ Object
Returns the value of attribute master_name.
36 37 38 |
# File 'lib/oversip.rb', line 36 def master_name @master_name end |
.master_pid ⇒ Object
Returns the value of attribute master_pid.
36 37 38 |
# File 'lib/oversip.rb', line 36 def master_pid @master_pid end |
.pid_file ⇒ Object
Returns the value of attribute pid_file.
36 37 38 |
# File 'lib/oversip.rb', line 36 def pid_file @pid_file end |
.proxies ⇒ Object
Returns the value of attribute proxies.
36 37 38 |
# File 'lib/oversip.rb', line 36 def proxies @proxies end |
.stud_pids ⇒ Object
Returns the value of attribute stud_pids.
36 37 38 |
# File 'lib/oversip.rb', line 36 def stud_pids @stud_pids end |
.syslogger_mq_name ⇒ Object
Returns the value of attribute syslogger_mq_name.
36 37 38 |
# File 'lib/oversip.rb', line 36 def syslogger_mq_name @syslogger_mq_name end |
.syslogger_pid ⇒ Object
Returns the value of attribute syslogger_pid.
36 37 38 |
# File 'lib/oversip.rb', line 36 def syslogger_pid @syslogger_pid end |
.tls ⇒ Object
Returns the value of attribute tls.
36 37 38 |
# File 'lib/oversip.rb', line 36 def tls @tls end |
.tls_private_cert ⇒ Object
Returns the value of attribute tls_private_cert.
36 37 38 |
# File 'lib/oversip.rb', line 36 def tls_private_cert @tls_private_cert end |
.tls_proxy_ipv4 ⇒ Object
Returns the value of attribute tls_proxy_ipv4.
36 37 38 |
# File 'lib/oversip.rb', line 36 def tls_proxy_ipv4 @tls_proxy_ipv4 end |
.tls_proxy_ipv6 ⇒ Object
Returns the value of attribute tls_proxy_ipv6.
36 37 38 |
# File 'lib/oversip.rb', line 36 def tls_proxy_ipv6 @tls_proxy_ipv6 end |
.tls_public_cert ⇒ Object
Returns the value of attribute tls_public_cert.
36 37 38 |
# File 'lib/oversip.rb', line 36 def tls_public_cert @tls_public_cert end |
Class Method Details
.daemonized? ⇒ Boolean
47 48 49 |
# File 'lib/oversip.rb', line 47 def daemonized? @daemonized end |
.master? ⇒ Boolean
43 44 45 |
# File 'lib/oversip.rb', line 43 def master? @master_pid == $$ end |
.syslogger_ready? ⇒ Boolean
51 52 53 |
# File 'lib/oversip.rb', line 51 def syslogger_ready? @syslogger_pid and true end |