Class: SocketProxy::SessionPool::Session

Inherits:
Object
  • Object
show all
Defined in:
lib/socket_proxy.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#clientObject (readonly)

Returns the value of attribute client.



89
90
91
# File 'lib/socket_proxy.rb', line 89

def client
  @client
end

#serverObject (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

Returns:

  • (Boolean)


91
92
93
# File 'lib/socket_proxy.rb', line 91

def closed?
  @server.closed? and @client.closed?
end