diff options
author | Jesse Luehrs <doy@tozt.net> | 2009-06-26 20:13:41 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2009-06-26 20:13:41 -0500 |
commit | eb2d1ba10ef4dfa02c9ada0a339f7e7a1738e4f1 (patch) | |
tree | dbf1b5c4ff2f807be228a4a7344e3c92957170af /lib/Net/Termcast | |
parent | a0ea5a6c6291797b59a970cfca684e196b0cc4b8 (diff) | |
download | net-termcast-eb2d1ba10ef4dfa02c9ada0a339f7e7a1738e4f1.tar.gz net-termcast-eb2d1ba10ef4dfa02c9ada0a339f7e7a1738e4f1.zip |
add object to hold session data
Diffstat (limited to 'lib/Net/Termcast')
-rw-r--r-- | lib/Net/Termcast/Session.pm | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/lib/Net/Termcast/Session.pm b/lib/Net/Termcast/Session.pm new file mode 100644 index 0000000..92f9166 --- /dev/null +++ b/lib/Net/Termcast/Session.pm @@ -0,0 +1,32 @@ +package Net::Termcast::Session; +use Moose; + +has name => ( + is => 'ro', + isa => 'Str', +); + +has idle => ( + is => 'ro', + isa => 'Str', +); + +has connected => ( + is => 'ro', + isa => 'Str', +); + +has viewers => ( + is => 'ro', + isa => 'Int', +); + +has bytes => ( + is => 'ro', + isa => 'Int', +); + +__PACKAGE__->meta->make_immutable; +no Moose; + +1; |