PEIP_ABS_Reply_Producing_Message_Handler Class Reference

Inheritance diagram for PEIP_ABS_Reply_Producing_Message_Handler:

PEIP_ABS_Message_Handler PEIP_INF_Message_Builder PEIP_INF_Handler PEIP_ABS_Discarding_Message_Handler PEIP_Pipe PEIP_ABS_Message_Barrier_Handler PEIP_ABS_Event_Pipe PEIP_ABS_Message_Splitter PEIP_ABS_Router PEIP_ABS_Service_Activator PEIP_Event_Pipe PEIP_Service_Activator PEIP_Command_Pipe PEIP_Fixed_Event_Pipe PEIP_Simple_Event_Pipe PEIP_String_Service_Activator PEIP_Wiretap List of all members.

Public Member Functions

 setOutputChannel (PEIP_INF_Channel $outputChannel)
 getOutputChannel ()
 setMessageClass ($messageClass)
 getMessageClass ()
 addReplyChannelHeader ($headerName)
 setReplyChannelHeaders (array $headerNames)
 getReplyChannelHeaders ()

Protected Member Functions

 doSetOutputChannel (PEIP_INF_Channel $outputChannel)
 doGetOutputChannel (PEIP_INF_Message $message)
 resolveReplyChannel (PEIP_INF_Message $message)
 replyMessage ($content)
 ensureMessage ($message)
 buildMessage ($content)
 getMessageBuilder ()
 doHandle (PEIP_INF_Message $message)
 doReply (PEIP_INF_Message $message)

Protected Attributes

 $outputChannel
 $messageClass = 'PEIP_Generic_Message'
 $replyChannelHeaders = array('REPLY_CHANNEL')

Detailed Description

Definition at line 22 of file PEIP_ABS_Reply_Producing_Message_Handler.php.


Member Function Documentation

PEIP_ABS_Reply_Producing_Message_Handler::setOutputChannel ( PEIP_INF_Channel outputChannel  ) 

public

Parameters:
PEIP_INF_Channel $outputChannel
Returns:
PEIP_ABS_Reply_Producing_Message_Handler

Definition at line 37 of file PEIP_ABS_Reply_Producing_Message_Handler.php.

References $outputChannel, and doSetOutputChannel().

Referenced by PEIP_Wiretap::__construct(), PEIP_Simple_Event_Pipe::__construct(), PEIP_Service_Activator::__construct(), PEIP_ABS_Message_Splitter::__construct(), and PEIP_ABS_Router::doReply().

PEIP_ABS_Reply_Producing_Message_Handler::doSetOutputChannel ( PEIP_INF_Channel outputChannel  )  [protected]

protected

Parameters:
PEIP_INF_Channel $outputChannel
Returns:
void

Definition at line 48 of file PEIP_ABS_Reply_Producing_Message_Handler.php.

References $outputChannel.

Referenced by setOutputChannel().

PEIP_ABS_Reply_Producing_Message_Handler::getOutputChannel (  ) 

public

Returns:
PEIP_INF_Channel

Definition at line 57 of file PEIP_ABS_Reply_Producing_Message_Handler.php.

Referenced by doGetOutputChannel(), PEIP_Pipe::replyMessage(), and PEIP_Command_Pipe::replyMessage().

PEIP_ABS_Reply_Producing_Message_Handler::doGetOutputChannel ( PEIP_INF_Message message  )  [protected]

protected

Parameters:
PEIP_INF_Message $message
Returns:
PEIP_INF_Channel

Definition at line 66 of file PEIP_ABS_Reply_Producing_Message_Handler.php.

References getOutputChannel(), and resolveReplyChannel().

Referenced by replyMessage().

PEIP_ABS_Reply_Producing_Message_Handler::resolveReplyChannel ( PEIP_INF_Message message  )  [protected]

protected

Parameters:
PEIP_INF_Message $message
Returns:
PEIP_INF_Channel

Definition at line 76 of file PEIP_ABS_Reply_Producing_Message_Handler.php.

Referenced by doGetOutputChannel().

PEIP_ABS_Reply_Producing_Message_Handler::replyMessage ( content  )  [protected]

protected

Parameters:
$content 
Returns:

Reimplemented in PEIP_Command_Pipe, and PEIP_Pipe.

Definition at line 90 of file PEIP_ABS_Reply_Producing_Message_Handler.php.

References doGetOutputChannel(), and ensureMessage().

PEIP_ABS_Reply_Producing_Message_Handler::ensureMessage ( message  )  [protected]

protected

Parameters:
PEIP_INF_Message $message
Returns:
PEIP_INF_Message

Definition at line 101 of file PEIP_ABS_Reply_Producing_Message_Handler.php.

References buildMessage().

Referenced by PEIP_Pipe::replyMessage(), PEIP_Command_Pipe::replyMessage(), and replyMessage().

PEIP_ABS_Reply_Producing_Message_Handler::buildMessage ( content  )  [protected]

protected

Parameters:
mixed $content
Returns:
PEIP_INF_Message

Definition at line 111 of file PEIP_ABS_Reply_Producing_Message_Handler.php.

References getMessageBuilder().

Referenced by ensureMessage().

PEIP_ABS_Reply_Producing_Message_Handler::getMessageBuilder (  )  [protected]

protected

Returns:
PEIP_Message_Builder

Definition at line 120 of file PEIP_ABS_Reply_Producing_Message_Handler.php.

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

Referenced by buildMessage().

PEIP_ABS_Reply_Producing_Message_Handler::setMessageClass ( messageClass  ) 

public

Parameters:
$messageClass 
Returns:
PEIP_ABS_Reply_Producing_Message_Handler

Implements PEIP_INF_Message_Builder.

Definition at line 131 of file PEIP_ABS_Reply_Producing_Message_Handler.php.

References $messageClass.

PEIP_ABS_Reply_Producing_Message_Handler::getMessageClass (  ) 

public

Returns:

Implements PEIP_INF_Message_Builder.

Definition at line 141 of file PEIP_ABS_Reply_Producing_Message_Handler.php.

Referenced by getMessageBuilder().

PEIP_ABS_Reply_Producing_Message_Handler::addReplyChannelHeader ( headerName  ) 

public

Parameters:
string $headerName
Returns:
void

Definition at line 150 of file PEIP_ABS_Reply_Producing_Message_Handler.php.

PEIP_ABS_Reply_Producing_Message_Handler::setReplyChannelHeaders ( array $  headerNames  ) 

public

Parameters:
array $headerNames
Returns:
PEIP_ABS_Reply_Producing_Message_Handler

Definition at line 160 of file PEIP_ABS_Reply_Producing_Message_Handler.php.

PEIP_ABS_Reply_Producing_Message_Handler::getReplyChannelHeaders (  ) 

public

Returns:
array

Definition at line 169 of file PEIP_ABS_Reply_Producing_Message_Handler.php.

PEIP_ABS_Reply_Producing_Message_Handler::doHandle ( PEIP_INF_Message message  )  [protected]

protected

Parameters:
PEIP_INF_Message $message
Returns:

Reimplemented from PEIP_ABS_Message_Handler.

Definition at line 180 of file PEIP_ABS_Reply_Producing_Message_Handler.php.

References doReply().

PEIP_ABS_Reply_Producing_Message_Handler::doReply ( PEIP_INF_Message message  )  [abstract, protected]

protected

Parameters:
PEIP_INF_Message $message
Returns:

Reimplemented in PEIP_ABS_Router, PEIP_ABS_Service_Activator, PEIP_ABS_Message_Splitter, PEIP_Wiretap, PEIP_Event_Pipe, and PEIP_Pipe.

Referenced by doHandle().


Member Data Documentation

PEIP_ABS_Reply_Producing_Message_Handler::$outputChannel [protected]

Definition at line 27 of file PEIP_ABS_Reply_Producing_Message_Handler.php.

Referenced by PEIP_Wiretap::__construct(), PEIP_Simple_Event_Pipe::__construct(), PEIP_Service_Activator::__construct(), PEIP_ABS_Message_Splitter::__construct(), doSetOutputChannel(), and setOutputChannel().

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

Reimplemented in PEIP_String_Service_Activator.

Definition at line 28 of file PEIP_ABS_Reply_Producing_Message_Handler.php.

Referenced by setMessageClass().

PEIP_ABS_Reply_Producing_Message_Handler::$replyChannelHeaders = array('REPLY_CHANNEL') [protected]

Definition at line 29 of file PEIP_ABS_Reply_Producing_Message_Handler.php.


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