Changeset 14575 for trunk/FACT++/dim/src/discpp.cxx
- Timestamp:
- 11/07/12 10:47:40 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/dim/src/discpp.cxx
r13135 r14575 61 61 itsId = dis_add_service( name, format, NULL, 0, 62 62 // user_routine, itsTagId); 63 user_routine, ( long)this);63 user_routine, (dim_long)this); 64 64 DimServer::start(); 65 65 } … … 68 68 itsId = dis_add_service_dns( itsDns->getDnsId(), name, format, NULL, 0, 69 69 // user_routine, itsTagId); 70 user_routine, ( long)this);70 user_routine, (dim_long)this); 71 71 // itsDns->addServiceId(itsId); 72 72 DimServer::start(itsDns); … … 139 139 itsId = dis_add_cmnd( name, format, command_routine, 140 140 // itsTagId); 141 ( long)this);141 (dim_long)this); 142 142 DimServer::start(); 143 143 } … … 146 146 itsId = dis_add_cmnd_dns( itsDns->getDnsId(), name, format, command_routine, 147 147 // itsTagId); 148 ( long)this);148 (dim_long)this); 149 149 // itsDns->addServiceId(itsId); 150 150 DimServer::start(itsDns); … … 248 248 itsIdIn = dis_add_cmnd( itsNameIn, formatin, 249 249 // rpcin_routine, itsTagId); 250 rpcin_routine, ( long)this);250 rpcin_routine, (dim_long)this); 251 251 itsIdOut = dis_add_service( itsNameOut, formatout, 0,0, 252 252 // rpcout_routine, itsTagId); 253 rpcout_routine, ( long)this);253 rpcout_routine, (dim_long)this); 254 254 DimServer::start(); 255 255 } … … 258 258 itsIdIn = dis_add_cmnd_dns( itsDns->getDnsId(), itsNameIn, formatin, 259 259 // rpcin_routine, itsTagId); 260 rpcin_routine, ( long)this);260 rpcin_routine, (dim_long)this); 261 261 itsIdOut = dis_add_service_dns( itsDns->getDnsId(), itsNameOut, formatout, 0,0, 262 262 // rpcout_routine, itsTagId); 263 rpcout_routine, ( long)this);263 rpcout_routine, (dim_long)this); 264 264 // itsDns->addServiceId(itsIdIn); 265 265 // itsDns->addServiceId(itsIdOut); … … 369 369 } 370 370 371 long DimServerDns::getDnsId()371 dim_long DimServerDns::getDnsId() 372 372 { 373 373 return itsDnsId; … … 445 445 void DimServer::start(DimServerDns *dns, const char *name) 446 446 { 447 long dnsid;447 dim_long dnsid; 448 448 449 449 DISABLE_AST … … 487 487 void DimServer::start(DimServerDns *dns) 488 488 { 489 long dnsid;489 dim_long dnsid; 490 490 char *name; 491 491 int isAuto; … … 669 669 } 670 670 671 long DimServer::addDns(const char *node, int port)671 dim_long DimServer::addDns(const char *node, int port) 672 672 { 673 673 return dis_add_dns((char *)node, port);
Note:
See TracChangeset
for help on using the changeset viewer.