Back to index

im-sdk  12.3.91
Public Types | Static Public Member Functions
IMProtocolManager Class Reference

#include <IMProtocolManager.hh>

List of all members.

Public Types

enum  IMPROTO_NAME { XIMP40, IIIMP, R6IMP }

Static Public Member Functions

static IMProtocolgetInstance (IMPROTO_NAME)
static IMProtocolgetInstance (IMPROTO_NAME, IMArg *args, int)

Detailed Description

Definition at line 49 of file IMProtocolManager.hh.


Member Enumeration Documentation

Enumerator:
XIMP40 
IIIMP 
R6IMP 

Definition at line 51 of file IMProtocolManager.hh.

                    {
    XIMP40, IIIMP, R6IMP
  };

Member Function Documentation

Definition at line 52 of file IMProtocolManager.cpp.

                                                      {
  return IMProtocolManager::getInstance(proto_name, (IMArg*)0, 0);
}

Here is the caller graph for this function:

IMProtocol * IMProtocolManager::getInstance ( IMPROTO_NAME  proto_name,
IMArg args,
int  n 
) [static]

Definition at line 57 of file IMProtocolManager.cpp.

                                                {
  
  if (proto_name == IIIMP) {
    return new IIIMProtocol(args, n);
#ifdef SUPPORT_XIMP
  } else if (proto_name == XIMP40) {
    return new XIMProtocol(args, n);
#endif
#ifdef SUPPORT_R6IM
  } else if (proto_name == R6IMP) {
    return new R6IMProtocol(args, n);
#endif
  } else
    return (IMProtocol*)0;
}

The documentation for this class was generated from the following files: