Class: Virtuozzo::SOAP::Drivers::Device::Packet
- Inherits:
-
Packet_headerType
- Object
- Packet_headerType
- Virtuozzo::SOAP::Drivers::Device::Packet
- Defined in:
- lib/virtuozzo/soap/drivers/device/types.rb
Overview
http://www.swsoft.com/webservices/vzl/4.0.0/protocolpacket
auth - Virtuozzo::SOAP::Drivers::Device::AuthType
- SOAP::SOAPString
target - SOAP::SOAPString
origin - SOAP::SOAPString
src - Virtuozzo::SOAP::Drivers::Device::RouteType
dst - Virtuozzo::SOAP::Drivers::Device::RouteType
session - SOAP::SOAPString
data - Virtuozzo::SOAP::Drivers::Device::Packet::C_Data
xmlattr_version - SOAP::SOAPString
xmlattr_id - SOAP::SOAPString
xmlattr_priority - SOAP::SOAPString
xmlattr_time - SOAP::SOAPString
xmlattr_progress - SOAP::SOAPString
xmlattr_log - SOAP::SOAPString
xmlattr_type - SOAP::SOAPInt
xmlattr_timeout - SOAP::SOAPInt
xmlattr_timeout_limit - SOAP::SOAPInt
xmlattr_uid - SOAP::SOAPInt
Defined Under Namespace
Classes: C_Data
Constant Summary collapse
- AttrC_Time =
XSD::QName.new(nil, "time")
- AttrId =
XSD::QName.new(nil, "id")
- AttrLog =
XSD::QName.new(nil, "log")
- AttrPriority =
XSD::QName.new(nil, "priority")
- AttrProgress =
XSD::QName.new(nil, "progress")
- AttrTimeout =
XSD::QName.new(nil, "timeout")
- AttrTimeout_limit =
XSD::QName.new(nil, "timeout_limit")
- AttrType =
XSD::QName.new(nil, "type")
- AttrUid =
XSD::QName.new(nil, "uid")
- AttrVersion =
XSD::QName.new(nil, "version")
Instance Attribute Summary collapse
-
#auth ⇒ Object
Returns the value of attribute auth.
-
#cookie ⇒ Object
Returns the value of attribute cookie.
-
#data ⇒ Object
Returns the value of attribute data.
-
#dst ⇒ Object
Returns the value of attribute dst.
-
#origin ⇒ Object
Returns the value of attribute origin.
-
#session ⇒ Object
Returns the value of attribute session.
-
#src ⇒ Object
Returns the value of attribute src.
-
#target ⇒ Object
Returns the value of attribute target.
Instance Method Summary collapse
- #__xmlattr ⇒ Object
-
#initialize(auth = nil, cookie = nil, target = [], origin = nil, src = nil, dst = nil, session = nil, data = nil) ⇒ Packet
constructor
A new instance of Packet.
- #xmlattr_id ⇒ Object
- #xmlattr_id=(value) ⇒ Object
- #xmlattr_log ⇒ Object
- #xmlattr_log=(value) ⇒ Object
- #xmlattr_priority ⇒ Object
- #xmlattr_priority=(value) ⇒ Object
- #xmlattr_progress ⇒ Object
- #xmlattr_progress=(value) ⇒ Object
- #xmlattr_time ⇒ Object
- #xmlattr_time=(value) ⇒ Object
- #xmlattr_timeout ⇒ Object
- #xmlattr_timeout=(value) ⇒ Object
- #xmlattr_timeout_limit ⇒ Object
- #xmlattr_timeout_limit=(value) ⇒ Object
- #xmlattr_type ⇒ Object
- #xmlattr_type=(value) ⇒ Object
- #xmlattr_uid ⇒ Object
- #xmlattr_uid=(value) ⇒ Object
- #xmlattr_version ⇒ Object
- #xmlattr_version=(value) ⇒ Object
Constructor Details
#initialize(auth = nil, cookie = nil, target = [], origin = nil, src = nil, dst = nil, session = nil, data = nil) ⇒ Packet
Returns a new instance of Packet.
2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 |
# File 'lib/virtuozzo/soap/drivers/device/types.rb', line 2778 def initialize(auth = nil, = nil, target = [], origin = nil, src = nil, dst = nil, session = nil, data = nil) @auth = auth = @target = target @origin = origin @src = src @dst = dst @session = session @data = data @__xmlattr = {} end |
Instance Attribute Details
#auth ⇒ Object
Returns the value of attribute auth.
2685 2686 2687 |
# File 'lib/virtuozzo/soap/drivers/device/types.rb', line 2685 def auth @auth end |
#cookie ⇒ Object
Returns the value of attribute cookie.
2686 2687 2688 |
# File 'lib/virtuozzo/soap/drivers/device/types.rb', line 2686 def end |
#data ⇒ Object
Returns the value of attribute data.
2692 2693 2694 |
# File 'lib/virtuozzo/soap/drivers/device/types.rb', line 2692 def data @data end |
#dst ⇒ Object
Returns the value of attribute dst.
2690 2691 2692 |
# File 'lib/virtuozzo/soap/drivers/device/types.rb', line 2690 def dst @dst end |
#origin ⇒ Object
Returns the value of attribute origin.
2688 2689 2690 |
# File 'lib/virtuozzo/soap/drivers/device/types.rb', line 2688 def origin @origin end |
#session ⇒ Object
Returns the value of attribute session.
2691 2692 2693 |
# File 'lib/virtuozzo/soap/drivers/device/types.rb', line 2691 def session @session end |
#src ⇒ Object
Returns the value of attribute src.
2689 2690 2691 |
# File 'lib/virtuozzo/soap/drivers/device/types.rb', line 2689 def src @src end |
#target ⇒ Object
Returns the value of attribute target.
2687 2688 2689 |
# File 'lib/virtuozzo/soap/drivers/device/types.rb', line 2687 def target @target end |
Instance Method Details
#__xmlattr ⇒ Object
2694 2695 2696 |
# File 'lib/virtuozzo/soap/drivers/device/types.rb', line 2694 def __xmlattr @__xmlattr ||= {} end |
#xmlattr_id ⇒ Object
2706 2707 2708 |
# File 'lib/virtuozzo/soap/drivers/device/types.rb', line 2706 def xmlattr_id __xmlattr[AttrId] end |
#xmlattr_id=(value) ⇒ Object
2710 2711 2712 |
# File 'lib/virtuozzo/soap/drivers/device/types.rb', line 2710 def xmlattr_id=(value) __xmlattr[AttrId] = value end |
#xmlattr_log ⇒ Object
2738 2739 2740 |
# File 'lib/virtuozzo/soap/drivers/device/types.rb', line 2738 def xmlattr_log __xmlattr[AttrLog] end |
#xmlattr_log=(value) ⇒ Object
2742 2743 2744 |
# File 'lib/virtuozzo/soap/drivers/device/types.rb', line 2742 def xmlattr_log=(value) __xmlattr[AttrLog] = value end |
#xmlattr_priority ⇒ Object
2714 2715 2716 |
# File 'lib/virtuozzo/soap/drivers/device/types.rb', line 2714 def xmlattr_priority __xmlattr[AttrPriority] end |
#xmlattr_priority=(value) ⇒ Object
2718 2719 2720 |
# File 'lib/virtuozzo/soap/drivers/device/types.rb', line 2718 def xmlattr_priority=(value) __xmlattr[AttrPriority] = value end |
#xmlattr_progress ⇒ Object
2730 2731 2732 |
# File 'lib/virtuozzo/soap/drivers/device/types.rb', line 2730 def xmlattr_progress __xmlattr[AttrProgress] end |
#xmlattr_progress=(value) ⇒ Object
2734 2735 2736 |
# File 'lib/virtuozzo/soap/drivers/device/types.rb', line 2734 def xmlattr_progress=(value) __xmlattr[AttrProgress] = value end |
#xmlattr_time ⇒ Object
2722 2723 2724 |
# File 'lib/virtuozzo/soap/drivers/device/types.rb', line 2722 def xmlattr_time __xmlattr[AttrC_Time] end |
#xmlattr_time=(value) ⇒ Object
2726 2727 2728 |
# File 'lib/virtuozzo/soap/drivers/device/types.rb', line 2726 def xmlattr_time=(value) __xmlattr[AttrC_Time] = value end |
#xmlattr_timeout ⇒ Object
2754 2755 2756 |
# File 'lib/virtuozzo/soap/drivers/device/types.rb', line 2754 def xmlattr_timeout __xmlattr[AttrTimeout] end |
#xmlattr_timeout=(value) ⇒ Object
2758 2759 2760 |
# File 'lib/virtuozzo/soap/drivers/device/types.rb', line 2758 def xmlattr_timeout=(value) __xmlattr[AttrTimeout] = value end |
#xmlattr_timeout_limit ⇒ Object
2762 2763 2764 |
# File 'lib/virtuozzo/soap/drivers/device/types.rb', line 2762 def xmlattr_timeout_limit __xmlattr[AttrTimeout_limit] end |
#xmlattr_timeout_limit=(value) ⇒ Object
2766 2767 2768 |
# File 'lib/virtuozzo/soap/drivers/device/types.rb', line 2766 def xmlattr_timeout_limit=(value) __xmlattr[AttrTimeout_limit] = value end |
#xmlattr_type ⇒ Object
2746 2747 2748 |
# File 'lib/virtuozzo/soap/drivers/device/types.rb', line 2746 def xmlattr_type __xmlattr[AttrType] end |
#xmlattr_type=(value) ⇒ Object
2750 2751 2752 |
# File 'lib/virtuozzo/soap/drivers/device/types.rb', line 2750 def xmlattr_type=(value) __xmlattr[AttrType] = value end |
#xmlattr_uid ⇒ Object
2770 2771 2772 |
# File 'lib/virtuozzo/soap/drivers/device/types.rb', line 2770 def xmlattr_uid __xmlattr[AttrUid] end |
#xmlattr_uid=(value) ⇒ Object
2774 2775 2776 |
# File 'lib/virtuozzo/soap/drivers/device/types.rb', line 2774 def xmlattr_uid=(value) __xmlattr[AttrUid] = value end |
#xmlattr_version ⇒ Object
2698 2699 2700 |
# File 'lib/virtuozzo/soap/drivers/device/types.rb', line 2698 def xmlattr_version __xmlattr[AttrVersion] end |
#xmlattr_version=(value) ⇒ Object
2702 2703 2704 |
# File 'lib/virtuozzo/soap/drivers/device/types.rb', line 2702 def xmlattr_version=(value) __xmlattr[AttrVersion] = value end |