Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/reyjrar/poe-component-debugshell-tcp

DebugShell for POE over a TCP Port
https://github.com/reyjrar/poe-component-debugshell-tcp

Last synced: about 1 month ago
JSON representation

DebugShell for POE over a TCP Port

Awesome Lists containing this project

README

        

# NAME

POE::Component::DebugShell::TCP - DebugShell accessible via a TCP Port

# VERSION

version 0.01

# SYNOPSIS

This POE Component provides a debugging port for your application to
see the internal using the capabilities provided by POE::API::Peek.

use POE qw(
Component::DebugShell::TCP
);

# Message Dispatch Service
my $SESSION = POE::Component::DebugShell::TCP->spawn(
ListenAddress => 'localhost', #default
ListenPort => 9094, #default
);

POE::Kernel->run();

# EXPORT

POE::Component::Server::eris does not export any symbols.

# FUNCTIONS

## spawn

Creates the POE::Session for the DebugShell.

Parameters:
ListenAddress => 'localhost', \#default
ListenPort => '9094', \#default

## INTERNAL FUNCTIONS

### client\_connect

Handles connection establishment

### client\_input

Handles client input

### client\_term

Handles client termination

# SEE ALSO

- [POE::API::Peek](http://search.cpan.org/dist/POE-API-Peek)
- [POE::Component::DebugShell](http://search.cpan.org/dist/POE-Component-DebugShell)
- [POE::Component::DebugShell::Jabber](http://search.cpan.org/dist/POE-Component-DebugShell-Jabber)

# AUTHOR

Brad Lhotsky

# COPYRIGHT AND LICENSE

This software is Copyright (c) 2012 by Brad Lhotsky.

This is free software, licensed under:

The (three-clause) BSD License