NAME

Memcached::Client::Protocol - Base Class For Memcached::Client Protocol implementations

VERSION

version 2.01

SYNOPSIS

  package Memcached::Client::Protocol::NewProtocol;
  use strict;
  use base qw{Memcached::Client::Protocol};

METHODS

new

new() creates the protocol object.

decode

encode

log

Log the specified message with an appropriate prefix derived from the class name.

prepare_handle

This routine is handed the raw file handle before any connection is done, for any massaging the procotol may need to do to it (this is typically just the binary protocol setting binmode to true).

rlog

Knows how to extract information from connections and requests.

AUTHOR

Michael Alan Dorman <mdorman@ironicdesign.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2010 by Michael Alan Dorman.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.