SQLRegistrationStore.cc

Go to the documentation of this file.
00001 /*
00002  *    Copyright 2004-2006 Intel Corporation
00003  * 
00004  *    Licensed under the Apache License, Version 2.0 (the "License");
00005  *    you may not use this file except in compliance with the License.
00006  *    You may obtain a copy of the License at
00007  * 
00008  *        http://www.apache.org/licenses/LICENSE-2.0
00009  * 
00010  *    Unless required by applicable law or agreed to in writing, software
00011  *    distributed under the License is distributed on an "AS IS" BASIS,
00012  *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00013  *    See the License for the specific language governing permissions and
00014  *    limitations under the License.
00015  */
00016 
00017 
00018 #include "config.h"
00019 
00020 #if SQL_ENABLED
00021 
00022 #include "SQLRegistrationStore.h"
00023 #include "SQLStore.h"
00024 
00025 namespace dtn {
00026 
00030 SQLRegistrationStore::SQLRegistrationStore(oasys::SQLImplementation* impl,
00031                                            const char* table_name)
00032 {
00033     store_ = new SQLStore(table_name, impl);
00034 }
00035 
00039 SQLRegistrationStore::~SQLRegistrationStore()
00040 {
00041     NOTREACHED;
00042 }
00043 
00048 void
00049 SQLRegistrationStore::load(RegistrationList* reg_list)
00050 {
00051     // NOTIMPLEMENTED
00052 }
00053 
00058 bool
00059 SQLRegistrationStore::add(Registration* reg)
00060 {
00061     //NOTIMPLEMENTED;
00062     return true;
00063 }
00064 
00069 bool
00070 SQLRegistrationStore::del(Registration* reg)
00071 {
00072     NOTIMPLEMENTED;
00073 }
00074     
00079 bool
00080 SQLRegistrationStore::update(Registration* reg)
00081 {
00082     NOTIMPLEMENTED;
00083 }
00084 
00085 } // namespace dtn
00086 
00087 #endif /* SQL_ENABLED */

Generated on Thu Jun 7 12:54:29 2007 for DTN Reference Implementation by  doxygen 1.5.1