ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/AnyEvent-MP/MP/Transport.pm
(Generate patch)

Comparing AnyEvent-MP/MP/Transport.pm (file contents):
Revision 1.54 by root, Wed Sep 9 21:05:15 2009 UTC vs.
Revision 1.55 by root, Fri Sep 11 02:32:23 2009 UTC

37use AnyEvent::Socket (); 37use AnyEvent::Socket ();
38use AnyEvent::Handle 4.92 (); 38use AnyEvent::Handle 4.92 ();
39 39
40use AnyEvent::MP::Config (); 40use AnyEvent::MP::Config ();
41 41
42our $PROTOCOL_VERSION = 0; 42our $PROTOCOL_VERSION = 1;
43 43
44our @HOOK_CONNECT; # called at connect/accept time 44our @HOOK_CONNECT; # called at connect/accept time
45our @HOOK_GREETING; # called at greeting1 time 45our @HOOK_GREETING; # called at greeting1 time
46our @HOOK_CONNECTED; # called at data phase 46our @HOOK_CONNECTED; # called at data phase
47our @HOOK_DESTROY; # called at destroy time 47our @HOOK_DESTROY; # called at destroy time
417 417
418The constant C<aemp> to identify this protocol. 418The constant C<aemp> to identify this protocol.
419 419
420=item protocol version 420=item protocol version
421 421
422The protocol version supported by this end, currently C<0>. If the 422The protocol version supported by this end, currently C<1>. If the
423versions don't match then no communication is possible. Minor extensions 423versions don't match then no communication is possible. Minor extensions
424are supposed to be handled through additional key-value pairs. 424are supposed to be handled through additional key-value pairs.
425 425
426=item the node ID 426=item the node ID
427 427

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines