Class: Ucp::Pdu::UcpResult

Inherits:
UCPMessage show all
Defined in:
lib/ucp/pdu/ucp_result.rb

Constant Summary

Constants inherited from UCPMessage

Ucp::Pdu::UCPMessage::DELIMITER, Ucp::Pdu::UCPMessage::ETX, Ucp::Pdu::UCPMessage::STX

Instance Attribute Summary

Attributes inherited from UCPMessage

#dcs, #message_ref, #operation, #operation_type, #part_nr, #total_parts, #trn

Instance Method Summary collapse

Methods inherited from UCPMessage

#checksum, #get_field, #is_ack?, #is_nack?, #is_operation?, #is_result?, #length, #set_field, #set_fields, #to_s

Constructor Details

#initializeUcpResult

Returns a new instance of UcpResult.



23
24
25
# File 'lib/ucp/pdu/ucp_result.rb', line 23

def initialize
 @operation_type="R"
end