Qorus Integration Engine  3.0.4.p7
OMQ::ConnectionScheme Class Reference

defines the class of object returned by the "get_schemas()" function in custom user modules More...

Public Member Functions

 constructor (string $name, code $maker)
 creates the object from the arguments passed More...
 

Detailed Description

defines the class of object returned by the "get_schemas()" function in custom user modules

See also
connection-modules

Member Function Documentation

OMQ::ConnectionScheme::constructor ( string  $name,
code  $maker 
)
inline

creates the object from the arguments passed

Parameters
namethe scheme or connection type of the connection (ex: "http")
aclosure or call reference to code that will return the connection object; this must support the following return type: OMQ::AbstractConnection, arguments:
  • name (string): the name of the connection
  • desc (string): connection description
  • url (string): connection URL
  • monitor (bool): monitoring flag
  • opts (*hash): connection options
  • urlh (hash) broken down URL hash (as returned by Qore::parse_url())

The documentation for this class was generated from the following file: