NAME

ACE_SV_Semaphore_Complex - This is a more complex semaphore wrapper that e> static const int npos;

ACE_SString (ACE_Allocator *alloc = 0);

ACE_SString (const char *s, ACE_Allocator *alloc = 0);

ACE_SString (const char *s, size_t len, ACE_Allocator *alloc = 0);

ACE_SString (const ACE_SString &);

ACE_SString (char c, ACE_Allocator *alloc = 0);

~ACE_SString (void);

char operator [] (size_t slot) const;

char &operator [] (size_t slot);

ACE_SString &operator = (const ACE_SString &);

ACE_SString substring (size_t offset, ssize_t length = -1) const;

ACE_SString substr (size_t offset, ssize_t length = -1) const;

u_long hash (void) const;

size_t length (void) const;

void rep (char *s);

const char *rep (void) const;

const char *fast_rep (void) const;

const char *c_str (void) const;

int strstr (const ACE_SString &s) const;

int find (const ACE_SString &str, int pos = 0) const;

int find (const char *s, int pos = 0) const;

int find (char c, int pos = 0) const;

int rfind (char c, int pos = npos) const;

int operator == (const ACE_SString &s) const;

int operator < (const ACE_SString &s) const;

int operator > (const ACE_SString &s) const;

int operator != (const ACE_SString &s) const;

int compare (const ACE_SString &s) const;

void dump (void) const;

ACE_ALLOC_HOOK_DECLARE;

PRIVATE MEMBERS

ACE_Allocator *allocator_;

size_t len_;

char *rep_;

AUTHOR

Douglas C. Schmidt (schmidt@cs.wustl.edu)

LIBRARY

ace ./usr/share/doc/libace-doc/html/ACE_ST_CORBA_Handler.html0100644000000000000000000000604307113056212021547 0ustar rootroot

NAME

ACE_ST_CORBA_Handler - Handle single-threaded Orbix requests in conjunction with the ACE_Reactor.

SYNOPSIS

#include <ace/CORBA_Handler.h>

class ACE_ST_CORBA_Handler : public ACE_CORBA_Handler { public: static ACE_CORBA_Handler *instance (void); virtual int handle_input (ACE_HANDLE); virtual int suspend (void); virtual int resume (void); size_t iterations (void); void iterations (size_t); void dump (void) const; ACE_ALLOC_HOOK_DECLARE; protected: void get_orbix_descriptors (void); ACE_ST_CORBA_Handler (void); virtual ~ACE_ST_CORBA_Handler (void); static void insert_handle (ACE_HANDLE); static void remove_handle (ACE_HANDLE); static void instance_cleaner (void *object, void *param); static ACE_ST_CORBA_Handler *instance_; size_t iterations_; static int set_callbacks_; static OrbixIOCallback previous_orbix_open_callback_; static OrbixIOCallback previous_orbix_close_callback_; };

DESCRIPTION

You should NOT use this class unless you've got a VERY old version of Orbix that only supports single-threading. If you're using a more recent version of Orbix use the ACE_MT_CORBA_Handler.

Singleton access point.

static ACE_CORBA_Handler *instance (void);