NAME

ACE_TLI_Connector - Defines an active connection factory for the ACE_TLI C++ wrappers.

SYNOPSIS

#include <ace/TLI_Connector.h>

class ACE_TLI_Connector { public: ACE_TLI_Connector (void); ACE_TLI_Connector ( ACE_TLI_Stream &new_stream, const ACE_Addr &remote_sap, ACE_Time_Value *timeout = 0, const ACE_Addr &local_sap = ACE_Addr::sap_any, int reuse_addr = 0, int flags = O_RDWR, int perms = 0, const char device[] = ACE_TLI_TCP_DEVICE, struct t_info *info = 0, int rw_flag = 1, struct netbuf *udata = 0, struct netbuf *opt = 0 ); int connect ( ACE_TLI_Stream &new_stream, const ACE_Addr &remote_sap, ACE_Time_Value *timeout = 0, const ACE_Addr &local_sap = ACE_Addr::sap_any, int reuse_addr = 0, int flags = O_RDWR, int perms = 0, const char device[] = ACE_TLI_TCP_DEVICE, struct t_info *info = 0, int rw_flag = 1, struct netbuf *udata = 0, struct netbuf *opt = 0 ); int complete ( ACE_TLI_Stream &new_stream, ACE_Addr *remote_sap, ACE_Time_Value *tv ); int reset_new_handle (ACE_HANDLE handle); typedef ACE_INET_Addr PEER_ADDR; typedef ACE_TLI_Stream PEER_STREAM; void dump (void) const; ACE_ALLOC_HOOK_DECLARE; };

Initialization methods.

ACE_TLI_Connector (void);

ACE_TLI_Connector (
    ACE_TLI_Stream &new_stream,
    const ACE_Addr &remote_sap,
    ACE_Time_Value *timeout = 0,
    const ACE_Addr &local_sap = ACE_Addr::sap_any,
    int reuse_addr = 0,
    int flags = O_RDWR,
    int perms = 0,
    const char device[] = ACE_TLI_TCP_DEVICE,
    struct t_info *info = 0,
    int rw_flag = 1,
    struct netbuf *udata = 0,
    struct netbuf *opt = 0
    );

int connect (
    ACE_TLI_Stream &new_stream,
    const ACE_Addr &remote_sap,
    ACE_Time_Value *timeout = 0,
    const ACE_Addr &local_sap = ACE_Addr::sap_any,
    int reuse_addr = 0,
    int flags = O_RDWR,
    int perms = 0,
    const char device[] = ACE_TLI_TCP_DEVICE,
    struct t_info *info = 0,
    int rw_flag = 1,
    struct netbuf *udata = 0,
    struct netbuf *opt = 0
    );

int complete (
    ACE_TLI_Stream &new_stream,
    ACE_Addr *remote_sap,
    ACE_Time_Value *tv
    );

int reset_new_handle (ACE_HANDLE handle);

Meta-type info

typedef ACE_INET_Addr PEER_ADDR;

typedef ACE_TLI_Stream PEER_STREAM;

void dump (void) const;

ACE_ALLOC_HOOK_DECLARE;

AUTHOR

Doug Schmidt

LIBRARY

ace