Class: Virtuozzo::SOAP::Drivers::Device::Packet

Inherits:
Packet_headerType show all
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
cookie - 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

Instance Method Summary collapse

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, cookie = nil, target = [], origin = nil, src = nil, dst = nil, session = nil, data = nil)
  @auth = auth
  @cookie = cookie
  @target = target
  @origin = origin
  @src = src
  @dst = dst
  @session = session
  @data = data
  @__xmlattr = {}
end

Instance Attribute Details

#authObject

Returns the value of attribute auth.



2685
2686
2687
# File 'lib/virtuozzo/soap/drivers/device/types.rb', line 2685

def auth
  @auth
end

Returns the value of attribute cookie.



2686
2687
2688
# File 'lib/virtuozzo/soap/drivers/device/types.rb', line 2686

def cookie
  @cookie
end

#dataObject

Returns the value of attribute data.



2692
2693
2694
# File 'lib/virtuozzo/soap/drivers/device/types.rb', line 2692

def data
  @data
end

#dstObject

Returns the value of attribute dst.



2690
2691
2692
# File 'lib/virtuozzo/soap/drivers/device/types.rb', line 2690

def dst
  @dst
end

#originObject

Returns the value of attribute origin.



2688
2689
2690
# File 'lib/virtuozzo/soap/drivers/device/types.rb', line 2688

def origin
  @origin
end

#sessionObject

Returns the value of attribute session.



2691
2692
2693
# File 'lib/virtuozzo/soap/drivers/device/types.rb', line 2691

def session
  @session
end

#srcObject

Returns the value of attribute src.



2689
2690
2691
# File 'lib/virtuozzo/soap/drivers/device/types.rb', line 2689

def src
  @src
end

#targetObject

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

#__xmlattrObject



2694
2695
2696
# File 'lib/virtuozzo/soap/drivers/device/types.rb', line 2694

def __xmlattr
  @__xmlattr ||= {}
end

#xmlattr_idObject



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_logObject



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_priorityObject



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_progressObject



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_timeObject



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_timeoutObject



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_limitObject



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_typeObject



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_uidObject



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_versionObject



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