monitube-mgmt_conn.h

Go to the documentation of this file.
00001 /*
00002  * $Id: monitube-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 __MONITUBE_MGMT_CONN_H__
00022 #define __MONITUBE_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 
00072 void
00073 notify_monitor_update(const char * mon_name, uint32_t rate);
00074 
00075 
00088 void
00089 notify_address_update(const char * mon_name, in_addr_t address, in_addr_t mask);
00090 
00091 
00101 void
00102 notify_mirror_update(in_addr_t mirror_from, in_addr_t mirror_to);
00103 
00104 
00111 void
00112 notify_monitor_delete(const char * mon_name);
00113 
00114 
00127 void
00128 notify_address_delete(const char * mon_name, in_addr_t address, in_addr_t mask);
00129 
00130 
00137 void
00138 notify_mirror_delete(in_addr_t mirror_from);
00139 
00140 
00144 void
00145 notify_delete_all_monitors(void);
00146 
00147 
00151 void
00152 notify_delete_all_mirrors(void);
00153 
00154 
00161 void
00162 notify_replication_interval(uint8_t r_int);
00163 
00164 
00169 void
00170 process_notifications(void);
00171 
00172 
00179 void
00180 set_master_address(in_addr_t addr);
00181 
00182 #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:27:03 2010 for SDK Your Net Corporation Monitube IPTV Monitoring Example: monitube-mgmt 1.0 by Doxygen 1.5.1