Author: dylan
Date: 2005-07-18 22:45:58 -0400 (Mon, 18 Jul 2005)
New Revision: 881
Modified:
trunk/
trunk/perl/client/lib/Haver/Client.pm
Log:
[EMAIL PROTECTED]: dylan | 2005-07-18 22:45:43 -0400
More API changes. I think.
Also some more docs.
Property changes on: trunk
___________________________________________________________________
Name: svk:merge
- 1f59643a-e6e5-0310-bc24-f7d4c744f460:/haver/havercurs-objc:43089
1f59643a-e6e5-0310-bc24-f7d4c744f460:/haver/local/trunk:11166
1f59643a-e6e5-0310-bc24-f7d4c744f460:/haver/local/trunk-merge-10131:11178
27e50396-46e3-0310-8b22-ae223a1f35ce:/local:212
e9404bb1-7af0-0310-a7ff-e22194cd388b:/haver/local:1288
edfcd8bd-4ce7-0310-a97e-bb1efd40edf3:/local:238
+ 1f59643a-e6e5-0310-bc24-f7d4c744f460:/haver/havercurs-objc:43089
1f59643a-e6e5-0310-bc24-f7d4c744f460:/haver/local/trunk:11166
1f59643a-e6e5-0310-bc24-f7d4c744f460:/haver/local/trunk-merge-10131:11178
27e50396-46e3-0310-8b22-ae223a1f35ce:/local:212
e9404bb1-7af0-0310-a7ff-e22194cd388b:/haver/local:1295
edfcd8bd-4ce7-0310-a97e-bb1efd40edf3:/local:238
Modified: trunk/perl/client/lib/Haver/Client.pm
===================================================================
--- trunk/perl/client/lib/Haver/Client.pm 2005-07-18 23:58:20 UTC (rev
880)
+++ trunk/perl/client/lib/Haver/Client.pm 2005-07-19 02:45:58 UTC (rev
881)
@@ -414,6 +414,7 @@
foreach my $event (@events) {
$event = uc $event;
next if exists $reg->{$event}{$id};
+ # XXX: Do refcount tags need to be unique?
my $tag = '1' . $reg->{$event} . '\0' . $id . '\0' . rand;
$reg->{$event}{$id} = $tag;
$kernel->refcount_increment( $id, $tag );
@@ -493,12 +494,21 @@
=head1 STATES
+While these are listed just like methods, you must post() to them, and not
call them
+directly.
+
=head2 connect(host => $host, name => $name, [ port => 7575 ])
Connect to $host on port $port (defaults to 7575) with the user name $name.
If already connected to a server, Haver::Client will disconnect and re-connect
using the
new settings.
+=head2 register(@events)
+
+This summons the sun god Ra and makes him eat your liver.
+
+FIXME: This is inaccurate.
+
=head1 BUGS
None known. Bug reports are welcome. Please use our bug tracker at