Class: Virtuozzo::SOAP::Drivers::Template::Packet

Inherits:
Packet_headerType show all
Defined in:
lib/virtuozzo/soap/drivers/template/types.rb

Overview

http://www.swsoft.com/webservices/vzl/4.0.0/protocolpacket

auth - Virtuozzo::SOAP::Drivers::Template::AuthType
cookie - SOAP::SOAPString
target - SOAP::SOAPString
origin - SOAP::SOAPString
src - Virtuozzo::SOAP::Drivers::Template::RouteType
dst - Virtuozzo::SOAP::Drivers::Template::RouteType
session - SOAP::SOAPString
data - Virtuozzo::SOAP::Drivers::Template::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.



2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
# File 'lib/virtuozzo/soap/drivers/template/types.rb', line 2732

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.



2639
2640
2641
# File 'lib/virtuozzo/soap/drivers/template/types.rb', line 2639

def auth
  @auth
end

Returns the value of attribute cookie.



2640
2641
2642
# File 'lib/virtuozzo/soap/drivers/template/types.rb', line 2640

def cookie
  @cookie
end

#dataObject

Returns the value of attribute data.



2646
2647
2648
# File 'lib/virtuozzo/soap/drivers/template/types.rb', line 2646

def data
  @data
end

#dstObject

Returns the value of attribute dst.



2644
2645
2646
# File 'lib/virtuozzo/soap/drivers/template/types.rb', line 2644

def dst
  @dst
end

#originObject

Returns the value of attribute origin.



2642
2643
2644
# File 'lib/virtuozzo/soap/drivers/template/types.rb', line 2642

def origin
  @origin
end

#sessionObject

Returns the value of attribute session.



2645
2646
2647
# File 'lib/virtuozzo/soap/drivers/template/types.rb', line 2645

def session
  @session
end

#srcObject

Returns the value of attribute src.



2643
2644
2645
# File 'lib/virtuozzo/soap/drivers/template/types.rb', line 2643

def src
  @src
end

#targetObject

Returns the value of attribute target.



2641
2642
2643
# File 'lib/virtuozzo/soap/drivers/template/types.rb', line 2641

def target
  @target
end

Instance Method Details

#__xmlattrObject



2648
2649
2650
# File 'lib/virtuozzo/soap/drivers/template/types.rb', line 2648

def __xmlattr
  @__xmlattr ||= {}
end

#xmlattr_idObject



2660
2661
2662
# File 'lib/virtuozzo/soap/drivers/template/types.rb', line 2660

def xmlattr_id
  __xmlattr[AttrId]
end

#xmlattr_id=(value) ⇒ Object



2664
2665
2666
# File 'lib/virtuozzo/soap/drivers/template/types.rb', line 2664

def xmlattr_id=(value)
  __xmlattr[AttrId] = value
end

#xmlattr_logObject



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

def xmlattr_log
  __xmlattr[AttrLog]
end

#xmlattr_log=(value) ⇒ Object



2696
2697
2698
# File 'lib/virtuozzo/soap/drivers/template/types.rb', line 2696

def xmlattr_log=(value)
  __xmlattr[AttrLog] = value
end

#xmlattr_priorityObject



2668
2669
2670
# File 'lib/virtuozzo/soap/drivers/template/types.rb', line 2668

def xmlattr_priority
  __xmlattr[AttrPriority]
end

#xmlattr_priority=(value) ⇒ Object



2672
2673
2674
# File 'lib/virtuozzo/soap/drivers/template/types.rb', line 2672

def xmlattr_priority=(value)
  __xmlattr[AttrPriority] = value
end

#xmlattr_progressObject



2684
2685
2686
# File 'lib/virtuozzo/soap/drivers/template/types.rb', line 2684

def xmlattr_progress
  __xmlattr[AttrProgress]
end

#xmlattr_progress=(value) ⇒ Object



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

def xmlattr_progress=(value)
  __xmlattr[AttrProgress] = value
end

#xmlattr_timeObject



2676
2677
2678
# File 'lib/virtuozzo/soap/drivers/template/types.rb', line 2676

def xmlattr_time
  __xmlattr[AttrC_Time]
end

#xmlattr_time=(value) ⇒ Object



2680
2681
2682
# File 'lib/virtuozzo/soap/drivers/template/types.rb', line 2680

def xmlattr_time=(value)
  __xmlattr[AttrC_Time] = value
end

#xmlattr_timeoutObject



2708
2709
2710
# File 'lib/virtuozzo/soap/drivers/template/types.rb', line 2708

def xmlattr_timeout
  __xmlattr[AttrTimeout]
end

#xmlattr_timeout=(value) ⇒ Object



2712
2713
2714
# File 'lib/virtuozzo/soap/drivers/template/types.rb', line 2712

def xmlattr_timeout=(value)
  __xmlattr[AttrTimeout] = value
end

#xmlattr_timeout_limitObject



2716
2717
2718
# File 'lib/virtuozzo/soap/drivers/template/types.rb', line 2716

def xmlattr_timeout_limit
  __xmlattr[AttrTimeout_limit]
end

#xmlattr_timeout_limit=(value) ⇒ Object



2720
2721
2722
# File 'lib/virtuozzo/soap/drivers/template/types.rb', line 2720

def xmlattr_timeout_limit=(value)
  __xmlattr[AttrTimeout_limit] = value
end

#xmlattr_typeObject



2700
2701
2702
# File 'lib/virtuozzo/soap/drivers/template/types.rb', line 2700

def xmlattr_type
  __xmlattr[AttrType]
end

#xmlattr_type=(value) ⇒ Object



2704
2705
2706
# File 'lib/virtuozzo/soap/drivers/template/types.rb', line 2704

def xmlattr_type=(value)
  __xmlattr[AttrType] = value
end

#xmlattr_uidObject



2724
2725
2726
# File 'lib/virtuozzo/soap/drivers/template/types.rb', line 2724

def xmlattr_uid
  __xmlattr[AttrUid]
end

#xmlattr_uid=(value) ⇒ Object



2728
2729
2730
# File 'lib/virtuozzo/soap/drivers/template/types.rb', line 2728

def xmlattr_uid=(value)
  __xmlattr[AttrUid] = value
end

#xmlattr_versionObject



2652
2653
2654
# File 'lib/virtuozzo/soap/drivers/template/types.rb', line 2652

def xmlattr_version
  __xmlattr[AttrVersion]
end

#xmlattr_version=(value) ⇒ Object



2656
2657
2658
# File 'lib/virtuozzo/soap/drivers/template/types.rb', line 2656

def xmlattr_version=(value)
  __xmlattr[AttrVersion] = value
end