00001 /* 00002 * RTServerWrapper.cc 00003 * 00004 * Copyright (c) 2003 The University of Utah and the Flux Group. 00005 * All rights reserved. 00006 * 00007 * This file is licensed under the terms of the GNU Public License. 00008 * See the file "license.terms" for restrictions on redistribution 00009 * of this file, and for a DISCLAIMER OF ALL WARRANTIES. 00010 */ 00011 00012 /** 00013 * @file RTServerWrapper.cc 00014 * 00015 * Implementation of the RTServerWrapper class. 00016 */ 00017 00018 #include "config.h" 00019 00020 #include <BasicTaskQosketImpl.hh> 00021 00022 #include "RTServerWrapper.hh" 00023 00024 RTServerWrapper::RTServerWrapper(Broker::RealTimeTask_ptr rtt, 00025 CORBA::ULong period, 00026 CORBA::ULong deadline) 00027 { 00028 this->rta_Advocate = rtt; 00029 this->rta_Period = period; 00030 this->rta_Deadline = deadline; 00031 this->rta_Qosket = this; 00032 this->rta_UsageStart_Sec = 0; 00033 this->rta_UsageStart_uSec = 0; 00034 } 00035 00036 RTServerWrapper::~RTServerWrapper() 00037 { 00038 } 00039 00040 RTServer_ptr RTServerWrapper::getRemoteObject() 00041 { 00042 return this->quo_remoteObj; 00043 }