ILIAS
Release_4_0_x_branch Revision 61816
|
Public Member Functions | |
ilBMFTransport_TCP ($url, $encoding=SOAP_DEFAULT_ENCODING) | |
Constructor. | |
_socket_ping () | |
send ($msg, $options=NULL) | |
Sends and receives SOAP data. | |
_validateUrl () | |
Validates the url data passed to the constructor. | |
Public Member Functions inherited from ilBMFBase_Object | |
ilBMFBase_Object ($faultcode= 'Client') | |
Constructor. | |
& | _raiseSoapFault ($str, $detail= '', $actorURI= '', $code=null, $mode=null, $options=null, $skipmsg=false) |
Raises a SOAP error. | |
__isfault () | |
& | __getfault () |
_debug ($string) | |
Adds a string to the debug data. | |
Public Member Functions inherited from PEAR | |
PEAR ($error_class=null) | |
Constructor. | |
_PEAR () | |
Destructor (the emulated type of...). | |
& | getStaticProperty ($class, $var) |
If you have a class that's mostly/entirely static, and you need static properties, you can use this method to simulate them. | |
registerShutdownFunc ($func, $args=array()) | |
Use this function to register a shutdown method for static classes. | |
isError ($data, $code=null) | |
Tell whether a value is a PEAR error. | |
setErrorHandling ($mode=null, $options=null) | |
Sets how errors generated by this object should be handled. | |
expectError ($code= '*') | |
This method is used to tell which errors you expect to get. | |
popExpect () | |
This method pops one element off the expected error codes stack. | |
_checkDelExpect ($error_code) | |
This method checks unsets an error code if available. | |
delExpect ($error_code) | |
This method deletes all occurences of the specified element from the expected error codes stack. | |
& | raiseError ($message=null, $code=null, $mode=null, $options=null, $userinfo=null, $error_class=null, $skipmsg=false) |
This method is a wrapper that returns an instance of the configured error class with this object's default error handling applied. | |
& | throwError ($message=null, $code=null, $userinfo=null) |
Simpler form of raiseError with fewer options. | |
staticPushErrorHandling ($mode, $options=null) | |
staticPopErrorHandling () | |
pushErrorHandling ($mode, $options=null) | |
Push a new error handler on top of the error handler options stack. | |
popErrorHandling () | |
Pop the last error handler used. | |
loadExtension ($ext) | |
OS independant PHP extension load. |
Data Fields | |
$headers = array() | |
$urlparts = null | |
$url = '' | |
$incoming_payload = '' | |
$_userAgent = SOAP_LIBRARY_NAME | |
$encoding = SOAP_DEFAULT_ENCODING | |
$result_encoding = 'UTF-8' | |
$result_content_type | |
$socket = null | |
socket | |
Data Fields inherited from ilBMFBase_Object | |
$_debug_flag = false | |
Store debugging information in $_debug_data? | |
$_debug_data = '' | |
String containing debugging information if $_debug_flag is true. | |
$_encodings = array('ISO-8859-1', 'US-ASCII', 'UTF-8') | |
Supported encodings, limited by XML extension. | |
$_myfaultcode = '' | |
Fault code. | |
$fault = null | |
Recent PEAR_Error object. | |
Data Fields inherited from PEAR | |
$_debug = false | |
$_default_error_mode = null | |
$_default_error_options = null | |
$_default_error_handler = '' | |
$_error_class = 'PEAR_Error' | |
$_expected_errors = array() |
Definition at line 33 of file class.ilBMFTransport_TCP.php.
ilBMFTransport_TCP::_socket_ping | ( | ) |
Definition at line 65 of file class.ilBMFTransport_TCP.php.
References $result.
Referenced by send().
ilBMFTransport_TCP::_validateUrl | ( | ) |
Validates the url data passed to the constructor.
Definition at line 142 of file class.ilBMFTransport_TCP.php.
References ilBMFBase_Object\_raiseSoapFault().
Referenced by send().
ilBMFTransport_TCP::ilBMFTransport_TCP | ( | $url, | |
$encoding = SOAP_DEFAULT_ENCODING |
|||
) |
Constructor.
string | $url | HTTP url to SOAP endpoint. |
public
Definition at line 57 of file class.ilBMFTransport_TCP.php.
References $encoding, $url, and ilBMFBase_Object\ilBMFBase_Object().
ilBMFTransport_TCP::send | ( | $msg, | |
$options = NULL |
|||
) |
Sends and receives SOAP data.
string | $msg | Outgoing POST data. |
string | $action | SOAP Action header data. |
Definition at line 94 of file class.ilBMFTransport_TCP.php.
References ilBMFBase_Object\$fault, $incoming_payload, ilBMFBase_Object\_raiseSoapFault(), _socket_ping(), and _validateUrl().
ilBMFTransport_TCP::$_userAgent = SOAP_LIBRARY_NAME |
Definition at line 40 of file class.ilBMFTransport_TCP.php.
ilBMFTransport_TCP::$encoding = SOAP_DEFAULT_ENCODING |
Definition at line 41 of file class.ilBMFTransport_TCP.php.
Referenced by ilBMFTransport_TCP().
ilBMFTransport_TCP::$headers = array() |
Definition at line 36 of file class.ilBMFTransport_TCP.php.
ilBMFTransport_TCP::$incoming_payload = '' |
Definition at line 39 of file class.ilBMFTransport_TCP.php.
Referenced by send().
ilBMFTransport_TCP::$result_content_type |
Definition at line 43 of file class.ilBMFTransport_TCP.php.
ilBMFTransport_TCP::$result_encoding = 'UTF-8' |
Definition at line 42 of file class.ilBMFTransport_TCP.php.
ilBMFTransport_TCP::$socket = null |
socket
Definition at line 48 of file class.ilBMFTransport_TCP.php.
ilBMFTransport_TCP::$url = '' |
Definition at line 38 of file class.ilBMFTransport_TCP.php.
Referenced by ilBMFTransport_TCP().
ilBMFTransport_TCP::$urlparts = null |
Definition at line 37 of file class.ilBMFTransport_TCP.php.