Module: IP2BLMessage

Includes:
WIN32OLE::VARIANT
Defined in:
lib/ole20110223-013209.rb

Overview

IP2BLMessage Interface

Constant Summary

Constants included from WIN32OLE::VARIANT

WIN32OLE::VARIANT::VT_ARRAY, WIN32OLE::VARIANT::VT_BOOL, WIN32OLE::VARIANT::VT_BSTR, WIN32OLE::VARIANT::VT_BYREF, WIN32OLE::VARIANT::VT_CY, WIN32OLE::VARIANT::VT_DATE, WIN32OLE::VARIANT::VT_DISPATCH, WIN32OLE::VARIANT::VT_EMPTY, WIN32OLE::VARIANT::VT_ERROR, WIN32OLE::VARIANT::VT_I1, WIN32OLE::VARIANT::VT_I2, WIN32OLE::VARIANT::VT_I4, WIN32OLE::VARIANT::VT_I8, WIN32OLE::VARIANT::VT_INT, WIN32OLE::VARIANT::VT_NULL, WIN32OLE::VARIANT::VT_PTR, WIN32OLE::VARIANT::VT_R4, WIN32OLE::VARIANT::VT_R8, WIN32OLE::VARIANT::VT_UI1, WIN32OLE::VARIANT::VT_UI2, WIN32OLE::VARIANT::VT_UI4, WIN32OLE::VARIANT::VT_UI8, WIN32OLE::VARIANT::VT_UINT, WIN32OLE::VARIANT::VT_UNKNOWN, WIN32OLE::VARIANT::VT_USERDEFINED, WIN32OLE::VARIANT::VT_VARIANT

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#lastargsObject (readonly)

Returns the value of attribute lastargs.



379
380
381
# File 'lib/ole20110223-013209.rb', line 379

def lastargs
  @lastargs
end

Instance Method Details

#DestAddrObject

property BSTR DestAddr



397
398
399
# File 'lib/ole20110223-013209.rb', line 397

def DestAddr()
  _getproperty(4, [], [])
end

#DestAddr=(val) ⇒ Object

property VOID DestAddr



402
403
404
# File 'lib/ole20110223-013209.rb', line 402

def DestAddr=(val)
  _setproperty(4, [val], [VT_BSTR])
end

#FieldObject

property VARIANT Field

BSTR name [IN]


408
409
410
# File 'lib/ole20110223-013209.rb', line 408

def Field
  @_Field ||= OLEProperty.new(self, 5, [VT_BSTR], [VT_BSTR, VT_VARIANT])
end

#FieldAsLONGLONGObject

I8 FieldAsLONGLONG: property FieldAsULONGLONG

BSTR name [IN]


414
415
416
# File 'lib/ole20110223-013209.rb', line 414

def FieldAsLONGLONG
  @_FieldAsLONGLONG ||= OLEProperty.new(self, 10, [VT_BSTR], [VT_BSTR, VT_I8])
end

#IdObject

property UI4 Id



387
388
389
# File 'lib/ole20110223-013209.rb', line 387

def Id()
  _getproperty(2, [], [])
end

#NameObject

property BSTR Name



382
383
384
# File 'lib/ole20110223-013209.rb', line 382

def Name()
  _getproperty(1, [], [])
end

#Post(conn) ⇒ Object

method VOID Post

IP2Connection conn [IN]


427
428
429
# File 'lib/ole20110223-013209.rb', line 427

def Post(conn)
  _invoke(7, [conn], [VT_BYREF|VT_DISPATCH])
end

#Send(conn, timeout) ⇒ Object

method IP2BLMessage Send

IP2Connection conn [IN]
UI4 timeout [IN]


421
422
423
# File 'lib/ole20110223-013209.rb', line 421

def Send(conn, timeout)
  _invoke(6, [conn, timeout], [VT_BYREF|VT_DISPATCH, VT_UI4])
end

#SendAsync(conn, timeout, event) ⇒ Object

method VOID SendAsync

IP2Connection conn [IN]
UI4 timeout [IN]
DISPATCH event [IN]


435
436
437
# File 'lib/ole20110223-013209.rb', line 435

def SendAsync(conn, timeout, event)
  _invoke(8, [conn, timeout, event], [VT_BYREF|VT_DISPATCH, VT_UI4, VT_DISPATCH])
end

#SendAsync2(conn, timeout, event, event_param) ⇒ Object

method VOID SendAsync2

IP2Connection conn [IN]
UI4 timeout [IN]
DISPATCH event [IN]
I8 event_param [IN]


444
445
446
# File 'lib/ole20110223-013209.rb', line 444

def SendAsync2(conn, timeout, event, event_param)
  _invoke(9, [conn, timeout, event, event_param], [VT_BYREF|VT_DISPATCH, VT_UI4, VT_DISPATCH, VT_I8])
end

#VersionObject

property BSTR Version



392
393
394
# File 'lib/ole20110223-013209.rb', line 392

def Version()
  _getproperty(3, [], [])
end