CoAP/coapthon/caching/coapcache.py
giacomo.tanganelli@for.unipi.it 4db21cd7e7 Porting to Python3
2018-01-23 11:31:46 +01:00

48 lines
753 B
Python

__author__ = 'Emilio Vallati'
class CoapCache:
def __init__(self, max_dim):
"""
:param max_dim:
"""
self.cache = None
def update(self, key, element):
"""
:param key:
:param element:
:return:
"""
raise NotImplementedError
def get(self, key):
"""
:param key:
:return: CacheElement
"""
raise NotImplementedError
def is_full(self):
"""
:return:
"""
raise NotImplementedError
def is_empty(self):
"""
:return:
"""
raise NotImplementedError
def debug_print(self):
"""
:return:
"""
raise NotImplementedError