Class: RemoteSyslog::TlsEndpoint::Handler
- Inherits:
-
EventMachine::Connection
- Object
- EventMachine::Connection
- RemoteSyslog::TlsEndpoint::Handler
- Defined in:
- lib/remote_syslog/tls_endpoint.rb
Instance Method Summary collapse
- #connection_completed ⇒ Object
-
#initialize(endpoint) ⇒ Handler
constructor
A new instance of Handler.
- #unbind ⇒ Object
Constructor Details
#initialize(endpoint) ⇒ Handler
Returns a new instance of Handler.
4 5 6 7 8 |
# File 'lib/remote_syslog/tls_endpoint.rb', line 4 def initialize(endpoint) @endpoint = endpoint @endpoint.connection = self super() end |
Instance Method Details
#connection_completed ⇒ Object
10 11 12 |
# File 'lib/remote_syslog/tls_endpoint.rb', line 10 def connection_completed start_tls end |
#unbind ⇒ Object
14 15 16 |
# File 'lib/remote_syslog/tls_endpoint.rb', line 14 def unbind @endpoint.unbind end |