Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

bridge.cpp File Reference

More...

#include "BridgeStub.h"
#include <JTC/JTC.h>
#include <sys/timeb.h>
#include "anyconfig/AnyConfig.h"

Go to the source code of this file.

Compounds

struct  TheLevels

Functions

void locker (void *pMon, bool setLock)
 multithreading if JTC was detected. More...

ANYCFG_H sbInitialize (int argn, char *argv[])
 Initialize the SoapBridge core code (src/Bridge). More...

void sbTerminate (ANYCFG_H hdl)
 Terminate the SoapBridge core code (src/Bridge). More...

void EncodeBase64 (const unsigned char *buf, const unsigned long csiz, CString &str, bool isSMTP)
 Encode binary data as a Base 64 string. More...

void DecodeBase64 (unsigned char *ou, unsigned long &nsiz, const char *buf)
 Decode a Base 64 encoded string. More...

double sec_u (void)
 Function that returns C time with milliseconds appended as a double. More...


Variables

log4cpp::Category* soapBridgeLog
log4cpp::Category* corbaBridgeLog
log4cpp::Category* generalLog
struct TheLevels  logLevels
JTCMonitor CString_Monitor
JTCSynchronized* pCString_Lock = NULL
 multithreading if JTC was detected. More...

char* C = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"
 Base 64 characters. More...


Detailed Description

Definition in file bridge.cpp.


Function Documentation

void DecodeBase64 ( unsigned char * ou,
unsigned long & nsiz,
const char * buf )
 

Decode a Base 64 encoded string.

Parameters:
ou   [out] Caller allocated buffer of sufficient size.
nsiz   [out] Length of the data after the decoding.
buf   [in] Zero terminated string to decode.

Definition at line 187 of file bridge.cpp.

void EncodeBase64 ( const unsigned char * buf,
const unsigned long csiz,
CString & str,
bool isSMTP )
 

Encode binary data as a Base 64 string.

Parameters:
buf   The data to encode.
siz   Size of the data to encode.
str   CString that holds the result.
isSMTP   Set to 'false' to encode for SOAP, ie without 76 character line breaks.

Definition at line 134 of file bridge.cpp.

void locker ( void * pMon,
bool setLock ) [static]
 

multithreading if JTC was detected.

Definition at line 53 of file bridge.cpp.

ANYCFG_H sbInitialize ( int argn,
char * argv[] )
 

Initialize the SoapBridge core code (src/Bridge).

Definition at line 66 of file bridge.cpp.

void sbTerminate ( ANYCFG_H hdl )
 

Terminate the SoapBridge core code (src/Bridge).

Definition at line 118 of file bridge.cpp.

double sec_u ( void )
 

Function that returns C time with milliseconds appended as a double.

Returns:
The current C time in millisecond resolution

Definition at line 254 of file bridge.cpp.

Referenced by SOAPBridge_SOAPCall_i::invokeAction(), and Torture::run().


Variable Documentation

char * C = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/" [static]
 

Base 64 characters.

Definition at line 125 of file bridge.cpp.

JTCMonitor CString_Monitor
 

Definition at line 49 of file bridge.cpp.

log4cpp::Category * corbaBridgeLog
 

Definition at line 30 of file bridge.cpp.

log4cpp::Category * generalLog
 

Definition at line 31 of file bridge.cpp.

struct TheLevels logLevels [static]
 

JTCSynchronized * pCString_Lock = NULL
 

multithreading if JTC was detected.

Definition at line 51 of file bridge.cpp.

log4cpp::Category * soapBridgeLog
 

Definition at line 29 of file bridge.cpp.


This documentation is part of the "SOAP to CORBA bridge" project
Copyright © 2000 by Lifeline Networks bv.
All rights are reserved.