Changeset 2173 for trunk/gsdl/src/recpt
- Timestamp:
- 2001-03-14T04:15:23+13:00 (23 years ago)
- Location:
- trunk/gsdl/src/recpt
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/recpt/Makefile.in
r2171 r2173 65 65 endif 66 66 MICO_DIR = @MICO_DIR@ 67 MICO_VER = @MICO_VER@ 67 68 ifeq ($(MICO_DIR), yes) 68 69 MICO_INC = 69 70 MICO_LIB = 71 MICO_PATH = 70 72 else 71 73 ifeq ($(MICO_DIR), default) 72 74 MICO_DIR = ../../packages/mico/include 75 MICO_PATH = ../../bin/linux/ 73 76 endif 74 77 MICO_INC = -I$(MICO_DIR) 75 78 MICO_LIB = -L$(MICO_DIR) 79 MICO_PATH = 76 80 endif 77 81 MINCLUDES = -I. -I../../lib -I../colservr $(MICO_INC) … … 89 93 CPPLINK = $(CPP) $(LDFLAGS) -o $@ 90 94 91 MCOMPILE = ../../bin/linux/mico-c++ -x c++ $(MCFLAGS) $(DEFS) $(MINCLUDES) -c92 MLINK = ../../bin/linux/mico-ld -static $(LDFLAGS) $(MICO_LIB) -o $@93 MLIBS = $(LIBS) -L../../lib/ -lmico 2.3.5 -lmicoaux2.3.595 MCOMPILE = $(MICO_PATH)mico-c++ -x c++ $(MCFLAGS) $(DEFS) $(MINCLUDES) -c 96 MLINK = $(MICO_PATH)mico-ld -static $(LDFLAGS) $(MICO_LIB) -o $@ 97 MLIBS = $(LIBS) -L../../lib/ -lmico$(MICO_VER) -lmicoaux$(MICO_VER) 94 98 95 99 .SUFFIXES: -
trunk/gsdl/src/recpt/corbaproto.mpp
r2122 r2173 389 389 390 390 // execute the corba transaction 391 lclient->configure(corbaKey, corbaCfgline, error); 392 393 391 lclient->configure(corbaKey, corbaCfgline, error); 394 392 395 393 if (key=="gsdlhome") … … 541 539 void corbaproto::ping (const text_t &collection, bool &wassuccess, 542 540 comerror_t &err, ostream &/*logout*/) { 543 // 541 // cout << "Corbaproto::Ping" << endl; 544 542 545 543 corbatext_t corbaCollect; 546 544 corbaComError corbaError; 547 boolsuccess;545 CORBA::Boolean success; 548 546 549 547 // get the corba client reference … … 555 553 556 554 // execute the corba transaction 557 success = lclient->ping(corbaCollect, corbaError);555 lclient->ping(corbaCollect, success, corbaError); 558 556 559 557 // convert the response back to normal form -
trunk/gsdl/src/recpt/nullproto.cpp
r2113 r2173 105 105 106 106 void nullproto::ping (const text_t &collection, bool &wassuccess, 107 comerror_t &err, ostream &/*logout*/) { 108 wassuccess = (cset->getCollectServer(collection) != NULL); 109 err = noError; 107 comerror_t &err, ostream &logout) { 108 collectserver *cserver = cset->getCollectServer(collection); 109 if (cserver != NULL) cserver->ping(wassuccess, err, logout); 110 else err = protocolError; 110 111 } 111 112
Note:
See TracChangeset
for help on using the changeset viewer.