Module: DTAS::Source::Common
Overview
Copyright © 2013-2014, Eric Wong <[email protected]> and all contributors License: GPLv3 or later (www.gnu.org/licenses/gpl-3.0.txt)
Instance Attribute Summary collapse
-
#dst ⇒ Object
readonly
Returns the value of attribute dst.
-
#dst_zero_byte ⇒ Object
readonly
:nodoc:.
-
#requeued ⇒ Object
Returns the value of attribute requeued.
Instance Method Summary collapse
Instance Attribute Details
#dst ⇒ Object (readonly)
Returns the value of attribute dst.
5 6 7 |
# File 'lib/dtas/source/common.rb', line 5 def dst @dst end |
#dst_zero_byte ⇒ Object (readonly)
:nodoc:
4 5 6 |
# File 'lib/dtas/source/common.rb', line 4 def dst_zero_byte @dst_zero_byte end |
#requeued ⇒ Object
Returns the value of attribute requeued.
6 7 8 |
# File 'lib/dtas/source/common.rb', line 6 def requeued @requeued end |
Instance Method Details
#dst_assoc(buf) ⇒ Object
8 9 10 11 12 |
# File 'lib/dtas/source/common.rb', line 8 def dst_assoc(buf) @dst = buf @dst_zero_byte = buf.bytes_xfer + buf.inflight @requeued = false end |