Class: Hprose::TcpClient::TcpConnEntry
- Inherits:
-
Object
- Object
- Hprose::TcpClient::TcpConnEntry
- Defined in:
- lib/hprose/tcpclient.rb
Instance Attribute Summary collapse
-
#socket ⇒ Object
Returns the value of attribute socket.
-
#status ⇒ Object
Returns the value of attribute status.
-
#uri ⇒ Object
Returns the value of attribute uri.
Instance Method Summary collapse
-
#initialize(uri) ⇒ TcpConnEntry
constructor
A new instance of TcpConnEntry.
Constructor Details
#initialize(uri) ⇒ TcpConnEntry
Returns a new instance of TcpConnEntry.
34 35 36 37 38 |
# File 'lib/hprose/tcpclient.rb', line 34 def initialize(uri) @uri = uri @status = TcpConnStatus::Using @socket = nil end |
Instance Attribute Details
#socket ⇒ Object
Returns the value of attribute socket.
39 40 41 |
# File 'lib/hprose/tcpclient.rb', line 39 def socket @socket end |
#status ⇒ Object
Returns the value of attribute status.
39 40 41 |
# File 'lib/hprose/tcpclient.rb', line 39 def status @status end |
#uri ⇒ Object
Returns the value of attribute uri.
39 40 41 |
# File 'lib/hprose/tcpclient.rb', line 39 def uri @uri end |