Mark Ethan Trostler > TiVo-HME > TiVo::HME::Context

Download:
TiVo-HME-1.3.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Module Version: 1.1   Source  

NAME ^

TiVo::HME::Context - Context object containing some useful values

SYNOPSIS ^

  use TiVo::HME::Context;

DESCRIPTION ^

This object is just a bless'ed hash containing some important values: 'io' -> I/O stream to client (TiVo) 'peer' -> packed sockaddr address of peer (perldoc -f getpeername) 'cookie' -> ID of persistent data from client (TiVo) 'request' -> HTTP::Request object

    This object is constructed by TiVo::HME::Socket as is passed to
    your application as a parameter to your 'init' function.
    It's also available to your app by calling $self->get_context

    You prolly do NOT want to mess w/the IO within the context.

SEE ALSO ^

http://tivohme.sourceforge.net TiVo::HME::Application

AUTHOR ^

Mark Ethan Trostler, <mark@zzo.com>

COPYRIGHT AND LICENSE ^

Copyright 2005 by Mark Ethan Trostler

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

syntax highlighting: