Ignore:
Timestamp:
Feb 23, 2009, 2:21:49 PM (15 years ago)
Author:
Christoph Mayer
Message:

-einige fixes im ablauf des neuen interface
-einige fehlende funktionalität implementiert

File:
1 edited

Legend:

Unmodified
Added
Removed
  • source/ariba/interface/ServiceInterface.cpp

    r2472 r2473  
    3838
    3939#include "ServiceInterface.h"
    40 #include "ariba/interface/AribaContext.h"
    4140
    4241namespace ariba {
    4342namespace interface {
    4443
    45 ServiceInterface::ServiceInterface() : overlay( NULL ){
     44ServiceInterface::ServiceInterface() {
    4645}
    4746
    4847ServiceInterface::~ServiceInterface(){
    49         if( overlay != NULL )
    50                 overlay->unbind( this, serviceid );
    51 }
    52 
    53 bool ServiceInterface::initialize( AribaContext* _ctx, const ServiceID& _serviceid ){
    54         return initialize( &_ctx->getOverlay(), _serviceid );
    55 }
    56 
    57 bool ServiceInterface::initialize( BaseOverlay* _overlay, const ServiceID& _serviceid ){
    58         if( _overlay == NULL ) return false;
    59 
    60         overlay = _overlay;
    61         serviceid = _serviceid;
    62 
    63         return overlay->bind( this, serviceid);
    6448}
    6549
Note: See TracChangeset for help on using the changeset viewer.