PEIP_Simple_Messaging_Gateway Class Reference

Inheritance diagram for PEIP_Simple_Messaging_Gateway:

PEIP_INF_Messaging_Gateway PEIP_INF_Message_Builder List of all members.

Public Member Functions

 __construct (PEIP_INF_Channel $requestChannel, PEIP_INF_Channel $replyChannel=NULL, array $defaultHeaders=array())
 setRequestChannel (PEIP_INF_Channel $requestChannel)
 setReplyChannel (PEIP_INF_Channel $replyChannel)
 send ($content)
 receive ()
 sendAndReceive ($content)
 setMessageClass ($messageClass)
 getMessageClass ()

Protected Member Functions

 buildMessage ($content)
 getMessageBuilder ()

Protected Attributes

 $requestChannel
 $replyChannel
 $messageClass = 'PEIP_Generic_Message'
 $defaultHeaders
 $messageBuilder

Detailed Description

Definition at line 21 of file PEIP_Simple_Messaging_Gateway.php.


Constructor & Destructor Documentation

PEIP_Simple_Messaging_Gateway::__construct ( PEIP_INF_Channel requestChannel,
PEIP_INF_Channel replyChannel = NULL,
array $  defaultHeaders = array() 
)

public

Parameters:
$requestChannel 
$replyChannel 
$defaultHeaders 
Returns:

Definition at line 41 of file PEIP_Simple_Messaging_Gateway.php.

References $defaultHeaders, $replyChannel, $requestChannel, PEIP_Message_Builder::getInstance(), setReplyChannel(), and setRequestChannel().


Member Function Documentation

PEIP_Simple_Messaging_Gateway::setRequestChannel ( PEIP_INF_Channel requestChannel  ) 

public

Parameters:
$requestChannel 
Returns:

Implements PEIP_INF_Messaging_Gateway.

Definition at line 54 of file PEIP_Simple_Messaging_Gateway.php.

References $requestChannel.

Referenced by __construct().

PEIP_Simple_Messaging_Gateway::setReplyChannel ( PEIP_INF_Channel replyChannel  ) 

public

Parameters:
$replyChannel 
Returns:

Implements PEIP_INF_Messaging_Gateway.

Definition at line 64 of file PEIP_Simple_Messaging_Gateway.php.

References $replyChannel.

Referenced by __construct().

PEIP_Simple_Messaging_Gateway::send ( content  ) 

public

Parameters:
$content 
Returns:

Implements PEIP_INF_Messaging_Gateway.

Definition at line 77 of file PEIP_Simple_Messaging_Gateway.php.

References buildMessage().

Referenced by sendAndReceive().

PEIP_Simple_Messaging_Gateway::receive (  ) 

public

Returns:

Implements PEIP_INF_Messaging_Gateway.

Definition at line 86 of file PEIP_Simple_Messaging_Gateway.php.

Referenced by sendAndReceive().

PEIP_Simple_Messaging_Gateway::sendAndReceive ( content  ) 

public

Parameters:
$content 
Returns:

Implements PEIP_INF_Messaging_Gateway.

Definition at line 110 of file PEIP_Simple_Messaging_Gateway.php.

References receive(), and send().

PEIP_Simple_Messaging_Gateway::buildMessage ( content  )  [protected]

protected

Parameters:
$content 
Returns:

Definition at line 128 of file PEIP_Simple_Messaging_Gateway.php.

References getMessageBuilder().

Referenced by send().

PEIP_Simple_Messaging_Gateway::getMessageBuilder (  )  [protected]

protected

Returns:

Definition at line 137 of file PEIP_Simple_Messaging_Gateway.php.

References PEIP_Message_Builder::getInstance(), and getMessageClass().

Referenced by buildMessage().

PEIP_Simple_Messaging_Gateway::setMessageClass ( messageClass  ) 

public

Parameters:
$messageClass 
Returns:

Implements PEIP_INF_Message_Builder.

Definition at line 150 of file PEIP_Simple_Messaging_Gateway.php.

References $messageClass.

PEIP_Simple_Messaging_Gateway::getMessageClass (  ) 

public

Returns:

Implements PEIP_INF_Message_Builder.

Definition at line 159 of file PEIP_Simple_Messaging_Gateway.php.

Referenced by getMessageBuilder().


Member Data Documentation

PEIP_Simple_Messaging_Gateway::$requestChannel [protected]

Definition at line 27 of file PEIP_Simple_Messaging_Gateway.php.

Referenced by __construct(), and setRequestChannel().

PEIP_Simple_Messaging_Gateway::$replyChannel [protected]

Definition at line 27 of file PEIP_Simple_Messaging_Gateway.php.

Referenced by __construct(), and setReplyChannel().

PEIP_Simple_Messaging_Gateway::$messageClass = 'PEIP_Generic_Message' [protected]

Definition at line 29 of file PEIP_Simple_Messaging_Gateway.php.

Referenced by setMessageClass().

PEIP_Simple_Messaging_Gateway::$defaultHeaders [protected]

Definition at line 29 of file PEIP_Simple_Messaging_Gateway.php.

Referenced by __construct().

PEIP_Simple_Messaging_Gateway::$messageBuilder [protected]

Definition at line 29 of file PEIP_Simple_Messaging_Gateway.php.


The documentation for this class was generated from the following file:
Generated on Mon Apr 12 11:39:02 2010 for PEIP by  doxygen 1.5.1