PEIP_Queue_Channel Class Reference

Inheritance diagram for PEIP_Queue_Channel:

PEIP_ABS_Pollable_Channel PEIP_ABS_Interceptable_Message_Channel PEIP_INF_Pollable_Channel PEIP_INF_Channel PEIP_INF_Interceptable PEIP_INF_Connectable PEIP_INF_Channel PEIP_Priority_Channel List of all members.

Public Member Functions

 __construct ($capacity=-1)
 getMessageCount ()
 getCapacity ()
 setCapacity ($capacity)

Protected Member Functions

 doSend (PEIP_INF_Message $message)

Protected Attributes

 $capacity
 $queue

Detailed Description

Definition at line 22 of file PEIP_Queue_Channel.php.


Constructor & Destructor Documentation

PEIP_Queue_Channel::__construct ( capacity = -1  ) 

public

Parameters:
$capacity 
Returns:

Reimplemented from PEIP_ABS_Interceptable_Message_Channel.

Definition at line 35 of file PEIP_Queue_Channel.php.

References $capacity, and setCapacity().


Member Function Documentation

PEIP_Queue_Channel::getMessageCount (  ) 

public

Returns:

Definition at line 45 of file PEIP_Queue_Channel.php.

Referenced by doSend(), and PEIP_Priority_Channel::doSend().

PEIP_Queue_Channel::getCapacity (  ) 

public

Returns:

Definition at line 54 of file PEIP_Queue_Channel.php.

Referenced by doSend(), and PEIP_Priority_Channel::doSend().

PEIP_Queue_Channel::setCapacity ( capacity  ) 

public

Parameters:
$capacity 
Returns:

Definition at line 64 of file PEIP_Queue_Channel.php.

References $capacity.

Referenced by __construct(), and PEIP_Priority_Channel::__construct().

PEIP_Queue_Channel::doSend ( PEIP_INF_Message message  )  [protected]

protected

Parameters:
$message 
Returns:

Reimplemented from PEIP_ABS_Pollable_Channel.

Reimplemented in PEIP_Priority_Channel.

Definition at line 74 of file PEIP_Queue_Channel.php.

References getCapacity(), and getMessageCount().


Member Data Documentation

PEIP_Queue_Channel::$capacity [protected]

Definition at line 26 of file PEIP_Queue_Channel.php.

Referenced by __construct(), PEIP_Priority_Channel::__construct(), and setCapacity().

PEIP_Queue_Channel::$queue [protected]

Definition at line 26 of file PEIP_Queue_Channel.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