| 1 | # outgoing connection to another server in our domain | ||
| 2 | package DJabberd::Connection::ClusterOut; | ||
| 3 | use strict; | ||
| 4 | use base 'DJabberd::Connection::ServerOut'; | ||
| 5 | use Carp qw(croak); | ||
| 6 | |||
| 7 | sub on_connected { | ||
| 8 | my $self = shift; | ||
| 9 | # TODO: | ||
| 10 | # start binary protocol | ||
| 11 | |||
| 12 | } | ||
| 13 | |||
| 14 | sub event_read { | ||
| 15 | # ... read binary protocol | ||
| 16 | } | ||
| 17 | |||
| 18 | 1; |