The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

MR::IProto::Cluster::Server - server

DESCRIPTION

This class is used to implement all communication with one server.

ATTRIBUTES

host

Host name or IP address.

port

Port number.

weight

Server weight.

connect_timeout

Timeout of connect operation.

timeout

Timeout of read and write operations.

tcp_nodelay

Enable TCP_NODELAY.

tcp_keepalive

Enable SO_KEEPALIVE.

max_parallel

Max amount of simultaneous request.

active

Is server used in balancing.

PUBLIC METHODS

disconnect_all

Class method used to disconnect all iproto-connections. Very useful in case of fork().

PROTECTED METHODS

_send_started( $sync, $message, $data )

This method is called when message is started to send.

_recv_finished( $sync, $message, $data, $error )

This method is called when message is received.

SEE ALSO

MR::IProto, MR::IProto::Cluster.

1 POD Error

The following errors were encountered while parsing the POD:

Around line 197:

You forgot a '=back' before '=head1'