hellopics-ctrl_conn.h File Reference

Relating to managing the connections. More...

#include <sys/types.h>
#include <isc/eventlib.h>

Go to the source code of this file.

Functions

status_t init_connections (evContext ctx)
void close_connections (void)


Detailed Description

Relating to managing the connections.

These functions and types will manage the connections.

Definition in file hellopics-ctrl_conn.h.


Function Documentation

void close_connections ( void   ) 

Terminate all the connections

Definition at line 445 of file hellopics-ctrl_conn.c.

References ctrl_server, data_session, and mgmt_client.

Referenced by hellopics_ctrl_quit().

status_t init_connections ( evContext  ctx  ) 

Initiate connections to the data component and the mgmt component

Parameters:
[in] ctx event context
Returns:
SUCCESS if successful; otherwise EFAIL with an error message.

Definition at line 420 of file hellopics-ctrl_conn.c.

References connect_ctrl_pic(), ctrl_timer_id, ev_ctx, LOG, mgmt_client, and RETRY_CONNECT_INTERVAL.

Referenced by hellopics_ctrl_init().


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:58 2010 for SDK Your Net Corporation Hellopics Example: hellopics-ctrl 1.0 by Doxygen 1.5.1