Class: CP2Application
- Inherits:
-
Base
- Object
- Base
- CP2Application
- Includes:
- WIN32OLE::VARIANT
- Defined in:
- lib/ole20110223-013209.rb
Overview
P2Application Class
Constant Summary collapse
- CLSID =
P2ClientGate_P2Application_1
'{08A95064-05C2-4EF4-8B5D-D6211C2C9880}'
- PROGID =
'P2ClientGate.P2Application.1'
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
-
#lastargs ⇒ Object
readonly
Returns the value of attribute lastargs.
-
#ole ⇒ Object
readonly
Returns the value of attribute ole.
Instance Method Summary collapse
-
#CleanUp ⇒ Object
method VOID CleanUp.
- #clsid ⇒ Object
-
#CreateP2BLMessage ⇒ Object
method IP2BLMessage CreateP2BLMessage.
-
#CreateP2BLMessageFactory ⇒ Object
method IP2BLMessageFactory CreateP2BLMessageFactory.
-
#CreateP2Connection ⇒ Object
method IP2Connection CreateP2Connection.
-
#CreateP2DataBuffer ⇒ Object
method IP2DataBuffer CreateP2DataBuffer.
-
#CreateP2DataStream ⇒ Object
method IP2DataStream CreateP2DataStream.
-
#CreateP2TableSet ⇒ Object
method IP2TableSet CreateP2TableSet.
-
#initialize(opts = {}) ⇒ CP2Application
constructor
A new instance of CP2Application.
- #keep_lastargs(return_value) ⇒ Object
- #method_missing(cmd, *args) ⇒ Object
-
#ParserType ⇒ Object
property UI4 ParserType.
-
#ParserType=(val) ⇒ Object
property VOID ParserType.
- #progid ⇒ Object
-
#StartUp(ini_file_name) ⇒ Object
method VOID StartUp BSTR ini_file_name [IN].
Constructor Details
#initialize(opts = {}) ⇒ CP2Application
Returns a new instance of CP2Application.
1465 1466 1467 |
# File 'lib/ole20110223-013209.rb', line 1465 def initialize opts = {} super PROGID, opts end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(cmd, *args) ⇒ Object
1469 1470 1471 |
# File 'lib/ole20110223-013209.rb', line 1469 def method_missing(cmd, *args) @ole.method_missing(cmd, *args) end |
Instance Attribute Details
#lastargs ⇒ Object (readonly)
Returns the value of attribute lastargs.
1462 1463 1464 |
# File 'lib/ole20110223-013209.rb', line 1462 def lastargs @lastargs end |
#ole ⇒ Object (readonly)
Returns the value of attribute ole.
1463 1464 1465 |
# File 'lib/ole20110223-013209.rb', line 1463 def ole @ole end |
Instance Method Details
#CleanUp ⇒ Object
method VOID CleanUp
1503 1504 1505 |
# File 'lib/ole20110223-013209.rb', line 1503 def CleanUp() @ole._invoke(2, [], []) end |
#clsid ⇒ Object
1478 1479 1480 |
# File 'lib/ole20110223-013209.rb', line 1478 def clsid CLSID end |
#CreateP2BLMessage ⇒ Object
method IP2BLMessage CreateP2BLMessage
1513 1514 1515 |
# File 'lib/ole20110223-013209.rb', line 1513 def CreateP2BLMessage() @ole._invoke(5, [], []) end |
#CreateP2BLMessageFactory ⇒ Object
method IP2BLMessageFactory CreateP2BLMessageFactory
1518 1519 1520 |
# File 'lib/ole20110223-013209.rb', line 1518 def CreateP2BLMessageFactory() @ole._invoke(6, [], []) end |
#CreateP2Connection ⇒ Object
method IP2Connection CreateP2Connection
1508 1509 1510 |
# File 'lib/ole20110223-013209.rb', line 1508 def CreateP2Connection() @ole._invoke(4, [], []) end |
#CreateP2DataBuffer ⇒ Object
method IP2DataBuffer CreateP2DataBuffer
1523 1524 1525 |
# File 'lib/ole20110223-013209.rb', line 1523 def CreateP2DataBuffer() @ole._invoke(7, [], []) end |
#CreateP2DataStream ⇒ Object
method IP2DataStream CreateP2DataStream
1528 1529 1530 |
# File 'lib/ole20110223-013209.rb', line 1528 def CreateP2DataStream() @ole._invoke(8, [], []) end |
#CreateP2TableSet ⇒ Object
method IP2TableSet CreateP2TableSet
1533 1534 1535 |
# File 'lib/ole20110223-013209.rb', line 1533 def CreateP2TableSet() @ole._invoke(9, [], []) end |
#keep_lastargs(return_value) ⇒ Object
1473 1474 1475 1476 |
# File 'lib/ole20110223-013209.rb', line 1473 def keep_lastargs(return_value) @lastargs = WIN32OLE::ARGV return_value end |
#ParserType ⇒ Object
property UI4 ParserType
1487 1488 1489 |
# File 'lib/ole20110223-013209.rb', line 1487 def ParserType() @ole._getproperty(3, [], []) end |
#ParserType=(val) ⇒ Object
property VOID ParserType
1492 1493 1494 |
# File 'lib/ole20110223-013209.rb', line 1492 def ParserType=(val) @ole._setproperty(3, [val], [VT_UI4]) end |
#progid ⇒ Object
1482 1483 1484 |
# File 'lib/ole20110223-013209.rb', line 1482 def progid PROGID end |
#StartUp(ini_file_name) ⇒ Object
method VOID StartUp
BSTR ini_file_name [IN]
1498 1499 1500 |
# File 'lib/ole20110223-013209.rb', line 1498 def StartUp(ini_file_name) @ole._invoke(1, [ini_file_name], [VT_BSTR]) end |