Class gWebListener

Description

========================================================

phpGCheckout, Open Source PHP G Checkout Library http://www.phpgcheckout.com ========================================================

Copyright (c) 2006 Expert Database Solutions, LLC

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Located in /classes/gWebListener.php (line 30)


	
			
Variable Summary
Method Summary
 gWebListener gWebListener ([unknown_type $merchant_id = null], [unknown_type $merchant_key = null], [unknown_type $auto_authenticate = true])
 unknown getHTTPMerchantId ()
 unknown getHTTPMerchantKey ()
 unknown getMessage ()
 unknown getMessageType ()
 void Start ()
 void _getRawPostData ()
 void _parseMessageType (unknown_type $raw_data)
Variables
mixed $_auto_authenticate (line 38)
mixed $_message (line 33)
mixed $_message_type (line 32)
mixed $_my_merchant_id (line 36)
mixed $_my_merchant_key (line 37)
mixed $_raw_message (line 31)
mixed $_rev_merchant_id (line 34)
mixed $_rev_merchant_key (line 35)
Methods
Constructor gWebListener (line 49)

Public Constructor

gWebListener gWebListener ([unknown_type $merchant_id = null], [unknown_type $merchant_key = null], [unknown_type $auto_authenticate = true])
  • unknown_type $auto_authenticate
  • unknown_type $merchant_id
  • unknown_type $merchant_key
getHTTPMerchantId (line 97)

Returns the received merchant id from the authentication header

unknown getHTTPMerchantId ()
getHTTPMerchantKey (line 108)

Returns the received merchant key from the authentication header

unknown getHTTPMerchantKey ()
getMessage (line 127)

Return Message

unknown getMessage ()
getMessageType (line 117)

Returns Message Type

unknown getMessageType ()
Start (line 64)

Start The Web Listener

void Start ()
_getRawPostData (line 200)

Read the raw post data from the input stream

void _getRawPostData ()
_HTTPGetAuthentication (line 177)

Enter description here...

void _HTTPGetAuthentication ()
_parseMessageType (line 250)

Parse Message Type

void _parseMessageType (unknown_type $raw_data)
  • unknown_type $raw_data
_parseRawMessage (line 233)

Parse the Raw Message

void _parseRawMessage ()

Documentation generated on Mon, 04 Dec 2006 11:09:42 -0500 by phpDocumentor 1.3.0RC3