Net-Clacks
view release on metacpan or search on metacpan
lib/Net/Clacks/Server.pm view on Meta::CPAN
DEPRECATED: Initialize server instance (required before running). This is now a dummy function that will show a deprecation warning and return.
Initialization is now done automatically when calling run().
=head2 run
Run the server instance in it's own event loop. Only returns when server is shutdown.
=head2 runOnce
Run through the event loop once. This allows you to use your own programs event loop, and call runOnce a couple of times per second. It is a good idea to call runShutdown() to cleanly
disconnect clients before exiting your program. runOnce() returns a "work count" number, on which you *may* decide on how busy the server is and when to call runOnce() next.
=head2 runShutdown
Shuts down all connections. This is called automatically if you use run(), but not if you use runOnce()
=head1 IMPORTANT NOTE
Please make sure and read the documentations for L<Net::Clacks> as it contains important information
pertaining to upgrades and general changes!
( run in 0.233 second using v1.01-cache-2.11-cpan-3cd7ad12f66 )