Class: Cwmp::AcsCpe
- Inherits:
-
Object
- Object
- Cwmp::AcsCpe
- Defined in:
- lib/cwmp/acs.rb
Instance Attribute Summary collapse
-
#conn_req ⇒ Object
Returns the value of attribute conn_req.
-
#queue ⇒ Object
Returns the value of attribute queue.
-
#req_currently_in_service ⇒ Object
Returns the value of attribute req_currently_in_service.
-
#serial ⇒ Object
Returns the value of attribute serial.
-
#session ⇒ Object
Returns the value of attribute session.
-
#session_cookie ⇒ Object
Returns the value of attribute session_cookie.
Instance Method Summary collapse
- #do_connection_request ⇒ Object
-
#initialize(serial) ⇒ AcsCpe
constructor
A new instance of AcsCpe.
Constructor Details
#initialize(serial) ⇒ AcsCpe
Returns a new instance of AcsCpe.
31 32 33 34 35 36 |
# File 'lib/cwmp/acs.rb', line 31 def initialize serial @serial = serial @queue = Queue.new @req_currently_in_service = nil @session = nil end |
Instance Attribute Details
#conn_req ⇒ Object
Returns the value of attribute conn_req.
29 30 31 |
# File 'lib/cwmp/acs.rb', line 29 def conn_req @conn_req end |
#queue ⇒ Object
Returns the value of attribute queue.
29 30 31 |
# File 'lib/cwmp/acs.rb', line 29 def queue @queue end |
#req_currently_in_service ⇒ Object
Returns the value of attribute req_currently_in_service.
29 30 31 |
# File 'lib/cwmp/acs.rb', line 29 def req_currently_in_service @req_currently_in_service end |
#serial ⇒ Object
Returns the value of attribute serial.
29 30 31 |
# File 'lib/cwmp/acs.rb', line 29 def serial @serial end |
#session ⇒ Object
Returns the value of attribute session.
29 30 31 |
# File 'lib/cwmp/acs.rb', line 29 def session @session end |
#session_cookie ⇒ Object
Returns the value of attribute session_cookie.
29 30 31 |
# File 'lib/cwmp/acs.rb', line 29 def @session_cookie end |
Instance Method Details
#do_connection_request ⇒ Object
38 39 40 41 |
# File 'lib/cwmp/acs.rb', line 38 def do_connection_request c = HTTPClient.new c.get @conn_req end |