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/syslog.rb,
lib/oversip/version.rb,
lib/oversip/posix_mq.rb,
lib/oversip/default_server.rb,
lib/oversip/proxies_config.rb,
lib/oversip/system_callbacks.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, Launcher, Logger, Modules, ProxiesConfig, SIP, SipEvents, Stun, SysLoggerProcess, Syslog, SystemCallbacks, SystemEvents, TLS, Utils, Version, WebSocket, WebSocketEvents Classes: ConfigurationError, Error, FiberPool, PosixMQ, RuntimeError
Constant Summary collapse
- M =
Allow OverSIP::M::MODULE_NAME usage.
Modules
- PROGRAM_NAME =
"OverSIP"
- VERSION =
[Version::MAJOR, Version::MINOR, Version::TINY].join(".")
- AUTHOR =
"Inaki Baz Castillo"
- AUTHOR_EMAIL =
"[email protected]"
- HOMEPAGE =
"http://www.oversip.net"
- DESCRIPTION =
"#{PROGRAM_NAME} #{VERSION}\n#{HOMEPAGE}\n#{year}, #{AUTHOR} <#{AUTHOR_EMAIL}>"
Class Attribute Summary collapse
-
.configuration ⇒ Object
Returns the value of attribute configuration.
-
.daemonized ⇒ Object
Returns the value of attribute daemonized.
-
.is_ready ⇒ Object
Returns the value of attribute is_ready.
-
.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.
-
.status ⇒ Object
Returns the value of attribute status.
-
.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_private_cert ⇒ Object
Returns the value of attribute tls_private_cert.
-
.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.
44 45 46 |
# File 'lib/oversip.rb', line 44 def configuration @configuration end |
.daemonized ⇒ Object
Returns the value of attribute daemonized.
44 45 46 |
# File 'lib/oversip.rb', line 44 def daemonized @daemonized end |
.is_ready ⇒ Object
Returns the value of attribute is_ready.
44 45 46 |
# File 'lib/oversip.rb', line 44 def is_ready @is_ready end |
.master_name ⇒ Object
Returns the value of attribute master_name.
44 45 46 |
# File 'lib/oversip.rb', line 44 def master_name @master_name end |
.master_pid ⇒ Object
Returns the value of attribute master_pid.
44 45 46 |
# File 'lib/oversip.rb', line 44 def master_pid @master_pid end |
.pid_file ⇒ Object
Returns the value of attribute pid_file.
44 45 46 |
# File 'lib/oversip.rb', line 44 def pid_file @pid_file end |
.proxies ⇒ Object
Returns the value of attribute proxies.
44 45 46 |
# File 'lib/oversip.rb', line 44 def proxies @proxies end |
.status ⇒ Object
Returns the value of attribute status.
44 45 46 |
# File 'lib/oversip.rb', line 44 def status @status end |
.stud_pids ⇒ Object
Returns the value of attribute stud_pids.
44 45 46 |
# File 'lib/oversip.rb', line 44 def stud_pids @stud_pids end |
.syslogger_mq_name ⇒ Object
Returns the value of attribute syslogger_mq_name.
44 45 46 |
# File 'lib/oversip.rb', line 44 def syslogger_mq_name @syslogger_mq_name end |
.syslogger_pid ⇒ Object
Returns the value of attribute syslogger_pid.
44 45 46 |
# File 'lib/oversip.rb', line 44 def syslogger_pid @syslogger_pid end |
.tls_private_cert ⇒ Object
Returns the value of attribute tls_private_cert.
44 45 46 |
# File 'lib/oversip.rb', line 44 def tls_private_cert @tls_private_cert end |
.tls_public_cert ⇒ Object
Returns the value of attribute tls_public_cert.
44 45 46 |
# File 'lib/oversip.rb', line 44 def tls_public_cert @tls_public_cert end |
Class Method Details
.daemonized? ⇒ Boolean
57 58 59 |
# File 'lib/oversip.rb', line 57 def daemonized? @daemonized end |
.master? ⇒ Boolean
53 54 55 |
# File 'lib/oversip.rb', line 53 def master? @master_pid == $$ end |
.syslogger_ready? ⇒ Boolean
61 62 63 |
# File 'lib/oversip.rb', line 61 def syslogger_ready? @syslogger_pid and true end |