Class: SocketProxy::SessionPool::Session
- Inherits:
-
Object
- Object
- SocketProxy::SessionPool::Session
- Defined in:
- lib/socket_proxy.rb
Instance Attribute Summary collapse
-
#client ⇒ Object
readonly
Returns the value of attribute client.
-
#server ⇒ Object
readonly
Returns the value of attribute server.
Instance Method Summary collapse
Instance Attribute Details
#client ⇒ Object (readonly)
Returns the value of attribute client.
89 90 91 |
# File 'lib/socket_proxy.rb', line 89 def client @client end |
#server ⇒ Object (readonly)
Returns the value of attribute server.
88 89 90 |
# File 'lib/socket_proxy.rb', line 88 def server @server end |
Instance Method Details
#closed? ⇒ Boolean
91 92 93 |
# File 'lib/socket_proxy.rb', line 91 def closed? @server.closed? and @client.closed? end |