NAME

ACE_MEM_Connector - Defines the format and interface for the connector side of the ACE_MEM_Stream.

SYNOPSIS

#include <ace/MEM_Connector.h>

class ACE_MEM_Connector : public ACE_SOCK_Connector { public: ACE_MEM_Connector (void); ACE_MEM_Connector ( ACE_MEM_Stream &new_stream, const ACE_INET_Addr &remote_sap, ACE_Time_Value *timeout = 0, const ACE_Addr &local_sap = ACE_Addr::sap_any, int reuse_addr = 0, int flags = 0, int perms = 0, int protocol = 0 ); int connect ( ACE_MEM_Stream &new_stream, const ACE_INET_Addr &remote_sap, ACE_Time_Value *timeout = 0, const ACE_Addr &local_sap = ACE_Addr::sap_any, int reuse_addr = 0, int flags = 0, int perms = 0, int protocol = 0 ); ACE_MEM_SAP::MALLOC_OPTIONS &malloc_options (void); typedef ACE_INET_Addr PEER_ADDR; typedef ACE_MEM_Stream PEER_STREAM; void dump (void) const; ACE_ALLOC_HOOK_DECLARE; private: ACE_MEM_Addr address_; ACE_MEM_SAP::MALLOC_OPTIONS malloc_options_; };

Initialization methods.

ACE_MEM_Connector (void);

ACE_MEM_Connector (
    ACE_MEM_Stream &new_stream,
    const ACE_INET_Addr &remote_sap,
    ACE_Time_Value *timeout = 0,
    const ACE_Addr &local_sap = ACE_Addr::sap_any,
    int reuse_addr = 0,
    int flags = 0,
    int perms = 0,
    int protocol = 0
    );

int connect (
    ACE_MEM_Stream &new_stream,
    const ACE_INET_Addr &remote_sap,
    ACE_Time_Value *timeout = 0,
    const ACE_Addr &local_sap = ACE_Addr::sap_any,
    int reuse_addr = 0,
    int flags = 0,
    int perms = 0,
    int protocol = 0
    );

ACE_MEM_SAP::MALLOC_OPTIONS &malloc_options (void);

Meta-type info

typedef ACE_INET_Addr PEER_ADDR;

typedef ACE_MEM_Stream PEER_STREAM;

void dump (void) const;

ACE_ALLOC_HOOK_DECLARE;

AUTHOR

Nanbor Wang nanbor@cs.wustl.edu

LIBRARY

ace