You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
CoAP/coapthon/caching/coapcache.py

49 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