Public Member Functions | Data Fields

ClusterMachine Struct Reference

#include <P_ClusterMachine.h>

Inherits Server.

Collaboration diagram for ClusterMachine:
Collaboration graph
[legend]

Public Member Functions

 ClusterMachine (char *hostname=NULL, unsigned int ip=0, int acluster_port=0)
 ~ClusterMachine ()
ClusterHandlerpop_ClusterHandler (int no_rr=0)

Data Fields

bool dead
char * hostname
int hostname_len
unsigned int ip
int cluster_port
int num_connections
int now_connections
int free_connections
int64_t rr_count
Link< ClusterMachinelink
uint16_t msg_proto_major
uint16_t msg_proto_minor
ClusterHandler ** clusterHandlers

Detailed Description

Definition at line 58 of file P_ClusterMachine.h.


Constructor & Destructor Documentation

ClusterMachine::ClusterMachine ( char *  hostname = NULL,
unsigned int  ip = 0,
int  acluster_port = 0 
)
ClusterMachine::~ClusterMachine (  ) 

Definition at line 166 of file ClusterMachine.cc.

References ats_free(), clusterHandlers, and hostname.


Member Function Documentation

ClusterHandler * ClusterMachine::pop_ClusterHandler ( int  no_rr = 0  ) 

Field Documentation

Definition at line 71 of file P_ClusterMachine.h.

Referenced by ClusterHandler::~ClusterHandler().

Definition at line 61 of file P_ClusterMachine.h.

Referenced by ClusterMachine(), and ~ClusterMachine().

Definition at line 62 of file P_ClusterMachine.h.

Referenced by ClusterMachine().

unsigned int ClusterMachine::ip

Definition at line 74 of file P_ClusterMachine.h.

Definition at line 83 of file P_ClusterMachine.h.

Referenced by ClusterHandler::startClusterEvent().

Definition at line 72 of file P_ClusterMachine.h.

Referenced by pop_ClusterHandler().


The documentation for this struct was generated from the following files: