Skip to content

Commit

Permalink
r21@eeepc: nicholas | 2008-07-27 15:57:12 -0500
Browse files Browse the repository at this point in the history
 Statuses added. Still need to adjust component to report them back
  • Loading branch information
nperez committed Jul 27, 2008
1 parent 00adb32 commit a590b15
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions lib/POE/Component/PubSub/Status.pm
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
package POE::Component::PubSub::Status;
use warnings;
use strict;

use Exporter;

use constants
{
'PCPS_NOT_PUBLISHED' => 0,
'PCPS_NOT_OWNED' => 1,
'PCPS_NO_SUBSCRIBERS' => 2,
'PCPS_INVALID_EVENT' => 3,
'PCPS_EVENT_EXISTS' => 4,
};

our $VERSION = '0.01';

our @EXPORT_OK =
qw/
&PCPS_NOT_PUBLISHED
&PCPS_NOT_OWNED
&PCPS_NO_SUBSCRIBERS
&PCPS_INVALID_EVENT
&PCPS_EVENT_EXISTS
/;

0 comments on commit a590b15

Please sign in to comment.