[SCM] libmessage-passing-perl Debian packaging branch, master, updated. debian/0.111-3-14-g44f6e88

Tomas Doran bobtfish at bobtfish.net
Mon May 6 11:57:13 UTC 2013


The following commit has been merged in the master branch:
commit 269754d87e6b2357aa064d65dcf8553b61e89c69
Author: Tomas Doran <bobtfish at bobtfish.net>
Date:   Sun Jun 10 17:58:20 2012 +0100

    Fix docs up for Role::ConnectionManager

diff --git a/TODO b/TODO
index 7bd828d..044aef6 100644
--- a/TODO
+++ b/TODO
@@ -15,9 +15,6 @@ Specific adaptors
     - STOMP multiple subscriptions
 
 Docs:
- Role::ConnectionManager
- - Fix timeouts and reconnects doc
- 
  Role::HasAconnection
  - Fix docs
 
diff --git a/lib/Message/Passing/Role/ConnectionManager.pm b/lib/Message/Passing/Role/ConnectionManager.pm
index f01b309..3bd7cab 100644
--- a/lib/Message/Passing/Role/ConnectionManager.pm
+++ b/lib/Message/Passing/Role/ConnectionManager.pm
@@ -173,6 +173,19 @@ A Boolean indicating if the connection is currently considered fully connected
 The connection object (if we are connected, or connecting currently) - can
 be undefined if we are during a reconnect timeout.
 
+=head2 timeout
+
+Connections will be timed out and aborted after this time if they haven't sucessfully connected.
+
+Defaults to 30s
+
+=head2 reconnect_after
+
+The number of seconds to wait before starting a reconnect after a connection has timed out
+or been aborted.
+
+Defaults to 2s
+
 =head1 METHODS
 
 =head2 subscribe_to_connect ($subscriber)
@@ -186,6 +199,32 @@ or C<< ->disconnect >> methods for any components registered when a connection i
 
 Note that if the connection manager is already connected, it will B<immediately> call the C<< ->connect >> method.
 
-=head1 TIMEOUTS AND RECONNECTS
+=head1 AUTHOR
+
+Tomas (t0m) Doran <bobtfish at bobtfish.net>
+
+=head1 SPONSORSHIP
+
+This module exists due to the wonderful people at Suretec Systems Ltd.
+<http://www.suretecsystems.com/> who sponsored its development for its
+VoIP division called SureVoIP <http://www.surevoip.co.uk/> for use with
+the SureVoIP API - 
+<http://www.surevoip.co.uk/support/wiki/api_documentation>
+
+=head1 COPYRIGHT
+
+Copyright Suretec Systems Ltd. 2012.
+
+Logstash (upon which many ideas for this project is based, but
+which we do not reuse any code from) is copyright 2010 Jorden Sissel.
+
+=head1 LICENSE
+
+GNU Affero General Public License, Version 3
+
+If you feel this is too restrictive to be able to use this software,
+please talk to us as we'd be willing to consider re-licensing under
+less restrictive terms.
 
 =cut
+

-- 
libmessage-passing-perl Debian packaging



More information about the Pkg-perl-cvs-commits mailing list