equilibrium-mgmt_conn.h

Go to the documentation of this file.
00001 /*
00002  * $Id: equilibrium-mgmt_conn.h 346460 2009-11-14 05:06:47Z ssiano $
00003  *
00004  * This code is provided as is by Juniper Networks SDK Developer Support.
00005  * It is provided with no warranties or guarantees, and Juniper Networks
00006  * will not provide support or maintenance of this code in any fashion.
00007  * The code is provided only to help a developer better understand how
00008  * the SDK can be used.
00009  * 
00010  * Copyright (c) 2008, Juniper Networks, Inc.
00011  * All rights reserved.
00012  */
00013 
00021 #ifndef __EQUILIBRIUM_MGMT_CONN_H__
00022 #define __EQUILIBRIUM_MGMT_CONN_H__
00023 
00024 /*** Constants ***/
00025 
00026 
00027 /*** Data structures ***/
00028 
00029 
00030 /*** GLOBAL/EXTERNAL Functions ***/
00031 
00032 
00042 status_t
00043 init_server(evContext ctx);
00044 
00045 
00049 void
00050 close_connections(void);
00051 
00052 
00059 void
00060 mspic_offline(const char * name);
00061 
00062 
00067 void
00068 process_notifications(void);
00069 
00070 
00101 void
00102 notify_application_update(const char * svc_set_name,
00103                           const char * app_name,
00104                           in_addr_t address,
00105                           uint16_t port,
00106                           uint16_t session_timeout,
00107                           uint16_t connection_interval,
00108                           uint16_t connection_timeout,
00109                           uint8_t timeouts_allowed,
00110                           uint16_t down_retry_interval);
00111 
00112 
00125 void
00126 notify_server_update(const char * svc_set_name,
00127                      const char * app_name,
00128                      in_addr_t address);
00129 
00130 
00143 void
00144 notify_server_delete(const char * svc_set_name,
00145                      const char * app_name,
00146                      in_addr_t address);
00147 
00148 
00158 void
00159 notify_application_delete(const char * svc_set_name,
00160                           const char * app_name);
00161 
00162 
00173 void
00174 notify_serviceset_delete(const char * svc_set_name, uint16_t svc_set_id);
00175 
00176 
00186 void
00187 notify_delete_all_servers(const char * svc_set_name,
00188                           const char * app_name);
00189 
00190 
00201 void
00202 notify_delete_all_applications(const char * svc_set_name, uint16_t svc_set_id);
00203 
00204 
00208 void
00209 notify_delete_all(void);
00210 
00211 
00212 #endif

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