Source code for coapthon.caching.coapcache

__author__ = 'Emilio Vallati'


[docs]class CoapCache: def __init__(self, max_dim): """ :param max_dim: """ self.cache = None
[docs] def update(self, key, element): """ :param key: :param element: :return: """ raise NotImplementedError
[docs] def get(self, key): """ :param key: :return: CacheElement """ raise NotImplementedError
[docs] def is_full(self): """ :return: """ raise NotImplementedError
[docs] def is_empty(self): """ :return: """ raise NotImplementedError
[docs] def debug_print(self): """ :return: """ raise NotImplementedError