equilibrium_ipc.h File Reference

Constants and types used for SYNC Equilibrium IPC. More...

Go to the source code of this file.

Data Structures

struct  del_svcset_info_s
struct  del_app_info_s
struct  server_info_s
struct  update_app_info_s
struct  server_status_s
struct  sessions_status_s

Defines

#define EQUILIBRIUM_PORT_NUM   7080
#define SERVER_STATUS_DOWN   0
 server status is down
#define SERVER_STATUS_UP   1
 server status is up

Typedefs

typedef del_svcset_info_s del_svcset_info_t
typedef del_app_info_s del_app_info_t
typedef server_info_s server_info_t
typedef update_app_info_s update_app_info_t
typedef server_status_s server_status_t
typedef sessions_status_s sessions_status_t

Enumerations

enum  msg_type_e {
  MSG_DELETE_ALL = 1, MSG_DELETE_SS, MSG_DELETE_APP, MSG_DELETE_SERVER,
  MSG_DELETE_ALL_SERVERS, MSG_CONF_APPLICATION, MSG_CONF_SERVER
}
enum  update_type_e { MSG_SERVER_UPDATE = 1, MSG_STATUS_UPDATE }


Detailed Description

Constants and types used for SYNC Equilibrium IPC.

Constants for understanding and building request and reply IPC messages between the mgmt & data components.

Definition in file equilibrium_ipc.h.


Define Documentation

#define EQUILIBRIUM_PORT_NUM   7080

Port that the equilibrium-mgmt listens on:

Definition at line 33 of file equilibrium_ipc.h.

Referenced by close_connections(), and init_server().


Typedef Documentation

typedef struct del_app_info_s del_app_info_t

Message containing info about the application to delete

typedef struct del_svcset_info_s del_svcset_info_t

Message containing info about the service set to delete

typedef struct server_info_s server_info_t

Message containing info about the server (to add or delete) for an application

typedef struct server_status_s server_status_t

Message containing info about the server status for an application

typedef struct sessions_status_s sessions_status_t

Message containing info about the server status for an application

typedef struct update_app_info_s update_app_info_t

Message containing info about the application Note, when connection_interval = 0, it indicates no monitor should be used


Enumeration Type Documentation

enum msg_type_e

Applicable IPC Message subtypes for messages FROM the mgmt component TO the data component:

Enumerator:
MSG_DELETE_ALL  delete everything, no message data sent
MSG_DELETE_SS  delete service set, del_svcset_info_t sent
MSG_DELETE_APP  delete application, del_app_info_t sent
MSG_DELETE_SERVER  delete server, server_info_t sent
MSG_DELETE_ALL_SERVERS  delete all servers, del_app_info_t sent
MSG_CONF_APPLICATION  update application, update_app_info_t sent
MSG_CONF_SERVER  update server, server_info_t sent

Definition at line 43 of file equilibrium_ipc.h.

enum update_type_e

Applicable IPC Message subtypes for messages TO the mgmt component FROM the data component:

Enumerator:
MSG_SERVER_UPDATE  update server status, server_status_t
MSG_STATUS_UPDATE  update active # of sessions

Definition at line 107 of file equilibrium_ipc.h.


2007-2009 Juniper Networks, Inc. All rights reserved. The information contained herein is confidential information of Juniper Networks, Inc., and may not be used, disclosed, distributed, modified, or copied without the prior written consent of Juniper Networks, Inc. in an express license. This information is subject to change by Juniper Networks, Inc. Juniper Networks, the Juniper Networks logo, and JUNOS are registered trademarks of Juniper Networks, Inc. in the United States and other countries. All other trademarks, service marks, registered trademarks, or registered service marks are the property of their respective owners.
Generated on Sun May 30 20:26:57 2010 for SDK Your Net Corporation Equilibrium Load Balancer Example: equilibrium-mgmt 1.0 by Doxygen 1.5.1