Class: Virtuozzo::SOAP::Drivers::Network::Packet

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

Overview

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

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



2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
# File 'lib/virtuozzo/soap/drivers/network/types.rb', line 2387

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.



2294
2295
2296
# File 'lib/virtuozzo/soap/drivers/network/types.rb', line 2294

def auth
  @auth
end

Returns the value of attribute cookie.



2295
2296
2297
# File 'lib/virtuozzo/soap/drivers/network/types.rb', line 2295

def cookie
  @cookie
end

#dataObject

Returns the value of attribute data.



2301
2302
2303
# File 'lib/virtuozzo/soap/drivers/network/types.rb', line 2301

def data
  @data
end

#dstObject

Returns the value of attribute dst.



2299
2300
2301
# File 'lib/virtuozzo/soap/drivers/network/types.rb', line 2299

def dst
  @dst
end

#originObject

Returns the value of attribute origin.



2297
2298
2299
# File 'lib/virtuozzo/soap/drivers/network/types.rb', line 2297

def origin
  @origin
end

#sessionObject

Returns the value of attribute session.



2300
2301
2302
# File 'lib/virtuozzo/soap/drivers/network/types.rb', line 2300

def session
  @session
end

#srcObject

Returns the value of attribute src.



2298
2299
2300
# File 'lib/virtuozzo/soap/drivers/network/types.rb', line 2298

def src
  @src
end

#targetObject

Returns the value of attribute target.



2296
2297
2298
# File 'lib/virtuozzo/soap/drivers/network/types.rb', line 2296

def target
  @target
end

Instance Method Details

#__xmlattrObject



2303
2304
2305
# File 'lib/virtuozzo/soap/drivers/network/types.rb', line 2303

def __xmlattr
  @__xmlattr ||= {}
end

#xmlattr_idObject



2315
2316
2317
# File 'lib/virtuozzo/soap/drivers/network/types.rb', line 2315

def xmlattr_id
  __xmlattr[AttrId]
end

#xmlattr_id=(value) ⇒ Object



2319
2320
2321
# File 'lib/virtuozzo/soap/drivers/network/types.rb', line 2319

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

#xmlattr_logObject



2347
2348
2349
# File 'lib/virtuozzo/soap/drivers/network/types.rb', line 2347

def xmlattr_log
  __xmlattr[AttrLog]
end

#xmlattr_log=(value) ⇒ Object



2351
2352
2353
# File 'lib/virtuozzo/soap/drivers/network/types.rb', line 2351

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

#xmlattr_priorityObject



2323
2324
2325
# File 'lib/virtuozzo/soap/drivers/network/types.rb', line 2323

def xmlattr_priority
  __xmlattr[AttrPriority]
end

#xmlattr_priority=(value) ⇒ Object



2327
2328
2329
# File 'lib/virtuozzo/soap/drivers/network/types.rb', line 2327

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

#xmlattr_progressObject



2339
2340
2341
# File 'lib/virtuozzo/soap/drivers/network/types.rb', line 2339

def xmlattr_progress
  __xmlattr[AttrProgress]
end

#xmlattr_progress=(value) ⇒ Object



2343
2344
2345
# File 'lib/virtuozzo/soap/drivers/network/types.rb', line 2343

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

#xmlattr_timeObject



2331
2332
2333
# File 'lib/virtuozzo/soap/drivers/network/types.rb', line 2331

def xmlattr_time
  __xmlattr[AttrC_Time]
end

#xmlattr_time=(value) ⇒ Object



2335
2336
2337
# File 'lib/virtuozzo/soap/drivers/network/types.rb', line 2335

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

#xmlattr_timeoutObject



2363
2364
2365
# File 'lib/virtuozzo/soap/drivers/network/types.rb', line 2363

def xmlattr_timeout
  __xmlattr[AttrTimeout]
end

#xmlattr_timeout=(value) ⇒ Object



2367
2368
2369
# File 'lib/virtuozzo/soap/drivers/network/types.rb', line 2367

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

#xmlattr_timeout_limitObject



2371
2372
2373
# File 'lib/virtuozzo/soap/drivers/network/types.rb', line 2371

def xmlattr_timeout_limit
  __xmlattr[AttrTimeout_limit]
end

#xmlattr_timeout_limit=(value) ⇒ Object



2375
2376
2377
# File 'lib/virtuozzo/soap/drivers/network/types.rb', line 2375

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

#xmlattr_typeObject



2355
2356
2357
# File 'lib/virtuozzo/soap/drivers/network/types.rb', line 2355

def xmlattr_type
  __xmlattr[AttrType]
end

#xmlattr_type=(value) ⇒ Object



2359
2360
2361
# File 'lib/virtuozzo/soap/drivers/network/types.rb', line 2359

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

#xmlattr_uidObject



2379
2380
2381
# File 'lib/virtuozzo/soap/drivers/network/types.rb', line 2379

def xmlattr_uid
  __xmlattr[AttrUid]
end

#xmlattr_uid=(value) ⇒ Object



2383
2384
2385
# File 'lib/virtuozzo/soap/drivers/network/types.rb', line 2383

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

#xmlattr_versionObject



2307
2308
2309
# File 'lib/virtuozzo/soap/drivers/network/types.rb', line 2307

def xmlattr_version
  __xmlattr[AttrVersion]
end

#xmlattr_version=(value) ⇒ Object



2311
2312
2313
# File 'lib/virtuozzo/soap/drivers/network/types.rb', line 2311

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