POE::Component::Server::Bayeux::Client - An object representing a single client of the server
Used internally by POE::Component::Server::Bayeux.
Completes an active poll if there is one
Called with a POE::Component::Server::Bayeux::Message, the client is to evaluate wether the message is invalid within the context of the client - as in, perform an authorization check. If there's an error, the message will have it's is_error() field set with the error.
Returns boolean of wether the client is subscribed to the literal channel provided
send_message ($message, $subscription_args)
Sends, or queues, the message to the client. $subscription_args is the same hashref that was passed to the server's subscribe() method when this client subscribed to the channel. Structure of the message is same as Bayeux '5.2. Deliver Event message'.
Checks last time HTTP-connected client performed connected, and removes client if it's stale (according to server arg ConnectTimeout).
Flush the queue of messages, if there is any, and only if client is currently connected. Only used for HTTP-connected clients.
Return a reference to the servers logger.
Returns the server's args
Copyright (c) 2008 Eric Waters and XMission LLC (http://www.xmission.com/). All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
The full text of the license can be found in the LICENSE file included with this module.
Eric Waters <firstname.lastname@example.org>